Home
last modified time | relevance | path

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

/linux/lib/
A Dbtree.c217 node = bval(geo, node, 0); in btree_last()
220 return bval(geo, node, 0); in btree_last()
256 node = bval(geo, node, i); in btree_lookup()
266 return bval(geo, node, i); in btree_lookup()
286 node = bval(geo, node, i); in btree_update()
335 node = bval(geo, node, i); in btree_get_prev()
346 if (bval(geo, node, i)) { in btree_get_prev()
348 return bval(geo, node, i); in btree_get_prev()
380 if (!bval(geo, node, i)) in getfill()
407 node = bval(geo, node, i); in find_level()
[all …]
/linux/drivers/scsi/
A 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()
A Ddc395x.c2249 u8 bval; in data_io_transfer() local
2564 u8 bval; in msgin_set_sync() local
2583 bval = 0; in msgin_set_sync()
2584 while (bval < 7 && (srb->msgin_buf[3] > clock_period[bval] in msgin_set_sync()
2587 bval++; in msgin_set_sync()
2942 if (bval & 0x40) { in disconnect()
2945 bval); in disconnect()
3422 u8 bval; in set_basic_config() local
4127 u8 bval; in adapter_print_config() local
4134 if (!(bval & CON68)) in adapter_print_config()
[all …]
A Desp_scsi.c1350 u8 bval = esp_read8(ESP_FDATA); in esp_data_bytes_sent() local
1353 ent->sense_ptr[bytes_sent] = bval; in esp_data_bytes_sent()
1361 *(ptr + offset) = bval; in esp_data_bytes_sent()
/linux/tools/perf/scripts/python/
A Dcompaction-times.py55 def __init__(self, aval, bval, alabel = None, blabel = None): argument
59 self.bval = bval
63 self.bval += rhs.bval
67 return "%s=%d %s=%d" % (self.alabel, self.aval, self.blabel, self.bval)
/linux/drivers/iio/chemical/
A Dscd4x.c285 __be16 bval; in scd4x_wait_meas_poll() local
288 ret = scd4x_read(state, CMD_GET_DATA_READY, &bval, sizeof(bval)); in scd4x_wait_meas_poll()
291 val = be16_to_cpu(bval); in scd4x_wait_meas_poll()
413 __be16 bval; in calibration_auto_enable_show() local
417 ret = scd4x_read(state, CMD_GET_ASC, &bval, sizeof(bval)); in calibration_auto_enable_show()
424 val = (be16_to_cpu(bval) & SCD4X_READY_MASK) ? 1 : 0; in calibration_auto_enable_show()
/linux/sound/pci/ali5451/
A Dali5451.c633 u8 bval, R1 = 0, R2; in snd_ali_detect_spdif_rate() local
636 bval |= 0x1F; in snd_ali_detect_spdif_rate()
643 R1 = bval & 0x1F; in snd_ali_detect_spdif_rate()
654 R2 = bval & 0x1F; in snd_ali_detect_spdif_rate()
688 u8 bval; in snd_ali_get_spdif_in_rate() local
690 bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_get_spdif_in_rate()
691 bval &= 0x7f; in snd_ali_get_spdif_in_rate()
692 bval |= 0x40; in snd_ali_get_spdif_in_rate()
693 outb(bval, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_get_spdif_in_rate()
698 bval &= 0x0f; in snd_ali_get_spdif_in_rate()
[all …]
/linux/drivers/gpu/drm/udl/
A 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()
/linux/drivers/infiniband/hw/qib/
A 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()
/linux/drivers/gpio/
A 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()
/linux/drivers/media/tuners/
A 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()
A 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()
/linux/drivers/gpu/drm/gma500/
A 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()
/linux/drivers/irqchip/
A Dirq-gic.c779 static void rmw_writeb(u8 bval, void __iomem *addr) in rmw_writeb() argument
792 val |= bval << shift; in rmw_writeb()
/linux/drivers/gpu/drm/i915/display/
A 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()

Completed in 61 milliseconds