Home
last modified time | relevance | path

Searched refs:bval (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/
Dam53c974.c287 u8 carry_flag = 1, j = 0x80, bval; in dc390_eeprom_prepare_read() local
293 bval = 0xc0; in dc390_eeprom_prepare_read()
295 bval = 0x80; in dc390_eeprom_prepare_read()
298 pci_write_config_byte(pdev, 0x80, bval); in dc390_eeprom_prepare_read()
312 u8 bval; in dc390_eeprom_get_data() local
321 pci_read_config_byte(pdev, 0x00, &bval); in dc390_eeprom_get_data()
323 if (bval == 0x22) in dc390_eeprom_get_data()
Ddc395x.c2250 u8 bval; in data_io_transfer() local
2415 bval = (io_dir & DMACMD_DIR) ? SCMD_FIFO_IN : SCMD_FIFO_OUT; in data_io_transfer()
2416 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, bval); in data_io_transfer()
2565 u8 bval; in msgin_set_sync() local
2584 bval = 0; in msgin_set_sync()
2585 while (bval < 7 && (srb->msgin_buf[3] > clock_period[bval] in msgin_set_sync()
2587 clock_period[bval])) in msgin_set_sync()
2588 bval++; in msgin_set_sync()
2589 if (srb->msgin_buf[3] < clock_period[bval]) in msgin_set_sync()
2592 clock_period[bval] << 2); in msgin_set_sync()
[all …]
Desp_scsi.c1352 u8 bval = esp_read8(ESP_FDATA); in esp_data_bytes_sent() local
1355 ent->sense_ptr[bytes_sent] = bval; in esp_data_bytes_sent()
1363 *(ptr + offset) = bval; in esp_data_bytes_sent()
/drivers/gpu/drm/udl/
Dudl_connector.c30 int bval = (i + block * EDID_LENGTH) << 8; in udl_get_edid_block() local
32 0x02, (0x80 | (0x02 << 5)), bval, in udl_get_edid_block()
/drivers/infiniband/hw/qib/
Dqib_qsfp.c257 u8 bval; in qsfp_cks() local
261 ret = qsfp_read(ppd, first, &bval, 1); in qsfp_cks()
264 cks += bval; in qsfp_cks()
/drivers/gpio/
Dgpio-tegra.c164 unsigned int bval = BIT(GPIO_BIT(offset)); in tegra_gpio_get() local
167 if (tegra_gpio_readl(tgi, GPIO_OE(tgi, offset)) & bval) in tegra_gpio_get()
168 return !!(tegra_gpio_readl(tgi, GPIO_OUT(tgi, offset)) & bval); in tegra_gpio_get()
170 return !!(tegra_gpio_readl(tgi, GPIO_IN(tgi, offset)) & bval); in tegra_gpio_get()
/drivers/media/tuners/
Dxc5000.c276 u8 bval[2] = { 0, 0 }; in xc5000_readreg() local
281 .flags = I2C_M_RD, .buf = &bval[0], .len = 2 }, in xc5000_readreg()
289 *val = (bval[0] << 8) | bval[1]; in xc5000_readreg()
Dxc4000.c534 u8 bval[2] = { 0, 0 }; in xc4000_readreg() local
539 .flags = I2C_M_RD, .buf = &bval[0], .len = 2 }, in xc4000_readreg()
547 *val = (bval[0] << 8) | bval[1]; in xc4000_readreg()
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c232 u32 bval = val, cval = val; in psb_intel_sdvo_write_sdvox() local
240 bval = REG_READ_WITH_AUX(SDVOB, j); in psb_intel_sdvo_write_sdvox()
248 REG_WRITE_WITH_AUX(SDVOB, bval, j); in psb_intel_sdvo_write_sdvox()
/drivers/irqchip/
Dirq-gic.c802 static void rmw_writeb(u8 bval, void __iomem *addr) in rmw_writeb() argument
815 val |= bval << shift; in rmw_writeb()
/drivers/gpu/drm/i915/display/
Dintel_sdvo.c219 u32 bval = val, cval = val; in intel_sdvo_write_sdvox() local
239 bval = intel_de_read(dev_priv, GEN3_SDVOB); in intel_sdvo_write_sdvox()
247 intel_de_write(dev_priv, GEN3_SDVOB, bval); in intel_sdvo_write_sdvox()