Lines Matching refs:bgwrite
72 #define bgwrite(dat, adr) writel((dat), bg->mmio+(adr)) macro
91 bgwrite(data, BT848_GPIO_DATA); in bt8xxgpio_gpio_direction_input()
95 bgwrite(outen, BT848_GPIO_OUT_EN); in bt8xxgpio_gpio_direction_input()
126 bgwrite(outen, BT848_GPIO_OUT_EN); in bt8xxgpio_gpio_direction_output()
133 bgwrite(data, BT848_GPIO_DATA); in bt8xxgpio_gpio_direction_output()
154 bgwrite(data, BT848_GPIO_DATA); in bt8xxgpio_gpio_set()
212 bgwrite(0, BT848_INT_MASK); in bt8xxgpio_probe()
215 bgwrite(0, BT848_GPIO_DMA_CTL); in bt8xxgpio_probe()
216 bgwrite(0, BT848_GPIO_REG_INP); in bt8xxgpio_probe()
217 bgwrite(0, BT848_GPIO_OUT_EN); in bt8xxgpio_probe()
240 bgwrite(0, BT848_INT_MASK); in bt8xxgpio_remove()
241 bgwrite(~0x0, BT848_INT_STAT); in bt8xxgpio_remove()
242 bgwrite(0x0, BT848_GPIO_OUT_EN); in bt8xxgpio_remove()
258 bgwrite(0, BT848_INT_MASK); in bt8xxgpio_suspend()
259 bgwrite(~0x0, BT848_INT_STAT); in bt8xxgpio_suspend()
260 bgwrite(0x0, BT848_GPIO_OUT_EN); in bt8xxgpio_suspend()
285 bgwrite(0, BT848_INT_MASK); in bt8xxgpio_resume()
286 bgwrite(0, BT848_GPIO_DMA_CTL); in bt8xxgpio_resume()
287 bgwrite(0, BT848_GPIO_REG_INP); in bt8xxgpio_resume()
288 bgwrite(bg->saved_outen, BT848_GPIO_OUT_EN); in bt8xxgpio_resume()
289 bgwrite(bg->saved_data & bg->saved_outen, in bt8xxgpio_resume()