Home
last modified time | relevance | path

Searched refs:data64 (Results 1 – 11 of 11) sorted by relevance

/drivers/power/supply/
Dmax17042_battery.c238 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/
Damdgpu_amdkfd_arcturus.c131 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()
Damdgpu_amdkfd_gc_9_4_3.c66 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()
Damdgpu_amdkfd_gfx_v10_3.c366 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()
Damdgpu_amdkfd_gfx_v11.c351 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()
Damdgpu_amdkfd_gfx_v10.c380 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()
Damdgpu_amdkfd_gfx_v9.c393 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/
Dqib_diag.c780 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/
Dispstat.c515 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/
Dpm2fb.c707 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/
Dbnx2x_init_ops.h119 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()