Home
last modified time | relevance | path

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

12

/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.c414 snd_hwdep_free(device->device_data); in snd_hwdep_dev_free()
420 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_register()
458 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_disconnect()
H A Djack.c45 struct snd_jack *jack = device->device_data; in snd_jack_dev_disconnect()
67 struct snd_jack *jack = device->device_data; in snd_jack_dev_free()
90 struct snd_jack *jack = device->device_data; in snd_jack_dev_register()
H A Dtimer.c991 struct snd_timer *timer = device->device_data; in snd_timer_dev_free()
997 struct snd_timer *timer = dev->device_data; in snd_timer_dev_register()
1035 struct snd_timer *timer = device->device_data; in snd_timer_dev_disconnect()
1102 dev.device_data = timer; in snd_timer_global_register()
/linux/drivers/input/misc/
H A Dsoc_button_array.c433 const struct soc_device_data *device_data; in soc_button_probe() local
440 device_data = acpi_device_get_match_data(dev); in soc_button_probe()
441 if (device_data && device_data->check) { in soc_button_probe()
442 error = device_data->check(dev); in soc_button_probe()
447 if (device_data && device_data->button_info) { in soc_button_probe()
448 button_info = device_data->button_info; in soc_button_probe()
484 if (!device_data || !device_data->button_info) in soc_button_probe()
/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c35 .data = hdev->bpf.device_data, in dispatch_hid_bpf_device_event()
48 if (!hdev->bpf.device_data) in dispatch_hid_bpf_device_event()
264 if (hdev->bpf.device_data) in hid_bpf_allocate_event_data()
267 return __hid_bpf_allocate_data(hdev, &hdev->bpf.device_data, &hdev->bpf.allocated_data); in hid_bpf_allocate_event_data()
532 from_hid_event_hook = ctx_kern->data && ctx_kern->data == ctx->hid->bpf.device_data; in hid_bpf_try_input_report()
625 kfree(hdev->bpf.device_data); in hid_bpf_disconnect_device()
626 hdev->bpf.device_data = NULL; in hid_bpf_disconnect_device()
/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);
/linux/sound/hda/common/
H A Dbeep.c164 struct hda_beep *beep = device->device_data; in beep_dev_register()
175 struct hda_beep *beep = device->device_data; in beep_dev_disconnect()
188 struct hda_beep *beep = device->device_data; in beep_dev_free()
/linux/drivers/scsi/lpfc/
H A Dlpfc_mem.c242 struct lpfc_device_data *device_data; in lpfc_mem_free() local
286 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
289 list_del(&device_data->listentry); in lpfc_mem_free()
290 mempool_free(device_data, phba->device_data_mem_pool); in lpfc_mem_free()
/linux/sound/aoa/
H A Daoa.h118 void *device_data, const struct snd_device_ops *ops);
/linux/sound/hda/controllers/
H A Dacpi.c42 struct azx *chip = device->device_data; in hda_acpi_dev_disconnect()
50 struct azx *azx = device->device_data; in hda_acpi_dev_free()
H A Dcix-ipbloq.c39 struct azx *chip = device->device_data; in cix_ipbloq_hda_dev_disconnect()
48 struct azx *chip = device->device_data; in cix_ipbloq_hda_dev_free()
H A Dtegra.c219 struct azx *chip = device->device_data; in hda_tegra_dev_disconnect()
230 struct azx *chip = device->device_data; in hda_tegra_dev_free()
/linux/include/linux/
H A Ddmi.h86 void *device_data; /* Type specific data */ member
H A Dhid_bpf.h188 u8 *device_data; /* allocated when a bpf program of type member
/linux/drivers/char/ipmi/
H A Dipmi_dmi.c219 dmi_decode_ipmi((const struct dmi_header *) dev->device_data); in scan_for_dmi_ipmi()
/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()
/linux/drivers/pci/
H A Dpci-label.c70 donboard = dmi->device_data; in find_smbios_instance_string()
/linux/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf.c72 struct snd_pdacf *chip = device->device_data; in snd_pdacf_dev_free()
/linux/drivers/media/usb/go7007/
H A Dsnd-go7007.c187 struct go7007 *go = device->device_data; in go7007_snd_free()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_device.h113 const struct pvr_device_data *device_data; member
/linux/sound/i2c/
H A Di2c.c61 struct snd_i2c_bus *bus = device->device_data; in snd_i2c_bus_dev_free()
/linux/sound/sh/
H A Dsh_dac_audio.c257 struct snd_sh_dac *chip = device->device_data; in snd_sh_dac_dev_free()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_dev.h446 uint8_t device_data[QXL_CURSOR_DEVICE_DATA_SIZE]; member

12