Searched refs:bit_per_gpio (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/drivers/gpio/ |
D | gpio-creg-snps.c | 20 u8 bit_per_gpio[MAX_GPIO]; member 42 reg_shift += layout->bit_per_gpio[i] + layout->shift[i]; in creg_gpio_set() 46 reg &= ~(GENMASK(layout->bit_per_gpio[i] - 1, 0) << reg_shift); in creg_gpio_set() 64 if (layout->bit_per_gpio[i] < 1 || layout->bit_per_gpio[i] > 8) in creg_gpio_validate_pg() 68 if (GENMASK(31, layout->bit_per_gpio[i]) & layout->on[i]) in creg_gpio_validate_pg() 72 if (GENMASK(31, layout->bit_per_gpio[i]) & layout->off[i]) in creg_gpio_validate_pg() 99 reg_len += hcg->layout->shift[i] + hcg->layout->bit_per_gpio[i]; in creg_gpio_validate() 114 .bit_per_gpio = { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 } 122 .bit_per_gpio = { 2 }
|