Home
last modified time | relevance | path

Searched full:lsb (Results 1 – 25 of 985) sorted by relevance

12345678910>>...40

/kernel/linux/linux-5.10/drivers/media/i2c/
Dvs6624_regs.h16 #define VS6624_DEV_ID_LSB 0x0002 /* device id LSB */
33 #define VS6624_MAN_HSIZE0_LSB 0x0384 /* input required manual H size LSB */
35 #define VS6624_MAN_VSIZE0_LSB 0x0388 /* input required manual V size LSB */
37 #define VS6624_ZOOM_HSTEP0_LSB 0x038C /* set the zoom H step LSB */
39 #define VS6624_ZOOM_VSTEP0_LSB 0x0390 /* set the zoom V step LSB */
42 #define VS6624_PAN_HSTEP0_LSB 0x0396 /* set the pan H step LSB */
44 #define VS6624_PAN_VSTEP0_LSB 0x039A /* set the pan V step LSB */
48 #define VS6624_CROP_HSTART0_LSB 0x03A2 /* set the cropping H start address LSB */
50 #define VS6624_CROP_HSIZE0_LSB 0x03A6 /* set the cropping H size LSB */
52 #define VS6624_CROP_VSTART0_LSB 0x03AA /* set the cropping V start address LSB */
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup.c28 #define LSB(value, index) \ macro
392 if (LSB(ctx->family, 0) != (v4 ? AF_INET : AF_INET6) || in ctx_narrow_access()
393 LSB(ctx->family, 1) != 0 || LSB(ctx->family, 2) != 0 || LSB(ctx->family, 3) != 0) in ctx_narrow_access()
399 if (LSB(ctx->protocol, 0) != IPPROTO_TCP || in ctx_narrow_access()
400 LSB(ctx->protocol, 1) != 0 || LSB(ctx->protocol, 2) != 0 || LSB(ctx->protocol, 3) != 0) in ctx_narrow_access()
406 if (LSB(ctx->remote_port, 0) != ((SRC_PORT >> 0) & 0xff) || in ctx_narrow_access()
407 LSB(ctx->remote_port, 1) != ((SRC_PORT >> 8) & 0xff) || in ctx_narrow_access()
408 LSB(ctx->remote_port, 2) != 0 || LSB(ctx->remote_port, 3) != 0) in ctx_narrow_access()
414 if (LSB(ctx->local_port, 0) != ((DST_PORT >> 0) & 0xff) || in ctx_narrow_access()
415 LSB(ctx->local_port, 1) != ((DST_PORT >> 8) & 0xff) || in ctx_narrow_access()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-rds-gen.c53 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
Dfib.sh102 local lsb
112 for lsb in $(seq 1 20); do
113 ip -n testns1 route add 192.0.2.${lsb}/32 dev dummy1 \
124 local lsb
134 for lsb in $(seq 1 20); do
135 ip -n testns1 route add 192.0.2.${lsb}/32 dev dummy1
220 local lsb
230 for lsb in $(seq 1 20); do
231 ip -n testns1 route add 2001:db8:1::${lsb}/128 dev dummy1 \
242 local lsb
[all …]
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Delf.h54 #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 …]
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Ddpsw-cmd.h99 /* from LSB: only the first 4 bits */
119 /* from LSB: enable:1 */
184 /* from LSB only the first 4 bits */
193 /* from LSB: enable:1 */
199 /* from LSB: enable:1 */
212 /* from LSB: VLAN_ID:12 DEI:1 PCP:3 */
233 /* only the first LSB 4 bits */
242 /* from LSB: type:5 */
332 /* only the first 4 bits from LSB */
340 /* only the first 4 bits from LSB */
[all …]
/kernel/linux/linux-5.10/arch/sparc/lib/
Dudivdi3.S24 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 …]
Ddivdi3.S48 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 …]
/kernel/linux/linux-5.10/drivers/iio/proximity/
Disl29501.c135 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 …]
/kernel/linux/linux-5.10/include/linux/
Dcount_zeros.h17 * 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.
/kernel/linux/linux-5.10/drivers/watchdog/
Dpcwd_usb.c136 /* 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 …]
/kernel/linux/linux-5.10/include/video/
Dgbe.h81 #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)) )
/kernel/linux/linux-5.10/include/linux/input/
Dadxl34x.h22 * 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 …]
/kernel/linux/linux-5.10/arch/sh/boards/mach-microdev/
Dfdc37c93xapm.c59 #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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dgp102.c36 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()
70 nvkm_wobj(acr->wpr, lsfw->offset.lsb, &hdr, sizeof(hdr)); in gp102_acr_wpr_build_lsb()
86 .lsb_offset = lsfw->offset.lsb, in gp102_acr_wpr_build()
97 /* Write LSB header. */ in gp102_acr_wpr_build()
144 lsfw->offset.lsb = wpr; in gp102_acr_wpr_layout()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_def.h114 #define LSB(x) ((uint8_t)(x)) macro
1428 * LSB BIT 0 = Enable Hard Loop Id
1429 * LSB BIT 1 = Enable Fairness
1430 * LSB BIT 2 = Enable Full-Duplex
1431 * LSB BIT 3 = Enable Fast Posting
1432 * LSB BIT 4 = Enable Target Mode
1433 * LSB BIT 5 = Disable Initiator Mode
1434 * LSB BIT 6 = Enable ADISC
1435 * LSB BIT 7 = Enable Target Inquiry Data
1473 * LSB BIT 0 = Timer Operation mode bit 0
[all …]
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-dev-v5.c19 /* 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 …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dmax1111.c46 int lsb; member
117 * sample. The LSB weight is 8mV or 16mV depending on the chip type. in show_adc()
119 return sprintf(buf, "%d\n", ret * data->lsb); in show_adc()
200 data->lsb = 8; in max1111_probe()
204 data->lsb = 8; in max1111_probe()
208 data->lsb = 16; in max1111_probe()
212 data->lsb = 16; in max1111_probe()
Dina209.c116 /* 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 …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ddas08.c24 * das08_encode12 : DATA[11..4] = MSB[7..0], DATA[3..0] = LSB[7..4].
25 * das08_pcm_encode12 : DATA[11..8] = MSB[3..0], DATA[7..9] = LSB[7..0].
27 * MAGNITUDE[7..0] = LSB[7..0].
177 int lsb, msb; in das08_ai_insn_read() local
216 lsb = inb(dev->iobase + DAS08_AI_LSB_REG); in das08_ai_insn_read()
218 data[n] = (lsb >> 4) | (msb << 4); in das08_ai_insn_read()
220 data[n] = (msb << 8) + lsb; in das08_ai_insn_read()
232 unsigned int magnitude = lsb | ((msb & 0x7f) << 8); in das08_ai_insn_read()
307 unsigned char lsb; in das08_ao_set_data() local
310 lsb = data & 0xff; in das08_ao_set_data()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dfsl-sai.txt33 - lsb-first : Configures whether the LSB or the MSB is transmitted
35 the MSB is transmitted first as default, or the LSB
81 lsb-first;
/kernel/linux/linux-5.10/drivers/iio/accel/
Dbma400.h87 * BMA400_SCALE_MIN macro value represents m/s^2 for 1 LSB before
90 * For +-2g - 1 LSB = 0.976562 milli g = 0.009576 m/s^2
91 * For +-4g - 1 LSB = 1.953125 milli g = 0.019153 m/s^2
92 * For +-16g - 1 LSB = 7.8125 milli g = 0.076614 m/s^2
/kernel/linux/linux-5.10/drivers/iio/light/
Dveml6070.c24 #define VEML6070_ADDR_DATA_LSB 0x39 /* LSB data */
43 u8 msb, lsb; in veml6070_read() local
60 ret = i2c_smbus_read_byte(data->client1); /* read LSB, address 0x38 */ in veml6070_read()
63 lsb = ret; in veml6070_read()
70 ret = (msb << 8) | lsb; in veml6070_read()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-g-sliced-vbi-cap.rst146 run-in and framing code, lsb first transmitted.
151 - Byte number 3 to 15 according to Figure 9 of ETS 300 231, lsb
157 - Two bytes in transmission order, including parity bit, lsb first
170 msb lsb msb lsb
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpni-cmd.h237 /* from LSB: pass_timestamp:1, parser_result:1, frame_status:1 */
252 /* from LSB: pass_timestamp:1, parser_result:1, frame_status:1 */
314 /* from LSB: up:1 */
379 /* from LSB: unicast:1, multicast:1 */
392 /* from LSB: dist_mode:4, miss_action:4 */
463 /* From LSB: dest_type:4, pad:2, flc_stash_ctrl:1, hold_active:1 */
586 /* only the LSB */
624 /* from LSB: dest_type: 4 units:2 */
644 /* from LSB: coupled:1 */

12345678910>>...40