| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
| D | test_sk_lookup.c | 30 #define LSW(value, index) \ macro 395 if (LSW(ctx->family, 0) != (v4 ? AF_INET : AF_INET6)) in ctx_narrow_access() 402 if (LSW(ctx->protocol, 0) != IPPROTO_TCP) in ctx_narrow_access() 410 if (LSW(ctx->remote_port, 0) != SRC_PORT) in ctx_narrow_access() 418 if (LSW(ctx->local_port, 0) != DST_PORT) in ctx_narrow_access() 429 if (LSW(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xffff) || in ctx_narrow_access() 430 LSW(ctx->remote_ip4, 1) != ((SRC_IP4 >> 16) & 0xffff)) in ctx_narrow_access() 439 if (LSW(ctx->local_ip4, 0) != ((DST_IP4 >> 0) & 0xffff) || in ctx_narrow_access() 440 LSW(ctx->local_ip4, 1) != ((DST_IP4 >> 16) & 0xffff)) in ctx_narrow_access() 447 if (LSW(ctx->remote_ip4, 0) != 0 || LSW(ctx->remote_ip4, 1) != 0) in ctx_narrow_access() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | test_sk_lookup.c | 30 #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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/ |
| D | div64.S | 74 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
|
| /kernel/linux/linux-6.6/arch/powerpc/boot/ |
| D | div64.S | 74 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
|
| /kernel/linux/linux-6.6/arch/x86/math-emu/ |
| D | poly_atan.c | 83 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()
|
| D | poly_sin.c | 68 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 …]
|
| D | poly_l2.c | 55 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 …]
|
| D | poly_tan.c | 73 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()
|
| D | poly_2xm1.c | 70 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()
|
| /kernel/linux/linux-5.10/arch/x86/math-emu/ |
| D | poly_atan.c | 83 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()
|
| D | poly_sin.c | 68 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 …]
|
| D | poly_l2.c | 55 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 …]
|
| D | poly_tan.c | 73 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()
|
| D | poly_2xm1.c | 70 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()
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| D | misc_32.S | 302 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
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| D | misc_32.S | 341 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count 346 or r4,r4,r6 # LSW |= t1 349 or r4,r4,r7 # LSW |= t2 357 srw r6,r4,r6 # t1 = count > 31 ? 0 : LSW >> (32-count) 358 slw r7,r4,r7 # t2 = count < 32 ? 0 : LSW << (count-32) 360 slw r4,r4,r5 # LSW = LSW << count 367 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count 371 or r4,r4,r6 # LSW |= t1 373 or r4,r4,r7 # LSW |= t2
|
| /kernel/linux/linux-6.6/drivers/clocksource/ |
| D | bcm_kona_timer.c | 60 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()
|
| /kernel/linux/linux-5.10/drivers/clocksource/ |
| D | bcm_kona_timer.c | 70 kona_timer_get_counter(void __iomem *timer_base, uint32_t *msw, uint32_t *lsw) in kona_timer_get_counter() argument 88 *lsw = readl(timer_base + KONA_GPTIMER_STCLO_OFFSET); in kona_timer_get_counter() 114 uint32_t lsw, msw; in kona_timer_set_next_event() local 118 ret = kona_timer_get_counter(timers.tmr_regs, &msw, &lsw); in kona_timer_set_next_event() 123 writel(lsw + clc, timers.tmr_regs + KONA_GPTIMER_STCM0_OFFSET); in kona_timer_set_next_event()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | richtek,rtmv20-regulator.yaml | 120 lsw: 132 - lsw 153 lsw { 154 regulator-name = "rtmv20,lsw";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | richtek,rtmv20-regulator.yaml | 120 lsw: 131 - lsw 152 lsw { 153 regulator-name = "rtmv20,lsw";
|
| /kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
| D | qla_mbx.c | 636 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 …]
|
| /kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
| D | qla_mbx.c | 609 mcp->mb[1] = LSW(risc_addr); in qla2x00_load_ram() 611 mcp->mb[3] = LSW(req_dma); in qla2x00_load_ram() 613 mcp->mb[7] = LSW(MSD(req_dma)); in qla2x00_load_ram() 617 mcp->mb[5] = LSW(risc_code_size); in qla2x00_load_ram() 620 mcp->mb[4] = LSW(risc_code_size); in qla2x00_load_ram() 678 mcp->mb[2] = LSW(risc_addr); in qla2x00_execute_fw() 723 mcp->mb[1] = LSW(risc_addr); in qla2x00_execute_fw() 871 mcp->mb[3] = LSW(phys_addr); in qla_set_exlogin_mem_cfg() 873 mcp->mb[7] = LSW(MSD(phys_addr)); in qla_set_exlogin_mem_cfg() 875 mcp->mb[9] = LSW(ha->exlogin_size); in qla_set_exlogin_mem_cfg() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
| D | aq_hw_utils.c | 56 /* Most of 64-bit registers are in LSW, MSW form. 58 reading LSW first locks MSW, to overcome LSW overflow
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/ |
| D | aq_hw_utils.c | 56 /* Most of 64-bit registers are in LSW, MSW form. 58 reading LSW first locks MSW, to overcome LSW overflow
|
| /kernel/linux/linux-5.10/fs/afs/ |
| D | protocol_yfs.h | 61 __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()
|