Home
last modified time | relevance | path

Searched refs:device_data (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/linux/sound/core/
H A Ddevice.c30 void *device_data, const struct snd_device_ops *ops) in snd_device_new() argument
35 if (snd_BUG_ON(!card || !device_data || !ops)) in snd_device_new()
44 dev->device_data = device_data; in snd_device_new()
82 static struct snd_device *look_for_dev(struct snd_card *card, void *device_data) in look_for_dev() argument
87 if (dev->device_data == device_data) in look_for_dev()
106 void snd_device_disconnect(struct snd_card *card, void *device_data) in snd_device_disconnect() argument
110 if (snd_BUG_ON(!card || !device_data)) in snd_device_disconnect()
112 dev = look_for_dev(card, device_data); in snd_device_disconnect()
117 device_data, __builtin_return_address(0)); in snd_device_disconnect()
130 void snd_device_free(struct snd_card *card, void *device_data) in snd_device_free() argument
[all …]
H A Dseq_device.c156 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_free()
167 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_register()
180 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_disconnect()
H A Dhwdep.c415 snd_hwdep_free(device->device_data); in snd_hwdep_dev_free()
421 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_register()
463 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_disconnect()
H A Djack.c44 struct snd_jack *jack = device->device_data; in snd_jack_dev_disconnect()
66 struct snd_jack *jack = device->device_data; in snd_jack_dev_free()
89 struct snd_jack *jack = device->device_data; in snd_jack_dev_register()
H A Dcompress_offload.c1064 if (snd_BUG_ON(!device || !device->device_data)) in snd_compress_dev_register()
1066 compr = device->device_data; in snd_compress_dev_register()
1086 compr = device->device_data; in snd_compress_dev_disconnect()
1159 compr = device->device_data; in snd_compress_dev_free()
H A Dpcm.c883 struct snd_pcm *pcm = device->device_data; in snd_pcm_dev_free()
1060 if (snd_BUG_ON(!device || !device->device_data)) in snd_pcm_dev_register()
1062 pcm = device->device_data; in snd_pcm_dev_register()
1102 struct snd_pcm *pcm = device->device_data; in snd_pcm_dev_disconnect()
/openbmc/linux/sound/aoa/core/
H A Dalsa.c62 void *device_data, const struct snd_device_ops *ops) in aoa_snd_device_new() argument
69 err = snd_device_new(card, type, device_data, ops); in aoa_snd_device_new()
74 err = snd_device_register(card, device_data); in aoa_snd_device_new()
80 snd_device_free(card, device_data); in aoa_snd_device_new()
/openbmc/linux/drivers/input/misc/
H A Dsoc_button_array.c435 const struct soc_device_data *device_data; in soc_button_probe() local
442 device_data = acpi_device_get_match_data(dev); in soc_button_probe()
443 if (device_data && device_data->check) { in soc_button_probe()
444 error = device_data->check(dev); in soc_button_probe()
449 if (device_data && device_data->button_info) { in soc_button_probe()
450 button_info = device_data->button_info; in soc_button_probe()
486 if (!device_data || !device_data->button_info) in soc_button_probe()
/openbmc/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c59 .data = hdev->bpf.device_data, in dispatch_hid_bpf_device_event()
67 if (!hdev->bpf.device_data) in dispatch_hid_bpf_device_event()
230 if (hdev->bpf.device_data) in hid_bpf_allocate_event_data()
233 return __hid_bpf_allocate_data(hdev, &hdev->bpf.device_data, &hdev->bpf.allocated_data); in hid_bpf_allocate_event_data()
512 kfree(hdev->bpf.device_data); in hid_bpf_disconnect_device()
513 hdev->bpf.device_data = NULL; in hid_bpf_disconnect_device()
/openbmc/linux/include/sound/
H A Dcore.h72 void *device_data; /* device structure */ member
322 void *device_data, const struct snd_device_ops *ops);
323 int snd_device_register(struct snd_card *card, void *device_data);
325 void snd_device_disconnect(struct snd_card *card, void *device_data);
327 void snd_device_free(struct snd_card *card, void *device_data);
329 int snd_device_get_state(struct snd_card *card, void *device_data);
/openbmc/linux/sound/pci/hda/
H A Dhda_beep.c163 struct hda_beep *beep = device->device_data; in beep_dev_register()
174 struct hda_beep *beep = device->device_data; in beep_dev_disconnect()
187 struct hda_beep *beep = device->device_data; in beep_dev_free()
H A Dhda_tegra.c215 struct azx *chip = device->device_data; in hda_tegra_dev_disconnect()
226 struct azx *chip = device->device_data; in hda_tegra_dev_free()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dlinux-compat.h10 #define platform_data device_data
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_mem.c219 struct lpfc_device_data *device_data; in lpfc_mem_free() local
263 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
266 list_del(&device_data->listentry); in lpfc_mem_free()
267 mempool_free(device_data, phba->device_data_mem_pool); in lpfc_mem_free()
H A Dlpfc_scsi.c6242 struct lpfc_device_data *device_data; in lpfc_slave_alloc() local
6258 device_data = __lpfc_get_device_data(phba, in lpfc_slave_alloc()
6263 if (!device_data) { in lpfc_slave_alloc()
6265 device_data = lpfc_create_device_data(phba, in lpfc_slave_alloc()
6271 if (!device_data) in lpfc_slave_alloc()
6274 list_add_tail(&device_data->listentry, &phba->luns); in lpfc_slave_alloc()
6276 device_data->rport_data = rport->dd_data; in lpfc_slave_alloc()
6277 device_data->available = true; in lpfc_slave_alloc()
6279 sdev->hostdata = device_data; in lpfc_slave_alloc()
6376 struct lpfc_device_data *device_data = sdev->hostdata; in lpfc_slave_destroy() local
[all …]
/openbmc/linux/sound/aoa/
H A Daoa.h119 void *device_data, const struct snd_device_ops *ops);
/openbmc/linux/drivers/md/
H A Ddm-ima.c102 static int dm_ima_alloc_and_copy_device_data(struct mapped_device *md, char **device_data, in dm_ima_alloc_and_copy_device_data() argument
112 *device_data = dm_ima_alloc(DM_IMA_DEVICE_BUF_LEN, GFP_KERNEL, noio); in dm_ima_alloc_and_copy_device_data()
113 if (!(*device_data)) { in dm_ima_alloc_and_copy_device_data()
118 scnprintf(*device_data, DM_IMA_DEVICE_BUF_LEN, in dm_ima_alloc_and_copy_device_data()
/openbmc/linux/include/linux/
H A Dhid_bpf.h130 u8 *device_data; /* allocated when a bpf program of type member
H A Ddmi.h86 void *device_data; /* Type specific data */ member
/openbmc/linux/drivers/firmware/
H A Ddmi_scan.c300 dev->device_data = NULL; in dmi_save_one_device()
340 dev->device_data = NULL; in dmi_save_oem_strings_devices()
363 dev->device_data = data; in dmi_save_ipmi_device()
390 dev->dev.device_data = dev; in dmi_save_dev_pciaddr()
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_dmi.c219 dmi_decode_ipmi((const struct dmi_header *) dev->device_data); in scan_for_dmi_ipmi()
/openbmc/linux/drivers/input/touchscreen/
H A Dbu21013_ts.c236 static irqreturn_t bu21013_gpio_irq(int irq, void *device_data) in bu21013_gpio_irq() argument
238 struct bu21013_ts *ts = device_data; in bu21013_gpio_irq()
/openbmc/linux/drivers/pci/
H A Dpci-label.c70 donboard = dmi->device_data; in find_smbios_instance_string()
/openbmc/linux/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf.c72 struct snd_pdacf *chip = device->device_data; in snd_pdacf_dev_free()
/openbmc/linux/sound/drivers/opl4/
H A Dopl4_lib.c174 struct snd_opl4 *opl4 = device->device_data; in snd_opl4_dev_free()

123