Home
last modified time | relevance | path

Searched refs:coarse (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-apple-nco.c59 /* The minimal attainable coarse divisor (first value in table) */
109 * a coarse divisor translation table. in applnco_compute_tables()
127 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 * in applnco_div_translate_inv()
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/stv06xx/
H 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()
246 gspca_dbg(gspca_dev, D_CONF, "Set coarse exposure to %d, fine exposure to %d\n", 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()
/kernel/linux/linux-6.6/drivers/media/usb/gspca/stv06xx/
H 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()
246 gspca_dbg(gspca_dev, D_CONF, "Set coarse exposure to %d, fine exposure to %d\n", 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()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dmsm8916-wcd-analog.c435 u32 coarse, fine, reg_val, reg_addr; in pm8916_mbhc_configure_bias() local
464 /* split mv in to coarse parts of 100mv & fine parts of 12mv */ in pm8916_mbhc_configure_bias()
465 coarse = (vrefs[i] / 100); in pm8916_mbhc_configure_bias()
467 reg_val = (coarse << CDC_A_MBHC_BTN_VREF_COARSE_SHIFT) | in pm8916_mbhc_configure_bias()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/i2c/
H A Datomisp-mt9m114.c823 /* set coarse integration */ in mt9m114_s_exposure()
896 u32 coarse; in mt9m114_g_exposure() local
901 REG_EXPO_COARSE, &coarse); in mt9m114_g_exposure()
905 *value = coarse; in mt9m114_g_exposure()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dmsm8916-wcd-analog.c434 u32 coarse, fine, reg_val, reg_addr; in pm8916_mbhc_configure_bias() local
463 /* split mv in to coarse parts of 100mv & fine parts of 12mv */ in pm8916_mbhc_configure_bias()
464 coarse = (vrefs[i] / 100); in pm8916_mbhc_configure_bias()
466 reg_val = (coarse << CDC_A_MBHC_BTN_VREF_COARSE_SHIFT) | in pm8916_mbhc_configure_bias()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/
H A De1000_hw.c178 u16 fused, fine, coarse; in e1000_phy_init_script() local
191 coarse = in e1000_phy_init_script()
194 if (coarse > in e1000_phy_init_script()
196 coarse -= in e1000_phy_init_script()
199 } else if (coarse == in e1000_phy_init_script()
206 (coarse & in e1000_phy_init_script()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000/
H A De1000_hw.c178 u16 fused, fine, coarse; in e1000_phy_init_script() local
191 coarse = in e1000_phy_init_script()
194 if (coarse > in e1000_phy_init_script()
196 coarse -= in e1000_phy_init_script()
199 } else if (coarse == in e1000_phy_init_script()
206 (coarse & in e1000_phy_init_script()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
H A Datomisp-mt9m114.c1036 /* set coarse integration */ in mt9m114_s_exposure()
1103 u32 coarse; in mt9m114_g_exposure() local
1108 REG_EXPO_COARSE, &coarse); in mt9m114_g_exposure()
1112 *value = coarse; in mt9m114_g_exposure()

Completed in 21 milliseconds