Home
last modified time | relevance | path

Searched refs:card_dev (Results 1 – 18 of 18) sorted by relevance

/linux/sound/soc/
H A Dsoc-card-test.c13 struct device *card_dev; member
85 priv->card_dev = kunit_device_register(test, "sound-soc-card-test"); in soc_card_test_case_init()
86 priv->card_dev = get_device(priv->card_dev); in soc_card_test_case_init()
87 if (!priv->card_dev) in soc_card_test_case_init()
91 priv->card->dev = priv->card_dev; in soc_card_test_case_init()
96 put_device(priv->card_dev); in soc_card_test_case_init()
110 if (priv->card_dev) in soc_card_test_case_exit()
111 put_device(priv->card_dev); in soc_card_test_case_exit()
/linux/sound/core/
H A Dinit.c137 dev->parent = &card->card_dev; in snd_device_alloc()
336 device_initialize(&card->card_dev); in snd_card_init()
337 card->card_dev.parent = parent; in snd_card_init()
338 card->card_dev.class = &sound_class; in snd_card_init()
339 card->card_dev.release = release_card_device; in snd_card_init()
340 card->card_dev.groups = card->dev_groups; in snd_card_init()
342 err = kobject_set_name(&card->card_dev.kobj, "card%d", idx); in snd_card_init()
347 dev_driver_string(card->dev), dev_name(&card->card_dev)); in snd_card_init()
363 card->debugfs_root = debugfs_create_dir(dev_name(&card->card_dev), in snd_card_init()
371 put_device(&card->card_dev); in snd_card_init()
[all...]
H A Dseq_device.c226 dev->dev.parent = &card->card_dev; in snd_seq_device_new()
H A Dsound_oss.c37 get_device(&mreg->card_ptr->card_dev); in snd_lookup_oss_minor_data()
H A Dsound.c111 get_device(&mreg->card_ptr->card_dev); in snd_lookup_minor_data()
H A Dtimer.c363 get_device(&timer->card->card_dev); in snd_timer_open()
364 card_dev_to_put = &timer->card->card_dev; in snd_timer_open()
460 *card_devp_to_put = &timer->card->card_dev; in snd_timer_close_locked()
H A Dcontrol_led.c673 WARN(sysfs_create_link(&led_card->dev.kobj, &card->card_dev.kobj, "card"), in snd_ctl_led_sysfs_add()
/linux/include/sound/
H A Dcore.h123 struct device card_dev; /* cardX object for sysfs */ member
150 #define dev_to_snd_card(p) container_of(p, struct snd_card, card_dev)
228 return card ? &card->card_dev : NULL; in snd_card_get_device_link()
314 put_device(&card->card_dev); in snd_card_unref()
/linux/drivers/misc/genwqe/
H A DMakefile7 genwqe_card-objs := card_base.o card_dev.o card_ddcb.o card_sysfs.o \
/linux/sound/firewire/oxfw/
H A Doxfw-stream.c671 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats()
690 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats()
753 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, len, in fill_stream_formats()
H A Doxfw-spkr.c273 spkr = devm_kzalloc(&oxfw->card->card_dev, sizeof(struct fw_spkr), in snd_oxfw_add_spkr()
H A Doxfw-scs1x.c374 scs = devm_kzalloc(&oxfw->card->card_dev, sizeof(struct fw_scs1x), in snd_oxfw_scs1x_add()
/linux/sound/firewire/motu/
H A Dmotu-command-dsp-message-parser.c40 parser = devm_kzalloc(&motu->card->card_dev, sizeof(*parser), GFP_KERNEL); in snd_motu_command_dsp_message_parser_new()
H A Dmotu-register-dsp-message-parser.c104 parser = devm_kzalloc(&motu->card->card_dev, sizeof(*parser), GFP_KERNEL); in snd_motu_register_dsp_message_parser_new()
/linux/sound/pci/hda/
H A Dhda_beep.c245 input_dev->dev.parent = &codec->card->card_dev; in snd_hda_attach_beep_device()
/linux/sound/xen/
H A Dxen_snd_front_alsa.c698 devm_kcalloc(&card_info->card->card_dev, in new_pcm_instance()
708 devm_kcalloc(&card_info->card->card_dev, in new_pcm_instance()
/linux/sound/firewire/fireworks/
H A Dfireworks.c242 efw->resp_buf = devm_kzalloc(&card->card_dev, snd_efw_resp_buf_size, GFP_KERNEL); in efw_probe()
/linux/sound/firewire/bebob/
H A Dbebob_maudio.c263 params = devm_kzalloc(&bebob->card->card_dev, in snd_bebob_maudio_special_discover()