Lines Matching refs:reg_offset
131 u32 val, reg_offset; in bcm_kona_gpio_set() local
146 reg_offset = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in bcm_kona_gpio_set()
148 val = readl(reg_base + reg_offset); in bcm_kona_gpio_set()
150 writel(val, reg_base + reg_offset); in bcm_kona_gpio_set()
162 u32 val, reg_offset; in bcm_kona_gpio_get() local
174 reg_offset = (GPIO_GPCTR0_IOTR_CMD_INPUT == val) ? in bcm_kona_gpio_get()
176 val = readl(reg_base + reg_offset); in bcm_kona_gpio_get()
227 u32 val, reg_offset; in bcm_kona_gpio_direction_output() local
238 reg_offset = value ? GPIO_OUT_SET(bank_id) : GPIO_OUT_CLEAR(bank_id); in bcm_kona_gpio_direction_output()
240 val = readl(reg_base + reg_offset); in bcm_kona_gpio_direction_output()
242 writel(val, reg_base + reg_offset); in bcm_kona_gpio_direction_output()