/linux-5.19.10/lib/ |
D | btree.c | 153 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/ |
D | am53c974.c | 287 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()
|
D | dc395x.c | 2248 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 …]
|
D | esp_scsi.c | 1350 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/ |
D | compaction-times.py | 55 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/ |
D | scd4x.c | 285 __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/ |
D | ali5451.c | 633 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/ |
D | udl_connector.c | 30 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/ |
D | qib_qsfp.c | 257 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/ |
D | gpio-tegra.c | 164 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/ |
D | xc5000.c | 276 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()
|
D | xc4000.c | 534 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/ |
D | irq-gic.c | 776 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/ |
D | psb_intel_sdvo.c | 232 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/ |
D | intel_sdvo.c | 220 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()
|