Searched refs:device_data (Results 1 - 25 of 55) sorted by relevance

123

/linux-master/sound/core/
H A Ddevice.c17 * @device_data: the data pointer of this device
30 void *device_data, const struct snd_device_ops *ops)
35 if (snd_BUG_ON(!card || !device_data || !ops))
44 dev->device_data = device_data;
82 static struct snd_device *look_for_dev(struct snd_card *card, void *device_data) argument
87 if (dev->device_data == device_data)
96 * @device_data: the data pointer to disconnect
106 void snd_device_disconnect(struct snd_card *card, void *device_data) argument
29 snd_device_new(struct snd_card *card, enum snd_device_type type, void *device_data, const struct snd_device_ops *ops) argument
130 snd_device_free(struct snd_card *card, void *device_data) argument
171 snd_device_register(struct snd_card *card, void *device_data) argument
253 snd_device_get_state(struct snd_card *card, void *device_data) argument
[all...]
H A Dseq_device.c156 struct snd_seq_device *dev = device->device_data;
167 struct snd_seq_device *dev = device->device_data;
180 struct snd_seq_device *dev = device->device_data;
H A Dhwdep.c414 snd_hwdep_free(device->device_data);
420 struct snd_hwdep *hwdep = device->device_data;
458 struct snd_hwdep *hwdep = device->device_data;
H A Djack.c43 struct snd_jack *jack = device->device_data;
62 struct snd_jack *jack = device->device_data;
85 struct snd_jack *jack = device->device_data;
H A Dcompress_offload.c1022 if (snd_BUG_ON(!device || !device->device_data))
1024 compr = device->device_data;
1044 compr = device->device_data;
1117 compr = device->device_data;
/linux-master/sound/aoa/core/
H A Dalsa.c62 void *device_data, const struct snd_device_ops *ops)
69 err = snd_device_new(card, type, device_data, ops);
74 err = snd_device_register(card, device_data);
80 snd_device_free(card, device_data);
61 aoa_snd_device_new(enum snd_device_type type, void *device_data, const struct snd_device_ops *ops) argument
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_rl.c415 u32 max_val = rl_data->device_data->scale_ref;
554 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; local
565 avail_slice_cycles *= device_data->slices.pke_cnt;
568 avail_slice_cycles *= device_data->slices.cph_cnt;
571 avail_slice_cycles *= device_data->slices.dcpr_cnt;
577 do_div(avail_slice_cycles, device_data->scan_interval);
579 do_div(allocated_tokens, device_data->scale_ref);
587 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; local
596 do_div(avail_ae_cycles, device_data->scan_interval);
598 sla_val *= device_data
610 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; local
724 struct adf_rl_hw_data *device_data = rl_data->device_data; local
[all...]
H A Dadf_rl.h103 * @device_data: pointer to rate limiting data specific to a device type (or revision)
114 struct adf_rl_hw_data *device_data; member in struct:adf_rl
/linux-master/drivers/input/misc/
H A Dsoc_button_array.c433 const struct soc_device_data *device_data; local
440 device_data = acpi_device_get_match_data(dev);
441 if (device_data && device_data->check) {
442 error = device_data->check(dev);
447 if (device_data && device_data->button_info) {
448 button_info = device_data->button_info;
484 if (!device_data || !device_data
[all...]
/linux-master/sound/aoa/
H A Daoa.h118 void *device_data, const struct snd_device_ops *ops);
/linux-master/include/sound/
H A Dcore.h72 void *device_data; /* device structure */ member in struct:snd_device
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);
/linux-master/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c59 .data = hdev->bpf.device_data,
67 if (!hdev->bpf.device_data)
233 /* hdev->bpf.device_data is already allocated, abort */
234 if (hdev->bpf.device_data)
237 return __hid_bpf_allocate_data(hdev, &hdev->bpf.device_data, &hdev->bpf.allocated_data);
520 kfree(hdev->bpf.device_data);
521 hdev->bpf.device_data = NULL;
/linux-master/include/linux/
H A Dhid_bpf.h119 u8 *device_data; /* allocated when a bpf program of type member in struct:hid_bpf
H A Ddmi.h86 void *device_data; /* Type specific data */ member in struct:dmi_device
/linux-master/sound/pci/hda/
H A Dhda_beep.c163 struct hda_beep *beep = device->device_data;
174 struct hda_beep *beep = device->device_data;
187 struct hda_beep *beep = device->device_data;
H A Dhda_tegra.c215 struct azx *chip = device->device_data;
226 struct azx *chip = device->device_data;
/linux-master/drivers/char/ipmi/
H A Dipmi_dmi.c219 dmi_decode_ipmi((const struct dmi_header *) dev->device_data);
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_mem.c242 struct lpfc_device_data *device_data; local
286 device_data = list_first_entry(&phba->luns,
289 list_del(&device_data->listentry);
290 mempool_free(device_data, phba->device_data_mem_pool);
/linux-master/sound/drivers/opl4/
H A Dopl4_lib.c174 struct snd_opl4 *opl4 = device->device_data;
/linux-master/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf.c72 struct snd_pdacf *chip = device->device_data;
/linux-master/drivers/pci/
H A Dpci-label.c70 donboard = dmi->device_data;
/linux-master/drivers/media/usb/go7007/
H A Dsnd-go7007.c187 struct go7007 *go = device->device_data;
/linux-master/drivers/firmware/
H A Ddmi_scan.c289 dev->device_data = NULL;
329 dev->device_data = NULL;
352 dev->device_data = data;
379 dev->dev.device_data = dev;
/linux-master/drivers/md/
H A Ddm-ima.c102 static int dm_ima_alloc_and_copy_device_data(struct mapped_device *md, char **device_data, argument
112 *device_data = dm_ima_alloc(DM_IMA_DEVICE_BUF_LEN, GFP_KERNEL, noio);
113 if (!(*device_data)) {
118 scnprintf(*device_data, DM_IMA_DEVICE_BUF_LEN,
/linux-master/drivers/input/touchscreen/
H A Dbu21013_ts.c236 static irqreturn_t bu21013_gpio_irq(int irq, void *device_data) argument
238 struct bu21013_ts *ts = device_data;

Completed in 362 milliseconds

123