Searched refs:sgpio_readl (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/gpio/ |
H A D | mscc_sgpio.c | 79 static inline u32 sgpio_readl(struct mscc_sgpio_priv *priv, u32 rno, u32 off) in sgpio_readl() function 161 ret = !!(sgpio_readl(priv, REG_INPUT_DATA, bit) & BIT(port)); in mscc_sgpio_get_value() 163 u32 portval = sgpio_readl(priv, REG_PORT_CONFIG, port); in mscc_sgpio_get_value()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-microchip-sgpio.c | 153 static u32 sgpio_readl(struct sgpio_priv *priv, u32 rno, u32 off) in sgpio_readl() function 328 u32 val, portval = sgpio_readl(priv, REG_PORT_CONFIG, addr->port); in sgpio_output_get() 351 return !!(sgpio_readl(priv, REG_INPUT_DATA, addr->bit) & BIT(addr->port)); in sgpio_input_get() 656 ena = sgpio_readl(bank->priv, REG_INT_ENABLE, addr.bit); in microchip_sgpio_irq_settype() 770 val = sgpio_readl(priv, REG_INT_IDENT, bit); in sgpio_irq_handler()
|