Home
last modified time | relevance | path

Searched refs:need_sync (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dcrypto.c71 unsigned long *need_sync; member
301 bulk->need_sync = bitmap_zalloc(num_deks, GFP_KERNEL); in mlx5_crypto_dek_bulk_create()
302 if (!bulk->need_sync) { in mlx5_crypto_dek_bulk_create()
328 bitmap_free(bulk->need_sync); in mlx5_crypto_dek_bulk_create()
352 bitmap_free(bulk->need_sync); in mlx5_crypto_dek_bulk_free()
380 pos = find_next_zero_bit(bulk->need_sync, bulk->num_deks, in mlx5_crypto_dek_pool_pop()
384 pos = find_first_zero_bit(bulk->need_sync, bulk->num_deks); in mlx5_crypto_dek_pool_pop()
402 bitmap_set(bulk->need_sync, pos, 1); in mlx5_crypto_dek_pool_pop()
482 unsigned long *need_sync = bulk->need_sync; in mlx5_crypto_dek_bulk_reset_synced() local
490 i++, need_sync++, in_use++) { in mlx5_crypto_dek_bulk_reset_synced()
[all …]
/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c571 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer() local
582 if (need_sync && (id == DSI_0)) in msm_dsi_manager_cmd_xfer()
585 if (need_sync && msm_dsi0) { in msm_dsi_manager_cmd_xfer()
605 if (need_sync && msm_dsi0) in msm_dsi_manager_cmd_xfer()
/drivers/md/
Dmd-bitmap.h198 int need_sync; member
Dmd-bitmap.c1336 if (bitmap->need_sync && in md_bitmap_daemon_work()
1341 bitmap->need_sync = 0; in md_bitmap_daemon_work()
1375 if (*bmc == 1 && !bitmap->need_sync) { in md_bitmap_daemon_work()
1559 bitmap->need_sync = 1; in md_bitmap_endwrite()
2655 len = sprintf(page, "%s\n", (mddev->bitmap->need_sync ? in can_clear_show()
2668 mddev->bitmap->need_sync = 1; in can_clear_store()
2672 mddev->bitmap->need_sync = 0; in can_clear_store()
/drivers/hid/
Dhid-multitouch.c935 bool need_sync = false; in mt_release_pending_palms() local
943 need_sync = true; in mt_release_pending_palms()
946 if (need_sync) { in mt_release_pending_palms()
/drivers/iommu/amd/
Damd_iommu_types.h730 bool need_sync; member
Diommu.c1161 iommu->need_sync = sync; in __iommu_queue_command_sync()
1196 if (!iommu->need_sync) in iommu_completion_wait()
/drivers/input/
Dinput.c734 bool need_sync = false; in input_dev_release_keys() local
742 need_sync = true; in input_dev_release_keys()
746 return need_sync; in input_dev_release_keys()
/drivers/clk/
Dclk.c80 bool need_sync; member
1573 if (core->dev != dev || !core->need_sync) in clk_unprepare_disable_dev_subtree()
2102 if (core->need_sync || !core->boot_enabled) in clk_core_hold_state()
2111 core->need_sync = !clk_core_prepare_enable(core); in clk_core_hold_state()
/drivers/net/
Dvirtio_net.c140 u16 need_sync; member
620 if (dma->need_sync && len) { in virtnet_rq_unmap()
706 dma->need_sync = virtqueue_dma_need_sync(rq->vq, addr); in virtnet_rq_alloc()