Home
last modified time | relevance | path

Searched refs:lsb (Results 1 – 25 of 165) sorted by relevance

1234567

/linux/drivers/media/test-drivers/vivid/
A 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()
69 data[2].lsb = rds->picode & 0xff; in vivid_rds_generate()
78 data[1].lsb |= idx; in vivid_rds_generate()
102 data[1].lsb &= ~3; in vivid_rds_generate()
103 data[1].lsb |= date >> 15; in vivid_rds_generate()
105 data[2].lsb = (date << 1) & 0xfe; in vivid_rds_generate()
106 data[2].lsb |= (time >> 16) & 1; in vivid_rds_generate()
109 data[3].lsb = time & 0xff; in vivid_rds_generate()
116 data[2].lsb = rds->picode & 0xff; in vivid_rds_generate()
[all …]
/linux/drivers/dma/dw-edma/
A Ddw-edma-v0-regs.h34 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
208 u32 lsb; member
215 u32 lsb; member
[all …]
A Ddw-edma-v0-debugfs.c116 REGISTER(sar.lsb), in dw_edma_debugfs_regs_ch()
118 REGISTER(dar.lsb), in dw_edma_debugfs_regs_ch()
120 REGISTER(llp.lsb), in dw_edma_debugfs_regs_ch()
134 WR_REGISTER(ch_arb_weight.lsb), in dw_edma_debugfs_regs_wr()
141 WR_REGISTER(done_imwr.lsb), in dw_edma_debugfs_regs_wr()
143 WR_REGISTER(abort_imwr.lsb), in dw_edma_debugfs_regs_wr()
154 WR_REGISTER_UNROLL(engine_hshake_cnt.lsb), in dw_edma_debugfs_regs_wr()
202 RD_REGISTER(ch_arb_weight.lsb), in dw_edma_debugfs_regs_rd()
208 RD_REGISTER(err_status.lsb), in dw_edma_debugfs_regs_rd()
211 RD_REGISTER(done_imwr.lsb), in dw_edma_debugfs_regs_rd()
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
A Dfib.sh104 local lsb
114 for lsb in $(seq 1 20); do
126 local lsb
136 for lsb in $(seq 1 20); do
222 local lsb
232 for lsb in $(seq 1 20); do
244 local lsb
257 for lsb in $(seq 1 20); do
258 ip -n testns1 route add 2001:db8:10::${lsb}/128 \
272 local lsb
[all …]
/linux/drivers/watchdog/
A Dpcwd_usb.c241 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()
285 unsigned char lsb = 0xC3; in usb_pcwd_stop() local
290 &msb, &lsb); in usb_pcwd_stop()
313 unsigned char lsb = t % 256; in usb_pcwd_set_heartbeat() local
328 unsigned char msb, lsb; in usb_pcwd_get_temperature() local
344 unsigned char msb, lsb; in usb_pcwd_get_timeleft() local
[all …]
A Dpcwd_pci.c154 static int send_command(int cmd, int *msb, int *lsb) in send_command() argument
160 cmd, *msb, *lsb); in send_command()
169 outb_p(*lsb, pcipcwd_private.io_addr + 4); in send_command()
194 *lsb = inb_p(pcipcwd_private.io_addr + 4); in send_command()
202 cmd, *msb, *lsb); in send_command()
416 int lsb; in pcipcwd_get_timeleft() local
420 send_command(CMD_READ_WATCHDOG_TIMEOUT, &msb, &lsb); in pcipcwd_get_timeleft()
422 *time_left = (msb << 8) + lsb; in pcipcwd_get_timeleft()
/linux/drivers/iio/proximity/
A Disl29501.c135 u8 lsb; member
145 .lsb = ISL29501_PHASE_LSB,
155 .lsb = ISL29501_GAIN_LSB,
165 .lsb = ISL29501_TEMP_COEFF_A,
168 .lsb = ISL29501_TEMP_COEFF_B,
190 .lsb = ISL29501_DRIVER_RANGE,
193 .lsb = ISL29501_EMITTER_DAC,
202 u8 msb = 0, lsb = 0; in isl29501_register_read() local
213 if (reg->lsb) { in isl29501_register_read()
217 lsb = ret; in isl29501_register_read()
[all …]
/linux/include/video/
A 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/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
A 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()
144 lsfw->offset.lsb = wpr; in gp102_acr_wpr_layout()
A Dgm200.c69 struct lsb_header lsb; in gm200_acr_wpr_patch() local
81 nvkm_robj(acr->wpr, hdr.lsb_offset, &lsb, sizeof(lsb)); in gm200_acr_wpr_patch()
82 lsb_header_dump(subdev, &lsb); in gm200_acr_wpr_patch()
84 lsfw->func->bld_patch(acr, lsb.tail.bl_data_off, adjust); in gm200_acr_wpr_patch()
122 nvkm_wobj(acr->wpr, lsfw->offset.lsb, &hdr, sizeof(hdr)); in gm200_acr_wpr_build_lsb()
137 .lsb_offset = lsfw->offset.lsb, in gm200_acr_wpr_build()
190 lsfw->offset.lsb = wpr; in gm200_acr_wpr_layout()
/linux/tools/testing/selftests/x86/
A Dsyscall_numbering.c115 static long long probe_syscall(int msb, int lsb) in probe_syscall() argument
123 long long nr = ((long long)msb << 32) | (unsigned int)lsb; in probe_syscall()
149 int lsb = start; in syscall_str() local
155 if (lsb < 0) in syscall_str()
156 lsb |= X32_BIT; in syscall_str()
158 lsb &= ~X32_BIT; in syscall_str()
162 type, msb, lsb); in syscall_str()
165 type, msb, lsb, lsb + (end-start)); in syscall_str()
/linux/drivers/comedi/drivers/
A Ddas08.c177 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()
313 outb(lsb, dev->iobase + DAS08JR_AO_LSB_REG(chan)); in das08_ao_set_data()
318 outb(lsb, dev->iobase + DAS08AOX_AO_LSB_REG(chan)); in das08_ao_set_data()
/linux/drivers/net/wireless/ath/ath10k/
A Dhw.c215 .lsb = 0x00000010,
221 .lsb = 0x00000012,
227 .lsb = 0x00000000,
269 .lsb = 0x00000010,
275 .lsb = 0x00000000,
288 .lsb = 0x00000010,
294 .lsb = 0x00000000,
347 .lsb = 0x00000010,
353 .lsb = 0x00000011,
359 .lsb = 0x00000000,
[all …]
/linux/arch/sparc/lib/
A 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 …]
A 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/drivers/mfd/
A Datmel-smc.c51 unsigned int msb, lsb; in atmel_smc_cs_encode_ncycles() local
55 lsb = ncycles % msbfactor; in atmel_smc_cs_encode_ncycles()
57 if (lsb > lsbmask) { in atmel_smc_cs_encode_ncycles()
58 lsb = 0; in atmel_smc_cs_encode_ncycles()
69 lsb = lsbmask; in atmel_smc_cs_encode_ncycles()
73 *encodedval = (msb << msbpos) | lsb; in atmel_smc_cs_encode_ncycles()
/linux/drivers/hwmon/
A Dmax1111.c46 int lsb; member
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()
A Dltc2947-core.c415 lsb = 50000; in ltc2947_read_power()
446 *val = __val * lsb; in ltc2947_read_power()
462 lsb = 3; in ltc2947_read_curr()
493 *val = __val * lsb; in ltc2947_read_curr()
503 u8 lsb = 2; /* in mV */ in ltc2947_read_in() local
516 lsb = 145; in ltc2947_read_in()
526 lsb = 145; in ltc2947_read_in()
536 lsb = 145; in ltc2947_read_in()
562 lsb = 145; in ltc2947_read_in()
572 lsb = 145; in ltc2947_read_in()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dvxlan_flooding.sh158 local lsb
162 lsb=$((i + 1))
165 dst 198.51.100.$lsb
172 local lsb
178 lsb=$((i + 1))
181 flower ip_proto udp dst_ip 198.51.100.$lsb \
/linux/drivers/staging/pi433/
A Drf69.c227 u8 lsb; in rf69_set_bit_rate() local
240 lsb = (bit_rate_reg & 0xff); in rf69_set_bit_rate()
246 retval = rf69_write_reg(spi, REG_BITRATE_LSB, lsb); in rf69_set_bit_rate()
259 u8 lsb; in rf69_set_deviation() local
277 lsb = (f_reg & 0xff); in rf69_set_deviation()
289 retval = rf69_write_reg(spi, REG_FDEV_LSB, lsb); in rf69_set_deviation()
304 u8 lsb; in rf69_set_frequency() local
324 lsb = (f_reg & 0xff); in rf69_set_frequency()
333 retval = rf69_write_reg(spi, REG_FRF_LSB, lsb); in rf69_set_frequency()
648 u8 msb, lsb; in rf69_set_preamble_length() local
[all …]
/linux/drivers/media/usb/as102/
A Das102_fw.c26 char lsb = tolower(*(src + 1)) - '0'; in atohx() local
30 if (lsb > 9) in atohx()
31 lsb -= 7; in atohx()
33 *dst = value = ((msb & 0xF) << 4) | (lsb & 0xF); in atohx()
/linux/arch/m68k/hp300/
A Dtime.c78 unsigned char lsb, msb, msb_new; in hp300_read_clk() local
87 lsb = in_8(CLOCKBASE + CLKLSB1); in hp300_read_clk()
94 ticks = INTVAL - ((msb << 8) | lsb); in hp300_read_clk()
/linux/tools/spi/
A Dspidev_fdx.c82 __u8 lsb, bits; in dumpstat() local
89 if (ioctl(fd, SPI_IOC_RD_LSB_FIRST, &lsb) < 0) { in dumpstat()
103 name, mode, bits, lsb ? "(lsb first) " : "", speed); in dumpstat()
/linux/arch/parisc/mm/
A Dfault.c388 unsigned int lsb = 0; in do_page_fault() local
398 lsb = hstate_index_to_shift(VM_FAULT_GET_HINDEX(fault)); in do_page_fault()
400 lsb = PAGE_SHIFT; in do_page_fault()
403 lsb); in do_page_fault()
/linux/drivers/phy/socionext/
A Dphy-uniphier-usb3ss.c30 #define PHY_F(regno, msb, lsb) { (regno), (msb), (lsb) } argument
47 int lsb; member
80 u8 field_mask = GENMASK(p->field.msb, p->field.lsb); in uniphier_u3ssphy_set_param()
91 data = field_mask & (p->value << p->field.lsb); in uniphier_u3ssphy_set_param()

Completed in 46 milliseconds

1234567