Home
last modified time | relevance | path

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

12345678910>>...26

/linux-3.3/arch/ia64/include/asm/
Delf.h53 #define R_IA64_DIR32LSB 0x25 /* symbol + addend, data4 LSB */
55 #define R_IA64_DIR64LSB 0x27 /* symbol + addend, data8 LSB */
59 #define R_IA64_GPREL32LSB 0x2d /* @gprel(sym+add), data4 LSB */
61 #define R_IA64_GPREL64LSB 0x2f /* @gprel(sym+add), data8 LSB */
67 #define R_IA64_PLTOFF64LSB 0x3f /* @pltoff(sym+add), data8 LSB */
70 #define R_IA64_FPTR32LSB 0x45 /* @fptr(sym+add), data4 LSB */
72 #define R_IA64_FPTR64LSB 0x47 /* @fptr(sym+add), data8 LSB */
78 #define R_IA64_PCREL32LSB 0x4d /* @pcrel(sym+add), data4 LSB */
80 #define R_IA64_PCREL64LSB 0x4f /* @pcrel(sym+add), data8 LSB */
84 #define R_IA64_LTOFF_FPTR32LSB 0x55 /* @ltoff(@fptr(s+a)), 4 LSB */
[all …]
/linux-3.3/drivers/scsi/qla2xxx/
Dqla_def.h92 #define LSB(x) ((uint8_t)(x)) macro
854 * LSB BIT 0 = Enable Hard Loop Id
855 * LSB BIT 1 = Enable Fairness
856 * LSB BIT 2 = Enable Full-Duplex
857 * LSB BIT 3 = Enable Fast Posting
858 * LSB BIT 4 = Enable Target Mode
859 * LSB BIT 5 = Disable Initiator Mode
860 * LSB BIT 6 = Enable ADISC
861 * LSB BIT 7 = Enable Target Inquiry Data
899 * LSB BIT 0 = Timer Operation mode bit 0
[all …]
/linux-3.3/arch/sparc/lib/
Dudivdi3.S36 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
43 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
52 addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb
73 addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb
80 addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb
89 addcc %o2,%o2,%o2 ! shift n1n0 and a 0-bit in lsb
99 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
106 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
115 addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb
178 addxcc %o5,%o5,%o5 ! shift n1n0 and a q-bit in lsb
[all …]
Ddivdi3.S60 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
67 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
76 addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb
95 addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb
102 addxcc %o2,%o2,%o2 ! shift n1n0 and a q-bit in lsb
111 addcc %o2,%o2,%o2 ! shift n1n0 and a 0-bit in lsb
119 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
126 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
135 addcc %o1,%o1,%o1 ! shift n1n0 and a 0-bit in lsb
194 addxcc %o1,%o1,%o1 ! shift n1n0 and a q-bit in lsb
[all …]
/linux-3.3/arch/powerpc/include/asm/
Dkvm_ppc.h143 static inline u32 kvmppc_get_field(u64 inst, int msb, int lsb) in kvmppc_get_field() argument
148 BUG_ON(msb > lsb); in kvmppc_get_field()
150 mask = (1 << (lsb - msb + 1)) - 1; in kvmppc_get_field()
151 r = (inst >> (63 - lsb)) & mask; in kvmppc_get_field()
159 static inline u32 kvmppc_set_field(u64 inst, int msb, int lsb, int value) in kvmppc_set_field() argument
164 BUG_ON(msb > lsb); in kvmppc_set_field()
166 mask = ((1 << (lsb - msb + 1)) - 1) << (63 - lsb); in kvmppc_set_field()
167 r = (inst & ~mask) | ((value << (63 - lsb)) & mask); in kvmppc_set_field()
/linux-3.3/drivers/watchdog/
Dpcwd_usb.c157 /* The data LSB that is reported back */
210 dbg("received following data cmd=0x%02x msb=0x%02x lsb=0x%02x", in usb_pcwd_intr_done()
228 unsigned char cmd, unsigned char *msb, unsigned char *lsb) in usb_pcwd_send_command() argument
242 buf[2] = *lsb; /* Byte 2 = Data LSB */ in usb_pcwd_send_command()
245 dbg("sending following data cmd=0x%02x msb=0x%02x lsb=0x%02x", in usb_pcwd_send_command()
255 "cmd 0x%x 0x%x 0x%x\n", cmd, *msb, *lsb); in usb_pcwd_send_command()
270 *lsb = usb_pcwd->cmd_data_lsb; in usb_pcwd_send_command()
279 unsigned char lsb = 0x00; in usb_pcwd_start() local
284 &msb, &lsb); in usb_pcwd_start()
286 if ((retval == 0) || (lsb == 0)) { in usb_pcwd_start()
[all …]
Dpcwd_pci.c157 static int send_command(int cmd, int *msb, int *lsb) in send_command() argument
163 "cmd=0x%02x msb=0x%02x lsb=0x%02x\n", cmd, *msb, *lsb); in send_command()
168 * Commands with 16 bits of data, should be written as LSB to port 4 in send_command()
172 outb_p(*lsb, pcipcwd_private.io_addr + 4); in send_command()
199 *lsb = inb_p(pcipcwd_private.io_addr + 4); in send_command()
207 "cmd=0x%02x: msb=0x%02x lsb=0x%02x\n", in send_command()
208 cmd, *msb, *lsb); in send_command()
431 int lsb; in pcipcwd_get_timeleft() local
435 send_command(CMD_READ_WATCHDOG_TIMEOUT, &msb, &lsb); in pcipcwd_get_timeleft()
437 *time_left = (msb << 8) + lsb; in pcipcwd_get_timeleft()
/linux-3.3/include/video/
Dgbe.h83 #define MASK(msb, lsb) \ argument
84 ( (((u32)1<<((msb)-(lsb)+1))-1) << (lsb) )
85 #define GET(v, msb, lsb) \ argument
86 ( ((u32)(v) & MASK(msb,lsb)) >> (lsb) )
87 #define SET(v, f, msb, lsb) \ argument
88 ( (v) = ((v)&~MASK(msb,lsb)) | (( (u32)(f)<<(lsb) ) & MASK(msb,lsb)) )
Dsgivw.h20 #define MASK(msb, lsb) ( (((u32)1<<((msb)-(lsb)+1))-1) << (lsb) ) argument
21 #define GET(v, msb, lsb) ( ((u32)(v) & MASK(msb,lsb)) >> (lsb) ) argument
22 #define SET(v, f, msb, lsb) ( (v) = ((v)&~MASK(msb,lsb)) | (( (u32)(f)<<(lsb) ) & MASK(msb,lsb)… argument
/linux-3.3/drivers/power/
Dmax17040_battery.c116 u8 lsb; in max17040_get_vcell() local
119 lsb = max17040_read_reg(client, MAX17040_VCELL_LSB); in max17040_get_vcell()
121 chip->vcell = (msb << 4) + (lsb >> 4); in max17040_get_vcell()
128 u8 lsb; in max17040_get_soc() local
131 lsb = max17040_read_reg(client, MAX17040_SOC_LSB); in max17040_get_soc()
139 u8 lsb; in max17040_get_version() local
142 lsb = max17040_read_reg(client, MAX17040_VER_LSB); in max17040_get_version()
144 dev_info(&client->dev, "MAX17040 Fuel-Gauge Ver %d%d\n", msb, lsb); in max17040_get_version()
Dds2780_battery.c175 * and LSB registers in two's compliment form in ds2780_get_voltage()
180 * voltage LSB register in ds2780_get_voltage()
203 * MSB and LSB registers in two's compliment form in ds2780_get_temperature()
209 * temperature LSB register in ds2780_get_temperature()
256 * and LSB registers in two's compliment form in ds2780_get_current()
261 * LSB register in ds2780_get_current()
294 * LSB registers in ds2780_get_accumulated_current()
298 * LSB register in ds2780_get_accumulated_current()
354 * LSB registers in ds2780_get_charge_now()
358 * LSB register in ds2780_get_charge_now()
/linux-3.3/include/linux/input/
Dadxl34x.h21 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g)
48 * The data format is unsigned. The scale factor is 62.5 mg/LSB
59 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero
70 * factor is 1.25 ms/LSB. A zero value will disable the Double Tap
80 * tap can begin. The scale factor is 1.25 ms/LSB. A zero value will
126 * 62.5 mg/LSB. A zero value may result in undesirable behavior if
136 * factor is 62.5 mg/LSB. A zero value may result in undesirable
147 * is 1 second/LSB. Unlike the other interrupt functions, which
165 * occurring. The scale factor is 62.5 mg/LSB. A zero value may
178 * scale factor is 5 ms/LSB. A zero value may result in
[all …]
/linux-3.3/arch/sh/boards/mach-microdev/
Dfdc37c93xapm.c62 #define LSB(x) ( (x) & 0xff ) macro
99 SMSC_WRITE_INDEXED(LSB(SERIAL1_PRIMARY_BASE), SMSC_PRIMARY_BASE_INDEX+1); in smsc_superio_setup()
110 SMSC_WRITE_INDEXED(LSB(SERIAL2_PRIMARY_BASE), SMSC_PRIMARY_BASE_INDEX+1); in smsc_superio_setup()
121 SMSC_WRITE_INDEXED(LSB(IDE1_PRIMARY_BASE), SMSC_PRIMARY_BASE_INDEX+1); in smsc_superio_setup()
123 SMSC_WRITE_INDEXED(LSB(IDE1_SECONDARY_BASE), SMSC_SECONDARY_BASE_INDEX+1); in smsc_superio_setup()
135 SMSC_WRITE_INDEXED(LSB(IDE2_PRIMARY_BASE), SMSC_PRIMARY_BASE_INDEX+1); in smsc_superio_setup()
137 SMSC_WRITE_INDEXED(LSB(IDE2_SECONDARY_BASE), SMSC_SECONDARY_BASE_INDEX+1); in smsc_superio_setup()
/linux-3.3/arch/m68k/hp300/
Dtime.c53 unsigned char lsb, msb1, msb2; in hp300_gettimeoffset() local
57 lsb = in_8(CLOCKBASE + 7); in hp300_gettimeoffset()
61 lsb = in_8(CLOCKBASE + 7); in hp300_gettimeoffset()
62 ticks = INTVAL - ((msb2 << 8) | lsb); in hp300_gettimeoffset()
/linux-3.3/drivers/staging/comedi/drivers/
Ddas08.c527 int lsb, msb; in das08_ai_rinsn() local
569 lsb = inb(dev->iobase + DAS08_LSB); in das08_ai_rinsn()
571 data[n] = (lsb >> 4) | (msb << 4); in das08_ai_rinsn()
573 data[n] = (msb << 8) + lsb; in das08_ai_rinsn()
577 data[n] = (1 << 15) | lsb | ((msb & 0x7f) << 8); in das08_ai_rinsn()
579 data[n] = (1 << 15) - (lsb | (msb & 0x7f) << 8); in das08_ai_rinsn()
652 int lsb, msb; in das08jr_ao_winsn() local
655 lsb = data[0] & 0xff; in das08jr_ao_winsn()
662 outb(lsb, dev->iobase + devpriv->ao_offset_lsb[chan]); in das08jr_ao_winsn()
665 outb(lsb, dev->iobase + DAS08JR_AO_LSB(chan)); in das08jr_ao_winsn()
[all …]
/linux-3.3/Documentation/hwmon/
Dsmsc47b39733 and 0x61 (LSB). Currently we are using 0x480 for the HWM Base Address and
58 LSB MSB
66 Reading the tach LSB locks the tach MSB.
67 The LSB Must be read first.
70 The tach reading (TCount) is given by: (Tach MSB * 256) + (Tach LSB)
/linux-3.3/drivers/atm/
Dsuni.h28 #define SUNI_RSOP_SBL 0x12 /* RSOP Section BIP-8 LSB */
35 #define SUNI_RLOP_LBL 0x1A /* RLOP Line BIP-8/24 LSB */
38 #define SUNI_RLOP_LFL 0x1D /* RLOP Line FEBE LSB */
51 #define SUNI_RPOP_PBL 0x38 /* RPOP Path BIP-8 LSB */
53 #define SUNI_RPOP_PFL 0x3A /* RPOP Path FEBE LSB */
62 #define SUNI_TPOP_APL 0x45 /* TPOP Arbitrary Pointer LSB */
74 #define SUNI_RACP_RCCL 0x56 /* RACP Receive Cell Counter LSB */
84 #define SUNI_TACP_TCCL 0x64 /* TACP Transmit Cell Counter LSB */
/linux-3.3/include/linux/
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-3.3/arch/x86/include/asm/
Dmach_timer.h30 * load 5 * LATCH count, (LSB and MSB) to begin countdown. in mach_prepare_counter()
34 outb(0xb0, 0x43); /* binary, mode 0, LSB/MSB, Ch 2 */ in mach_prepare_counter()
35 outb_p(CALIBRATE_LATCH & 0xff, 0x42); /* LSB of count */ in mach_prepare_counter()
/linux-3.3/Documentation/spi/
Dspidev_fdx.c81 __u8 mode, lsb, bits; in dumpstat() local
88 if (ioctl(fd, SPI_IOC_RD_LSB_FIRST, &lsb) < 0) { in dumpstat()
102 name, mode, bits, lsb ? "(lsb first) " : "", speed); in dumpstat()
/linux-3.3/drivers/misc/
Dbh1780gli.c73 int lsb, msb; in bh1780_show_lux() local
75 lsb = bh1780_read(ddata, BH1780_REG_DLOW, "DLOW"); in bh1780_show_lux()
76 if (lsb < 0) in bh1780_show_lux()
77 return lsb; in bh1780_show_lux()
83 return sprintf(buf, "%d\n", (msb << 8) | lsb); in bh1780_show_lux()
/linux-3.3/Documentation/video4linux/cx2341x/
Dfw-memory.txt101 0x7000: LSB I2C write clock bit (inverted)
102 0x7004: LSB I2C write data bit (inverted)
103 0x7008: LSB I2C read clock bit
104 0x700c: LSB I2C read data bit
/linux-3.3/drivers/media/video/
Dtvp5150_reg.h30 #define TVP5150_ACT_VD_CROP_ST_LSB 0x12 /* Active video cropping start LSB */
32 #define TVP5150_ACT_VD_CROP_STP_LSB 0x14 /* Active video cropping stop LSB */
76 #define TVP5150_LSB_DEV_ID 0x81 /* LSB of device ID */
80 #define TVP5150_VERT_LN_COUNT_LSB 0x85 /* Vertical line count LSB */
/linux-3.3/drivers/hwmon/
Dsch56xx-common.c191 int lsb, msb; in sch56xx_read_virtual_reg16() local
193 /* Read LSB first, this will cause the matching MSB to be latched */ in sch56xx_read_virtual_reg16()
194 lsb = sch56xx_read_virtual_reg(addr, reg); in sch56xx_read_virtual_reg16()
195 if (lsb < 0) in sch56xx_read_virtual_reg16()
196 return lsb; in sch56xx_read_virtual_reg16()
202 return lsb | (msb << 8); in sch56xx_read_virtual_reg16()
/linux-3.3/drivers/media/dvb/dvb-usb/
Ddib0700.h32 …// 1 Byte: 4MSB(1 = enable streaming, 0 = disable streaming) 4LSB(Video Mode: 0 = MPEG2 188Bytes, …
33 …// 2 Byte: MPEG2 mode: 4MSB(1 = Master Mode, 0 = Slave Mode) 4LSB(Channel 1 = bit0, Channel 2 = b…
34 …// 2 Byte: Analog mode: 4MSB(0 = 625 lines, 1 = 525 lines) 4LSB( " " …

12345678910>>...26