/drivers/power/supply/ |
D | max17042_battery.c | 238 u64 data64; in max17042_get_property() local 331 data64 = data * 5000000ll; in max17042_get_property() 332 do_div(data64, chip->pdata->r_sns); in max17042_get_property() 333 val->intval = data64; in max17042_get_property() 340 data64 = data * 5000000ll; in max17042_get_property() 341 do_div(data64, chip->pdata->r_sns); in max17042_get_property() 342 val->intval = data64; in max17042_get_property() 349 data64 = data * 5000000ll; in max17042_get_property() 350 do_div(data64, chip->pdata->r_sns); in max17042_get_property() 351 val->intval = data64; in max17042_get_property() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_arcturus.c | 131 uint64_t data64; in kgd_arcturus_hqd_sdma_load() local 165 if (read_user_wptr(mm, wptr64, data64)) { in kgd_arcturus_hqd_sdma_load() 167 lower_32_bits(data64)); in kgd_arcturus_hqd_sdma_load() 169 upper_32_bits(data64)); in kgd_arcturus_hqd_sdma_load()
|
D | amdgpu_amdkfd_gc_9_4_3.c | 66 uint64_t data64; in kgd_gfx_v9_4_3_hqd_sdma_load() local 100 if (read_user_wptr(mm, wptr64, data64)) { in kgd_gfx_v9_4_3_hqd_sdma_load() 102 lower_32_bits(data64)); in kgd_gfx_v9_4_3_hqd_sdma_load() 104 upper_32_bits(data64)); in kgd_gfx_v9_4_3_hqd_sdma_load()
|
D | amdgpu_amdkfd_gfx_v10_3.c | 366 uint64_t data64; in hqd_sdma_load_v10_3() local 400 if (read_user_wptr(mm, wptr64, data64)) { in hqd_sdma_load_v10_3() 402 lower_32_bits(data64)); in hqd_sdma_load_v10_3() 404 upper_32_bits(data64)); in hqd_sdma_load_v10_3()
|
D | amdgpu_amdkfd_gfx_v11.c | 351 uint64_t data64; in hqd_sdma_load_v11() local 385 if (read_user_wptr(mm, wptr64, data64)) { in hqd_sdma_load_v11() 387 lower_32_bits(data64)); in hqd_sdma_load_v11() 389 upper_32_bits(data64)); in hqd_sdma_load_v11()
|
D | amdgpu_amdkfd_gfx_v10.c | 380 uint64_t data64; in kgd_hqd_sdma_load() local 414 if (read_user_wptr(mm, wptr64, data64)) { in kgd_hqd_sdma_load() 416 lower_32_bits(data64)); in kgd_hqd_sdma_load() 418 upper_32_bits(data64)); in kgd_hqd_sdma_load()
|
D | amdgpu_amdkfd_gfx_v9.c | 393 uint64_t data64; in kgd_hqd_sdma_load() local 427 if (read_user_wptr(mm, wptr64, data64)) { in kgd_hqd_sdma_load() 429 lower_32_bits(data64)); in kgd_hqd_sdma_load() 431 upper_32_bits(data64)); in kgd_hqd_sdma_load()
|
/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 780 u64 data64 = 0; in qib_diag_read() local 796 ret = op->hook(dd, op, offset, &data64, 0, use_32); in qib_diag_read() 816 ret = copy_to_user(data, &data64, use_32 ? in qib_diag_read() 868 u64 data64; in qib_diag_write() local 871 ret = copy_from_user(&data64, data, count); in qib_diag_write() 879 ret = op->hook(dd, op, offset, &data64, ~0Ull, in qib_diag_write()
|
/drivers/media/platform/ti/omap3isp/ |
D | ispstat.c | 515 struct omap3isp_stat_data data64 = { }; in omap3isp_stat_request_statistics_time32() local 518 ret = omap3isp_stat_request_statistics(stat, &data64); in omap3isp_stat_request_statistics_time32() 522 data->ts.tv_sec = data64.ts.tv_sec; in omap3isp_stat_request_statistics_time32() 523 data->ts.tv_usec = data64.ts.tv_usec; in omap3isp_stat_request_statistics_time32() 524 data->buf = (uintptr_t)data64.buf; in omap3isp_stat_request_statistics_time32() 525 memcpy(&data->frame, &data64.frame, sizeof(data->frame)); in omap3isp_stat_request_statistics_time32()
|
/drivers/video/fbdev/ |
D | pm2fb.c | 707 int data64; in pm2fb_set_par() local 716 data64 = depth > 8 || par->type == PM2_TYPE_PERMEDIA2V; in pm2fb_set_par() 724 hsstart = to3264(info->var.right_margin, depth, data64); in pm2fb_set_par() 725 hsend = hsstart + to3264(info->var.hsync_len, depth, data64); in pm2fb_set_par() 726 hbend = hsend + to3264(info->var.left_margin, depth, data64); in pm2fb_set_par() 727 htotal = to3264(xres, depth, data64) + hbend - 1; in pm2fb_set_par() 737 if (data64) in pm2fb_set_par()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_init_ops.h | 119 u64 data64 = 0; in bnx2x_init_wr_64() local 123 data64 = HILO_U64((*(data + 1)), (*data)); in bnx2x_init_wr_64() 129 *pdata = data64; in bnx2x_init_wr_64()
|