Home
last modified time | relevance | path

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

/linux-6.1.9/sound/core/
Dinit.c131 dev->parent = &card->card_dev; in snd_device_initialize()
332 device_initialize(&card->card_dev); in snd_card_init()
333 card->card_dev.parent = parent; in snd_card_init()
334 card->card_dev.class = sound_class; in snd_card_init()
335 card->card_dev.release = release_card_device; in snd_card_init()
336 card->card_dev.groups = card->dev_groups; in snd_card_init()
338 err = kobject_set_name(&card->card_dev.kobj, "card%d", idx); in snd_card_init()
343 dev_driver_string(card->dev), dev_name(&card->card_dev)); in snd_card_init()
367 put_device(&card->card_dev); in snd_card_init()
387 get_device(&card->card_dev); in snd_card_ref()
[all …]
Dseq_device.c226 dev->dev.parent = &card->card_dev; in snd_seq_device_new()
Dsound_oss.c37 get_device(&mreg->card_ptr->card_dev); in snd_lookup_oss_minor_data()
Dsound.c111 get_device(&mreg->card_ptr->card_dev); in snd_lookup_minor_data()
Dtimer.c353 get_device(&timer->card->card_dev); in snd_timer_open()
354 card_dev_to_put = &timer->card->card_dev; in snd_timer_open()
447 *card_devp_to_put = &timer->card->card_dev; in snd_timer_close_locked()
Dcontrol_led.c693 WARN(sysfs_create_link(&led_card->dev.kobj, &card->card_dev.kobj, "card"), in snd_ctl_led_sysfs_add()
/linux-6.1.9/include/sound/
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-6.1.9/drivers/misc/genwqe/
DMakefile7 genwqe_card-objs := card_base.o card_dev.o card_ddcb.o card_sysfs.o \
/linux-6.1.9/sound/firewire/oxfw/
Doxfw-stream.c619 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats()
638 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats()
701 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, len, in fill_stream_formats()
Doxfw-spkr.c273 spkr = devm_kzalloc(&oxfw->card->card_dev, sizeof(struct fw_spkr), in snd_oxfw_add_spkr()
Doxfw-scs1x.c374 scs = devm_kzalloc(&oxfw->card->card_dev, sizeof(struct fw_scs1x), in snd_oxfw_scs1x_add()
/linux-6.1.9/sound/firewire/motu/
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()
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-6.1.9/sound/pci/hda/
Dhda_beep.c246 input_dev->dev.parent = &codec->card->card_dev; in snd_hda_attach_beep_device()
/linux-6.1.9/sound/xen/
Dxen_snd_front_alsa.c737 devm_kcalloc(&card_info->card->card_dev, in new_pcm_instance()
747 devm_kcalloc(&card_info->card->card_dev, in new_pcm_instance()
/linux-6.1.9/sound/firewire/fireworks/
Dfireworks.c242 efw->resp_buf = devm_kzalloc(&card->card_dev, snd_efw_resp_buf_size, GFP_KERNEL); in efw_probe()
/linux-6.1.9/sound/firewire/bebob/
Dbebob_maudio.c263 params = devm_kzalloc(&bebob->card->card_dev, in snd_bebob_maudio_special_discover()