Home
last modified time | relevance | path

Searched refs:msp71xx_chip (Results 1 – 1 of 1) sorted by relevance

/arch/mips/pmcs-msp71xx/
Dgpio_extended.c48 struct msp71xx_exd_gpio_chip *msp71xx_chip = in msp71xx_exd_gpio_get() local
52 return __raw_readl(msp71xx_chip->reg) & (1 << bit); in msp71xx_exd_gpio_get()
67 struct msp71xx_exd_gpio_chip *msp71xx_chip = in msp71xx_exd_gpio_set() local
71 __raw_writel(1 << (bit + (value ? 1 : 0)), msp71xx_chip->reg); in msp71xx_exd_gpio_set()
86 struct msp71xx_exd_gpio_chip *msp71xx_chip = in msp71xx_exd_direction_output() local
90 __raw_writel(1 << MSP71XX_CFG_OUT_OFFSET(offset), msp71xx_chip->reg); in msp71xx_exd_direction_output()
103 struct msp71xx_exd_gpio_chip *msp71xx_chip = in msp71xx_exd_direction_input() local
106 __raw_writel(1 << MSP71XX_CFG_IN_OFFSET(offset), msp71xx_chip->reg); in msp71xx_exd_direction_input()