/include/sound/ |
D | core.h | 68 struct snd_card *card; /* card which holds this device */ member 94 void (*private_free) (struct snd_card *card); /* callback for freeing of 136 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state() argument 138 return card->power_state; in snd_power_get_state() 141 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state() argument 143 card->power_state = state; in snd_power_change_state() 144 wake_up(&card->power_sleep); in snd_power_change_state() 148 int snd_power_wait(struct snd_card *card, unsigned int power_state); 152 static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; } in snd_power_wait() argument 153 #define snd_power_get_state(card) ({ (void)(card); SNDRV_CTL_POWER_D0; }) argument [all …]
|
D | info.h | 117 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, 124 int snd_info_card_create(struct snd_card *card); 125 int snd_info_card_register(struct snd_card *card); 126 int snd_info_card_free(struct snd_card *card); 127 void snd_info_card_disconnect(struct snd_card *card); 128 void snd_info_card_id_change(struct snd_card *card); 132 static inline int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new() argument 135 *entryp = snd_info_create_card_entry(card, name, card->proc_root); in snd_card_proc_new() 147 int snd_card_rw_proc_new(struct snd_card *card, const char *name, 168 static inline struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, const char *… in snd_info_create_card_entry() argument [all …]
|
D | control.h | 91 struct snd_card *card; member 103 typedef int (*snd_kctl_ioctl_func_t) (struct snd_card * card, 107 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id); 111 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol); 112 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol); 113 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace); 114 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id); 115 int snd_ctl_rename_id(struct snd_card * card, struct snd_ctl_elem_id *src_id, struct snd_ctl_elem_i… 116 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id, 118 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card * card, unsigned int numid); [all …]
|
D | simple_card_utils.h | 14 #define asoc_simple_init_hp(card, sjack, prefix) \ argument 15 asoc_simple_init_jack(card, sjack, 1, prefix) 16 #define asoc_simple_init_mic(card, sjack, prefix) \ argument 17 asoc_simple_init_jack(card, sjack, 0, prefix) 81 int asoc_simple_parse_card_name(struct snd_soc_card *card, 117 int asoc_simple_clean_reference(struct snd_soc_card *card); 125 int asoc_simple_parse_routing(struct snd_soc_card *card, 127 int asoc_simple_parse_widgets(struct snd_soc_card *card, 129 int asoc_simple_parse_pin_switches(struct snd_soc_card *card, 132 int asoc_simple_init_jack(struct snd_soc_card *card, [all …]
|
D | minors.h | 14 #define SNDRV_MINOR(card, dev) (((card) << 5) | (dev)) argument 64 #define SNDRV_MINOR_OSS(card, dev) (((card) << 4) | (dev)) argument
|
D | soc.h | 428 int snd_soc_register_card(struct snd_soc_card *card); 429 int snd_soc_unregister_card(struct snd_soc_card *card); 430 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card); 473 struct snd_pcm_substream *snd_soc_get_dai_substream(struct snd_soc_card *card, 475 struct snd_soc_pcm_runtime *snd_soc_get_pcm_runtime(struct snd_soc_card *card, 486 int snd_soc_set_dmi_name(struct snd_soc_card *card, const char *flavour); 488 static inline int snd_soc_set_dmi_name(struct snd_soc_card *card, in snd_soc_set_dmi_name() argument 506 int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type, 614 int snd_soc_limit_volume(struct snd_soc_card *card, 713 struct snd_soc_card *card; member [all …]
|
D | mixer_oss.h | 38 struct snd_card *card; member 57 struct snd_card *card; member 61 int snd_mixer_oss_ioctl_card(struct snd_card *card,
|
D | jack.h | 61 struct snd_card *card; member 76 int snd_jack_new(struct snd_card *card, const char *id, int type, 87 static inline int snd_jack_new(struct snd_card *card, const char *id, int type, in snd_jack_new() argument
|
D | seq_virmidi.h | 42 struct snd_card *card; /* associated card */ member 67 int snd_virmidi_new(struct snd_card *card, int device, struct snd_rawmidi **rrmidi);
|
D | es1688.h | 95 int snd_es1688_create(struct snd_card *card, 103 int snd_es1688_pcm(struct snd_card *card, struct snd_es1688 *chip, int device); 104 int snd_es1688_mixer(struct snd_card *card, struct snd_es1688 *chip);
|
D | seq_device.h | 16 struct snd_card *card; /* sound card */ member 62 int snd_seq_device_new(struct snd_card *card, int device, const char *id,
|
D | rawmidi.h | 108 struct snd_card *card; member 140 int snd_rawmidi_new(struct snd_card *card, char *id, int device, 164 int snd_rawmidi_info_select(struct snd_card *card, struct snd_rawmidi_info *info); 165 int snd_rawmidi_kernel_open(struct snd_card *card, int device, int subdevice,
|
D | simple_card.h | 17 const char *card; member
|
D | opl4.h | 14 extern int snd_opl4_create(struct snd_card *card,
|
D | tea6330t.h | 13 int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus,
|
D | snd_wavefront.h | 99 struct snd_card *card; member 112 extern void snd_wavefront_internal_interrupt (snd_wavefront_card_t *card); 117 extern int snd_wavefront_detect (snd_wavefront_card_t *card);
|
D | pt2258.h | 12 struct snd_card *card; member
|
D | hwdep.h | 40 struct snd_card *card; member 64 extern int snd_hwdep_new(struct snd_card *card, char *id, int device,
|
/include/trace/events/ |
D | asoc.h | 21 TP_PROTO(struct snd_soc_card *card, int val), 23 TP_ARGS(card, val), 26 __string( name, card->name ) 31 __assign_str(name, card->name); 40 TP_PROTO(struct snd_soc_card *card, int val), 42 TP_ARGS(card, val) 48 TP_PROTO(struct snd_soc_card *card, int val), 50 TP_ARGS(card, val) 56 TP_PROTO(struct snd_soc_card *card), 58 TP_ARGS(card), [all …]
|
/include/linux/ |
D | memstick.h | 259 int (*check)(struct memstick_dev *card); 261 int (*next_request)(struct memstick_dev *card, 264 void (*stop)(struct memstick_dev *card); 266 void (*start)(struct memstick_dev *card); 282 struct memstick_dev *card; member 297 int (*probe)(struct memstick_dev *card); 298 void (*remove)(struct memstick_dev *card); 299 int (*suspend)(struct memstick_dev *card, 301 int (*resume)(struct memstick_dev *card); 327 int memstick_set_rw_addr(struct memstick_dev *card); [all …]
|
D | firewire.h | 139 static inline struct fw_card *fw_card_get(struct fw_card *card) in fw_card_get() argument 141 kref_get(&card->kref); in fw_card_get() 143 return card; in fw_card_get() 148 static inline void fw_card_put(struct fw_card *card) in fw_card_put() argument 150 kref_put(&card->kref, fw_card_release); in fw_card_put() 189 struct fw_card *card; member 267 struct fw_card *card, int status); 268 typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode, 283 typedef void (*fw_address_callback_t)(struct fw_card *card, 320 struct fw_card *card; member [all …]
|
D | pnp.h | 223 #define pnp_for_each_card(card) \ argument 224 list_for_each_entry(card, &pnp_cards, global_list) 227 struct pnp_card *card; member 255 struct pnp_card *card; /* card the device is attached to, none if NULL */ member 278 #define card_for_each_dev(card, dev) \ argument 279 list_for_each_entry(dev, &(card)->devices, card_list) 362 #define isapnp_card_number(dev) ((dev)->card ? (dev)->card->number : -1) 393 int (*probe) (struct pnp_card_link *card, 395 void (*remove) (struct pnp_card_link *card); 396 int (*suspend) (struct pnp_card_link *card, pm_message_t state); [all …]
|
/include/linux/isdn/ |
D | capilli.h | 81 void capi_ctr_ready(struct capi_ctr * card); 82 void capi_ctr_down(struct capi_ctr * card); 83 void capi_ctr_suspend_output(struct capi_ctr * card); 84 void capi_ctr_resume_output(struct capi_ctr * card); 85 void capi_ctr_handle_message(struct capi_ctr * card, u16 appl, struct sk_buff *skb);
|
/include/pcmcia/ |
D | device_id.h | 14 #define PCMCIA_DEVICE_MANF_CARD(manf, card) { \ argument 18 .card_id = (card), } 86 #define PCMCIA_DEVICE_MANF_CARD_PROD_ID1(manf, card, v1, vh1) { \ argument 91 .card_id = (card), \ 95 #define PCMCIA_DEVICE_MANF_CARD_PROD_ID3(manf, card, v3, vh3) { \ argument 100 .card_id = (card), \ 107 #define PCMCIA_MFC_DEVICE_MANF_CARD(mfc, manf, card) { \ argument 112 .card_id = (card), \ 156 #define PCMCIA_PFC_DEVICE_MANF_CARD(mfc, manf, card) { \ argument 161 .card_id = (card), \ [all …]
|
/include/linux/mmc/ |
D | host.h | 138 void (*init_card)(struct mmc_host *host, struct mmc_card *card); 163 int (*select_drive_strength)(struct mmc_card *card, 173 int (*multi_io_quirk)(struct mmc_card *card, 179 int (*cqe_enable)(struct mmc_host *host, struct mmc_card *card); 421 struct mmc_card *card; /* device attached to this host */ member 571 static inline int mmc_card_hs(struct mmc_card *card) in mmc_card_hs() argument 573 return card->host->ios.timing == MMC_TIMING_SD_HS || in mmc_card_hs() 574 card->host->ios.timing == MMC_TIMING_MMC_HS; in mmc_card_hs() 578 static inline int mmc_card_uhs(struct mmc_card *card) in mmc_card_uhs() argument 580 return card->host->ios.timing >= MMC_TIMING_UHS_SDR12 && in mmc_card_uhs() [all …]
|