Home
last modified time | relevance | path

Searched refs:hsc (Results 1 – 14 of 14) sorted by relevance

/drivers/iio/pressure/
A Dhsc030pa.c461 hsc->recv_cb = recv; in hsc_common_probe()
462 hsc->dev = dev; in hsc_common_probe()
505 if (hsc->pmin >= hsc->pmax) in hsc_common_probe()
513 hsc->outmin = hsc_func_spec[hsc->function].output_min; in hsc_common_probe()
514 hsc->outmax = hsc_func_spec[hsc->function].output_max; in hsc_common_probe()
516 tmp = div_s64(((s64)(hsc->pmax - hsc->pmin)) * MICRO, in hsc_common_probe()
517 hsc->outmax - hsc->outmin); in hsc_common_probe()
518 hsc->p_scale = div_s64_rem(tmp, NANO, &hsc->p_scale_dec); in hsc_common_probe()
519 tmp = div_s64(((s64)hsc->pmin * (s64)(hsc->outmax - hsc->outmin)) * MICRO, in hsc_common_probe()
520 hsc->pmax - hsc->pmin); in hsc_common_probe()
[all …]
/drivers/media/i2c/cx25840/
A Dcx25840-core.c1755 u32 hsc, vsc, v_src, h_src, v_add; in cx25840_set_fmt() local
1820 hsc = (h_src * (1 << 20)) / fmt->width - (1 << 20); in cx25840_set_fmt()
1836 (unsigned int)hsc, (unsigned int)vsc); in cx25840_set_fmt()
1840 cx25840_write4(client, 0x434, hsc | (1 << 24)); in cx25840_set_fmt()
1844 cx25840_write(client, 0x418, hsc & 0xff); in cx25840_set_fmt()
1845 cx25840_write(client, 0x419, (hsc >> 8) & 0xff); in cx25840_set_fmt()
1846 cx25840_write(client, 0x41a, hsc >> 16); in cx25840_set_fmt()
/drivers/scsi/libsas/
A Dsas_scsi_host.c849 sector_t capacity, int *hsc) in sas_bios_param() argument
851 hsc[0] = 255; in sas_bios_param()
852 hsc[1] = 63; in sas_bios_param()
854 hsc[2] = capacity; in sas_bios_param()
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_mode.h478 fixed20_12 hsc; member
A Damdgpu_display.c1506 amdgpu_crtc->hsc.full = dfixed_div(a, b); in amdgpu_display_crtc_scaling_mode_fixup()
1509 amdgpu_crtc->hsc.full = dfixed_const(1); in amdgpu_display_crtc_scaling_mode_fixup()
A Ddce_v6_0.c989 c.full = dfixed_mul(c, amdgpu_crtc->hsc); in dce_v6_0_program_watermarks()
1001 c.full = dfixed_mul(c, amdgpu_crtc->hsc); in dce_v6_0_program_watermarks()
/drivers/video/fbdev/
A Dcg14.c112 u16 hsc; /* Hor Sync Clear */ member
/drivers/gpu/drm/radeon/
A Dradeon_mode.h344 fixed20_12 hsc; member
A Dradeon_display.c1764 radeon_crtc->hsc.full = dfixed_div(a, b); in radeon_crtc_scaling_mode_fixup()
1767 radeon_crtc->hsc.full = dfixed_const(1); in radeon_crtc_scaling_mode_fixup()
A Drs690.c335 b.full = dfixed_mul(b, crtc->hsc); in rs690_crtc_bandwidth_compute()
A Drv515.c983 b.full = dfixed_mul(b, crtc->hsc); in rv515_crtc_bandwidth_compute()
A Devergreen.c2263 c.full = dfixed_mul(c, radeon_crtc->hsc); in evergreen_program_watermarks()
2275 c.full = dfixed_mul(c, radeon_crtc->hsc); in evergreen_program_watermarks()
A Dsi.c2387 c.full = dfixed_mul(c, radeon_crtc->hsc); in dce6_program_watermarks()
2399 c.full = dfixed_mul(c, radeon_crtc->hsc); in dce6_program_watermarks()
/drivers/cdrom/
A Dcdrom.c1691 setup_send_key(&cgc, ai->hsc.agid, 1); in dvd_do_auth()
1693 copy_chal(&buf[4], ai->hsc.chal); in dvd_do_auth()

Completed in 70 milliseconds