Home
last modified time | relevance | path

Searched refs:gpio_chip (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/linux-6.12.1/include/linux/gpio/
Ddriver.h30 struct gpio_chip;
102 int (*child_to_parent_hwirq)(struct gpio_chip *gc,
117 int (*populate_parent_alloc_arg)(struct gpio_chip *gc,
130 unsigned int (*child_offset_to_irq)(struct gpio_chip *gc,
263 int (*init_hw)(struct gpio_chip *gc);
274 void (*init_valid_mask)(struct gpio_chip *gc,
417 struct gpio_chip { struct
424 int (*request)(struct gpio_chip *gc, argument
426 void (*free)(struct gpio_chip *gc, argument
428 int (*get_direction)(struct gpio_chip *gc, argument
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-rc5t583.c20 struct gpio_chip gpio_chip; member
24 static int rc5t583_gpio_get(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_get()
38 static void rc5t583_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in rc5t583_gpio_set()
48 static int rc5t583_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_dir_input()
62 static int rc5t583_gpio_dir_output(struct gpio_chip *gc, unsigned offset, in rc5t583_gpio_dir_output()
78 static int rc5t583_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_to_irq()
88 static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_free()
107 rc5t583_gpio->gpio_chip.label = "gpio-rc5t583", in rc5t583_gpio_probe()
108 rc5t583_gpio->gpio_chip.owner = THIS_MODULE, in rc5t583_gpio_probe()
109 rc5t583_gpio->gpio_chip.free = rc5t583_gpio_free, in rc5t583_gpio_probe()
[all …]
Dgpio-tps6586x.c26 struct gpio_chip gpio_chip; member
30 static int tps6586x_gpio_get(struct gpio_chip *gc, unsigned offset) in tps6586x_gpio_get()
43 static void tps6586x_gpio_set(struct gpio_chip *gc, unsigned offset, in tps6586x_gpio_set()
52 static int tps6586x_gpio_output(struct gpio_chip *gc, unsigned offset, in tps6586x_gpio_output()
67 static int tps6586x_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in tps6586x_gpio_to_irq()
90 tps6586x_gpio->gpio_chip.owner = THIS_MODULE; in tps6586x_gpio_probe()
91 tps6586x_gpio->gpio_chip.label = pdev->name; in tps6586x_gpio_probe()
92 tps6586x_gpio->gpio_chip.parent = &pdev->dev; in tps6586x_gpio_probe()
93 tps6586x_gpio->gpio_chip.ngpio = 4; in tps6586x_gpio_probe()
94 tps6586x_gpio->gpio_chip.can_sleep = true; in tps6586x_gpio_probe()
[all …]
Dgpio-tps65910.c21 struct gpio_chip gpio_chip; member
25 static int tps65910_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65910_gpio_get()
39 static void tps65910_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65910_gpio_set()
53 static int tps65910_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65910_gpio_output()
66 static int tps65910_gpio_input(struct gpio_chip *gc, unsigned offset) in tps65910_gpio_input()
123 tps65910_gpio->gpio_chip.owner = THIS_MODULE; in tps65910_gpio_probe()
124 tps65910_gpio->gpio_chip.label = tps65910->i2c_client->name; in tps65910_gpio_probe()
128 tps65910_gpio->gpio_chip.ngpio = TPS65910_NUM_GPIO; in tps65910_gpio_probe()
131 tps65910_gpio->gpio_chip.ngpio = TPS65911_NUM_GPIO; in tps65910_gpio_probe()
136 tps65910_gpio->gpio_chip.can_sleep = true; in tps65910_gpio_probe()
[all …]
Dgpio-moxtet.c30 struct gpio_chip gpio_chip; member
34 static int moxtet_gpio_get_value(struct gpio_chip *gc, unsigned int offset) in moxtet_gpio_get_value()
55 static void moxtet_gpio_set_value(struct gpio_chip *gc, unsigned int offset, in moxtet_gpio_set_value()
75 static int moxtet_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in moxtet_gpio_get_direction()
88 static int moxtet_gpio_direction_input(struct gpio_chip *gc, in moxtet_gpio_direction_input()
101 static int moxtet_gpio_direction_output(struct gpio_chip *gc, in moxtet_gpio_direction_output()
135 chip->gpio_chip.parent = dev; in moxtet_gpio_probe()
140 chip->gpio_chip.label = dev_name(dev); in moxtet_gpio_probe()
141 chip->gpio_chip.get_direction = moxtet_gpio_get_direction; in moxtet_gpio_probe()
142 chip->gpio_chip.direction_input = moxtet_gpio_direction_input; in moxtet_gpio_probe()
[all …]
Dgpio-em.c28 struct gpio_chip gpio_chip; member
94 ret = gpiochip_lock_as_irq(&p->gpio_chip, irqd_to_hwirq(d)); in em_gio_irq_reqres()
96 dev_err(p->gpio_chip.parent, in em_gio_irq_reqres()
108 gpiochip_unlock_as_irq(&p->gpio_chip, irqd_to_hwirq(d)); in em_gio_irq_relres()
183 static inline struct em_gio_priv *gpio_to_priv(struct gpio_chip *chip) in gpio_to_priv()
188 static int em_gio_direction_input(struct gpio_chip *chip, unsigned offset) in em_gio_direction_input()
194 static int em_gio_get(struct gpio_chip *chip, unsigned offset) in em_gio_get()
199 static void __em_gio_set(struct gpio_chip *chip, unsigned int reg, in __em_gio_set()
207 static void em_gio_set(struct gpio_chip *chip, unsigned offset, int value) in em_gio_set()
216 static int em_gio_direction_output(struct gpio_chip *chip, unsigned offset, in em_gio_direction_output()
[all …]
Dgpio-madera.c20 struct gpio_chip gpio_chip; member
23 static int madera_gpio_get_direction(struct gpio_chip *chip, in madera_gpio_get_direction()
43 static int madera_gpio_direction_in(struct gpio_chip *chip, unsigned int offset) in madera_gpio_direction_in()
54 static int madera_gpio_get(struct gpio_chip *chip, unsigned int offset) in madera_gpio_get()
70 static int madera_gpio_direction_out(struct gpio_chip *chip, in madera_gpio_direction_out()
90 static void madera_gpio_set(struct gpio_chip *chip, unsigned int offset, in madera_gpio_set()
109 static const struct gpio_chip madera_gpio_chip = {
138 madera_gpio->gpio_chip = madera_gpio_chip; in madera_gpio_probe()
139 madera_gpio->gpio_chip.parent = pdev->dev.parent; in madera_gpio_probe()
143 madera_gpio->gpio_chip.ngpio = CS47L15_NUM_GPIOS; in madera_gpio_probe()
[all …]
Dgpio-rcar.c45 struct gpio_chip gpio_chip; member
95 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpio_rcar_irq_disable()
105 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpio_rcar_irq_enable()
150 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpio_rcar_irq_set_type()
187 struct gpio_chip *gc = irq_data_get_irq_chip_data(d); in gpio_rcar_irq_set_wake()
229 generic_handle_domain_irq(p->gpio_chip.irq.domain, in gpio_rcar_irq_handler()
237 static void gpio_rcar_config_general_input_output_mode(struct gpio_chip *chip, in gpio_rcar_config_general_input_output_mode()
267 static int gpio_rcar_request(struct gpio_chip *chip, unsigned offset) in gpio_rcar_request()
285 static void gpio_rcar_free(struct gpio_chip *chip, unsigned offset) in gpio_rcar_free()
300 static int gpio_rcar_get_direction(struct gpio_chip *chip, unsigned int offset) in gpio_rcar_get_direction()
[all …]
Dgpio-74x164.c21 struct gpio_chip gpio_chip; member
37 return spi_write(to_spi_device(chip->gpio_chip.parent), chip->buffer, in __gen_74x164_write_config()
41 static int gen_74x164_get_value(struct gpio_chip *gc, unsigned offset) in gen_74x164_get_value()
55 static void gen_74x164_set_value(struct gpio_chip *gc, in gen_74x164_set_value()
72 static void gen_74x164_set_multiple(struct gpio_chip *gc, unsigned long *mask, in gen_74x164_set_multiple()
93 static int gen_74x164_direction_output(struct gpio_chip *gc, in gen_74x164_direction_output()
132 chip->gpio_chip.label = spi->modalias; in gen_74x164_probe()
133 chip->gpio_chip.direction_output = gen_74x164_direction_output; in gen_74x164_probe()
134 chip->gpio_chip.get = gen_74x164_get_value; in gen_74x164_probe()
135 chip->gpio_chip.set = gen_74x164_set_value; in gen_74x164_probe()
[all …]
Dgpio-palmas.c18 struct gpio_chip gpio_chip; member
26 static int palmas_gpio_get(struct gpio_chip *gc, unsigned offset) in palmas_gpio_get()
57 static void palmas_gpio_set(struct gpio_chip *gc, unsigned offset, in palmas_gpio_set()
79 static int palmas_gpio_output(struct gpio_chip *gc, unsigned offset, in palmas_gpio_output()
102 static int palmas_gpio_input(struct gpio_chip *gc, unsigned offset) in palmas_gpio_input()
120 static int palmas_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in palmas_gpio_to_irq()
162 palmas_gpio->gpio_chip.owner = THIS_MODULE; in palmas_gpio_probe()
163 palmas_gpio->gpio_chip.label = dev_name(&pdev->dev); in palmas_gpio_probe()
164 palmas_gpio->gpio_chip.ngpio = dev_data->ngpio; in palmas_gpio_probe()
165 palmas_gpio->gpio_chip.can_sleep = true; in palmas_gpio_probe()
[all …]
Dgpio-max77620.c18 struct gpio_chip gpio_chip; member
44 virq = irq_find_mapping(gpio->gpio_chip.irq.domain, offset); in max77620_gpio_irqhandler()
53 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_irq_mask()
62 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_irq_unmask()
71 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_set_irq_type()
100 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_bus_lock()
108 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_bus_sync_unlock()
135 static int max77620_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_dir_input()
149 static int max77620_gpio_get(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_get()
167 static int max77620_gpio_dir_output(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_dir_output()
[all …]
Dgpio-wm8350.c23 struct gpio_chip gpio_chip; member
26 static int wm8350_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_direction_in()
35 static int wm8350_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_get()
51 static void wm8350_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm8350_gpio_set()
62 static int wm8350_gpio_direction_out(struct gpio_chip *chip, in wm8350_gpio_direction_out()
80 static int wm8350_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_to_irq()
91 static const struct gpio_chip template_chip = {
114 wm8350_gpio->gpio_chip = template_chip; in wm8350_gpio_probe()
115 wm8350_gpio->gpio_chip.ngpio = 13; in wm8350_gpio_probe()
116 wm8350_gpio->gpio_chip.parent = &pdev->dev; in wm8350_gpio_probe()
[all …]
Dgpiolib-acpi.h19 struct gpio_chip;
24 void acpi_gpiochip_add(struct gpio_chip *chip);
25 void acpi_gpiochip_remove(struct gpio_chip *chip);
27 void acpi_gpiochip_request_interrupts(struct gpio_chip *chip);
28 void acpi_gpiochip_free_interrupts(struct gpio_chip *chip);
38 static inline void acpi_gpiochip_add(struct gpio_chip *chip) { } in acpi_gpiochip_add()
39 static inline void acpi_gpiochip_remove(struct gpio_chip *chip) { } in acpi_gpiochip_remove()
42 acpi_gpiochip_request_interrupts(struct gpio_chip *chip) { } in acpi_gpiochip_request_interrupts()
45 acpi_gpiochip_free_interrupts(struct gpio_chip *chip) { } in acpi_gpiochip_free_interrupts()
Dgpio-exar.c35 struct gpio_chip gpio_chip; member
75 static int exar_get_direction(struct gpio_chip *chip, unsigned int offset) in exar_get_direction()
87 static int exar_get_value(struct gpio_chip *chip, unsigned int offset) in exar_get_value()
96 static void exar_set_value(struct gpio_chip *chip, unsigned int offset, in exar_set_value()
109 static int exar_direction_output(struct gpio_chip *chip, unsigned int offset, in exar_direction_output()
122 static int exar_direction_input(struct gpio_chip *chip, unsigned int offset) in exar_direction_input()
204 exar_gpio->gpio_chip.label = exar_gpio->name; in gpio_exar_probe()
205 exar_gpio->gpio_chip.parent = dev; in gpio_exar_probe()
206 exar_gpio->gpio_chip.direction_output = exar_direction_output; in gpio_exar_probe()
207 exar_gpio->gpio_chip.direction_input = exar_direction_input; in gpio_exar_probe()
[all …]
Dgpio-wm8994.c28 struct gpio_chip gpio_chip; member
31 static int wm8994_gpio_request(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_request()
54 static int wm8994_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_direction_in()
63 static int wm8994_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_get()
79 static int wm8994_gpio_direction_out(struct gpio_chip *chip, in wm8994_gpio_direction_out()
92 static void wm8994_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm8994_gpio_set()
103 static int wm8994_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in wm8994_gpio_set_config()
124 static int wm8994_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_to_irq()
188 static void wm8994_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip) in wm8994_gpio_dbg_show()
250 static const struct gpio_chip template_chip = {
[all …]
Dgpio-ts5500.c34 struct gpio_chip gpio_chip; member
198 static int ts5500_gpio_input(struct gpio_chip *chip, unsigned offset) in ts5500_gpio_input()
217 static int ts5500_gpio_get(struct gpio_chip *chip, unsigned offset) in ts5500_gpio_get()
225 static int ts5500_gpio_output(struct gpio_chip *chip, unsigned offset, int val) in ts5500_gpio_output()
247 static void ts5500_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in ts5500_gpio_set()
261 static int ts5500_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in ts5500_gpio_to_irq()
309 dev_err(priv->gpio_chip.parent, "invalid hwirq %d\n", in ts5500_disable_irq()
335 priv->gpio_chip.owner = THIS_MODULE; in ts5500_dio_probe()
336 priv->gpio_chip.label = name; in ts5500_dio_probe()
337 priv->gpio_chip.parent = dev; in ts5500_dio_probe()
[all …]
Dgpio-ts4900.c27 struct gpio_chip gpio_chip; member
31 static int ts4900_gpio_get_direction(struct gpio_chip *chip, in ts4900_gpio_get_direction()
45 static int ts4900_gpio_direction_input(struct gpio_chip *chip, in ts4900_gpio_direction_input()
57 static int ts4900_gpio_direction_output(struct gpio_chip *chip, in ts4900_gpio_direction_output()
88 static int ts4900_gpio_get(struct gpio_chip *chip, unsigned int offset) in ts4900_gpio_get()
98 static void ts4900_gpio_set(struct gpio_chip *chip, unsigned int offset, in ts4900_gpio_set()
115 static const struct gpio_chip template_chip = {
152 priv->gpio_chip = template_chip; in ts4900_gpio_probe()
153 priv->gpio_chip.label = "ts4900-gpio"; in ts4900_gpio_probe()
154 priv->gpio_chip.ngpio = ngpio; in ts4900_gpio_probe()
[all …]
Dgpio-tps65912.c19 struct gpio_chip gpio_chip; member
23 static int tps65912_gpio_get_direction(struct gpio_chip *gc, in tps65912_gpio_get_direction()
40 static int tps65912_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_direction_input()
48 static int tps65912_gpio_direction_output(struct gpio_chip *gc, in tps65912_gpio_direction_output()
61 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_get()
76 static void tps65912_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_set()
85 static const struct gpio_chip template_chip = {
108 gpio->gpio_chip = template_chip; in tps65912_gpio_probe()
109 gpio->gpio_chip.parent = tps->dev; in tps65912_gpio_probe()
111 return devm_gpiochip_add_data(&pdev->dev, &gpio->gpio_chip, gpio); in tps65912_gpio_probe()
Dgpio-wm831x.c27 struct gpio_chip gpio_chip; member
30 static int wm831x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_direction_in()
44 static int wm831x_gpio_get(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_get()
60 static void wm831x_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm831x_gpio_set()
69 static int wm831x_gpio_direction_out(struct gpio_chip *chip, in wm831x_gpio_direction_out()
92 static int wm831x_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_to_irq()
130 static int wm831x_set_config(struct gpio_chip *chip, unsigned int offset, in wm831x_set_config()
155 static void wm831x_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip) in wm831x_gpio_dbg_show()
250 static const struct gpio_chip template_chip = {
277 wm831x_gpio->gpio_chip = template_chip; in wm831x_gpio_probe()
[all …]
Dgpio-arizona.c23 struct gpio_chip gpio_chip; member
26 static int arizona_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in arizona_gpio_direction_in()
49 static int arizona_gpio_get(struct gpio_chip *chip, unsigned offset) in arizona_gpio_get()
95 static int arizona_gpio_direction_out(struct gpio_chip *chip, in arizona_gpio_direction_out()
124 static void arizona_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in arizona_gpio_set()
136 static const struct gpio_chip template_chip = {
161 arizona_gpio->gpio_chip = template_chip; in arizona_gpio_probe()
162 arizona_gpio->gpio_chip.parent = &pdev->dev; in arizona_gpio_probe()
171 arizona_gpio->gpio_chip.ngpio = 5; in arizona_gpio_probe()
175 arizona_gpio->gpio_chip.ngpio = 2; in arizona_gpio_probe()
[all …]
Dgpio-tps65219.c22 struct gpio_chip gpio_chip; member
26 static int tps65219_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_get_direction()
41 static int tps65219_gpio_get(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_get()
70 static void tps65219_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in tps65219_gpio_set()
85 static int tps65219_gpio_change_direction(struct gpio_chip *gc, unsigned int offset, in tps65219_gpio_change_direction()
117 static int tps65219_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_direction_input()
133 static int tps65219_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in tps65219_gpio_direction_output()
145 static const struct gpio_chip tps65219_template_chip = {
168 gpio->gpio_chip = tps65219_template_chip; in tps65219_gpio_probe()
169 gpio->gpio_chip.parent = tps->dev; in tps65219_gpio_probe()
[all …]
/linux-6.12.1/arch/mips/alchemy/common/
Dgpiolib.c38 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get()
43 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set()
48 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input()
53 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output()
60 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq()
66 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get()
71 static void gpio1_set(struct gpio_chip *chip, in gpio1_set()
77 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input()
82 static int gpio1_direction_output(struct gpio_chip *chip, in gpio1_direction_output()
89 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq()
[all …]
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-stmfx.c88 struct gpio_chip gpio_chip; member
105 static int stmfx_gpio_get(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get()
118 static void stmfx_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in stmfx_gpio_set()
128 static int stmfx_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get_direction()
149 static int stmfx_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_direction_input()
158 static int stmfx_gpio_direction_output(struct gpio_chip *gc, in stmfx_gpio_direction_output()
229 dir = stmfx_gpio_get_direction(&pctl->gpio_chip, pin); in stmfx_pinconf_get()
271 ret = stmfx_gpio_get(&pctl->gpio_chip, pin); in stmfx_pinconf_get()
335 ret = stmfx_gpio_direction_output(&pctl->gpio_chip, in stmfx_pinconf_set()
359 dir = stmfx_gpio_get_direction(&pctl->gpio_chip, offset); in stmfx_pinconf_dbg_show()
[all …]
/linux-6.12.1/drivers/video/fbdev/via/
Dvia-gpio.c75 struct gpio_chip gpio_chip; member
84 static void via_gpio_set(struct gpio_chip *chip, unsigned int nr, in via_gpio_set()
104 static int via_gpio_dir_out(struct gpio_chip *chip, unsigned int nr, in via_gpio_dir_out()
115 static int via_gpio_dir_input(struct gpio_chip *chip, unsigned int nr) in via_gpio_dir_input()
129 static int via_gpio_get(struct gpio_chip *chip, unsigned int nr) in via_gpio_get()
145 .gpio_chip = {
182 for (i = 0; i < viafb_gpio_config.gpio_chip.ngpio; i += 2) in viafb_gpio_resume()
229 viafb_gpio_config.gpio_chip.ngpio = ngpio; in viafb_gpio_probe()
230 viafb_gpio_config.gpio_chip.names = viafb_gpio_config.gpio_names; in viafb_gpio_probe()
247 viafb_gpio_config.gpio_chip.base = -1; /* Dynamic */ in viafb_gpio_probe()
[all …]
/linux-6.12.1/include/linux/pinctrl/
Dconsumer.h20 struct gpio_chip;
29 bool pinctrl_gpio_can_use_line(struct gpio_chip *gc, unsigned int offset);
30 int pinctrl_gpio_request(struct gpio_chip *gc, unsigned int offset);
31 void pinctrl_gpio_free(struct gpio_chip *gc, unsigned int offset);
32 int pinctrl_gpio_direction_input(struct gpio_chip *gc,
34 int pinctrl_gpio_direction_output(struct gpio_chip *gc,
36 int pinctrl_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
71 pinctrl_gpio_can_use_line(struct gpio_chip *gc, unsigned int offset) in pinctrl_gpio_can_use_line()
77 pinctrl_gpio_request(struct gpio_chip *gc, unsigned int offset) in pinctrl_gpio_request()
83 pinctrl_gpio_free(struct gpio_chip *gc, unsigned int offset) in pinctrl_gpio_free()
[all …]

12345678910>>...16