Searched refs:PINS_PER_GPIO_CHIP (Results 1 – 1 of 1) sorted by relevance
80 #define PINS_PER_GPIO_CHIP 32 macro3299 jzgc->gc.base / PINS_PER_GPIO_CHIP); in ingenic_gpio_shadow_set_bit_load()3575 unsigned int idx = pin % PINS_PER_GPIO_CHIP; in ingenic_config_pin()3576 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_config_pin()3598 unsigned int idx = pin % PINS_PER_GPIO_CHIP; in ingenic_shadow_config_pin()3608 pin / PINS_PER_GPIO_CHIP); in ingenic_shadow_config_pin_load()3620 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in jz4730_config_pin_function()3621 u8 reg = (pin % PINS_PER_GPIO_CHIP) < JZ4730_PINS_PER_PAIRED_REG ? reg_lower : reg_upper; in jz4730_config_pin_function()3630 unsigned int idx = pin % PINS_PER_GPIO_CHIP; in ingenic_get_pin_config()3631 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_get_pin_config()[all …]