Searched refs:bdgpio (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-bd70528.c | 19 static int bd70528_set_debounce(struct bd70528_gpio *bdgpio, in bd70528_set_debounce() argument 38 dev_err(bdgpio->chip.dev, in bd70528_set_debounce() 42 return regmap_update_bits(bdgpio->chip.regmap, GPIO_IN_REG(offset), in bd70528_set_debounce() 48 struct bd70528_gpio *bdgpio = gpiochip_get_data(chip); in bd70528_get_direction() local 52 ret = regmap_read(bdgpio->chip.regmap, GPIO_OUT_REG(offset), &val); in bd70528_get_direction() 54 dev_err(bdgpio->chip.dev, "Could not read gpio direction\n"); in bd70528_get_direction() 66 struct bd70528_gpio *bdgpio = gpiochip_get_data(chip); in bd70528_gpio_set_config() local 70 return regmap_update_bits(bdgpio->chip.regmap, in bd70528_gpio_set_config() 76 return regmap_update_bits(bdgpio->chip.regmap, in bd70528_gpio_set_config() 82 return bd70528_set_debounce(bdgpio, offse in bd70528_gpio_set_config() 93 struct bd70528_gpio *bdgpio = gpiochip_get_data(chip); bd70528_direction_input() local 105 struct bd70528_gpio *bdgpio = gpiochip_get_data(chip); bd70528_gpio_set() local 117 struct bd70528_gpio *bdgpio = gpiochip_get_data(chip); bd70528_direction_output() local 127 bd70528_gpio_get_o(struct bd70528_gpio *bdgpio, unsigned int offset) bd70528_gpio_get_o() argument 141 bd70528_gpio_get_i(struct bd70528_gpio *bdgpio, unsigned int offset) bd70528_gpio_get_i() argument 159 struct bd70528_gpio *bdgpio = gpiochip_get_data(chip); bd70528_gpio_get() local 183 struct bd70528_gpio *bdgpio; bd70528_probe() local [all...] |
H A D | gpio-bd71828.c | 22 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_set() local 32 ret = regmap_update_bits(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set() 35 dev_err(bdgpio->chip.dev, "Could not set gpio to %d\n", value); in bd71828_gpio_set() 42 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_get() local 45 ret = regmap_read(bdgpio->chip.regmap, BD71828_REG_IO_STAT, in bd71828_gpio_get() 48 ret = regmap_read(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get() 59 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_set_config() local 66 return regmap_update_bits(bdgpio->chip.regmap, in bd71828_gpio_set_config() 71 return regmap_update_bits(bdgpio->chip.regmap, in bd71828_gpio_set_config() 99 struct bd71828_gpio *bdgpio; in bd71828_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-bd71828.c | 23 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_set() local 33 ret = regmap_update_bits(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set() 36 dev_err(bdgpio->dev, "Could not set gpio to %d\n", value); in bd71828_gpio_set() 43 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_get() local 46 ret = regmap_read(bdgpio->regmap, BD71828_REG_IO_STAT, in bd71828_gpio_get() 49 ret = regmap_read(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get() 60 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_set_config() local 67 return regmap_update_bits(bdgpio->regmap, in bd71828_gpio_set_config() 72 return regmap_update_bits(bdgpio->regmap, in bd71828_gpio_set_config() 101 struct bd71828_gpio *bdgpio; in bd71828_probe() local [all...] |
H A D | gpio-bd71815.c | 60 struct bd71815_gpio *bdgpio = gpiochip_get_data(chip); in bd71815_gpio_set_config() local 64 return regmap_update_bits(bdgpio->regmap, in bd71815_gpio_set_config() 69 return regmap_update_bits(bdgpio->regmap, in bd71815_gpio_set_config()
|
Completed in 2 milliseconds