Home
last modified time | relevance | path

Searched full:lsw (Results 1 – 25 of 85) sorted by relevance

1234

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c30 #define LSW(value, index) \ macro
403 if (LSW(ctx->family, 0) != (v4 ? AF_INET : AF_INET6)) in ctx_narrow_access()
410 if (LSW(ctx->protocol, 0) != IPPROTO_TCP) in ctx_narrow_access()
417 if (LSW(ctx->remote_port, 0) != SRC_PORT) in ctx_narrow_access()
436 if (LSW(ctx->local_port, 0) != DST_PORT) in ctx_narrow_access()
447 if (LSW(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xffff) || in ctx_narrow_access()
448 LSW(ctx->remote_ip4, 1) != ((SRC_IP4 >> 16) & 0xffff)) in ctx_narrow_access()
457 if (LSW(ctx->local_ip4, 0) != ((DST_IP4 >> 0) & 0xffff) || in ctx_narrow_access()
458 LSW(ctx->local_ip4, 1) != ((DST_IP4 >> 16) & 0xffff)) in ctx_narrow_access()
465 if (LSW(ctx->remote_ip4, 0) != 0 || LSW(ctx->remote_ip4, 1) != 0) in ctx_narrow_access()
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Ddiv64.S74 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
79 or r4,r4,r6 # LSW |= t1
82 or r4,r4,r7 # LSW |= t2
90 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count)
91 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32)
93 slw r4,r4,r5 # LSW = LSW << count
100 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
104 or r4,r4,r6 # LSW |= t1
106 or r4,r4,r7 # LSW |= t2
/openbmc/linux/arch/x86/math-emu/
H A Dpoly_atan.c83 Numer.lsw = Denom.lsw = 0; in poly_atan()
89 Numer.lsw = Denom.lsw = 0; in poly_atan()
105 (argSignif.lsw == 0) && (argSignif.midw == 0) && in poly_atan()
113 Numer.lsw = Denom.lsw = argSignif.lsw; in poly_atan()
131 argSq.lsw = argSignif.lsw; in poly_atan()
136 argSqSq.lsw = argSq.lsw; in poly_atan()
141 accumulatore.lsw = argSq.lsw; in poly_atan()
151 accumulator.msw = accumulator.midw = accumulator.lsw = 0; in poly_atan()
H A Dpoly_sin.c68 accumulator.lsw = accumulator.midw = accumulator.msw = 0; in poly_sine()
78 argSqrd.lsw = 0; in poly_sine()
83 argTo4.lsw = argSqrd.lsw; in poly_sine()
132 argSqrd.lsw = 0; in poly_sine()
136 argTo4.lsw = argSqrd.lsw; in poly_sine()
158 accumulator.lsw |= 1; /* A zero accumulator here would cause problems */ in poly_sine()
175 adj = accumulator.lsw; /* temp save */ in poly_sine()
176 accumulator.lsw -= fix_up; in poly_sine()
177 if (accumulator.lsw > adj) in poly_sine()
220 accumulator.lsw = accumulator.midw = accumulator.msw = 0; in poly_cos()
[all …]
H A Dpoly_l2.c55 accumulator.msw = accumulator.midw = accumulator.lsw = 0; in poly_l2()
66 expon_accum.midw = expon_accum.lsw = 0; in poly_l2()
79 yaccum.lsw = 0; in poly_l2()
116 yaccum.lsw = 0; in poly_l2p1()
190 Numer.lsw = Denom.lsw = 0; in log2_kernel()
204 argSignif.lsw = Numer.lsw; in log2_kernel()
219 arg_signif.lsw = argSignif.lsw; in log2_kernel()
222 accumulator.lsw = argSignif.lsw; in log2_kernel()
227 if (accumulator.lsw & 0x80000000) in log2_kernel()
230 accumulator.msw = accumulator.midw = accumulator.lsw = 0; in log2_kernel()
[all …]
H A Dpoly_tan.c73 accum.lsw = 0; in poly_tan()
92 argSignif.lsw = accum.lsw; in poly_tan()
97 argSignif.lsw = 0; in poly_tan()
109 argSq.lsw = accum.lsw; in poly_tan()
112 argSqSq.lsw = argSq.lsw; in poly_tan()
116 accumulatoro.msw = accumulatoro.midw = accumulatoro.lsw = 0; in poly_tan()
126 accumulatore.msw = accumulatore.midw = accumulatore.lsw = 0; in poly_tan()
148 accum.lsw = 0; in poly_tan()
175 fix_up.lsw = 0; in poly_tan()
201 accumulatoro.lsw = accumulatoro.midw = 0; in poly_tan()
H A Dpoly_2xm1.c70 argSignif.lsw = 0; in poly_2xm1()
94 accumulator.lsw = accumulator.midw = accumulator.msw = 0; in poly_2xm1()
117 Denom.lsw = accumulator.lsw; in poly_2xm1()
124 if (Denom.lsw & 0x80000000) in poly_2xm1()
126 (Denom.lsw) <<= 1; in poly_2xm1()
H A Ddiv_small.S37 movl (%esi),%eax /* Get the num lsw */
/openbmc/linux/arch/powerpc/kernel/
H A Dmisc_32.S302 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
307 or r4,r4,r6 # LSW |= t1
310 or r4,r4,r7 # LSW |= t2
318 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count)
319 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32)
321 slw r4,r4,r5 # LSW = LSW << count
328 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
332 or r4,r4,r6 # LSW |= t1
334 or r4,r4,r7 # LSW |= t2
/openbmc/u-boot/arch/powerpc/lib/
H A D_lshrdi3.S34 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
38 or r4,r4,r6 # LSW |= t1
40 or r4,r4,r7 # LSW |= t2
H A D_ashldi3.S36 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count)
37 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32)
39 slw r4,r4,r5 # LSW = LSW << count
H A D_ashrdi3.S34 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count
39 or r4,r4,r6 # LSW |= t1
42 or r4,r4,r7 # LSW |= t2
/openbmc/linux/drivers/clocksource/
H A Dbcm_kona_timer.c60 kona_timer_get_counter(void __iomem *timer_base, uint32_t *msw, uint32_t *lsw) in kona_timer_get_counter() argument
78 *lsw = readl(timer_base + KONA_GPTIMER_STCLO_OFFSET); in kona_timer_get_counter()
104 uint32_t lsw, msw; in kona_timer_set_next_event() local
108 ret = kona_timer_get_counter(timers.tmr_regs, &msw, &lsw); in kona_timer_set_next_event()
113 writel(lsw + clc, timers.tmr_regs + KONA_GPTIMER_STCM0_OFFSET); in kona_timer_set_next_event()
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Drichtek,rtmv20-regulator.yaml120 lsw:
132 - lsw
153 lsw {
154 regulator-name = "rtmv20,lsw";
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_mbx.c636 mcp->mb[1] = LSW(risc_addr); in qla2x00_load_ram()
638 mcp->mb[3] = LSW(req_dma); in qla2x00_load_ram()
640 mcp->mb[7] = LSW(MSD(req_dma)); in qla2x00_load_ram()
644 mcp->mb[5] = LSW(risc_code_size); in qla2x00_load_ram()
647 mcp->mb[4] = LSW(risc_code_size); in qla2x00_load_ram()
707 mcp->mb[2] = LSW(risc_addr); in qla2x00_execute_fw()
752 mcp->mb[1] = LSW(risc_addr); in qla2x00_execute_fw()
913 mcp->mb[3] = LSW(phys_addr); in qla_set_exlogin_mem_cfg()
915 mcp->mb[7] = LSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg()
917 mcp->mb[9] = LSW(ha->exlogin_size); in qla_set_exlogin_mem_cfg()
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_hw_utils.c56 /* Most of 64-bit registers are in LSW, MSW form.
58 reading LSW first locks MSW, to overcome LSW overflow
/openbmc/linux/fs/afs/
H A Dprotocol_yfs.h61 __be32 lsw; member
66 return ((u64)ntohl(x.msw) << 32) | ntohl(x.lsw); in xdr_to_u64()
71 return (struct yfs_xdr_u64){ .msw = htonl(x >> 32), .lsw = htonl(x) }; in u64_to_xdr()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_llh.h115 /* set interrupt auto mask lsw */
133 /* set interrupt mask clear lsw */
137 /* set interrupt mask set lsw */
143 /* set interrupt status clear lsw */
147 /* get interrupt status lsw */
238 /* set rx dma descriptor base address lsw */
280 /* set tx dma descriptor base address lsw */
387 /* set l2 unicast destination address lsw */
/openbmc/linux/arch/openrisc/include/asm/
H A Dthread_info.h84 * - pending work-to-be-done flags are in LSW
111 /* For OpenRISC, this is anything in the LSW other than syscall trace */
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Disp_public.h167 /*! Concatenate the LSW and MSW into a double precision word
169 \param x0[in] Integer containing the LSW
/openbmc/u-boot/drivers/net/ti/
H A Ddavinci_emac.h55 u_int32_t buff_off_len; /* Buffer Offset(MSW) and Length(LSW) */
56 u_int32_t pkt_flag_len; /* Packet Flags(MSW) and Length(LSW) */
/openbmc/linux/arch/m68k/ifpsp060/src/
H A Dilsp.S300 swap %d6 # get u3 to lsw position
340 # Now calculate an estimate of the quotient words (msw first, then lsw).
363 swap %d6 # in lsw position
458 mulu.w %d5, %d6 # %d6 <- lsw*lsw
459 mulu.w %d3, %d5 # %d5 <- msw-dest*lsw-source
460 mulu.w %d4, %d2 # %d2 <- msw-source*lsw-dest
465 add.w %d5, %d6 # add msw of l*l to lsw of m*l product
467 add.w %d2, %d6 # add in lsw of other m*l product
471 clr.w %d2 # lsw of two mixed products used,
/openbmc/linux/arch/nios2/include/asm/
H A Dthread_info.h70 * - pending work-to-be-done flags are in LSW
/openbmc/linux/arch/hexagon/include/asm/
H A Dthread_info.h82 * - pending work-to-be-done flags are in LSW
/openbmc/linux/arch/arc/include/asm/
H A Dthread_info.h71 * - pending work-to-be-done flags are in LSW

1234