Searched refs:nsp_get_bit (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/ |
H A D | pinctrl-nsp-gpio.c | 124 * nsp_get_bit - get one bit (corresponding to the GPIO pin) in a 127 static inline bool nsp_get_bit(struct nsp_gpio *chip, enum base_type address, in nsp_get_bit() function 230 falling = nsp_get_bit(chip, REG, NSP_GPIO_EVENT_INT_POLARITY, gpio); in nsp_gpio_irq_set_type() 231 level_low = nsp_get_bit(chip, REG, NSP_GPIO_INT_POLARITY, gpio); in nsp_gpio_irq_set_type() 307 val = nsp_get_bit(chip, REG, NSP_GPIO_OUT_EN, gpio); in nsp_gpio_get_direction() 385 *pull_up = nsp_get_bit(chip, IO_CTRL, NSP_PULL_UP_EN, gpio); in nsp_gpio_get_pull() 386 *pull_down = nsp_get_bit(chip, IO_CTRL, NSP_PULL_DOWN_EN, gpio); in nsp_gpio_get_pull()
|
/kernel/linux/linux-6.6/drivers/pinctrl/bcm/ |
H A D | pinctrl-nsp-gpio.c | 112 * nsp_get_bit - get one bit (corresponding to the GPIO pin) in a 115 static inline bool nsp_get_bit(struct nsp_gpio *chip, enum base_type address, in nsp_get_bit() function 219 falling = nsp_get_bit(chip, REG, NSP_GPIO_EVENT_INT_POLARITY, gpio); in nsp_gpio_irq_set_type() 220 level_low = nsp_get_bit(chip, REG, NSP_GPIO_INT_POLARITY, gpio); in nsp_gpio_irq_set_type() 306 val = nsp_get_bit(chip, REG, NSP_GPIO_OUT_EN, gpio); in nsp_gpio_get_direction() 384 *pull_up = nsp_get_bit(chip, IO_CTRL, NSP_PULL_UP_EN, gpio); in nsp_gpio_get_pull() 385 *pull_down = nsp_get_bit(chip, IO_CTRL, NSP_PULL_DOWN_EN, gpio); in nsp_gpio_get_pull()
|
Completed in 3 milliseconds