Home
last modified time | relevance | path

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

12345678910>>...37

/Linux-v5.4/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 …]
/Linux-v5.4/drivers/media/platform/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/
Ddpsw-cmd.h95 /* from LSB: only the first 4 bits */
115 /* from LSB: enable:1 */
180 /* from LSB only the first 4 bits */
189 /* from LSB: enable:1 */
195 /* from LSB: enable:1 */
208 /* from LSB: VLAN_ID:12 DEI:1 PCP:3 */
229 /* only the first LSB 4 bits */
238 /* from LSB: type:5 */
328 /* only the first 4 bits from LSB */
336 /* only the first 4 bits from LSB */
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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.
Dcrc8.h46 * regular bit order (lsb first). Polynomials in CRC algorithms are typically
51 * For lsb first direction x^7 maps to the lsb. So the polynomial is as below.
53 * - lsb first: poly = 10101011(1) = 0xAB
/Linux-v5.4/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 …]
/Linux-v5.4/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)) )
/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_def.h113 #define LSB(x) ((uint8_t)(x)) macro
1374 * LSB BIT 0 = Enable Hard Loop Id
1375 * LSB BIT 1 = Enable Fairness
1376 * LSB BIT 2 = Enable Full-Duplex
1377 * LSB BIT 3 = Enable Fast Posting
1378 * LSB BIT 4 = Enable Target Mode
1379 * LSB BIT 5 = Disable Initiator Mode
1380 * LSB BIT 6 = Enable ADISC
1381 * LSB BIT 7 = Enable Target Inquiry Data
1419 * LSB BIT 0 = Timer Operation mode bit 0
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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;
/Linux-v5.4/drivers/atm/
Dsuni.h29 #define SUNI_RSOP_SBL 0x12 /* RSOP Section BIP-8 LSB */
36 #define SUNI_RLOP_LBL 0x1A /* RLOP Line BIP-8/24 LSB */
39 #define SUNI_RLOP_LFL 0x1D /* RLOP Line FEBE LSB */
52 #define SUNI_RPOP_PBL 0x38 /* RPOP Path BIP-8 LSB */
54 #define SUNI_RPOP_PFL 0x3A /* RPOP Path FEBE LSB */
63 #define SUNI_TPOP_APL 0x45 /* TPOP Arbitrary Pointer LSB */
75 #define SUNI_RACP_RCCL 0x56 /* RACP Receive Cell Counter LSB */
85 #define SUNI_TACP_TCCL 0x64 /* TACP Transmit Cell Counter LSB */
/Linux-v5.4/arch/openrisc/lib/
Dmemset.S49 /* lsb == 00, jump to word copy loop */
54 /* lsb == 01,10 or 11 */
62 /* lsb == 01 or 10 */
70 /* lsb == 01 */
/Linux-v5.4/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()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-g-sliced-vbi-cap.rst156 run-in and framing code, lsb first transmitted.
161 - Byte number 3 to 15 according to Figure 9 of ETS 300 231, lsb
167 - Two bytes in transmission order, including parity bit, lsb first
180 msb lsb msb lsb
/Linux-v5.4/drivers/iio/adc/
Dmax9611.c50 * LSB and offset values depends on selected gain (1x, 4x, 8x)
52 * GAIN LSB (nV) OFFSET (LSB steps)
58 * (((adc_read >> 4) - offset) / ((1 / LSB) * 10^-3)
69 * max9611 common input mode (CIM): LSB is 14mV, with 14mV offset at 25 C
78 * max9611 temperature reading: LSB is 480 milli degrees Celsius
136 * max9611_csa_gain_conf - associate gain multiplier with LSB and
142 * value; use this structure to retrieve the correct LSB and offset values.
360 * processed (mV): (raw - offset) * LSB (nV) / 10^6 in max9611_read_raw()
/Linux-v5.4/arch/x86/include/asm/
Dmach_timer.h31 * load 5 * LATCH count, (LSB and MSB) to begin countdown. in mach_prepare_counter()
35 outb(0xb0, 0x43); /* binary, mode 0, LSB/MSB, Ch 2 */ in mach_prepare_counter()
36 outb_p(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */ in mach_prepare_counter()

12345678910>>...37