/linux-6.12.1/sound/core/ |
D | device.c | 30 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 …]
|
D | seq_device.c | 156 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()
|
D | hwdep.c | 414 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()
|
D | jack.c | 44 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()
|
D | compress_offload.c | 1022 if (snd_BUG_ON(!device || !device->device_data)) in snd_compress_dev_register() 1024 compr = device->device_data; in snd_compress_dev_register() 1044 compr = device->device_data; in snd_compress_dev_disconnect() 1117 compr = device->device_data; in snd_compress_dev_free()
|
D | pcm.c | 873 struct snd_pcm *pcm = device->device_data; in snd_pcm_dev_free() 1052 if (snd_BUG_ON(!device || !device->device_data)) in snd_pcm_dev_register() 1054 pcm = device->device_data; in snd_pcm_dev_register() 1091 struct snd_pcm *pcm = device->device_data; in snd_pcm_dev_disconnect()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/ |
D | adf_rl.c | 415 u32 max_val = rl_data->device_data->scale_ref; in is_enough_budget() 554 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_slice_tokens() local 565 avail_slice_cycles *= device_data->slices.pke_cnt; in adf_rl_calculate_slice_tokens() 568 avail_slice_cycles *= device_data->slices.cph_cnt; in adf_rl_calculate_slice_tokens() 571 avail_slice_cycles *= device_data->slices.dcpr_cnt; in adf_rl_calculate_slice_tokens() 577 do_div(avail_slice_cycles, device_data->scan_interval); in adf_rl_calculate_slice_tokens() 579 do_div(allocated_tokens, device_data->scale_ref); in adf_rl_calculate_slice_tokens() 587 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_ae_cycles() local 596 do_div(avail_ae_cycles, device_data->scan_interval); in adf_rl_calculate_ae_cycles() 598 sla_val *= device_data->max_tp[svc_type]; in adf_rl_calculate_ae_cycles() [all …]
|
D | adf_rl.h | 114 struct adf_rl_hw_data *device_data; member
|
/linux-6.12.1/sound/aoa/core/ |
D | alsa.c | 62 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()
|
/linux-6.12.1/drivers/input/misc/ |
D | soc_button_array.c | 433 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-6.12.1/include/sound/ |
D | core.h | 72 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);
|
/linux-6.12.1/drivers/hid/bpf/ |
D | hid_bpf_dispatch.c | 35 .data = hdev->bpf.device_data, in dispatch_hid_bpf_device_event() 45 if (!hdev->bpf.device_data) in dispatch_hid_bpf_device_event() 255 if (hdev->bpf.device_data) in hid_bpf_allocate_event_data() 258 return __hid_bpf_allocate_data(hdev, &hdev->bpf.device_data, &hdev->bpf.allocated_data); in hid_bpf_allocate_event_data() 529 from_hid_event_hook = ctx_kern->data && ctx_kern->data == ctx->hid->bpf.device_data; in hid_bpf_try_input_report() 622 kfree(hdev->bpf.device_data); in hid_bpf_disconnect_device() 623 hdev->bpf.device_data = NULL; in hid_bpf_disconnect_device()
|
/linux-6.12.1/sound/pci/hda/ |
D | hda_beep.c | 163 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()
|
D | hda_tegra.c | 215 struct azx *chip = device->device_data; in hda_tegra_dev_disconnect() 226 struct azx *chip = device->device_data; in hda_tegra_dev_free()
|
/linux-6.12.1/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 242 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-6.12.1/sound/aoa/ |
D | aoa.h | 118 void *device_data, const struct snd_device_ops *ops);
|
/linux-6.12.1/drivers/md/ |
D | dm-ima.c | 102 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()
|
/linux-6.12.1/drivers/firmware/ |
D | dmi_scan.c | 301 dev->device_data = NULL; in dmi_save_one_device() 341 dev->device_data = NULL; in dmi_save_oem_strings_devices() 364 dev->device_data = data; in dmi_save_ipmi_device() 391 dev->dev.device_data = dev; in dmi_save_dev_pciaddr()
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | debugfs-driver-qat_telemetry | 26 the ``device_data`` file:: 37 What: /sys/kernel/debug/qat_<device>_<BDF>/telemetry/device_data 88 cat /sys/kernel/debug/qat_4xxx_0000:6b:00.0/telemetry/device_data
|
/linux-6.12.1/include/linux/ |
D | dmi.h | 86 void *device_data; /* Type specific data */ member
|
D | hid_bpf.h | 188 u8 *device_data; /* allocated when a bpf program of type member
|
/linux-6.12.1/drivers/char/ipmi/ |
D | ipmi_dmi.c | 219 dmi_decode_ipmi((const struct dmi_header *) dev->device_data); in scan_for_dmi_ipmi()
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | bu21013_ts.c | 236 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-6.12.1/drivers/pci/ |
D | pci-label.c | 70 donboard = dmi->device_data; in find_smbios_instance_string()
|
/linux-6.12.1/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf.c | 72 struct snd_pdacf *chip = device->device_data; in snd_pdacf_dev_free()
|