Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/
H A Dinit.c137 dev->parent = &card->card_dev; in snd_device_alloc()
337 device_initialize(&card->card_dev); in snd_card_init()
338 card->card_dev.parent = parent; in snd_card_init()
339 card->card_dev.class = &sound_class; in snd_card_init()
372 put_device(&card->card_dev); in snd_card_init()
392 get_device(&card->card_dev); in snd_card_ref()
555 device_del(&card->card_dev); in snd_card_disconnect()
630 put_device(&card->card_dev); in snd_card_free_when_closed()
890 err = device_add(&card->card_dev); in snd_card_register()
1090 get_device(&card->card_dev); in snd_card_file_add()
[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.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()
H A Dcontrol_led.c693 WARN(sysfs_create_link(&led_card->dev.kobj, &card->card_dev.kobj, "card"), in snd_ctl_led_sysfs_add()
/openbmc/linux/drivers/misc/genwqe/
H A DMakefile7 genwqe_card-objs := card_base.o card_dev.o card_ddcb.o card_sysfs.o \
/openbmc/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()
/openbmc/linux/sound/firewire/oxfw/
H A 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()
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()
/openbmc/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()
/openbmc/qemu/hw/riscv/
H A Dsifive_u.c530 DeviceState *flash_dev, *sd_dev, *card_dev; in sifive_u_machine_init() local
677 card_dev = qdev_new(TYPE_SD_CARD_SPI); in sifive_u_machine_init()
678 qdev_prop_set_drive_err(card_dev, "drive", blk, &error_fatal); in sifive_u_machine_init()
679 qdev_realize_and_unref(card_dev, in sifive_u_machine_init()
/openbmc/linux/sound/pci/hda/
H A Dhda_beep.c246 input_dev->dev.parent = &codec->card->card_dev; in snd_hda_attach_beep_device()
/openbmc/linux/sound/xen/
H A Dxen_snd_front_alsa.c703 devm_kcalloc(&card_info->card->card_dev, in new_pcm_instance()
713 devm_kcalloc(&card_info->card->card_dev, in new_pcm_instance()
/openbmc/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()
/openbmc/linux/sound/firewire/bebob/
H A Dbebob_maudio.c263 params = devm_kzalloc(&bebob->card->card_dev, in snd_bebob_maudio_special_discover()