![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-or-later */ 0002 /* 0003 * HD audio Component Binding Interface 0004 * 0005 * Copyright (C) 2021 Cirrus Logic, Inc. and 0006 * Cirrus Logic International Semiconductor Ltd. 0007 */ 0008 0009 #include <linux/component.h> 0010 0011 #define HDA_MAX_COMPONENTS 4 0012 #define HDA_MAX_NAME_SIZE 50 0013 0014 struct hda_component { 0015 struct device *dev; 0016 char name[HDA_MAX_NAME_SIZE]; 0017 struct hda_codec *codec; 0018 void (*playback_hook)(struct device *dev, int action); 0019 int (*suspend_hook)(struct device *dev); 0020 int (*resume_hook)(struct device *dev); 0021 };
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |