Home
last modified time | relevance | path

Searched refs:card (Results 1 – 25 of 70) sorted by relevance

123

/include/sound/
Dsoc-card.h16 static inline void snd_soc_card_mutex_lock_root(struct snd_soc_card *card) in snd_soc_card_mutex_lock_root() argument
18 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_ROOT); in snd_soc_card_mutex_lock_root()
21 static inline void snd_soc_card_mutex_lock(struct snd_soc_card *card) in snd_soc_card_mutex_lock() argument
23 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in snd_soc_card_mutex_lock()
26 static inline void snd_soc_card_mutex_unlock(struct snd_soc_card *card) in snd_soc_card_mutex_unlock() argument
28 mutex_unlock(&card->mutex); in snd_soc_card_mutex_unlock()
33 int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type,
37 int snd_soc_card_suspend_pre(struct snd_soc_card *card);
38 int snd_soc_card_suspend_post(struct snd_soc_card *card);
39 int snd_soc_card_resume_pre(struct snd_soc_card *card);
[all …]
Dcore.h72 struct snd_card *card; /* card which holds this device */ member
100 void (*private_free) (struct snd_card *card); /* callback for freeing of
161 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state() argument
163 return READ_ONCE(card->power_state); in snd_power_get_state()
166 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state() argument
168 WRITE_ONCE(card->power_state, state); in snd_power_change_state()
169 wake_up(&card->power_sleep); in snd_power_change_state()
180 static inline void snd_power_ref(struct snd_card *card) in snd_power_ref() argument
182 atomic_inc(&card->power_ref); in snd_power_ref()
189 static inline void snd_power_unref(struct snd_card *card) in snd_power_unref() argument
[all …]
Dinfo.h122 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card,
129 int snd_info_card_create(struct snd_card *card);
130 int snd_info_card_register(struct snd_card *card);
131 int snd_info_card_free(struct snd_card *card);
132 void snd_info_card_disconnect(struct snd_card *card);
133 void snd_info_card_id_change(struct snd_card *card);
137 static inline int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new() argument
140 *entryp = snd_info_create_card_entry(card, name, card->proc_root); in snd_card_proc_new()
152 int snd_card_rw_proc_new(struct snd_card *card, const char *name,
173 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 …]
Dcontrol.h107 struct snd_card *card; member
120 void (*lregister)(struct snd_card *card);
121 void (*ldisconnect)(struct snd_card *card);
122 …void (*lnotify)(struct snd_card *card, unsigned int mask, struct snd_kcontrol *kctl, unsigned int …
127 typedef int (*snd_kctl_ioctl_func_t) (struct snd_card * card,
131 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
132 void snd_ctl_notify_one(struct snd_card * card, unsigned int mask, struct snd_kcontrol * kctl, unsi…
136 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
137 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
138 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace);
[all …]
Dsoc.h408 int snd_soc_register_card(struct snd_soc_card *card);
409 int snd_soc_unregister_card(struct snd_soc_card *card);
410 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card);
458 struct snd_soc_pcm_runtime *snd_soc_get_pcm_runtime(struct snd_soc_card *card,
483 int snd_soc_set_dmi_name(struct snd_soc_card *card, const char *flavour);
485 static inline int snd_soc_set_dmi_name(struct snd_soc_card *card, in snd_soc_set_dmi_name() argument
565 int snd_soc_limit_volume(struct snd_soc_card *card,
910 int (*probe)(struct snd_soc_card *card);
911 int (*late_probe)(struct snd_soc_card *card);
912 int (*remove)(struct snd_soc_card *card);
[all …]
Dsimple_card_utils.h14 #define asoc_simple_init_hp(card, sjack, prefix) \ argument
15 asoc_simple_init_jack(card, sjack, 1, prefix, NULL)
16 #define asoc_simple_init_mic(card, sjack, prefix) \ argument
17 asoc_simple_init_jack(card, sjack, 0, prefix, NULL)
135 int asoc_simple_parse_card_name(struct snd_soc_card *card,
161 int asoc_simple_clean_reference(struct snd_soc_card *card);
168 int asoc_simple_parse_routing(struct snd_soc_card *card,
170 int asoc_simple_parse_widgets(struct snd_soc_card *card,
172 int asoc_simple_parse_pin_switches(struct snd_soc_card *card,
175 int asoc_simple_init_jack(struct snd_soc_card *card,
[all …]
Dminors.h14 #define SNDRV_MINOR(card, dev) (((card) << 5) | (dev)) argument
64 #define SNDRV_MINOR_OSS(card, dev) (((card) << 4) | (dev)) argument
Dmixer_oss.h38 struct snd_card *card; member
57 struct snd_card *card; member
61 int snd_mixer_oss_ioctl_card(struct snd_card *card,
Dseq_virmidi.h42 struct snd_card *card; /* associated card */ member
67 int snd_virmidi_new(struct snd_card *card, int device, struct snd_rawmidi **rrmidi);
Des1688.h95 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);
Djack.h62 struct snd_card *card; member
81 int snd_jack_new(struct snd_card *card, const char *id, int type,
92 static inline int snd_jack_new(struct snd_card *card, const char *id, int type, in snd_jack_new() argument
Dseq_device.h16 struct snd_card *card; /* sound card */ member
62 int snd_seq_device_new(struct snd_card *card, int device, const char *id,
Drawmidi.h111 struct snd_card *card; member
143 int snd_rawmidi_new(struct snd_card *card, char *id, int device,
167 int snd_rawmidi_info_select(struct snd_card *card, struct snd_rawmidi_info *info);
168 int snd_rawmidi_kernel_open(struct snd_card *card, int device, int subdevice,
Dsimple_card.h17 const char *card; member
Dsnd_wavefront.h99 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);
Dtea6330t.h13 int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus,
/include/trace/events/
Dasoc.h22 TP_PROTO(struct snd_soc_card *card, int val),
24 TP_ARGS(card, val),
27 __string( name, card->name )
32 __assign_str(name, card->name);
41 TP_PROTO(struct snd_soc_card *card, int val),
43 TP_ARGS(card, val)
49 TP_PROTO(struct snd_soc_card *card, int val),
51 TP_ARGS(card, val)
57 TP_PROTO(struct snd_soc_card *card),
59 TP_ARGS(card),
[all …]
/include/linux/
Dmemstick.h259 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 …]
Dfirewire.h139 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 …]
Dpnp.h223 #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/trace/hooks/
Dmmc.h31 TP_PROTO(struct mmc_card *card),
32 TP_ARGS(card));
34 TP_PROTO(struct mmc_card *card),
35 TP_ARGS(card));
/include/pcmcia/
Ddevice_id.h14 #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/isdn/
Dcapilli.h80 void capi_ctr_ready(struct capi_ctr * card);
81 void capi_ctr_down(struct capi_ctr * card);
82 void capi_ctr_handle_message(struct capi_ctr * card, u16 appl, struct sk_buff *skb);
/include/linux/mmc/
Dhost.h174 void (*init_card)(struct mmc_host *host, struct mmc_card *card);
188 int (*execute_hs400_tuning)(struct mmc_host *host, struct mmc_card *card);
202 int (*select_drive_strength)(struct mmc_card *card,
213 int (*multi_io_quirk)(struct mmc_card *card,
225 int (*cqe_enable)(struct mmc_host *host, struct mmc_card *card);
474 struct mmc_card *card; /* device attached to this host */ member
633 static inline int mmc_card_hs(struct mmc_card *card) in mmc_card_hs() argument
635 return card->host->ios.timing == MMC_TIMING_SD_HS || in mmc_card_hs()
636 card->host->ios.timing == MMC_TIMING_MMC_HS; in mmc_card_hs()
640 static inline int mmc_card_uhs(struct mmc_card *card) in mmc_card_uhs() argument
[all …]
Dmmc.h460 extern int mmc_select_bus_width(struct mmc_card *card);
461 extern int mmc_select_hs(struct mmc_card *card);
462 extern int mmc_select_hs_ddr(struct mmc_card *card);
463 extern int mmc_select_hs400(struct mmc_card *card);
464 extern int mmc_hs200_tuning(struct mmc_card *card);
465 extern int mmc_select_timing(struct mmc_card *card);

123