Home
last modified time | relevance | path

Searched refs:card (Results 1 – 25 of 74) 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,
35 int snd_soc_card_jack_new_pins(struct snd_soc_card *card, const char *id,
40 int snd_soc_card_suspend_pre(struct snd_soc_card *card);
41 int snd_soc_card_suspend_post(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 …]
Dsoc_sdw_utils.h55 int (*init)(struct snd_soc_card *card,
59 int (*exit)(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link);
77 int (*codec_card_late_probe)(struct snd_soc_card *card);
79 int (*count_sidecar)(struct snd_soc_card *card,
81 int (*add_sidecar)(struct snd_soc_card *card,
87 struct snd_soc_card card; member
143 struct snd_soc_dai_link *asoc_sdw_mc_find_codec_dai_used(struct snd_soc_card *card,
146 void asoc_sdw_mc_dailink_exit_loop(struct snd_soc_card *card);
148 int asoc_sdw_card_late_probe(struct snd_soc_card *card);
166 int asoc_sdw_count_sdw_endpoints(struct snd_soc_card *card, int *num_devs, int *num_ends);
[all …]
Dinfo.h122 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card,
127 int snd_info_card_create(struct snd_card *card);
128 int snd_info_card_register(struct snd_card *card);
129 int snd_info_card_free(struct snd_card *card);
130 void snd_info_card_disconnect(struct snd_card *card);
131 void snd_info_card_id_change(struct snd_card *card);
135 static inline int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new() argument
138 *entryp = snd_info_create_card_entry(card, name, card->proc_root); in snd_card_proc_new()
150 int snd_card_rw_proc_new(struct snd_card *card, const char *name,
171 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.h452 int snd_soc_register_card(struct snd_soc_card *card);
453 void snd_soc_unregister_card(struct snd_soc_card *card);
454 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card);
502 struct snd_soc_pcm_runtime *snd_soc_get_pcm_runtime(struct snd_soc_card *card,
527 int snd_soc_set_dmi_name(struct snd_soc_card *card, const char *flavour);
529 static inline int snd_soc_set_dmi_name(struct snd_soc_card *card, in snd_soc_set_dmi_name() argument
611 int snd_soc_limit_volume(struct snd_soc_card *card,
1033 int (*probe)(struct snd_soc_card *card);
1034 int (*late_probe)(struct snd_soc_card *card);
1035 void (*fixup_controls)(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
Dsimple_card_utils.h14 #define simple_util_init_hp(card, sjack, prefix) \ argument
15 simple_util_init_jack(card, sjack, 1, prefix, NULL)
16 #define simple_util_init_mic(card, sjack, prefix) \ argument
17 simple_util_init_jack(card, sjack, 0, prefix, NULL)
145 int simple_util_parse_card_name(struct snd_soc_card *card,
171 void simple_util_clean_reference(struct snd_soc_card *card);
179 int simple_util_parse_routing(struct snd_soc_card *card,
181 int simple_util_parse_widgets(struct snd_soc_card *card,
183 int simple_util_parse_pin_switches(struct snd_soc_card *card,
186 int simple_util_init_jack(struct snd_soc_card *card,
[all …]
Des1688.h20 struct snd_card *card; member
96 int snd_es1688_create(struct snd_card *card,
104 int snd_es1688_pcm(struct snd_card *card, struct snd_es1688 *chip, int device);
105 int snd_es1688_mixer(struct snd_card *card, struct snd_es1688 *chip);
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);
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,
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);
Drawmidi.h117 struct snd_card *card; member
149 int snd_rawmidi_new(struct snd_card *card, char *id, int device,
157 struct snd_card *card, char *id, int device,
176 int snd_rawmidi_info_select(struct snd_card *card, struct snd_rawmidi_info *info);
Dsimple_card.h17 const char *card; member
Dopl4.h14 extern int snd_opl4_create(struct snd_card *card,
Dtea6330t.h13 int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus,
/include/linux/
Dfirewire.h141 static inline struct fw_card *fw_card_get(struct fw_card *card) in fw_card_get() argument
143 kref_get(&card->kref); in fw_card_get()
145 return card; in fw_card_get()
150 static inline void fw_card_put(struct fw_card *card) in fw_card_put() argument
152 kref_put(&card->kref, fw_card_release); in fw_card_put()
155 int fw_card_read_cycle_time(struct fw_card *card, u32 *cycle_time);
193 struct fw_card *card; member
262 struct fw_card *card, int status);
263 typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode,
266 typedef void (*fw_transaction_callback_with_tstamp_t)(struct fw_card *card, int rcode,
[all …]
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 …]
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/events/
Dasoc.h30 __string( card_name, dapm->card->name)
63 TP_PROTO(struct snd_soc_card *card, int event),
65 TP_ARGS(card, event),
68 __string( name, card->name )
82 TP_PROTO(struct snd_soc_card *card, int event),
84 TP_ARGS(card, event)
90 TP_PROTO(struct snd_soc_card *card, int event),
92 TP_ARGS(card, event)
142 TP_PROTO(struct snd_soc_card *card),
144 TP_ARGS(card),
[all …]
/include/linux/mmc/
Dhost.h173 void (*init_card)(struct mmc_host *host, struct mmc_card *card);
187 int (*execute_hs400_tuning)(struct mmc_host *host, struct mmc_card *card);
190 int (*prepare_sd_hs_tuning)(struct mmc_host *host, struct mmc_card *card);
193 int (*execute_sd_hs_tuning)(struct mmc_host *host, struct mmc_card *card);
207 int (*select_drive_strength)(struct mmc_card *card,
218 int (*multi_io_quirk)(struct mmc_card *card,
230 int (*cqe_enable)(struct mmc_host *host, struct mmc_card *card);
455 struct mmc_card *card; /* device attached to this host */ member
617 static inline int mmc_card_hs(struct mmc_card *card) in mmc_card_hs() argument
619 return card->host->ios.timing == MMC_TIMING_SD_HS || in mmc_card_hs()
[all …]
/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);

123