Searched refs:rg (Results 1 – 3 of 3) sorted by relevance
67 mtk_gpio_w32(struct mtk_gc *rg, u32 offset, u32 val) in mtk_gpio_w32() argument69 struct gpio_chip *gc = &rg->chip; in mtk_gpio_w32()72 offset = (rg->bank * GPIO_BANK_STRIDE) + offset; in mtk_gpio_w32()77 mtk_gpio_r32(struct mtk_gc *rg, u32 offset) in mtk_gpio_r32() argument79 struct gpio_chip *gc = &rg->chip; in mtk_gpio_r32()82 offset = (rg->bank * GPIO_BANK_STRIDE) + offset; in mtk_gpio_r32()90 struct mtk_gc *rg = to_mediatek_gpio(gc); in mediatek_gpio_irq_handler() local95 pending = mtk_gpio_r32(rg, GPIO_REG_STAT); in mediatek_gpio_irq_handler()101 mtk_gpio_w32(rg, GPIO_REG_STAT, BIT(bit)); in mediatek_gpio_irq_handler()112 struct mtk_gc *rg = to_mediatek_gpio(gc); in mediatek_gpio_irq_unmask() local[all …]
486 struct report_general_resp rg; member717 struct report_general_resp rg; member
319 s16 rr, rg, rb; member