Searched refs:sgpio_writel (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/gpio/ |
H A D | mscc_sgpio.c | 86 static inline void sgpio_writel(struct mscc_sgpio_priv *priv, in sgpio_writel() function 246 sgpio_writel(priv, 0, REG_PORT_CONFIG, port); in mscc_sgpio_probe() 247 sgpio_writel(priv, priv->ports, REG_PORT_ENABLE, 0); in mscc_sgpio_probe()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-microchip-sgpio.c | 165 static void sgpio_writel(struct sgpio_priv *priv, in sgpio_writel() function 657 sgpio_writel(bank->priv, ena & ~BIT(addr.port), REG_INT_ENABLE, addr.bit); in microchip_sgpio_irq_settype() 670 sgpio_writel(bank->priv, ena, REG_INT_ENABLE, addr.bit); in microchip_sgpio_irq_settype() 717 sgpio_writel(bank->priv, BIT(addr.port), REG_INT_ACK, addr.bit); in microchip_sgpio_irq_ack() 891 sgpio_writel(priv, 0, REG_INT_ENABLE, i); in microchip_sgpio_register_bank() 982 sgpio_writel(priv, 0, REG_PORT_CONFIG, port); in microchip_sgpio_probe() 983 sgpio_writel(priv, priv->ports, REG_PORT_ENABLE, 0); in microchip_sgpio_probe()
|