Searched refs:frac (Results 76 - 91 of 91) sorted by relevance

1234

/linux-master/drivers/clk/meson/
H A Dgxbb.c105 .frac = {
182 .frac = {
236 .frac = {
503 .frac = {
H A Dg12a.c49 .frac = {
1641 .frac = {
1706 .frac = {
1781 .frac = {
1873 .frac = {
1967 .frac = {
H A Dmeson8b.c76 .frac = {
192 .frac = {
/linux-master/include/linux/habanalabs/
H A Dcpucp_if.h1233 * struct frac_val - fracture value represented by "integer.frac".
1235 * @frac: the fracture part of the fracture value.
1241 __le16 frac; member in struct:frac_val::__anon2664::__anon2665
/linux-master/include/linux/
H A Dserial_core.h444 unsigned int *frac);
/linux-master/drivers/clk/sunxi-ng/
H A Dccu-sun5i.c84 .frac = _SUNXI_CCU_FRAC(BIT(15), BIT(14),
158 .frac = _SUNXI_CCU_FRAC(BIT(15), BIT(14),
H A Dccu-sun4i-a10.c84 .frac = _SUNXI_CCU_FRAC(BIT(15), BIT(14),
186 .frac = _SUNXI_CCU_FRAC(BIT(15), BIT(14),
/linux-master/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.h560 #define CLK_FRACDIV(frac) ((frac)<<16)
/linux-master/kernel/cgroup/
H A Dcgroup.c6936 s64 whole, frac = 0; local
6939 if (!sscanf(input, "%lld.%n%lld%n", &whole, &fstart, &frac, &fend))
6941 if (frac < 0)
6946 frac *= power_of_ten(dec_shift - flen);
6948 frac = DIV_ROUND_CLOSEST_ULL(frac, power_of_ten(flen - dec_shift));
6950 *v = whole * power_of_ten(dec_shift) + frac;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c275 u64 overflow_cycles, nsec, frac = 0; local
304 nsec = cyclecounter_cyc2ns(&clock->cycles, overflow_cycles, 0, &frac);
/linux-master/drivers/hwmon/
H A Dadt7462.c855 u8 frac = data->temp_frac[attr->index] >> TEMP_FRAC_OFFSET; local
861 250 * frac);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_cx0_phy.c2107 unsigned int frac, frac_en, frac_quot, frac_rem, frac_den; local
2139 frac = frac_quot + DIV_ROUND_CLOSEST(frac_rem, frac_den);
2141 frac = 0;
2144 vco = DIV_ROUND_CLOSEST_ULL(mul_u32_u32(ref, (multiplier << (17 - 2)) + frac) >> 17, 10);
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c89 static const unsigned int frac = 1000; local
90 uint32_t us_x10 = (ref_cycle * frac) / ref_clk_mhz;
93 us_x10 / frac,
94 us_x10 % frac);
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_if.h1844 * @frac: Fractional nanoseconds at the same instant.
1855 __le64 frac; member in struct:ionic_lif_setphc_cmd
/linux-master/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c1214 u32 frac = 0; local
1217 frac = (N * 1000000) / D
1219 frac = (N * (1000000 >> 4)) / (D >> 4)
1223 frac = (((u32) N) * (1000000 >> 4)) / D;
1224 frac <<= 4;
1227 frac += remainder / D;
1230 frac++;
1232 return frac;
6521 /* no need for mult or frac functions */
6612 /* no need for mult or frac function
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_pci.c1149 unsigned int *frac)
1255 *frac = (cpr << 8) | (tcr & OXSEMI_TORNADO_TCR_MASK);
1147 pci_oxsemi_tornado_get_divisor(struct uart_port *port, unsigned int baud, unsigned int *frac) argument

Completed in 458 milliseconds

1234