/drivers/staging/lustre/lustre/lov/ |
H A D | lovsub_page.c | 65 struct lovsub_page *lsb = cl_object_page_slice(obj, page); local 67 cl_page_slice_add(page, &lsb->lsb_cl, obj, &lovsub_page_ops);
|
/drivers/pinctrl/berlin/ |
H A D | berlin.h | 25 u8 lsb; member in struct:berlin_desc_group 45 .lsb = _lsb, \
|
/drivers/iio/adc/ |
H A D | lp8788_adc.c | 55 unsigned int lsb; local 87 lsb = (rawdata[1] >> 4) & 0x0000000f; 88 result = msb | lsb;
|
/drivers/media/usb/as102/ |
H A D | as102_fw.c | 35 char lsb = tolower(*(src + 1)) - '0'; local 39 if (lsb > 9) 40 lsb -= 7; 42 *dst = value = ((msb & 0xF) << 4) | (lsb & 0xF);
|
/drivers/mfd/ |
H A D | stw481x.c | 48 u8 lsb = (reg << 5) & 0xe0; local 56 ret = regmap_write(stw481x->map, STW_PCTL_REG_LO, lsb);
|
/drivers/hwmon/ |
H A D | emc6w201.c | 76 int lsb, msb; local 78 lsb = i2c_smbus_read_byte_data(client, reg); 80 if (unlikely(lsb < 0 || msb < 0)) { 86 return (msb << 8) | lsb;
|
H A D | max1111.c | 49 int lsb; member in struct:max1111_data 119 return sprintf(buf, "%d\n", ret * data->lsb); 200 data->lsb = 8; 204 data->lsb = 8; 208 data->lsb = 16; 212 data->lsb = 16;
|
H A D | sch56xx-common.c | 221 int lsb, msb; local 224 lsb = sch56xx_read_virtual_reg(addr, reg); 225 if (lsb < 0) 226 return lsb; 232 return lsb | (msb << 8);
|
H A D | asc7621.c | 121 u8 lsb[3]; member in struct:asc7621_param 253 regval = (data->reg[param->msb[0]] << 8) | data->reg[param->lsb[0]]; 281 data->reg[param->lsb[0]] = reqval & 0xff; 283 write_byte(client, param->lsb[0], data->reg[param->lsb[0]]); 315 regval = (data->reg[param->msb[0]] << 8) | (data->reg[param->lsb[0]]); 401 u8 msb, lsb; local 406 lsb = (data->reg[param->lsb[0]] >> 6) & 0x03; 407 temp = (((s8) msb) * 1000) + (lsb * 25 [all...] |
/drivers/media/dvb-frontends/ |
H A D | zl10353_priv.h | 30 #define lsb(x) ((x) & 0xff) macro
|
H A D | rtl2832.c | 280 u8 msb, lsb; local 291 lsb = registers[reg].lsb; 295 mask = REG_MASK(msb - lsb); 305 *val = (reading_tmp >> lsb) & mask; 320 u8 msb, lsb; local 333 lsb = registers[reg].lsb; 337 mask = REG_MASK(msb - lsb); 348 writing_tmp = reading_tmp & ~(mask << lsb); [all...] |
H A D | mt352_priv.h | 39 #define lsb(x) ((x) & 0xff) macro
|
/drivers/misc/ |
H A D | bh1780gli.c | 74 int lsb, msb; local 76 lsb = bh1780_read(ddata, BH1780_REG_DLOW, "DLOW"); 77 if (lsb < 0) 78 return lsb; 84 return sprintf(buf, "%d\n", (msb << 8) | lsb);
|
H A D | isl29003.c | 169 int lsb, msb, range, bitdepth; local 172 lsb = i2c_smbus_read_byte_data(client, ISL29003_REG_LSB_SENSOR); 174 if (lsb < 0) { 176 return lsb; 187 return (((msb << 8) | lsb) * gain_range[range]) >> bitdepth;
|
/drivers/power/ |
H A D | max17040_battery.c | 116 u8 lsb; local 119 lsb = max17040_read_reg(client, MAX17040_VCELL_LSB); 121 chip->vcell = (msb << 4) + (lsb >> 4); 128 u8 lsb; local 131 lsb = max17040_read_reg(client, MAX17040_SOC_LSB); 139 u8 lsb; local 142 lsb = max17040_read_reg(client, MAX17040_VER_LSB); 144 dev_info(&client->dev, "MAX17040 Fuel-Gauge Ver %d%d\n", msb, lsb);
|
/drivers/staging/comedi/drivers/ |
H A D | das08.c | 225 int lsb, msb; local 264 lsb = inb(dev->iobase + DAS08_LSB); 266 data[n] = (lsb >> 4) | (msb << 4); 268 data[n] = (msb << 8) + lsb; 272 data[n] = (1 << 15) | lsb | ((msb & 0x7f) << 8); 274 data[n] = (1 << 15) - (lsb | (msb & 0x7f) << 8); 341 unsigned char lsb; local 344 lsb = data & 0xff; 347 outb(lsb, dev->iobase + DAS08JR_AO_LSB(chan)); 352 outb(lsb, de [all...] |
H A D | das800.c | 453 unsigned int lsb = inb(dev->iobase + DAS800_LSB); local 456 return (msb << 8) | lsb;
|
H A D | ni_labpc_common.c | 231 unsigned int lsb = devpriv->read_byte(dev, ADC_FIFO_REG); local 234 return (msb << 8) | lsb; 930 int lsb, msb; local 953 lsb = data[0] & 0xff; 955 devpriv->write_byte(dev, lsb, DAC_LSB_REG(channel)); 1317 short lsb, msb; local 1320 lsb = devpriv->ao_value[i] & 0xff; 1322 devpriv->write_byte(dev, lsb, DAC_LSB_REG(i));
|
/drivers/spi/ |
H A D | spi-nuc900.c | 259 static void nuc900_send_first(struct nuc900_spi *hw, unsigned int lsb) argument 268 if (lsb) 322 nuc900_send_first(hw, hw->pdata->lsb); 357 if (hw->pdata->lsb)
|
/drivers/staging/iio/adc/ |
H A D | spear_adc.c | 58 u32 lsb; member in struct:chan_data
|
/drivers/staging/media/cxd2099/ |
H A D | cxd2099.c | 637 u8 msb, lsb; local 650 read_reg(ci, 0x10, &lsb); 651 len = (msb<<8)|lsb;
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_lan_hmc.c | 691 u16 lsb; member in struct:i40e_context_ele 765 shift_width = ce_info->lsb % 8; 776 dest = hmc_bits + (ce_info->lsb / 8); 806 shift_width = ce_info->lsb % 8; 820 dest = hmc_bits + (ce_info->lsb / 8); 850 shift_width = ce_info->lsb % 8; 872 dest = hmc_bits + (ce_info->lsb / 8); 902 shift_width = ce_info->lsb % 8; 924 dest = hmc_bits + (ce_info->lsb / 8);
|
/drivers/staging/iio/light/ |
H A D | isl29028.c | 166 unsigned int lsb; local 170 ret = regmap_read(chip->regmap, ISL29028_REG_ALSIR_L, &lsb); 184 *als_ir = ((msb & 0xF) << 8) | (lsb & 0xFF);
|
/drivers/watchdog/ |
H A D | pcwd_pci.c | 158 static int send_command(int cmd, int *msb, int *lsb) argument 163 pr_debug("sending following data cmd=0x%02x msb=0x%02x lsb=0x%02x\n", 164 cmd, *msb, *lsb); 173 outb_p(*lsb, pcipcwd_private.io_addr + 4); 198 *lsb = inb_p(pcipcwd_private.io_addr + 4); 205 pr_debug("received following data for cmd=0x%02x: msb=0x%02x lsb=0x%02x\n", 206 cmd, *msb, *lsb); 420 int lsb; local 424 send_command(CMD_READ_WATCHDOG_TIMEOUT, &msb, &lsb); 426 *time_left = (msb << 8) + lsb; [all...] |
H A D | pcwd_usb.c | 195 dev_dbg(dev, "received following data cmd=0x%02x msb=0x%02x lsb=0x%02x", 213 unsigned char cmd, unsigned char *msb, unsigned char *lsb) 231 buf[2] = *lsb; /* Byte 2 = Data LSB */ 235 "sending following data cmd=0x%02x msb=0x%02x lsb=0x%02x", 246 cmd, *msb, *lsb); 261 *lsb = usb_pcwd->cmd_data_lsb; 272 unsigned char lsb = 0x00; local 277 &msb, &lsb); 279 if ((retval == 0) || (lsb == 0)) { 290 unsigned char lsb local 212 usb_pcwd_send_command(struct usb_pcwd_private *usb_pcwd, unsigned char cmd, unsigned char *msb, unsigned char *lsb) argument 318 unsigned char lsb = t % 256; local 333 unsigned char msb, lsb; local 349 unsigned char msb, lsb; local [all...] |