Home
last modified time | relevance | path

Searched refs:bank_count (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Dpca953x_gpio.c70 int bank_count; member
120 ret = dm_i2c_read(dev, reg << 1, val, info->bank_count); in pca953x_read_regs()
124 info->bank_count); in pca953x_read_regs()
141 ret = dm_i2c_write(dev, reg << 1, val, info->bank_count); in pca953x_write_regs()
144 ret = dm_i2c_write(dev, (reg << 3) | 0x80, val, info->bank_count); in pca953x_write_regs()
295 info->bank_count = DIV_ROUND_UP(info->gpio_count, BANK_SZ); in pca953x_probe()
H A Dtegra_gpio.c317 int bank_count; in gpio_tegra_bind() local
328 bank_count = TEGRA_GPIO_BANKS; in gpio_tegra_bind()
340 bank_count = len / 3 / sizeof(u32); in gpio_tegra_bind()
346 for (bank = 0; bank < bank_count; bank++) { in gpio_tegra_bind()
/openbmc/linux/drivers/gpio/
H A Dgpio-tegra.c98 u32 bank_count; member
394 for (i = 0; i < tgi->bank_count; i++) { in tegra_gpio_irq_handler()
470 for (b = 0; b < tgi->bank_count; b++) { in tegra_gpio_resume()
505 for (b = 0; b < tgi->bank_count; b++) { in tegra_gpio_suspend()
650 for (i = 0; i < tgi->bank_count; i++) { in tegra_dbg_gpio_show()
712 tgi->bank_count = ret; in tegra_gpio_probe()
714 if (!tgi->bank_count) { in tegra_gpio_probe()
728 tgi->gc.ngpio = tgi->bank_count * 32; in tegra_gpio_probe()
746 for (i = 0; i < tgi->bank_count; i++) { in tegra_gpio_probe()
770 irq->num_parents = tgi->bank_count; in tegra_gpio_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_cnt.c17 unsigned int bank_count; member
35 .bank_count = 6,
41 .bank_count = 2,
281 sub_pool_size = sub_pool->bank_count * bank_size; in mlxsw_sp_counter_resources_register()
298 total_bank_config += sub_pool->bank_count; in mlxsw_sp_counter_resources_register()