Searched refs:BANK_SZ (Results 1 – 1 of 1) sorted by relevance
51 #define BANK_SZ 8 macro82 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 …]