Home
last modified time | relevance | path

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

/linux-5.19.10/lib/
Dbtree.c153 static void *bval(struct btree_geo *geo, unsigned long *node, int n) in bval() function
217 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()
[all …]
/linux-5.19.10/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.c2248 u8 bval; in data_io_transfer() local
2413 bval = (io_dir & DMACMD_DIR) ? SCMD_FIFO_IN : SCMD_FIFO_OUT; in data_io_transfer()
2414 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, bval); in data_io_transfer()
2563 u8 bval; in msgin_set_sync() local
2582 bval = 0; in msgin_set_sync()
2583 while (bval < 7 && (srb->msgin_buf[3] > clock_period[bval] in msgin_set_sync()
2585 clock_period[bval])) in msgin_set_sync()
2586 bval++; in msgin_set_sync()
2587 if (srb->msgin_buf[3] < clock_period[bval]) in msgin_set_sync()
2590 clock_period[bval] << 2); in msgin_set_sync()
[all …]
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-5.19.10/tools/perf/scripts/python/
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-5.19.10/drivers/iio/chemical/
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-5.19.10/sound/pci/ali5451/
Dali5451.c633 u8 bval, R1 = 0, R2; in snd_ali_detect_spdif_rate() local
635 bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate()
636 bval |= 0x1F; in snd_ali_detect_spdif_rate()
637 outb(bval, ALI_REG(codec, ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate()
642 bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate()
643 R1 = bval & 0x1F; in snd_ali_detect_spdif_rate()
653 bval = inb(ALI_REG(codec,ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate()
654 R2 = bval & 0x1F; in snd_ali_detect_spdif_rate()
672 bval = inb(ALI_REG(codec, ALI_SPDIF_CS + 3)) & 0xf0; in snd_ali_detect_spdif_rate()
673 outb(bval | 0x02, ALI_REG(codec, ALI_SPDIF_CS + 3)); in snd_ali_detect_spdif_rate()
[all …]
/linux-5.19.10/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()
/linux-5.19.10/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()
/linux-5.19.10/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()
/linux-5.19.10/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()
/linux-5.19.10/drivers/irqchip/
Dirq-gic.c776 static void rmw_writeb(u8 bval, void __iomem *addr) in rmw_writeb() argument
789 val |= bval << shift; in rmw_writeb()
/linux-5.19.10/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()
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_sdvo.c220 u32 bval = val, cval = val; in intel_sdvo_write_sdvox() local
240 bval = intel_de_read(dev_priv, GEN3_SDVOB); in intel_sdvo_write_sdvox()
248 intel_de_write(dev_priv, GEN3_SDVOB, bval); in intel_sdvo_write_sdvox()