Home
last modified time | relevance | path

Searched refs:coarse (Results 1 – 5 of 5) sorted by relevance

/drivers/clk/
A Dclk-apple-nco.c127 unsigned int coarse = div / 4; in applnco_div_out_of_range() local
129 return coarse < COARSE_DIV_OFFSET || in applnco_div_out_of_range()
130 coarse >= COARSE_DIV_OFFSET + LFSR_TBLSIZE; in applnco_div_out_of_range()
135 unsigned int coarse = div / 4; in applnco_div_translate() local
140 return FIELD_PREP(DIV_COARSE, tbl->fwd[coarse - COARSE_DIV_OFFSET]) | in applnco_div_translate()
146 unsigned int coarse, fine; in applnco_div_translate_inv() local
148 coarse = tbl->inv[FIELD_GET(DIV_COARSE, regval)] + COARSE_DIV_OFFSET; in applnco_div_translate_inv()
151 return coarse * 4 + fine; in applnco_div_translate_inv()
/drivers/media/usb/gspca/stv06xx/
A Dstv06xx_vv6410.c239 unsigned int fine, coarse; in vv6410_set_exposure() local
244 coarse = min(512, val / VV6410_CIF_LINELENGTH); in vv6410_set_exposure()
247 coarse, fine); in vv6410_set_exposure()
257 err = stv06xx_write_sensor(sd, VV6410_COARSEH, coarse >> 8); in vv6410_set_exposure()
261 err = stv06xx_write_sensor(sd, VV6410_COARSEL, coarse & 0xff); in vv6410_set_exposure()
/drivers/ptp/
A Dptp_fc3.c56 s64 coarse, fine; in tdc_meas2offset() local
59 coarse = sign_extend64(FIELD_GET(COARSE_MEAS_MASK, meas_read), (39 - 13)); in tdc_meas2offset()
62 coarse = div64_s64(coarse * NSEC_PER_SEC, idtfc3->time_ref_freq); in tdc_meas2offset()
64 return coarse + fine; in tdc_meas2offset()
/drivers/iio/light/
A Dapds9160.c691 int ret, duration, picoamp, idx, coarse, fine; in apds9160_ps_init_analog_cancellation() local
711 coarse = 0; in apds9160_ps_init_analog_cancellation()
715 coarse++; in apds9160_ps_init_analog_cancellation()
731 return apds9160_set_ps_cancellation_current(data, coarse, fine); in apds9160_ps_init_analog_cancellation()
/drivers/net/ethernet/intel/e1000/
A De1000_hw.c179 u16 fused, fine, coarse; in e1000_phy_init_script() local
192 coarse = in e1000_phy_init_script()
195 if (coarse > in e1000_phy_init_script()
197 coarse -= in e1000_phy_init_script()
200 } else if (coarse == in e1000_phy_init_script()
207 (coarse & in e1000_phy_init_script()

Completed in 22 milliseconds