Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 37) sorted by relevance

12

/drivers/rtc/
Drtc-hid-sensor-time.c37 struct hid_sensor_hub_callbacks callbacks; member
268 time_state->callbacks.send_event = hid_time_proc_event; in hid_time_probe()
269 time_state->callbacks.capture_sample = hid_time_capture_sample; in hid_time_probe()
270 time_state->callbacks.pdev = pdev; in hid_time_probe()
272 &time_state->callbacks); in hid_time_probe()
/drivers/virtio/
Dvirtio_pci_common.c298 vq_callback_t *callbacks[], in vp_try_to_find_vqs() argument
321 if (callbacks[i]) in vp_try_to_find_vqs()
339 } else if (!callbacks[i] || !vp_dev->msix_enabled) in vp_try_to_find_vqs()
345 vqs[i] = vp_setup_vq(vdev, i, callbacks[i], names[i], msix_vec); in vp_try_to_find_vqs()
378 vq_callback_t *callbacks[], in vp_find_vqs() argument
384 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, true, true); in vp_find_vqs()
388 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, in vp_find_vqs()
393 return vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, in vp_find_vqs()
Dvirtio_pci_common.h135 vq_callback_t *callbacks[],
/drivers/iio/orientation/
Dhid-sensor-rotation.c30 struct hid_sensor_hub_callbacks callbacks; member
288 rot_state->callbacks.send_event = dev_rot_proc_event; in hid_dev_rot_probe()
289 rot_state->callbacks.capture_sample = dev_rot_capture_sample; in hid_dev_rot_probe()
290 rot_state->callbacks.pdev = pdev; in hid_dev_rot_probe()
293 &rot_state->callbacks); in hid_dev_rot_probe()
Dhid-sensor-incl-3d.c42 struct hid_sensor_hub_callbacks callbacks; member
380 incl_state->callbacks.send_event = incl_3d_proc_event; in hid_incl_3d_probe()
381 incl_state->callbacks.capture_sample = incl_3d_capture_sample; in hid_incl_3d_probe()
382 incl_state->callbacks.pdev = pdev; in hid_incl_3d_probe()
385 &incl_state->callbacks); in hid_incl_3d_probe()
/drivers/iio/light/
Dhid-sensor-prox.c36 struct hid_sensor_hub_callbacks callbacks; member
313 prox_state->callbacks.send_event = prox_proc_event; in hid_prox_probe()
314 prox_state->callbacks.capture_sample = prox_capture_sample; in hid_prox_probe()
315 prox_state->callbacks.pdev = pdev; in hid_prox_probe()
317 &prox_state->callbacks); in hid_prox_probe()
Dhid-sensor-als.c37 struct hid_sensor_hub_callbacks callbacks; member
325 als_state->callbacks.send_event = als_proc_event; in hid_als_probe()
326 als_state->callbacks.capture_sample = als_capture_sample; in hid_als_probe()
327 als_state->callbacks.pdev = pdev; in hid_als_probe()
329 &als_state->callbacks); in hid_als_probe()
/drivers/iio/pressure/
Dhid-sensor-press.c36 struct hid_sensor_hub_callbacks callbacks; member
324 press_state->callbacks.send_event = press_proc_event; in hid_press_probe()
325 press_state->callbacks.capture_sample = press_capture_sample; in hid_press_probe()
326 press_state->callbacks.pdev = pdev; in hid_press_probe()
328 &press_state->callbacks); in hid_press_probe()
/drivers/iio/accel/
Dhid-sensor-accel-3d.c42 struct hid_sensor_hub_callbacks callbacks; member
363 accel_state->callbacks.send_event = accel_3d_proc_event; in hid_accel_3d_probe()
364 accel_state->callbacks.capture_sample = accel_3d_capture_sample; in hid_accel_3d_probe()
365 accel_state->callbacks.pdev = pdev; in hid_accel_3d_probe()
367 &accel_state->callbacks); in hid_accel_3d_probe()
/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c42 struct hid_sensor_hub_callbacks callbacks; member
360 gyro_state->callbacks.send_event = gyro_3d_proc_event; in hid_gyro_3d_probe()
361 gyro_state->callbacks.capture_sample = gyro_3d_capture_sample; in hid_gyro_3d_probe()
362 gyro_state->callbacks.pdev = pdev; in hid_gyro_3d_probe()
364 &gyro_state->callbacks); in hid_gyro_3d_probe()
/drivers/md/
Ddm-snap-persistent.c161 struct commit_callback *callbacks; member
606 vfree(ps->callbacks); in persistent_dtr()
631 ps->callbacks = dm_vcalloc(ps->exceptions_per_area, in persistent_read_metadata()
632 sizeof(*ps->callbacks)); in persistent_read_metadata()
633 if (!ps->callbacks) in persistent_read_metadata()
722 cb = ps->callbacks + ps->callback_count++; in persistent_commit_exception()
757 cb = ps->callbacks + i; in persistent_commit_exception()
873 ps->callbacks = NULL; in persistent_ctr()
/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c46 struct hid_sensor_hub_callbacks callbacks; member
477 magn_state->callbacks.send_event = magn_3d_proc_event; in hid_magn_3d_probe()
478 magn_state->callbacks.capture_sample = magn_3d_capture_sample; in hid_magn_3d_probe()
479 magn_state->callbacks.pdev = pdev; in hid_magn_3d_probe()
481 &magn_state->callbacks); in hid_magn_3d_probe()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmac80211_if.c315 while (atomic_read(&wl->callbacks) > 0) in brcms_free()
1120 atomic_set(&wl->callbacks, 0); in brcms_attach()
1408 uint callbacks, ret_val = 0; in brcms_down() local
1412 callbacks = atomic_read(&wl->callbacks) - ret_val; in brcms_down()
1420 SPINWAIT((atomic_read(&wl->callbacks) > callbacks), 100 * 1000); in brcms_down()
1437 atomic_inc(&t->wl->callbacks); in _brcms_timer()
1448 atomic_dec(&t->wl->callbacks); in _brcms_timer()
1503 atomic_inc(&t->wl->callbacks); in brcms_add_timer()
1521 atomic_dec(&t->wl->callbacks); in brcms_del_timer()
Dmac80211_if.h77 atomic_t callbacks; /* # outstanding callback functions */ member
Dmain.c4876 uint callbacks; in brcms_c_detach() local
4884 callbacks = 0; in brcms_c_detach()
4886 callbacks++; in brcms_c_detach()
4895 return callbacks; in brcms_c_detach()
5110 uint callbacks = 0; in brcms_c_down_del_timer() local
5112 return callbacks; in brcms_c_down_del_timer()
5118 uint callbacks = 0; in brcms_b_bmac_down_prep() local
5121 return callbacks; in brcms_b_bmac_down_prep()
5136 callbacks += wlc_phy_down(wlc_hw->band->pi); in brcms_b_bmac_down_prep()
5138 return callbacks; in brcms_b_bmac_down_prep()
[all …]
/drivers/block/
Dvirtio_blk.c383 vq_callback_t **callbacks; in init_vq() local
400 callbacks = kmalloc_array(num_vqs, sizeof(*callbacks), GFP_KERNEL); in init_vq()
402 if (!names || !callbacks || !vqs) { in init_vq()
408 callbacks[i] = virtblk_done; in init_vq()
414 err = vdev->config->find_vqs(vdev, num_vqs, vqs, callbacks, names); in init_vq()
426 kfree(callbacks); in init_vq()
/drivers/scsi/
Dvirtio_scsi.c945 vq_callback_t **callbacks; in virtscsi_init() local
951 callbacks = kmalloc(num_vqs * sizeof(vq_callback_t *), GFP_KERNEL); in virtscsi_init()
954 if (!callbacks || !vqs || !names) { in virtscsi_init()
959 callbacks[0] = virtscsi_ctrl_done; in virtscsi_init()
960 callbacks[1] = virtscsi_event_done; in virtscsi_init()
964 callbacks[i] = virtscsi_req_done; in virtscsi_init()
969 err = vdev->config->find_vqs(vdev, num_vqs, vqs, callbacks, names); in virtscsi_init()
986 kfree(callbacks); in virtscsi_init()
/drivers/staging/i4l/pcbit/
DMakefile9 pcbit-y := module.o edss1.o drv.o layer2.o capi.o callbacks.o
/drivers/hid/
Dhid-sensor-custom.c47 struct hid_sensor_hub_callbacks callbacks; member
772 sensor_inst->callbacks.capture_sample = hid_sensor_capture_sample; in hid_sensor_custom_probe()
773 sensor_inst->callbacks.send_event = hid_sensor_send_event; in hid_sensor_custom_probe()
774 sensor_inst->callbacks.pdev = pdev; in hid_sensor_custom_probe()
780 &sensor_inst->callbacks); in hid_sensor_custom_probe()
/drivers/net/
Dvirtio_net.c1596 vq_callback_t **callbacks; in virtnet_find_vqs() local
1613 callbacks = kmalloc(total_vqs * sizeof(*callbacks), GFP_KERNEL); in virtnet_find_vqs()
1614 if (!callbacks) in virtnet_find_vqs()
1622 callbacks[total_vqs - 1] = NULL; in virtnet_find_vqs()
1628 callbacks[rxq2vq(i)] = skb_recv_done; in virtnet_find_vqs()
1629 callbacks[txq2vq(i)] = skb_xmit_done; in virtnet_find_vqs()
1636 ret = vi->vdev->config->find_vqs(vi->vdev, total_vqs, vqs, callbacks, in virtnet_find_vqs()
1653 kfree(callbacks); in virtnet_find_vqs()
1661 kfree(callbacks); in virtnet_find_vqs()
/drivers/gpu/drm/virtio/
Dvirtgpu_kms.c130 static vq_callback_t *callbacks[] = { in virtio_gpu_driver_load() local
175 callbacks, names); in virtio_gpu_driver_load()
/drivers/remoteproc/
Dremoteproc_virtio.c144 vq_callback_t *callbacks[], in rproc_virtio_find_vqs() argument
150 vqs[i] = rp_find_vq(vdev, i, callbacks[i], names[i]); in rproc_virtio_find_vqs()
/drivers/virt/
DKconfig30 4) A kernel interface for receiving callbacks when a managed
/drivers/firmware/google/
DKconfig18 Say Y here if you want to enable SMI callbacks for Google
/drivers/s390/virtio/
Dkvm_virtio.c257 vq_callback_t *callbacks[], in kvm_find_vqs() argument
268 vqs[i] = kvm_find_vq(vdev, i, callbacks[i], names[i]); in kvm_find_vqs()

12