Searched refs:PINS_PER_GPIO_CHIP (Results 1 – 1 of 1) sorted by relevance
82 #define PINS_PER_GPIO_CHIP 32 macro3309 jzgc->gc.base / PINS_PER_GPIO_CHIP); in ingenic_gpio_shadow_set_bit_load()3579 unsigned int idx = pin % PINS_PER_GPIO_CHIP; in ingenic_config_pin()3580 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_config_pin()3602 unsigned int idx = pin % PINS_PER_GPIO_CHIP; in ingenic_shadow_config_pin()3612 pin / PINS_PER_GPIO_CHIP); in ingenic_shadow_config_pin_load()3624 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in jz4730_config_pin_function()3625 u8 reg = (pin % PINS_PER_GPIO_CHIP) < JZ4730_PINS_PER_PAIRED_REG ? reg_lower : reg_upper; in jz4730_config_pin_function()3634 unsigned int idx = pin % PINS_PER_GPIO_CHIP; in ingenic_get_pin_config()3635 unsigned int offt = pin / PINS_PER_GPIO_CHIP; in ingenic_get_pin_config()[all …]