/drivers/crypto/virtio/ |
D | virtio_crypto_core.c | 101 vq_callback_t **callbacks; in virtcrypto_find_vqs() local 119 callbacks = kcalloc(total_vqs, sizeof(*callbacks), GFP_KERNEL); in virtcrypto_find_vqs() 120 if (!callbacks) in virtcrypto_find_vqs() 127 callbacks[total_vqs - 1] = virtcrypto_ctrlq_callback; in virtcrypto_find_vqs() 132 callbacks[i] = virtcrypto_dataq_callback; in virtcrypto_find_vqs() 138 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, callbacks, names, NULL); in virtcrypto_find_vqs() 158 kfree(callbacks); in virtcrypto_find_vqs() 167 kfree(callbacks); in virtcrypto_find_vqs()
|
/drivers/virtio/ |
D | virtio_pci_common.c | 279 struct virtqueue *vqs[], vq_callback_t *callbacks[], in vp_find_vqs_msix() argument 296 if (names[i] && callbacks[i]) in vp_find_vqs_msix() 316 if (!callbacks[i]) in vp_find_vqs_msix() 322 vqs[i] = vp_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vp_find_vqs_msix() 353 struct virtqueue *vqs[], vq_callback_t *callbacks[], in vp_find_vqs_intx() argument 375 vqs[i] = vp_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vp_find_vqs_intx() 392 struct virtqueue *vqs[], vq_callback_t *callbacks[], in vp_find_vqs() argument 399 err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, true, ctx, desc); in vp_find_vqs() 403 err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, false, ctx, desc); in vp_find_vqs() 407 return vp_find_vqs_intx(vdev, nvqs, vqs, callbacks, names, ctx); in vp_find_vqs()
|
D | virtio_balloon.c | 504 vq_callback_t *callbacks[VIRTIO_BALLOON_VQ_MAX]; in init_vqs() local 513 callbacks[VIRTIO_BALLOON_VQ_INFLATE] = balloon_ack; in init_vqs() 515 callbacks[VIRTIO_BALLOON_VQ_DEFLATE] = balloon_ack; in init_vqs() 517 callbacks[VIRTIO_BALLOON_VQ_STATS] = NULL; in init_vqs() 519 callbacks[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL; in init_vqs() 525 callbacks[VIRTIO_BALLOON_VQ_STATS] = stats_request; in init_vqs() 530 callbacks[VIRTIO_BALLOON_VQ_FREE_PAGE] = NULL; in init_vqs() 535 callbacks[VIRTIO_BALLOON_VQ_REPORTING] = balloon_ack; in init_vqs() 539 vqs, callbacks, names, NULL, NULL); in init_vqs()
|
D | virtio_pci_common.h | 131 struct virtqueue *vqs[], vq_callback_t *callbacks[],
|
D | virtio_vdpa.c | 250 vq_callback_t *callbacks[], in virtio_vdpa_find_vqs() argument 268 callbacks[i], names[i], ctx ? in virtio_vdpa_find_vqs()
|
/drivers/rtc/ |
D | rtc-hid-sensor-time.c | 24 struct hid_sensor_hub_callbacks callbacks; member 254 time_state->callbacks.send_event = hid_time_proc_event; in hid_time_probe() 255 time_state->callbacks.capture_sample = hid_time_capture_sample; in hid_time_probe() 256 time_state->callbacks.pdev = pdev; in hid_time_probe() 258 &time_state->callbacks); in hid_time_probe()
|
/drivers/iio/light/ |
D | hid-sensor-prox.c | 22 struct hid_sensor_hub_callbacks callbacks; member 310 prox_state->callbacks.send_event = prox_proc_event; in hid_prox_probe() 311 prox_state->callbacks.capture_sample = prox_capture_sample; in hid_prox_probe() 312 prox_state->callbacks.pdev = pdev; in hid_prox_probe() 314 &prox_state->callbacks); in hid_prox_probe()
|
D | hid-sensor-als.c | 26 struct hid_sensor_hub_callbacks callbacks; member 323 als_state->callbacks.send_event = als_proc_event; in hid_als_probe() 324 als_state->callbacks.capture_sample = als_capture_sample; in hid_als_probe() 325 als_state->callbacks.pdev = pdev; in hid_als_probe() 327 &als_state->callbacks); in hid_als_probe()
|
/drivers/iio/pressure/ |
D | hid-sensor-press.c | 22 struct hid_sensor_hub_callbacks callbacks; member 305 press_state->callbacks.send_event = press_proc_event; in hid_press_probe() 306 press_state->callbacks.capture_sample = press_capture_sample; in hid_press_probe() 307 press_state->callbacks.pdev = pdev; in hid_press_probe() 309 &press_state->callbacks); in hid_press_probe()
|
/drivers/iio/orientation/ |
D | hid-sensor-rotation.c | 20 struct hid_sensor_hub_callbacks callbacks; member 303 rot_state->callbacks.send_event = dev_rot_proc_event; in hid_dev_rot_probe() 304 rot_state->callbacks.capture_sample = dev_rot_capture_sample; in hid_dev_rot_probe() 305 rot_state->callbacks.pdev = pdev; in hid_dev_rot_probe() 307 &rot_state->callbacks); in hid_dev_rot_probe()
|
D | hid-sensor-incl-3d.c | 28 struct hid_sensor_hub_callbacks callbacks; member 361 incl_state->callbacks.send_event = incl_3d_proc_event; in hid_incl_3d_probe() 362 incl_state->callbacks.capture_sample = incl_3d_capture_sample; in hid_incl_3d_probe() 363 incl_state->callbacks.pdev = pdev; in hid_incl_3d_probe() 366 &incl_state->callbacks); in hid_incl_3d_probe()
|
/drivers/iio/gyro/ |
D | hid-sensor-gyro-3d.c | 27 struct hid_sensor_hub_callbacks callbacks; member 341 gyro_state->callbacks.send_event = gyro_3d_proc_event; in hid_gyro_3d_probe() 342 gyro_state->callbacks.capture_sample = gyro_3d_capture_sample; in hid_gyro_3d_probe() 343 gyro_state->callbacks.pdev = pdev; in hid_gyro_3d_probe() 345 &gyro_state->callbacks); in hid_gyro_3d_probe()
|
/drivers/md/ |
D | dm-snap-persistent.c | 161 struct commit_callback *callbacks; member 599 vfree(ps->callbacks); in persistent_dtr() 624 ps->callbacks = dm_vcalloc(ps->exceptions_per_area, in persistent_read_metadata() 625 sizeof(*ps->callbacks)); in persistent_read_metadata() 626 if (!ps->callbacks) in persistent_read_metadata() 715 cb = ps->callbacks + ps->callback_count++; in persistent_commit_exception() 751 cb = ps->callbacks + i; in persistent_commit_exception() 867 ps->callbacks = NULL; in persistent_ctr()
|
/drivers/iio/accel/ |
D | hid-sensor-accel-3d.c | 27 struct hid_sensor_hub_callbacks callbacks; member 410 accel_state->callbacks.send_event = accel_3d_proc_event; in hid_accel_3d_probe() 411 accel_state->callbacks.capture_sample = accel_3d_capture_sample; in hid_accel_3d_probe() 412 accel_state->callbacks.pdev = pdev; in hid_accel_3d_probe() 414 &accel_state->callbacks); in hid_accel_3d_probe()
|
/drivers/iio/magnetometer/ |
D | hid-sensor-magn-3d.c | 38 struct hid_sensor_hub_callbacks callbacks; member 534 magn_state->callbacks.send_event = magn_3d_proc_event; in hid_magn_3d_probe() 535 magn_state->callbacks.capture_sample = magn_3d_capture_sample; in hid_magn_3d_probe() 536 magn_state->callbacks.pdev = pdev; in hid_magn_3d_probe() 538 &magn_state->callbacks); in hid_magn_3d_probe()
|
/drivers/soc/xilinx/ |
D | Kconfig | 30 power management callbacks from firmware. It registers mailbox client 31 to handle power management callbacks from firmware.
|
/drivers/scsi/ |
D | virtio_scsi.c | 791 vq_callback_t **callbacks; in virtscsi_init() local 798 callbacks = kmalloc_array(num_vqs, sizeof(vq_callback_t *), in virtscsi_init() 802 if (!callbacks || !vqs || !names) { in virtscsi_init() 807 callbacks[0] = virtscsi_ctrl_done; in virtscsi_init() 808 callbacks[1] = virtscsi_event_done; in virtscsi_init() 812 callbacks[i] = virtscsi_req_done; in virtscsi_init() 817 err = virtio_find_vqs(vdev, num_vqs, vqs, callbacks, names, &desc); in virtscsi_init() 834 kfree(callbacks); in virtscsi_init()
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | mac80211_if.c | 314 while (atomic_read(&wl->callbacks) > 0) in brcms_free() 1146 atomic_set(&wl->callbacks, 0); in brcms_attach() 1441 uint callbacks, ret_val = 0; in brcms_down() local 1445 callbacks = atomic_read(&wl->callbacks) - ret_val; in brcms_down() 1453 SPINWAIT((atomic_read(&wl->callbacks) > callbacks), 100 * 1000); in brcms_down() 1470 atomic_inc(&t->wl->callbacks); in _brcms_timer() 1481 atomic_dec(&t->wl->callbacks); in _brcms_timer() 1536 atomic_inc(&t->wl->callbacks); in brcms_add_timer() 1554 atomic_dec(&t->wl->callbacks); in brcms_del_timer()
|
D | mac80211_if.h | 77 atomic_t callbacks; /* # outstanding callback functions */ member
|
/drivers/block/ |
D | virtio_blk.c | 500 vq_callback_t **callbacks; in init_vq() local 524 callbacks = kmalloc_array(num_vqs, sizeof(*callbacks), GFP_KERNEL); in init_vq() 526 if (!names || !callbacks || !vqs) { in init_vq() 532 callbacks[i] = virtblk_done; in init_vq() 538 err = virtio_find_vqs(vdev, num_vqs, vqs, callbacks, names, &desc); in init_vq() 550 kfree(callbacks); in init_vq()
|
/drivers/hid/ |
D | hid-sensor-custom.c | 39 struct hid_sensor_hub_callbacks callbacks; member 760 sensor_inst->callbacks.capture_sample = hid_sensor_capture_sample; in hid_sensor_custom_probe() 761 sensor_inst->callbacks.send_event = hid_sensor_send_event; in hid_sensor_custom_probe() 762 sensor_inst->callbacks.pdev = pdev; in hid_sensor_custom_probe() 768 &sensor_inst->callbacks); in hid_sensor_custom_probe()
|
/drivers/pci/hotplug/ |
D | TODO | 6 ->set_power callbacks in struct cpci_hp_controller_ops. Why were they 21 * Implementations of hotplug_slot_ops callbacks such as get_adapter_present()
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_kms.c | 99 static vq_callback_t *callbacks[] = { in virtio_gpu_init() local 160 ret = virtio_find_vqs(vgdev->vdev, 2, vqs, callbacks, names, NULL); in virtio_gpu_init()
|
/drivers/virt/ |
D | Kconfig | 31 4) A kernel interface for receiving callbacks when a managed
|
/drivers/remoteproc/ |
D | remoteproc_virtio.c | 145 vq_callback_t *callbacks[], in rproc_virtio_find_vqs() argument 158 vqs[i] = rp_find_vq(vdev, queue_idx++, callbacks[i], names[i], in rproc_virtio_find_vqs()
|