| /linux/lib/ |
| H A D | btree.c | 152 static void *bval(struct btree_geo *geo, unsigned long *node, int n) in bval() function 216 node = bval(geo, node, 0); in btree_last() 219 return bval(geo, node, 0); in btree_last() 255 node = bval(geo, node, i); in btree_lookup_node() 274 return bval(geo, node, i); in btree_lookup() 330 node = bval(geo, node, i); in btree_get_prev() 341 if (bval(geo, node, i)) { in btree_get_prev() 343 return bval(geo, node, i); in btree_get_prev() 375 if (!bval(geo, node, i)) in getfill() 394 if ((i == geo->no_pairs) || !bval(geo, node, i)) { in find_level() [all …]
|
| /linux/drivers/scsi/ |
| H A 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()
|
| H A D | dc395x.c | 1905 u8 bval; in data_io_transfer() local 2054 bval = (io_dir & DMACMD_DIR) ? SCMD_FIFO_IN : SCMD_FIFO_OUT; in data_io_transfer() 2055 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, bval); in data_io_transfer() 2184 u8 bval; in msgin_set_sync() local 2197 bval = 0; in msgin_set_sync() 2198 while (bval < 7 && (srb->msgin_buf[3] > clock_period[bval] in msgin_set_sync() 2200 clock_period[bval])) in msgin_set_sync() 2201 bval++; in msgin_set_sync() 2203 srb->msgin_buf[3] = clock_period[bval]; in msgin_set_sync() 2205 dcb->sync_period |= ALT_SYNC | bval; in msgin_set_sync() [all …]
|
| H A 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/tools/perf/scripts/python/ |
| H A 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/drivers/iio/chemical/ |
| H A D | scd4x.c | 293 __be16 bval; in scd4x_wait_meas_poll() local 296 ret = scd4x_read(state, CMD_GET_DATA_READY, &bval, sizeof(bval)); in scd4x_wait_meas_poll() 299 val = be16_to_cpu(bval); in scd4x_wait_meas_poll() 466 __be16 bval; in calibration_auto_enable_show() local 470 ret = scd4x_read(state, CMD_GET_ASC, &bval, sizeof(bval)); in calibration_auto_enable_show() 477 val = (be16_to_cpu(bval) & SCD4X_READY_MASK) ? 1 : 0; in calibration_auto_enable_show()
|
| /linux/drivers/gpio/ |
| H A D | gpio-tegra.c | 162 unsigned int bval = BIT(GPIO_BIT(offset)); in tegra_gpio_get() local 165 if (tegra_gpio_readl(tgi, GPIO_OE(tgi, offset)) & bval) in tegra_gpio_get() 166 return !!(tegra_gpio_readl(tgi, GPIO_OUT(tgi, offset)) & bval); in tegra_gpio_get() 168 return !!(tegra_gpio_readl(tgi, GPIO_IN(tgi, offset)) & bval); in tegra_gpio_get()
|
| /linux/drivers/pinctrl/nuvoton/ |
| H A D | pinctrl-ma35.c | 427 u32 bval, regval; in ma35_irq_gpio_unmask() local 429 bval = bank->irqtype & BIT(hwirq); in ma35_irq_gpio_unmask() 432 writel(regval | bval, reg_itype); in ma35_irq_gpio_unmask() 434 bval = bank->irqinten & MA35_GP_INTEN_BOTH(hwirq); in ma35_irq_gpio_unmask() 437 writel(regval | bval, reg_ien); in ma35_irq_gpio_unmask()
|
| /linux/drivers/irqchip/ |
| H A D | irq-gic.c | 774 static void rmw_writeb(u8 bval, void __iomem *addr) in rmw_writeb() argument 787 val |= bval << shift; in rmw_writeb()
|