/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/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) 69 lsb = bitdef 72 lsb = _bits[2] 82 if (63 < lsb || lsb < 0) 84 if (msb < lsb) 89 next_bit = lsb - 1 [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/drivers/watchdog/ |
D | pcwd_usb.c | 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() 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() 285 unsigned char lsb = 0xC3; in usb_pcwd_stop() local 290 &msb, &lsb); in usb_pcwd_stop() 292 if ((retval == 0) || (lsb != 0)) { in usb_pcwd_stop() [all …]
|
D | pcwd_pci.c | 154 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-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/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/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() 200 lsfw->offset.lsb = wpr; in ga102_acr_wpr_layout()
|
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() 146 lsfw->offset.lsb = wpr; in gp102_acr_wpr_layout()
|
D | gm200.c | 69 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() 124 nvkm_wobj(acr->wpr, lsfw->offset.lsb, &hdr, sizeof(hdr)); in gm200_acr_wpr_build_lsb() 139 .lsb_offset = lsfw->offset.lsb, in gm200_acr_wpr_build() 192 lsfw->offset.lsb = wpr; in gm200_acr_wpr_layout()
|
/Linux-v6.6/tools/testing/selftests/x86/ |
D | syscall_numbering.c | 115 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-v6.6/drivers/comedi/drivers/ |
D | das08.c | 176 int lsb, msb; in das08_ai_insn_read() local 215 lsb = inb(dev->iobase + DAS08_AI_LSB_REG); in das08_ai_insn_read() 217 data[n] = (lsb >> 4) | (msb << 4); in das08_ai_insn_read() 219 data[n] = (msb << 8) + lsb; in das08_ai_insn_read() 231 unsigned int magnitude = lsb | ((msb & 0x7f) << 8); in das08_ai_insn_read() 306 unsigned char lsb; in das08_ao_set_data() local 309 lsb = data & 0xff; in das08_ao_set_data() 312 outb(lsb, dev->iobase + DAS08JR_AO_LSB_REG(chan)); in das08_ao_set_data() 317 outb(lsb, dev->iobase + DAS08AOX_AO_LSB_REG(chan)); in das08_ao_set_data()
|
/Linux-v6.6/drivers/mfd/ |
D | atmel-smc.c | 51 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-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/wireless/ath/ath10k/ |
D | hw.c | 216 .lsb = 0x00000010, 222 .lsb = 0x00000012, 228 .lsb = 0x00000000, 270 .lsb = 0x00000010, 276 .lsb = 0x00000000, 289 .lsb = 0x00000010, 295 .lsb = 0x00000000, 348 .lsb = 0x00000010, 354 .lsb = 0x00000011, 360 .lsb = 0x00000000, [all …]
|
/Linux-v6.6/arch/x86/kernel/cpu/mce/ |
D | internal.h | 220 u8 lsb; in smca_extract_err_addr() local 226 lsb = (m->status >> 24) & 0x3f; in smca_extract_err_addr() 228 m->addr &= GENMASK_ULL(56, lsb); in smca_extract_err_addr() 233 lsb = (m->addr >> 56) & 0x3f; in smca_extract_err_addr() 235 m->addr &= GENMASK_ULL(55, lsb); in smca_extract_err_addr()
|
/Linux-v6.6/drivers/hwmon/ |
D | max1111.c | 46 int lsb; member 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()
|
/Linux-v6.6/drivers/media/usb/as102/ |
D | as102_fw.c | 26 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-v6.6/drivers/staging/pi433/ |
D | rf69.c | 193 u8 lsb; in rf69_set_bit_rate() local 213 lsb = (bit_rate_reg & 0xff); in rf69_set_bit_rate() 219 retval = rf69_write_reg(spi, REG_BITRATE_LSB, lsb); in rf69_set_bit_rate() 234 u8 lsb; in rf69_set_deviation() local 262 lsb = (f_reg & 0xff); in rf69_set_deviation() 274 retval = rf69_write_reg(spi, REG_FDEV_LSB, lsb); in rf69_set_deviation() 289 u8 lsb; in rf69_set_frequency() local 309 lsb = (f_reg & 0xff); in rf69_set_frequency() 318 retval = rf69_write_reg(spi, REG_FRF_LSB, lsb); in rf69_set_frequency() 591 u8 msb, lsb; in rf69_set_preamble_length() local [all …]
|
/Linux-v6.6/arch/m68k/hp300/ |
D | time.c | 78 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()
|