Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-tegra.c93 u32 bank_count; member
422 for (b = 0; b < tgi->bank_count; b++) { in tegra_gpio_resume()
457 for (b = 0; b < tgi->bank_count; b++) { in tegra_gpio_suspend()
524 for (i = 0; i < tgi->bank_count; i++) { in tegra_dbg_gpio_show()
581 tgi->bank_count = ret; in tegra_gpio_probe()
583 if (!tgi->bank_count) { in tegra_gpio_probe()
598 tgi->gc.ngpio = tgi->bank_count * 32; in tegra_gpio_probe()
617 tgi->bank_info = devm_kcalloc(&pdev->dev, tgi->bank_count, in tegra_gpio_probe()
628 for (i = 0; i < tgi->bank_count; i++) { in tegra_gpio_probe()
643 for (i = 0; i < tgi->bank_count; i++) { in tegra_gpio_probe()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_cnt.c17 unsigned int bank_count; member
35 .bank_count = 6,
41 .bank_count = 2,
284 sub_pool_size = sub_pool->bank_count * bank_size; in mlxsw_sp_counter_resources_register()
301 total_bank_config += sub_pool->bank_count; in mlxsw_sp_counter_resources_register()
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dtegra_gpio.c320 int bank_count; in gpio_tegra_bind() local
331 bank_count = TEGRA_GPIO_BANKS; in gpio_tegra_bind()
343 bank_count = len / 3 / sizeof(u32); in gpio_tegra_bind()
349 for (bank = 0; bank < bank_count; bank++) { in gpio_tegra_bind()
H A Dpca953x_gpio.c73 int bank_count; member
123 ret = dm_i2c_read(dev, reg << 1, val, info->bank_count); in pca953x_read_regs()
126 ret = dm_i2c_read(dev, (reg << 3) | 0x80, val, info->bank_count); in pca953x_read_regs()
288 info->bank_count = DIV_ROUND_UP(info->gpio_count, BANK_SZ); in pca953x_probe()