/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_sk_lookup.c | 28 #define LSB(value, index) \ macro 400 if (LSB(ctx->family, 0) != (v4 ? AF_INET : AF_INET6) || in ctx_narrow_access() 401 LSB(ctx->family, 1) != 0 || LSB(ctx->family, 2) != 0 || LSB(ctx->family, 3) != 0) in ctx_narrow_access() 407 if (LSB(ctx->protocol, 0) != IPPROTO_TCP || in ctx_narrow_access() 408 LSB(ctx->protocol, 1) != 0 || LSB(ctx->protocol, 2) != 0 || LSB(ctx->protocol, 3) != 0) in ctx_narrow_access() 414 if (LSB(ctx->remote_port, 0) != ((SRC_PORT >> 0) & 0xff) || in ctx_narrow_access() 415 LSB(ctx->remote_port, 1) != ((SRC_PORT >> 8) & 0xff)) in ctx_narrow_access() 432 if (LSB(ctx->local_port, 0) != ((DST_PORT >> 0) & 0xff) || in ctx_narrow_access() 433 LSB(ctx->local_port, 1) != ((DST_PORT >> 8) & 0xff) || in ctx_narrow_access() 434 LSB(ctx->local_port, 2) != 0 || LSB(ctx->local_port, 3) != 0) in ctx_narrow_access() [all …]
|
/Linux-v6.6/arch/arm64/tools/ |
D | gen-sysreg.awk | 52 function define_field(reg, field, msb, lsb) { 53 define(reg "_" field, "GENMASK(" msb ", " lsb ")") 54 define(reg "_" field "_MASK", "GENMASK(" msb ", " lsb ")") 55 define(reg "_" field "_SHIFT", lsb) 56 define(reg "_" field "_WIDTH", msb - lsb + 1) 64 # Parse a "<msb>[:<lsb>]" string into the global variables @msb and @lsb 69 lsb = bitdef 72 lsb = _bits[2] 82 if (63 < lsb || lsb < 0) 84 if (msb < lsb) [all …]
|
/Linux-v6.6/drivers/media/test-drivers/vivid/ |
D | vivid-rds-gen.c | 53 data[0].lsb = rds->picode & 0xff; in vivid_rds_generate() 56 data[1].lsb = rds->pty << 5; in vivid_rds_generate() 66 data[1].lsb |= (rds->ta << 4) | (rds->ms << 3); in vivid_rds_generate() 67 data[1].lsb |= vivid_get_di(rds, idx); in vivid_rds_generate() 69 data[2].lsb = rds->picode & 0xff; in vivid_rds_generate() 72 data[3].lsb = rds->psname[2 * idx + 1]; in vivid_rds_generate() 78 data[1].lsb |= idx; in vivid_rds_generate() 81 data[2].lsb = rds->radiotext[4 * idx + 1]; in vivid_rds_generate() 84 data[3].lsb = rds->radiotext[4 * idx + 3]; in vivid_rds_generate() 102 data[1].lsb &= ~3; in vivid_rds_generate() [all …]
|
/Linux-v6.6/arch/ia64/include/asm/ |
D | elf.h | 54 #define R_IA64_DIR32LSB 0x25 /* symbol + addend, data4 LSB */ 56 #define R_IA64_DIR64LSB 0x27 /* symbol + addend, data8 LSB */ 60 #define R_IA64_GPREL32LSB 0x2d /* @gprel(sym+add), data4 LSB */ 62 #define R_IA64_GPREL64LSB 0x2f /* @gprel(sym+add), data8 LSB */ 68 #define R_IA64_PLTOFF64LSB 0x3f /* @pltoff(sym+add), data8 LSB */ 71 #define R_IA64_FPTR32LSB 0x45 /* @fptr(sym+add), data4 LSB */ 73 #define R_IA64_FPTR64LSB 0x47 /* @fptr(sym+add), data8 LSB */ 79 #define R_IA64_PCREL32LSB 0x4d /* @pcrel(sym+add), data4 LSB */ 81 #define R_IA64_PCREL64LSB 0x4f /* @pcrel(sym+add), data8 LSB */ 85 #define R_IA64_LTOFF_FPTR32LSB 0x55 /* @ltoff(@fptr(s+a)), 4 LSB */ [all …]
|
/Linux-v6.6/drivers/dma/dw-edma/ |
D | dw-edma-v0-regs.h | 34 u32 lsb; /* 0x000c */ member 41 u32 lsb; /* 0x0014 */ member 48 u32 lsb; /* 0x001c */ member 68 u32 lsb; /* 0x0108 */ member 76 u32 lsb; /* 0x0120 */ member 118 u32 lsb; /* 0x0018 */ member 129 u32 lsb; /* 0x0038 */ member 143 u32 lsb; /* 0x0060 */ member 150 u32 lsb; /* 0x0068 */ member 169 u32 lsb; /* 0x00b4 */ member [all …]
|
D | dw-hdma-v0-regs.h | 35 u32 lsb; /* 0x0010 */ member 44 u32 lsb; /* 0x0020 */ member 51 u32 lsb; /* 0x0028 */ member 67 u32 lsb; /* 0x0090 */ member 74 u32 lsb; /* 0x0098 */ member 81 u32 lsb; /* 0x00a0 */ member 104 u32 lsb; member 111 u32 lsb; member 123 u32 lsb; member
|
D | dw-edma-v0-debugfs.c | 126 CTX_REGISTER(dw, sar.lsb, dir, ch), in dw_edma_debugfs_regs_ch() 128 CTX_REGISTER(dw, dar.lsb, dir, ch), in dw_edma_debugfs_regs_ch() 130 CTX_REGISTER(dw, llp.lsb, dir, ch), in dw_edma_debugfs_regs_ch() 146 WR_REGISTER(dw, ch_arb_weight.lsb), in dw_edma_debugfs_regs_wr() 153 WR_REGISTER(dw, done_imwr.lsb), in dw_edma_debugfs_regs_wr() 155 WR_REGISTER(dw, abort_imwr.lsb), in dw_edma_debugfs_regs_wr() 166 WR_REGISTER_UNROLL(dw, engine_hshake_cnt.lsb), in dw_edma_debugfs_regs_wr() 208 RD_REGISTER(dw, ch_arb_weight.lsb), in dw_edma_debugfs_regs_rd() 214 RD_REGISTER(dw, err_status.lsb), in dw_edma_debugfs_regs_rd() 217 RD_REGISTER(dw, done_imwr.lsb), in dw_edma_debugfs_regs_rd() [all …]
|
D | dw-hdma-v0-debugfs.c | 87 CTX_REGISTER(dw, llp.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 91 CTX_REGISTER(dw, sar.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 93 CTX_REGISTER(dw, dar.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 103 CTX_REGISTER(dw, msi_stop.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 105 CTX_REGISTER(dw, msi_watermark.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 107 CTX_REGISTER(dw, msi_abort.lsb, dir, ch), in dw_hdma_debugfs_regs_ch()
|
/Linux-v6.6/tools/testing/selftests/drivers/net/netdevsim/ |
D | fib.sh | 107 local lsb 117 for lsb in $(seq 1 20); do 118 ip -n testns1 route add 192.0.2.${lsb}/32 dev dummy1 \ 129 local lsb 139 for lsb in $(seq 1 20); do 140 ip -n testns1 route add 192.0.2.${lsb}/32 dev dummy1 246 local lsb 256 for lsb in $(seq 1 20); do 257 ip -n testns1 route add 2001:db8:1::${lsb}/128 dev dummy1 \ 268 local lsb [all …]
|
/Linux-v6.6/arch/sparc/lib/ |
D | udivdi3.S | 24 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb 31 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb 40 addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb 62 addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb 69 addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb 78 addcc %o2,%o2,%o2 ! shift n1n0 and a 0-bit in lsb 88 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb 95 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb 104 addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb 167 addxcc %o5,%o5,%o5 ! shift n1n0 and a q-bit in lsb [all …]
|
D | divdi3.S | 48 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb 55 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb 64 addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb 84 addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb 91 addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb 100 addcc %o2,%o2,%o2 ! shift n1n0 and a 0-bit in lsb 108 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb 115 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb 124 addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb 183 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb [all …]
|
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/ |
D | dpsw-cmd.h | 124 /* from LSB: only the first 4 bits */ 144 /* from LSB: enable:1 */ 215 /* from LSB only the first 4 bits */ 235 /* from LSB: VLAN_ID:12 DEI:1 PCP:3 */ 256 /* only the first LSB 4 bits */ 265 /* from LSB: type:5 */ 287 /* from LSB: admit_untagged:4 enabled:1 accept_all_vlan:1 */ 387 /* only the first 4 bits from LSB */ 395 /* only the first 4 bits from LSB */ 440 /* from LSB: dest_type:4 */ [all …]
|
D | dpni-cmd.h | 248 /* from LSB: pass_timestamp:1, parser_result:1, frame_status:1 */ 263 /* from LSB: pass_timestamp:1, parser_result:1, frame_status:1 */ 325 /* from LSB: up:1 */ 390 /* from LSB: unicast:1, multicast:1 */ 403 /* from LSB: dist_mode:4, miss_action:4 */ 474 /* From LSB: dest_type:4, pad:2, flc_stash_ctrl:1, hold_active:1 */ 597 /* only the LSB */ 635 /* from LSB: dest_type: 4 units:2 */ 655 /* from LSB: coupled:1 */ 681 /* only the LSB */
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
D | ga102.c | 30 struct lsb_header_v2 *lsb; in ga102_acr_wpr_patch() local 34 lsb = kvmalloc(sizeof(*lsb), GFP_KERNEL); in ga102_acr_wpr_patch() 35 if (!lsb) in ga102_acr_wpr_patch() 46 nvkm_robj(acr->wpr, hdr.wpr.lsb_offset, lsb, sizeof(*lsb)); in ga102_acr_wpr_patch() 47 lsb_header_v2_dump(&acr->subdev, lsb); in ga102_acr_wpr_patch() 49 lsfw->func->bld_patch(acr, lsb->bl_data_off, adjust); in ga102_acr_wpr_patch() 56 kvfree(lsb); in ga102_acr_wpr_patch() 126 nvkm_wobj(acr->wpr, lsfw->offset.lsb, hdr, sizeof(*hdr)); in ga102_acr_wpr_build_lsb() 154 hdr.wpr.lsb_offset = lsfw->offset.lsb; in ga102_acr_wpr_build() 164 /* Write LSB header. */ in ga102_acr_wpr_build() [all …]
|
D | gp102.c | 36 struct lsb_header_v1 lsb; in gp102_acr_wpr_patch() local 48 nvkm_robj(acr->wpr, hdr.lsb_offset, &lsb, sizeof(lsb)); in gp102_acr_wpr_patch() 49 lsb_header_v1_dump(&acr->subdev, &lsb); in gp102_acr_wpr_patch() 51 lsfw->func->bld_patch(acr, lsb.tail.bl_data_off, adjust); in gp102_acr_wpr_patch() 72 nvkm_wobj(acr->wpr, lsfw->offset.lsb, &hdr, sizeof(hdr)); in gp102_acr_wpr_build_lsb() 88 .lsb_offset = lsfw->offset.lsb, in gp102_acr_wpr_build() 99 /* Write LSB header. */ in gp102_acr_wpr_build() 146 lsfw->offset.lsb = wpr; in gp102_acr_wpr_layout()
|
/Linux-v6.6/drivers/iio/proximity/ |
D | isl29501.c | 135 u8 lsb; member 141 .lsb = ISL29501_DISTANCE_LSB_DATA, 145 .lsb = ISL29501_PHASE_LSB, 148 .lsb = ISL29501_DIE_TEMPERATURE, 151 .lsb = ISL29501_AMBIENT_LIGHT, 155 .lsb = ISL29501_GAIN_LSB, 159 .lsb = ISL29501_CROSSTALK_GAIN_LSB, 162 .lsb = ISL29501_PHASE_EXPONENT, 165 .lsb = ISL29501_TEMP_COEFF_A, 168 .lsb = ISL29501_TEMP_COEFF_B, [all …]
|
/Linux-v6.6/drivers/watchdog/ |
D | pcwd_usb.c | 136 /* The data LSB that is reported back */ 190 dev_dbg(dev, "received following data cmd=0x%02x msb=0x%02x lsb=0x%02x", in usb_pcwd_intr_done() 208 unsigned char cmd, unsigned char *msb, unsigned char *lsb) in usb_pcwd_send_command() argument 226 buf[2] = *lsb; /* Byte 2 = Data LSB */ in usb_pcwd_send_command() 230 "sending following data cmd=0x%02x msb=0x%02x lsb=0x%02x", in usb_pcwd_send_command() 241 cmd, *msb, *lsb); in usb_pcwd_send_command() 256 *lsb = usb_pcwd->cmd_data_lsb; in usb_pcwd_send_command() 267 unsigned char lsb = 0x00; in usb_pcwd_start() local 272 &msb, &lsb); in usb_pcwd_start() 274 if ((retval == 0) || (lsb == 0)) { in usb_pcwd_start() [all …]
|
/Linux-v6.6/include/linux/ |
D | count_zeros.h | 17 * Count the number of leading zeros from the MSB going towards the LSB in @x. 20 * If only the LSB of @x is set, then the result is BITS_PER_LONG-1. 34 * count_trailing_zeros - Count the number of zeros from the LSB forwards 37 * Count the number of trailing zeros from the LSB going towards the MSB in @x. 39 * If the LSB of @x is set, the result is 0.
|
/Linux-v6.6/include/video/ |
D | gbe.h | 81 #define MASK(msb, lsb) \ argument 82 ( (((u32)1<<((msb)-(lsb)+1))-1) << (lsb) ) 83 #define GET(v, msb, lsb) \ argument 84 ( ((u32)(v) & MASK(msb,lsb)) >> (lsb) ) 85 #define SET(v, f, msb, lsb) \ argument 86 ( (v) = ((v)&~MASK(msb,lsb)) | (( (u32)(f)<<(lsb) ) & MASK(msb,lsb)) )
|
/Linux-v6.6/include/linux/input/ |
D | adxl34x.h | 22 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g) 49 * The data format is unsigned. The scale factor is 62.5 mg/LSB 60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero 71 * factor is 1.25 ms/LSB. A zero value will disable the Double Tap 81 * tap can begin. The scale factor is 1.25 ms/LSB. A zero value will 127 * 62.5 mg/LSB. A zero value may result in undesirable behavior if 137 * factor is 62.5 mg/LSB. A zero value may result in undesirable 148 * is 1 second/LSB. Unlike the other interrupt functions, which 166 * occurring. The scale factor is 62.5 mg/LSB. A zero value may 179 * scale factor is 5 ms/LSB. A zero value may result in [all …]
|
/Linux-v6.6/arch/sh/boards/mach-microdev/ |
D | fdc37c93xapm.c | 59 #define LSB(x) ( (x) & 0xff ) macro 96 SMSC_WRITE_INDEXED(LSB(SERIAL1_PRIMARY_BASE), SMSC_PRIMARY_BASE_INDEX+1); in smsc_superio_setup() 107 SMSC_WRITE_INDEXED(LSB(SERIAL2_PRIMARY_BASE), SMSC_PRIMARY_BASE_INDEX+1); in smsc_superio_setup() 118 SMSC_WRITE_INDEXED(LSB(IDE1_PRIMARY_BASE), SMSC_PRIMARY_BASE_INDEX+1); in smsc_superio_setup() 120 SMSC_WRITE_INDEXED(LSB(IDE1_SECONDARY_BASE), SMSC_SECONDARY_BASE_INDEX+1); in smsc_superio_setup() 132 SMSC_WRITE_INDEXED(LSB(IDE2_PRIMARY_BASE), SMSC_PRIMARY_BASE_INDEX+1); in smsc_superio_setup() 134 SMSC_WRITE_INDEXED(LSB(IDE2_SECONDARY_BASE), SMSC_SECONDARY_BASE_INDEX+1); in smsc_superio_setup()
|
/Linux-v6.6/drivers/scsi/qla2xxx/ |
D | qla_def.h | 140 #define LSB(x) ((uint8_t)(x)) macro 1544 * LSB BIT 0 = Enable Hard Loop Id 1545 * LSB BIT 1 = Enable Fairness 1546 * LSB BIT 2 = Enable Full-Duplex 1547 * LSB BIT 3 = Enable Fast Posting 1548 * LSB BIT 4 = Enable Target Mode 1549 * LSB BIT 5 = Disable Initiator Mode 1550 * LSB BIT 6 = Enable ADISC 1551 * LSB BIT 7 = Enable Target Inquiry Data 1589 * LSB BIT 0 = Timer Operation mode bit 0 [all …]
|
/Linux-v6.6/drivers/crypto/ccp/ |
D | ccp-dev-v5.c | 19 /* Allocate the requested number of contiguous LSB slots 20 * from the LSB bitmap. Look in the private range for this 31 if (cmd_q->lsb >= 0) { in ccp_lsb_alloc() 37 return start + cmd_q->lsb * LSB_SIZE; in ccp_lsb_alloc() 67 /* Free a number of LSB slots from the bitmap, starting at 76 if (cmd_q->lsb == start) { in ccp_lsb_free() 77 /* An entry from the private LSB */ in ccp_lsb_free() 602 dev_dbg(cmd_q->ccp->dev, "Queue %d can access %d LSB regions\n", in ccp_find_lsb_regions() 638 /* We found an available LSB in ccp_find_and_assign_lsb_to_q() 641 cmd_q->lsb = bitno; in ccp_find_and_assign_lsb_to_q() [all …]
|
/Linux-v6.6/drivers/hwmon/ |
D | max1111.c | 46 int lsb; member 118 * sample. The LSB weight is 8mV or 16mV depending on the chip type. in show_adc() 120 return sprintf(buf, "%d\n", ret * data->lsb); in show_adc() 201 data->lsb = 8; in max1111_probe() 205 data->lsb = 8; in max1111_probe() 209 data->lsb = 16; in max1111_probe() 213 data->lsb = 16; in max1111_probe()
|
D | ina209.c | 116 /* LSB=10 uV. Convert to mV. */ in ina209_from_reg() 126 /* LSB=4 mV, last 3 bits unused */ in ina209_from_reg() 130 /* LSB=1 mV, in the upper 8 bits */ in ina209_from_reg() 134 /* LSB=1 mV, in the upper 8 bits */ in ina209_from_reg() 141 /* LSB=20 mW. Convert to uW */ in ina209_from_reg() 145 /* LSB=1 mA (selected). Is in mA */ in ina209_from_reg() 163 /* Limit to +- 320 mV, 10 uV LSB */ in ina209_to_reg() 171 * Limit to 0-32000 mV, 4 mV LSB in ina209_to_reg() 181 * Limit to -255-0 mV, 1 mV LSB in ina209_to_reg() 191 * Limit to 0-255 mV, 1 mV LSB in ina209_to_reg() [all …]
|