Searched refs:winbond_sio_reg_read (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-winbond.c | 176 static u8 winbond_sio_reg_read(unsigned long base, u8 reg) in winbond_sio_reg_read() function 186 val = winbond_sio_reg_read(base, reg); in winbond_sio_reg_bset() 195 val = winbond_sio_reg_read(base, reg); in winbond_sio_reg_bclear() 202 return winbond_sio_reg_read(base, reg) & BIT(bit); in winbond_sio_reg_btest() 501 val = winbond_sio_reg_read(base, WB_SIO_REG_GPIO1_MF); in winbond_gpio_configure_port0_pins() 596 chip = winbond_sio_reg_read(base, WB_SIO_REG_CHIP_MSB) << 8; in winbond_gpio_check_chip() 597 chip |= winbond_sio_reg_read(base, WB_SIO_REG_CHIP_LSB); in winbond_gpio_check_chip()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-winbond.c | 176 static u8 winbond_sio_reg_read(unsigned long base, u8 reg) in winbond_sio_reg_read() function 186 val = winbond_sio_reg_read(base, reg); in winbond_sio_reg_bset() 195 val = winbond_sio_reg_read(base, reg); in winbond_sio_reg_bclear() 202 return winbond_sio_reg_read(base, reg) & BIT(bit); in winbond_sio_reg_btest() 501 val = winbond_sio_reg_read(base, WB_SIO_REG_GPIO1_MF); in winbond_gpio_configure_port0_pins() 596 chip = winbond_sio_reg_read(base, WB_SIO_REG_CHIP_MSB) << 8; in winbond_gpio_check_chip() 597 chip |= winbond_sio_reg_read(base, WB_SIO_REG_CHIP_LSB); in winbond_gpio_check_chip()
|
Completed in 3 milliseconds