/linux/drivers/memstick/core/ |
A D | ms_block.c | 294 &msb->reg_addr, sizeof(msb->reg_addr)); in msb_read_regs() 315 &msb->reg_addr, sizeof(msb->reg_addr)); in msb_write_regs() 561 msb->page_size) < msb->page_size) in h_msb_write_block() 571 msb->current_sg_offset += msb->page_size; in h_msb_write_block() 994 msb->block_buffer, msb->block_size)) in msb_verify_block() 1641 msb->cache + page * msb->page_size, msb->page_size); in msb_cache_write() 1664 msb->cache + msb->page_size * page, in msb_cache_read() 1737 msb->block_size = msb->page_size * msb->pages_in_block; in msb_init_card() 1955 if (msb && msb->card) in msb_bd_open() 2133 msb->queue = msb->disk->queue; in msb_init_disk() [all …]
|
A D | mspro_block.c | 189 if (msb && msb->card) { in mspro_block_bd_open() 210 if (msb) { in mspro_block_disk_release() 607 == (msb->req_sg[msb->current_seg].length in h_mspro_block_transfer_data() 612 if (msb->current_seg == msb->seg_count) { in h_mspro_block_transfer_data() 631 t_offset = msb->req_sg[msb->current_seg].offset; in h_mspro_block_transfer_data() 632 t_offset += msb->current_page * msb->page_size; in h_mspro_block_transfer_data() 702 msb->seg_count = blk_rq_map_sg(msb->block_req->q, in mspro_block_issue_req() 727 msb->data_dir = rq_data_dir(msb->block_req); in mspro_block_issue_req() 728 msb->transfer_cmd = msb->data_dir == READ in mspro_block_issue_req() 1218 msb->queue = msb->disk->queue; in mspro_block_init_disk() [all …]
|
/linux/tools/testing/selftests/x86/ |
A D | syscall_numbering.c | 162 type, msb, lsb); in syscall_str() 213 return check_for(msb, nr, nr, 0); in check_zero() 254 check_zero(msb, SYS_READ); in test_syscalls_common() 255 check_zero(msb, SYS_WRITE); in test_syscalls_common() 258 check_zero(msb, X64_READV); in test_syscalls_common() 259 check_zero(msb, X64_WRITEV); in test_syscalls_common() 262 check_for(msb, -64, -2, -ENOSYS); in test_syscalls_common() 317 int msb = msbs[i]; in test_syscall_numbering() local 319 msb, msb); in test_syscall_numbering() 323 test_syscalls_common(msb); in test_syscall_numbering() [all …]
|
/linux/drivers/dma/dw-edma/ |
A D | dw-edma-v0-regs.h | 35 u32 msb; /* 0x0010 */ member 42 u32 msb; /* 0x0018 */ member 49 u32 msb; /* 0x0020 */ member 69 u32 msb; /* 0x010c */ member 77 u32 msb; /* 0x0124 */ member 119 u32 msb; /* 0x001c */ member 130 u32 msb; /* 0x003c */ member 144 u32 msb; /* 0x0064 */ member 209 u32 msb; member 216 u32 msb; member [all …]
|
A D | dw-edma-v0-debugfs.c | 117 REGISTER(sar.msb), in dw_edma_debugfs_regs_ch() 119 REGISTER(dar.msb), in dw_edma_debugfs_regs_ch() 121 REGISTER(llp.msb), in dw_edma_debugfs_regs_ch() 135 WR_REGISTER(ch_arb_weight.msb), in dw_edma_debugfs_regs_wr() 142 WR_REGISTER(done_imwr.msb), in dw_edma_debugfs_regs_wr() 144 WR_REGISTER(abort_imwr.msb), in dw_edma_debugfs_regs_wr() 155 WR_REGISTER_UNROLL(engine_hshake_cnt.msb), in dw_edma_debugfs_regs_wr() 203 RD_REGISTER(ch_arb_weight.msb), in dw_edma_debugfs_regs_rd() 209 RD_REGISTER(err_status.msb), in dw_edma_debugfs_regs_rd() 212 RD_REGISTER(done_imwr.msb), in dw_edma_debugfs_regs_rd() [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-rds-gen.c | 54 data[0].msb = rds->picode >> 8; in vivid_rds_generate() 68 data[1].msb |= 1 << 3; in vivid_rds_generate() 70 data[2].msb = rds->picode >> 8; in vivid_rds_generate() 79 data[1].msb |= 4 << 3; in vivid_rds_generate() 104 data[1].msb |= 8 << 3; in vivid_rds_generate() 107 data[2].msb = (date >> 7) & 0xff; in vivid_rds_generate() 110 data[3].msb = (time >> 8) & 0xff; in vivid_rds_generate() 115 data[1].msb |= 0x1f << 3; in vivid_rds_generate() 117 data[2].msb = rds->picode >> 8; in vivid_rds_generate() 122 data[3].msb |= rds->pty >> 3; in vivid_rds_generate() [all …]
|
/linux/drivers/hwmon/ |
A D | asc7621.c | 107 u8 msb[3]; member 184 data->reg[param->msb[0]] = reqval; in store_u8() 221 data->reg[param->msb[0]] = reqval; in store_bitmask() 269 write_byte(client, param->msb[0], data->reg[param->msb[0]]); in store_fan16() 340 data->reg[param->msb[0]] = reqval; in store_in8() 371 data->reg[param->msb[0]] = temp; in store_temp8() 388 u8 msb, lsb; in show_temp10() local 392 msb = data->reg[param->msb[0]]; in show_temp10() 429 data->reg[param->msb[0]] = temp; in store_temp62() 491 data->reg[param->msb[0]] = newval; in store_ap2_temp() [all …]
|
A D | sch56xx-common.c | 205 int lsb, msb; in sch56xx_read_virtual_reg16() local 212 msb = sch56xx_read_virtual_reg(addr, reg + 1); in sch56xx_read_virtual_reg16() 213 if (msb < 0) in sch56xx_read_virtual_reg16() 214 return msb; in sch56xx_read_virtual_reg16() 216 return lsb | (msb << 8); in sch56xx_read_virtual_reg16() 223 int msb, lsn; in sch56xx_read_virtual_reg12() local 226 msb = sch56xx_read_virtual_reg(addr, msb_reg); in sch56xx_read_virtual_reg12() 227 if (msb < 0) in sch56xx_read_virtual_reg12() 228 return msb; in sch56xx_read_virtual_reg12() 235 return (msb << 4) | (lsn >> 4); in sch56xx_read_virtual_reg12() [all …]
|
/linux/arch/m68k/hp300/ |
A D | time.c | 78 unsigned char lsb, msb, msb_new; in hp300_read_clk() local 83 msb = in_8(CLOCKBASE + CLKMSB1); in hp300_read_clk() 85 if ((in_8(CLOCKBASE + CLKSR) & CLKSR_INT1) && msb > 0) in hp300_read_clk() 89 if (msb_new != msb) { in hp300_read_clk() 90 msb = msb_new; in hp300_read_clk() 94 ticks = INTVAL - ((msb << 8) | lsb); in hp300_read_clk()
|
/linux/drivers/watchdog/ |
A D | pcwd_usb.c | 225 buf[1] = *msb; /* Byte 1 = Data MSB */ in usb_pcwd_send_command() 241 cmd, *msb, *lsb); in usb_pcwd_send_command() 255 *msb = usb_pcwd->cmd_data_msb; in usb_pcwd_send_command() 266 unsigned char msb = 0x00; in usb_pcwd_start() local 272 &msb, &lsb); in usb_pcwd_start() 284 unsigned char msb = 0xA5; in usb_pcwd_stop() local 290 &msb, &lsb); in usb_pcwd_stop() 312 unsigned char msb = 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 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() 170 outb_p(*msb, pcipcwd_private.io_addr + 5); in send_command() 195 *msb = inb_p(pcipcwd_private.io_addr + 5); in send_command() 202 cmd, *msb, *lsb); in send_command() 360 int msb; in pcipcwd_clear_status() local 379 msb = 0; in pcipcwd_clear_status() 381 send_command(CMD_GET_CLEAR_RESET_COUNT, &msb, &reset_counter); in pcipcwd_clear_status() 415 int msb; in pcipcwd_get_timeleft() local 420 send_command(CMD_READ_WATCHDOG_TIMEOUT, &msb, &lsb); in pcipcwd_get_timeleft() [all …]
|
/linux/drivers/s390/block/ |
A D | scm_blk.c | 128 struct msb *msb; in scm_request_done() local 133 msb = &scmrq->aob->msb[i]; in scm_request_done() 134 aidaw = msb->data_addr; in scm_request_done() 136 if ((msb->flags & MSB_FLAG_IDA) && aidaw && in scm_request_done() 184 struct msb *msb = &scmrq->aob->msb[pos]; in scm_request_prepare() local 194 msb->bs = MSB_BS_4K; in scm_request_prepare() 196 msb->scm_addr = scmdev->address + ((u64) blk_rq_pos(req) << 9); in scm_request_prepare() 198 msb->flags |= MSB_FLAG_IDA; in scm_request_prepare() 199 msb->data_addr = (u64) aidaw; in scm_request_prepare() 203 msb->blk_count += bv.bv_len >> 12; in scm_request_prepare() [all …]
|
/linux/drivers/media/dvb-core/ |
A D | dvb_math.c | 65 unsigned int msb; in intlog2() local 76 msb = fls(value) - 1; in intlog2() 92 significand = value << (31 - msb); in intlog2() 115 return ((msb << 24) + (logtable[logentry] << 8) + interpolation); in intlog2()
|
/linux/drivers/power/supply/ |
A D | rt5033_battery.c | 18 u32 msb; in rt5033_battery_get_capacity() local 20 regmap_read(battery->regmap, RT5033_FUEL_REG_SOC_H, &msb); in rt5033_battery_get_capacity() 22 return msb; in rt5033_battery_get_capacity() 41 u32 msb, lsb; in rt5033_battery_get_watt_prop() local 60 regmap_read(battery->regmap, regh, &msb); in rt5033_battery_get_watt_prop() 63 ret = ((msb << 4) + (lsb >> 4)) * 1250; in rt5033_battery_get_watt_prop()
|
/linux/drivers/comedi/drivers/ |
A D | das08.c | 177 int lsb, msb; in das08_ai_insn_read() local 215 msb = inb(dev->iobase + DAS08_AI_MSB_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() 238 if (msb & 0x80) in das08_ai_insn_read() 308 unsigned char msb; in das08_ao_set_data() local 311 msb = (data >> 8) & 0xff; in das08_ao_set_data() 314 outb(msb, dev->iobase + DAS08JR_AO_MSB_REG(chan)); in das08_ao_set_data() 319 outb(msb, dev->iobase + DAS08AOX_AO_MSB_REG(chan)); in das08_ao_set_data()
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | hw.c | 214 .msb = 0x00000010, 220 .msb = 0x00000012, 226 .msb = 0x00000000, 268 .msb = 0x00000000, 274 .msb = 0x0000000f, 293 .msb = 0x0000000f, 346 .msb = 0x00000010, 352 .msb = 0x00000011, 358 .msb = 0x0000000f, 377 .msb = 0x00000003, [all …]
|
/linux/include/video/ |
A 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/drivers/iio/proximity/ |
A D | isl29501.c | 134 u8 msb; member 144 .msb = ISL29501_PHASE_MSB, 154 .msb = ISL29501_GAIN_MSB, 177 .msb = ISL29501_PHASE_OFFSET_MSB, 202 u8 msb = 0, lsb = 0; in isl29501_register_read() local 206 if (reg->msb) { in isl29501_register_read() 210 msb = ret; in isl29501_register_read() 221 *val = (msb << 8) + lsb; in isl29501_register_read() 237 if (!reg->msb && value > U8_MAX) in isl29501_register_write() 244 if (reg->msb) { in isl29501_register_write() [all …]
|
/linux/drivers/mfd/ |
A D | atmel-smc.c | 51 unsigned int msb, lsb; in atmel_smc_cs_encode_ncycles() local 54 msb = ncycles / msbfactor; in atmel_smc_cs_encode_ncycles() 59 msb++; in atmel_smc_cs_encode_ncycles() 67 if (msb > msbmask) { in atmel_smc_cs_encode_ncycles() 68 msb = msbmask; in atmel_smc_cs_encode_ncycles() 73 *encodedval = (msb << msbpos) | lsb; in atmel_smc_cs_encode_ncycles()
|
/linux/drivers/staging/pi433/ |
A D | rf69.c | 226 u8 msb; in rf69_set_bit_rate() local 239 msb = (bit_rate_reg & 0xff00) >> 8; in rf69_set_bit_rate() 258 u8 msb; in rf69_set_deviation() local 276 msb = (f_reg & 0xff00) >> 8; in rf69_set_deviation() 280 if (msb & ~FDEVMASB_MASK) { in rf69_set_deviation() 286 retval = rf69_write_reg(spi, REG_FDEV_MSB, msb); in rf69_set_deviation() 302 u8 msb; in rf69_set_frequency() local 322 msb = (f_reg & 0xff0000) >> 16; in rf69_set_frequency() 327 retval = rf69_write_reg(spi, REG_FRF_MSB, msb); in rf69_set_frequency() 648 u8 msb, lsb; in rf69_set_preamble_length() local [all …]
|
/linux/drivers/media/usb/as102/ |
A D | as102_fw.c | 25 char msb = tolower(*src) - '0'; in atohx() local 28 if (msb > 9) in atohx() 29 msb -= 7; in atohx() 33 *dst = value = ((msb & 0xF) << 4) | (lsb & 0xF); in atohx()
|
/linux/arch/mips/sgi-ip22/ |
A D | ip22-time.c | 35 u8 msb; in dosample() local 50 msb = readb(&sgint->tcnt2); in dosample() 52 } while (msb); in dosample()
|
/linux/arch/s390/include/asm/ |
A D | eadm.h | 41 struct msb { struct 76 struct msb msb[AOB_NR_MSB]; member
|
/linux/arch/mips/sni/ |
A D | time.c | 81 volatile u8 msb; in dosample() local 95 msb = inb(0x40); in dosample() 97 } while (msb); in dosample()
|
/linux/arch/sparc/lib/ |
A D | udivdi3.S | 25 sub %i0,%o3,%i0 ! this kills msb of n 33 sub %i0,%o3,%i0 ! this kills msb of n 63 sub %o4,%o3,%o4 ! this kills msb of n 71 sub %o4,%o3,%o4 ! this kills msb of n 89 sub %i0,%o3,%i0 ! this kills msb of n 97 sub %i0,%o3,%i0 ! this kills msb of n 168 sub %o4,%i2,%o4 ! this kills msb of n 176 sub %o4,%i2,%o4 ! this kills msb of n
|