Home
last modified time | relevance | path

Searched refs:data64 (Results 1 – 10 of 10) 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.c128 uint64_t data64; in kgd_arcturus_hqd_sdma_load() local
162 if (read_user_wptr(mm, wptr64, data64)) { in kgd_arcturus_hqd_sdma_load()
164 lower_32_bits(data64)); in kgd_arcturus_hqd_sdma_load()
166 upper_32_bits(data64)); in kgd_arcturus_hqd_sdma_load()
Damdgpu_amdkfd_gfx_v10.c377 uint64_t data64; in kgd_hqd_sdma_load() local
411 if (read_user_wptr(mm, wptr64, data64)) { in kgd_hqd_sdma_load()
413 lower_32_bits(data64)); in kgd_hqd_sdma_load()
415 upper_32_bits(data64)); in kgd_hqd_sdma_load()
Damdgpu_amdkfd_gfx_v11.c349 uint64_t data64; in hqd_sdma_load_v11() local
383 if (read_user_wptr(mm, wptr64, data64)) { in hqd_sdma_load_v11()
385 lower_32_bits(data64)); in hqd_sdma_load_v11()
387 upper_32_bits(data64)); in hqd_sdma_load_v11()
Damdgpu_amdkfd_gfx_v9.c389 uint64_t data64; in kgd_hqd_sdma_load() local
423 if (read_user_wptr(mm, wptr64, data64)) { in kgd_hqd_sdma_load()
425 lower_32_bits(data64)); in kgd_hqd_sdma_load()
427 upper_32_bits(data64)); in kgd_hqd_sdma_load()
Damdgpu_amdkfd_gfx_v10_3.c364 uint64_t data64; in hqd_sdma_load_v10_3() local
398 if (read_user_wptr(mm, wptr64, data64)) { in hqd_sdma_load_v10_3()
400 lower_32_bits(data64)); in hqd_sdma_load_v10_3()
402 upper_32_bits(data64)); in hqd_sdma_load_v10_3()
/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()