Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/gpio/
H A Dpca953x_gpio.c51 #define BANK_SZ 8 macro
82 int bank_shift = fls((info->gpio_count - 1) / BANK_SZ); in pca953x_write_single()
83 int off = offset / BANK_SZ; in pca953x_write_single()
99 int bank_shift = fls((info->gpio_count - 1) / BANK_SZ); in pca953x_read_single()
100 int off = offset / BANK_SZ; in pca953x_read_single()
139 int bank = offset / BANK_SZ; in pca953x_is_output()
140 int off = offset % BANK_SZ; in pca953x_is_output()
151 int off = offset % BANK_SZ; in pca953x_get_value()
164 int bank = offset / BANK_SZ; in pca953x_set_value()
165 int off = offset % BANK_SZ; in pca953x_set_value()
[all …]