Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dmscc_sgpio.c94 static void sgpio_clrsetbits(struct mscc_sgpio_priv *priv, in sgpio_clrsetbits() function
126 sgpio_clrsetbits(priv, REG_PORT_CONFIG, port, in mscc_sgpio_direction_output()
234 sgpio_clrsetbits(priv, REG_SIO_CONFIG, 0, in mscc_sgpio_probe()
241 sgpio_clrsetbits(priv, REG_SIO_CLOCK, 0, in mscc_sgpio_probe()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-microchip-sgpio.c175 static inline void sgpio_clrsetbits(struct sgpio_priv *priv, in sgpio_clrsetbits() function
209 sgpio_clrsetbits(priv, REG_SIO_CONFIG, 0, clr, set); in sgpio_configure_bitstream()
232 sgpio_clrsetbits(priv, REG_SIO_CLOCK, 0, clr, set); in sgpio_configure_clock()
660 sgpio_clrsetbits(bank->priv, REG_INT_TRIGGER, addr.bit, in microchip_sgpio_irq_settype()
662 sgpio_clrsetbits(bank->priv, REG_INT_TRIGGER, SGPIO_MAX_BITS + addr.bit, in microchip_sgpio_irq_settype()
666 sgpio_clrsetbits(bank->priv, REG_INT_POLARITY, addr.bit, in microchip_sgpio_irq_settype()
687 sgpio_clrsetbits(bank->priv, reg, addr.bit, BIT(addr.port), 0); in microchip_sgpio_irq_setreg()
689 sgpio_clrsetbits(bank->priv, reg, addr.bit, 0, BIT(addr.port)); in microchip_sgpio_irq_setreg()
893 sgpio_clrsetbits(priv, REG_SIO_CONFIG, 0, 0, SGPIO_MASTER_INTR_ENA); in microchip_sgpio_register_bank()