Home
last modified time | relevance | path

Searched refs:low (Results 1 – 25 of 99) sorted by relevance

1234

/linux-4.19.296/drivers/rtc/
Drtc-max8925.c116 unsigned char high, low; in data_calc() local
122 low = (tm->tm_year + 1900) / 100; in data_calc()
123 low = low - high * 10; in data_calc()
124 buf[RTC_YEAR2] = (high << 4) + low; in data_calc()
126 low = tm->tm_year + 1900; in data_calc()
127 low = low - high * 10; in data_calc()
129 buf[RTC_YEAR1] = (high << 4) + low; in data_calc()
131 low = tm->tm_mon; in data_calc()
132 low = low - high * 10; in data_calc()
133 buf[RTC_MONTH] = (high << 4) + low; in data_calc()
[all …]
Drtc-max8907.c83 u8 high, low; in tm_to_regs() local
86 low = tm->tm_year % 100; in tm_to_regs()
88 regs[RTC_YEAR1] = bin2bcd(low); in tm_to_regs()
/linux-4.19.296/include/linux/
Dmath64.h216 u32 high, low; in mul_u64_u64_shr() member
218 u32 low, high; in mul_u64_u64_shr()
227 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr()
228 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr()
229 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr()
237 rl.l.high = c = (u64)rl.l.high + rm.l.low + rn.l.low; in mul_u64_u64_shr()
238 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr()
262 u32 high, low; in mul_u64_u32_div() member
264 u32 low, high; in mul_u64_u32_div()
270 rl.ll = mul_u32_u32(u.l.low, mul); in mul_u64_u32_div()
[all …]
Dio-64-nonatomic-hi-lo.h11 u32 low, high; in hi_lo_readq() local
14 low = readl(p); in hi_lo_readq()
16 return low + ((u64)high << 32); in hi_lo_readq()
28 u32 low, high; in hi_lo_readq_relaxed() local
31 low = readl_relaxed(p); in hi_lo_readq_relaxed()
33 return low + ((u64)high << 32); in hi_lo_readq_relaxed()
Dio-64-nonatomic-lo-hi.h11 u32 low, high; in lo_hi_readq() local
13 low = readl(p); in lo_hi_readq()
16 return low + ((u64)high << 32); in lo_hi_readq()
28 u32 low, high; in lo_hi_readq_relaxed() local
30 low = readl_relaxed(p); in lo_hi_readq_relaxed()
33 return low + ((u64)high << 32); in lo_hi_readq_relaxed()
Dlibgcc.h28 int high, low; member
32 int low, high; member
/linux-4.19.296/lib/
Dashldi3.c33 w.s.low = 0; in __ashldi3()
34 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()
36 const unsigned int carries = (unsigned int) uu.s.low >> bm; in __ashldi3()
38 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3()
Dcmpdi2.c35 if ((unsigned int) au.s.low < (unsigned int) bu.s.low) in __cmpdi2()
37 else if ((unsigned int) au.s.low > (unsigned int) bu.s.low) in __cmpdi2()
Ducmpdi2.c29 if ((unsigned int) au.s.low < (unsigned int) bu.s.low) in __ucmpdi2()
31 else if ((unsigned int) au.s.low > (unsigned int) bu.s.low) in __ucmpdi2()
Dmuldi3.c56 umul_ppmm(__w.s.high, __w.s.low, u, v); \
65 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3()
67 w.s.high += ((unsigned long) uu.s.low * (unsigned long) vv.s.high in __muldi3()
68 + (unsigned long) uu.s.high * (unsigned long) vv.s.low); in __muldi3()
Dlshrdi3.c35 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
40 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3()
Dashrdi3.c36 w.s.low = uu.s.high >> -bm; in __ashrdi3()
41 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3()
/linux-4.19.296/lib/zlib_inflate/
Dinftrees.c37 unsigned low; /* low bits for current root entry */ in zlib_inflate_table() local
193 low = (unsigned)(-1); /* trigger new sub-table when len > root */ in zlib_inflate_table()
246 if (len > root && (huff & mask) != low) { in zlib_inflate_table()
270 low = huff & mask; in zlib_inflate_table()
271 (*table)[low].op = (unsigned char)curr; in zlib_inflate_table()
272 (*table)[low].bits = (unsigned char)root; in zlib_inflate_table()
273 (*table)[low].val = (unsigned short)(next - *table); in zlib_inflate_table()
289 if (drop != 0 && (huff & mask) != low) { in zlib_inflate_table()
/linux-4.19.296/fs/xfs/
Dxfs_fsmap.c168 struct xfs_rmap_irec low; /* low rmap key */ member
253 if (xfs_rmap_compare(rec, &info->low) < 0) { in xfs_getfsmap_helper()
410 info->low.rm_startblock = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical); in xfs_getfsmap_logdev()
411 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in xfs_getfsmap_logdev()
412 error = xfs_fsmap_owner_to_rmap(&info->low, keys); in xfs_getfsmap_logdev()
415 info->low.rm_blockcount = 0; in xfs_getfsmap_logdev()
416 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in xfs_getfsmap_logdev()
428 trace_xfs_fsmap_low_key(mp, info->dev, info->agno, &info->low); in xfs_getfsmap_logdev()
491 info->low.rm_startblock = start_fsb; in __xfs_getfsmap_rtdev()
492 error = xfs_fsmap_owner_to_rmap(&info->low, &keys[0]); in __xfs_getfsmap_rtdev()
[all …]
/linux-4.19.296/drivers/cpufreq/
Dspeedstep-smi.c102 static int speedstep_smi_get_freqs(unsigned int *low, unsigned int *high) in speedstep_smi_get_freqs() argument
140 *low = low_mhz * 1000; in speedstep_smi_get_freqs()
234 unsigned int *low, *high; in speedstep_cpu_init() local
247 low = &speedstep_freqs[SPEEDSTEP_LOW].frequency; in speedstep_cpu_init()
250 result = speedstep_smi_get_freqs(low, high); in speedstep_cpu_init()
257 low, high, in speedstep_cpu_init()
/linux-4.19.296/drivers/clk/
Dclk-axi-clkgen.c149 static void axi_clkgen_calc_clk_params(unsigned int divider, unsigned int *low, in axi_clkgen_calc_clk_params() argument
159 *low = divider - *high; in axi_clkgen_calc_clk_params()
259 unsigned int low; in axi_clkgen_set_rate() local
274 axi_clkgen_calc_clk_params(dout, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
276 (high << 6) | low, 0xefff); in axi_clkgen_set_rate()
280 axi_clkgen_calc_clk_params(d, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
282 (edge << 13) | (nocount << 12) | (high << 6) | low, 0x3fff); in axi_clkgen_set_rate()
284 axi_clkgen_calc_clk_params(m, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
286 (high << 6) | low, 0xefff); in axi_clkgen_set_rate()
/linux-4.19.296/fs/adfs/
Dinode.c172 unsigned int high, low; in adfs_adfs2unix_time() local
184 low = ADFS_I(inode)->execaddr; /* bottom 32 bits of timestamp */ in adfs_adfs2unix_time()
189 nsec = (((s64) high << 32) | (s64) low) * 10000000; /* cs to ns */ in adfs_adfs2unix_time()
217 unsigned int high, low; in adfs_unix2adfs_time() local
221 low = (secs & 255) * 100; in adfs_unix2adfs_time()
222 high = (secs / 256) * 100 + (low >> 8) + 0x336e996a; in adfs_unix2adfs_time()
226 ADFS_I(inode)->execaddr = (low & 255) | (high << 8); in adfs_unix2adfs_time()
/linux-4.19.296/drivers/ntb/hw/amd/
Dntb_hw_amd.h72 u64 low, high; in _read64() local
74 low = readl(mmio); in _read64()
76 return low | (high << 32); in _read64()
/linux-4.19.296/drivers/gpio/
Dgpio-mt7621.c115 u32 rise, fall, high, low; in mediatek_gpio_irq_unmask() local
121 low = mtk_gpio_r32(rg, GPIO_REG_LLVL); in mediatek_gpio_irq_unmask()
125 mtk_gpio_w32(rg, GPIO_REG_LLVL, low | (BIT(pin) & rg->llevel)); in mediatek_gpio_irq_unmask()
136 u32 rise, fall, high, low; in mediatek_gpio_irq_mask() local
142 low = mtk_gpio_r32(rg, GPIO_REG_LLVL); in mediatek_gpio_irq_mask()
146 mtk_gpio_w32(rg, GPIO_REG_LLVL, low & ~BIT(pin)); in mediatek_gpio_irq_mask()
/linux-4.19.296/drivers/ntb/hw/intel/
Dntb_hw_intel.h228 u64 low, high; in _ioread64() local
230 low = ioread32(mmio); in _ioread64()
232 return low | (high << 32); in _ioread64()
/linux-4.19.296/drivers/hid/intel-ish-hid/
DKconfig10 sensor polling and algorithm processing to a dedicated low power
12 low power modes more often, resulting in the increased battery life.
/linux-4.19.296/drivers/iio/adc/
Denvelope-detector.c68 int low; member
145 env->level = (env->high + env->low + !env->invert) / 2; in envelope_detector_setup_compare()
147 if (env->high == env->low + 1) { in envelope_detector_setup_compare()
182 env->low = env->level; in envelope_detector_timeout()
211 env->low = -1 + env->invert; in envelope_detector_read_raw()
/linux-4.19.296/drivers/i2c/busses/
Di2c-ibm_iic.c107 unsigned int low; member
115 .low = 4700,
123 .low = 1300,
277 ndelay(t->low / 2); in iic_smbus_quick()
280 ndelay(t->low / 2); in iic_smbus_quick()
290 ndelay(t->low / 2); in iic_smbus_quick()
292 ndelay(t->low / 2); in iic_smbus_quick()
301 ndelay(t->low); in iic_smbus_quick()
/linux-4.19.296/include/uapi/linux/
Dbcache.h25 __u64 low; member
58 return k->low; in KEY_OFFSET()
63 k->low = v; in SET_KEY_OFFSET()
74 .low = (offset) \
/linux-4.19.296/fs/xfs/scrub/
Drefcount.c291 struct xfs_rmap_irec low; in xchk_refcountbt_xref_rmap() local
301 memset(&low, 0, sizeof(low)); in xchk_refcountbt_xref_rmap()
302 low.rm_startblock = bno; in xchk_refcountbt_xref_rmap()
307 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high, in xchk_refcountbt_xref_rmap()

1234