/drivers/rtc/ |
D | rtc-hid-sensor-time.c | 41 struct hid_sensor_hub_callbacks callbacks; member 248 time_state->callbacks.send_event = hid_time_proc_event; in hid_time_probe() 249 time_state->callbacks.capture_sample = hid_time_capture_sample; in hid_time_probe() 250 time_state->callbacks.pdev = pdev; in hid_time_probe() 252 &time_state->callbacks); in hid_time_probe()
|
/drivers/md/ |
D | dm-snap-persistent.c | 157 struct commit_callback *callbacks; member 544 if (ps->callbacks) in persistent_dtr() 545 vfree(ps->callbacks); in persistent_dtr() 570 ps->callbacks = dm_vcalloc(ps->exceptions_per_area, in persistent_read_metadata() 571 sizeof(*ps->callbacks)); in persistent_read_metadata() 572 if (!ps->callbacks) in persistent_read_metadata() 662 cb = ps->callbacks + ps->callback_count++; in persistent_commit_exception() 697 cb = ps->callbacks + i; in persistent_commit_exception() 813 ps->callbacks = NULL; in persistent_ctr()
|
D | dm-raid.c | 68 struct dm_target_callbacks callbacks; member 743 struct raid_set *rs = container_of(cb, struct raid_set, callbacks); in raid_is_congested() 1249 rs->callbacks.congested_fn = raid_is_congested; in raid_ctr() 1250 dm_table_add_target_callbacks(ti->table, &rs->callbacks); in raid_ctr() 1267 list_del_init(&rs->callbacks.list); in raid_dtr()
|
D | dm-cache-target.c | 102 struct dm_target_callbacks callbacks; member 1464 struct cache *cache = container_of(cb, struct cache, callbacks); in cache_is_congested() 1937 cache->callbacks.congested_fn = cache_is_congested; in cache_create() 1938 dm_table_add_target_callbacks(ti->table, &cache->callbacks); in cache_create()
|
D | dm-thin.c | 211 struct dm_target_callbacks callbacks; member 1554 struct pool_c *pt = container_of(cb, struct pool_c, callbacks); in pool_is_congested() 2106 pt->callbacks.congested_fn = pool_is_congested; in pool_ctr() 2107 dm_table_add_target_callbacks(ti->table, &pt->callbacks); in pool_ctr()
|
/drivers/iio/light/ |
D | hid-sensor-als.c | 40 struct hid_sensor_hub_callbacks callbacks; member 316 als_state->callbacks.send_event = als_proc_event; in hid_als_probe() 317 als_state->callbacks.capture_sample = als_capture_sample; in hid_als_probe() 318 als_state->callbacks.pdev = pdev; in hid_als_probe() 320 &als_state->callbacks); in hid_als_probe()
|
/drivers/iio/gyro/ |
D | hid-sensor-gyro-3d.c | 45 struct hid_sensor_hub_callbacks callbacks; member 350 gyro_state->callbacks.send_event = gyro_3d_proc_event; in hid_gyro_3d_probe() 351 gyro_state->callbacks.capture_sample = gyro_3d_capture_sample; in hid_gyro_3d_probe() 352 gyro_state->callbacks.pdev = pdev; in hid_gyro_3d_probe() 354 &gyro_state->callbacks); in hid_gyro_3d_probe()
|
/drivers/iio/accel/ |
D | hid-sensor-accel-3d.c | 45 struct hid_sensor_hub_callbacks callbacks; member 350 accel_state->callbacks.send_event = accel_3d_proc_event; in hid_accel_3d_probe() 351 accel_state->callbacks.capture_sample = accel_3d_capture_sample; in hid_accel_3d_probe() 352 accel_state->callbacks.pdev = pdev; in hid_accel_3d_probe() 354 &accel_state->callbacks); in hid_accel_3d_probe()
|
/drivers/iio/magnetometer/ |
D | hid-sensor-magn-3d.c | 45 struct hid_sensor_hub_callbacks callbacks; member 351 magn_state->callbacks.send_event = magn_3d_proc_event; in hid_magn_3d_probe() 352 magn_state->callbacks.capture_sample = magn_3d_capture_sample; in hid_magn_3d_probe() 353 magn_state->callbacks.pdev = pdev; in hid_magn_3d_probe() 355 &magn_state->callbacks); in hid_magn_3d_probe()
|
/drivers/virtio/ |
D | virtio_pci.c | 522 vq_callback_t *callbacks[], in vp_try_to_find_vqs() argument 541 if (callbacks[i]) in vp_try_to_find_vqs() 559 } else if (!callbacks[i] || !vp_dev->msix_enabled) in vp_try_to_find_vqs() 565 vqs[i] = setup_vq(vdev, i, callbacks[i], names[i], msix_vec); in vp_try_to_find_vqs() 600 vq_callback_t *callbacks[], in vp_find_vqs() argument 606 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, true, true); in vp_find_vqs() 610 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, in vp_find_vqs() 615 return vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, in vp_find_vqs()
|
D | virtio_balloon.c | 320 vq_callback_t *callbacks[] = { balloon_ack, balloon_ack, stats_request }; in init_vqs() local 329 err = vb->vdev->config->find_vqs(vb->vdev, nvqs, vqs, callbacks, names); in init_vqs()
|
D | virtio_mmio.c | 396 vq_callback_t *callbacks[], in vm_find_vqs() argument 409 vqs[i] = vm_setup_vq(vdev, i, callbacks[i], names[i]); in vm_find_vqs()
|
/drivers/scsi/ |
D | virtio_scsi.c | 818 vq_callback_t **callbacks; in virtscsi_init() local 824 callbacks = kmalloc(num_vqs * sizeof(vq_callback_t *), GFP_KERNEL); in virtscsi_init() 827 if (!callbacks || !vqs || !names) { in virtscsi_init() 832 callbacks[0] = virtscsi_ctrl_done; in virtscsi_init() 833 callbacks[1] = virtscsi_event_done; in virtscsi_init() 837 callbacks[i] = virtscsi_req_done; in virtscsi_init() 842 err = vdev->config->find_vqs(vdev, num_vqs, vqs, callbacks, names); in virtscsi_init() 864 kfree(callbacks); in virtscsi_init()
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | mac80211_if.c | 316 while (atomic_read(&wl->callbacks) > 0) in brcms_free() 1123 atomic_set(&wl->callbacks, 0); in brcms_attach() 1411 uint callbacks, ret_val = 0; in brcms_down() local 1415 callbacks = atomic_read(&wl->callbacks) - ret_val; in brcms_down() 1423 SPINWAIT((atomic_read(&wl->callbacks) > callbacks), 100 * 1000); in brcms_down() 1440 atomic_inc(&t->wl->callbacks); in _brcms_timer() 1451 atomic_dec(&t->wl->callbacks); in _brcms_timer() 1508 atomic_inc(&t->wl->callbacks); in brcms_add_timer() 1526 atomic_dec(&t->wl->callbacks); in brcms_del_timer()
|
D | mac80211_if.h | 77 atomic_t callbacks; /* # outstanding callback functions */ member
|
D | main.c | 4876 int callbacks; in brcms_b_detach() local 4878 callbacks = 0; in brcms_b_detach() 4902 return callbacks; in brcms_b_detach() 4918 uint callbacks = 0; in brcms_c_detach() local 4923 callbacks += brcms_b_detach(wlc); in brcms_c_detach() 4927 callbacks++; in brcms_c_detach() 4936 return callbacks; in brcms_c_detach() 5151 uint callbacks = 0; in brcms_c_down_del_timer() local 5153 return callbacks; in brcms_c_down_del_timer() 5159 uint callbacks = 0; in brcms_b_bmac_down_prep() local [all …]
|
/drivers/isdn/pcbit/ |
D | Makefile | 9 pcbit-y := module.o edss1.o drv.o layer2.o capi.o callbacks.o
|
/drivers/net/ |
D | virtio_net.c | 1339 vq_callback_t **callbacks; in virtnet_find_vqs() local 1356 callbacks = kmalloc(total_vqs * sizeof(*callbacks), GFP_KERNEL); in virtnet_find_vqs() 1357 if (!callbacks) in virtnet_find_vqs() 1365 callbacks[total_vqs - 1] = NULL; in virtnet_find_vqs() 1371 callbacks[rxq2vq(i)] = skb_recv_done; in virtnet_find_vqs() 1372 callbacks[txq2vq(i)] = skb_xmit_done; in virtnet_find_vqs() 1379 ret = vi->vdev->config->find_vqs(vi->vdev, total_vqs, vqs, callbacks, in virtnet_find_vqs() 1396 kfree(callbacks); in virtnet_find_vqs() 1404 kfree(callbacks); in virtnet_find_vqs()
|
/drivers/remoteproc/ |
D | remoteproc_virtio.c | 148 vq_callback_t *callbacks[], in rproc_virtio_find_vqs() argument 155 vqs[i] = rp_find_vq(vdev, i, callbacks[i], names[i]); in rproc_virtio_find_vqs()
|
/drivers/virt/ |
D | Kconfig | 30 4) A kernel interface for receiving callbacks when a managed
|
/drivers/lguest/ |
D | lguest_device.c | 371 vq_callback_t *callbacks[], in lg_find_vqs() argument 382 vqs[i] = lg_find_vq(vdev, i, callbacks[i], names[i]); in lg_find_vqs()
|
/drivers/firmware/google/ |
D | Kconfig | 19 Say Y here if you want to enable SMI callbacks for Google
|
/drivers/s390/kvm/ |
D | kvm_virtio.c | 248 vq_callback_t *callbacks[], in kvm_find_vqs() argument 259 vqs[i] = kvm_find_vq(vdev, i, callbacks[i], names[i]); in kvm_find_vqs()
|
D | virtio_ccw.c | 328 vq_callback_t *callbacks[], in virtio_ccw_find_vqs() argument 341 vqs[i] = virtio_ccw_setup_vq(vdev, i, callbacks[i], names[i], in virtio_ccw_find_vqs()
|
/drivers/usb/serial/ |
D | keyspan.c | 1273 static struct callbacks { struct 1330 struct callbacks *cback; in keyspan_setup_urbs() 2377 struct callbacks *cback; in keyspan_port_probe()
|