Lines Matching refs:reg_offset
141 u32 val, reg_offset; in bcm_kona_gpio_set() local
152 reg_offset = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in bcm_kona_gpio_set()
154 val = readl(reg_base + reg_offset); in bcm_kona_gpio_set()
156 writel(val, reg_base + reg_offset); in bcm_kona_gpio_set()
168 u32 val, reg_offset; in bcm_kona_gpio_get() local
176 reg_offset = GPIO_IN_STATUS(bank_id); in bcm_kona_gpio_get()
178 reg_offset = GPIO_OUT_STATUS(bank_id); in bcm_kona_gpio_get()
181 val = readl(reg_base + reg_offset); in bcm_kona_gpio_get()
232 u32 val, reg_offset; in bcm_kona_gpio_direction_output() local
243 reg_offset = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in bcm_kona_gpio_direction_output()
245 val = readl(reg_base + reg_offset); in bcm_kona_gpio_direction_output()
247 writel(val, reg_base + reg_offset); in bcm_kona_gpio_direction_output()