Home
last modified time | relevance | path

Searched refs:gpio_desc (Results 1 - 25 of 1472) sorted by relevance

12345678910>>...59

/kernel/linux/linux-5.10/include/linux/gpio/
H A Dconsumer.h16 * Contrary to integers, a pointer to a gpio_desc is guaranteed to be valid
19 struct gpio_desc;
36 struct gpio_desc *desc[];
65 struct gpio_desc *__must_check gpiod_get(struct device *dev,
68 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
72 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
75 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev,
85 void gpiod_put(struct gpio_desc *desc);
88 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
91 struct gpio_desc *__must_chec
[all...]
/kernel/linux/linux-6.6/include/linux/gpio/
H A Dconsumer.h13 struct gpio_desc;
26 struct gpio_desc *desc[];
63 struct gpio_desc *__must_check gpiod_get(struct device *dev,
66 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
70 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
73 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev,
83 void gpiod_put(struct gpio_desc *desc);
86 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
89 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
93 struct gpio_desc *__must_chec
[all...]
H A Daspeed.h6 struct gpio_desc;
13 int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc,
15 int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc);
/kernel/linux/linux-6.6/sound/soc/tegra/
H A Dtegra_asoc_machine.h7 struct gpio_desc;
37 struct gpio_desc *gpiod_ext_mic_en;
38 struct gpio_desc *gpiod_int_mic_en;
39 struct gpio_desc *gpiod_spkr_en;
40 struct gpio_desc *gpiod_mic_det;
41 struct gpio_desc *gpiod_ear_sel;
42 struct gpio_desc *gpiod_hp_mute;
43 struct gpio_desc *gpiod_hp_det;
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
H A Dmfp-pxa2xx.c38 struct gpio_desc { struct
48 static struct gpio_desc gpio_desc[MFP_PIN_GPIO127 + 1]; variable
73 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
98 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
106 if ((c & MFP_LPM_CAN_WAKEUP) && !gpio_desc[gpio].can_wakeup) { in __mfp_config_gpio()
123 if ((mfp > MFP_PIN_GPIO127) || !gpio_desc[gpio].valid) { in __mfp_validate()
145 gpio_desc[gpio].config = *c; in pxa2xx_mfp_config()
163 c = gpio_desc[gpio].config; in pxa2xx_mfp_set_lpm()
172 struct gpio_desc * in gpio_set_wake()
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-pxa/
H A Dmfp-pxa2xx.c40 struct gpio_desc { struct
50 static struct gpio_desc gpio_desc[MFP_PIN_GPIO127 + 1]; variable
75 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
100 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
108 if ((c & MFP_LPM_CAN_WAKEUP) && !gpio_desc[gpio].can_wakeup) { in __mfp_config_gpio()
125 if ((mfp > MFP_PIN_GPIO127) || !gpio_desc[gpio].valid) { in __mfp_validate()
147 gpio_desc[gpio].config = *c; in pxa2xx_mfp_config()
165 c = gpio_desc[gpio].config; in pxa2xx_mfp_set_lpm()
174 struct gpio_desc * in gpio_set_wake()
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpiolib-devres.c20 struct gpio_desc **desc = res; in devm_gpiod_release()
27 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match()
56 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get()
74 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional()
93 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index()
98 struct gpio_desc **dr; in devm_gpiod_get_index()
99 struct gpio_desc *desc; in devm_gpiod_get_index()
118 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index()
147 struct gpio_desc *devm_fwnode_gpiod_get_index(struct device *dev, in devm_fwnode_gpiod_get_index()
153 struct gpio_desc **d in devm_fwnode_gpiod_get_index()
[all...]
H A Dgpiolib.h63 struct gpio_desc *descs;
107 struct gpio_desc **desc;
115 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
128 struct gpio_desc **desc_array,
133 struct gpio_desc **desc_array,
140 void gpiod_line_state_notify(struct gpio_desc *desc, unsigned long action);
143 * struct gpio_desc - Opaque descriptor for a GPIO
155 * Contrary to integers, a pointer to a &struct gpio_desc is guaranteed to be
158 struct gpio_desc { struct
196 int gpiod_request(struct gpio_desc *des
[all...]
H A Dgpiolib.c88 /* gpio_lock prevents conflicts during gpio_desc[] table updates.
112 static inline void desc_set_label(struct gpio_desc *d, const char *label) in desc_set_label()
125 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc()
159 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, in gpiochip_get_desc()
181 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
192 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
233 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
320 static struct gpio_desc *gpio_name_to_desc(const char * const name) in gpio_name_to_desc()
331 struct gpio_desc *desc; in gpio_name_to_desc()
361 struct gpio_desc *gpi in gpiochip_set_desc_names()
[all...]
H A Dgpiolib-sysfs.c34 struct gpio_desc *desc;
75 struct gpio_desc *desc = data->desc; in direction_show()
92 struct gpio_desc *desc = data->desc; in direction_store()
116 struct gpio_desc *desc = data->desc; in value_show()
135 struct gpio_desc *desc = data->desc; in value_store()
169 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq()
225 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq()
296 struct gpio_desc *desc = data->desc; in gpio_sysfs_set_active_low()
319 struct gpio_desc *desc = data->desc; in active_low_show()
357 struct gpio_desc *des in gpio_is_visible()
[all...]
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpiolib-devres.c20 struct gpio_desc **desc = res; in devm_gpiod_release()
27 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match()
56 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get()
74 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional()
93 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index()
98 struct gpio_desc **dr; in devm_gpiod_get_index()
99 struct gpio_desc *desc; in devm_gpiod_get_index()
118 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index()
147 struct gpio_desc *devm_gpiod_get_from_of_node(struct device *dev, in devm_gpiod_get_from_of_node()
153 struct gpio_desc **d in devm_gpiod_get_from_of_node()
[all...]
H A Dgpiolib.h53 struct gpio_desc *descs;
76 struct gpio_desc **desc;
84 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
87 struct gpio_desc **desc_array,
92 struct gpio_desc **desc_array,
99 struct gpio_desc { struct
133 int gpiod_request(struct gpio_desc *desc, const char *label);
134 void gpiod_free(struct gpio_desc *desc);
135 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id,
137 int gpiod_hog(struct gpio_desc *des
[all...]
H A Dgpiolib-of.c99 static struct gpio_desc *of_xlate_and_get_gpiod_flags(struct gpio_chip *chip, in of_xlate_and_get_gpiod_flags()
239 static struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags()
244 struct gpio_desc *desc; in of_get_named_gpiod_flags()
281 struct gpio_desc *desc; in of_get_named_gpio_flags()
306 struct gpio_desc *gpiod_get_from_of_node(struct device_node *node, in gpiod_get_from_of_node()
312 struct gpio_desc *desc; in gpiod_get_from_of_node()
372 static struct gpio_desc *of_find_spi_gpio(struct device *dev, const char *con_id, in of_find_spi_gpio()
377 struct gpio_desc *desc; in of_find_spi_gpio()
402 static struct gpio_desc *of_find_spi_cs_gpio(struct device *dev, in of_find_spi_cs_gpio()
434 static struct gpio_desc *of_find_regulator_gpi
[all...]
H A Dgpiolib.c67 /* gpio_lock prevents conflicts during gpio_desc[] table updates.
91 static inline void desc_set_label(struct gpio_desc *d, const char *label) in desc_set_label()
104 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc()
138 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, in gpiochip_get_desc()
160 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
171 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
210 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
298 static struct gpio_desc *gpio_name_to_desc(const char * const name) in gpio_name_to_desc()
312 struct gpio_desc *desc = &gdev->descs[i]; in gpio_name_to_desc()
344 struct gpio_desc *gpi in gpiochip_set_desc_names()
[all...]
H A Dgpiolib-acpi.h45 struct gpio_desc *acpi_find_gpio(struct device *dev,
50 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode,
77 static inline struct gpio_desc *
84 static inline struct gpio_desc *
H A Dgpiolib-sysfs.c22 struct gpio_desc *desc;
63 struct gpio_desc *desc = data->desc; in direction_show()
82 struct gpio_desc *desc = data->desc; in direction_store()
106 struct gpio_desc *desc = data->desc; in value_show()
128 struct gpio_desc *desc = data->desc; in value_store()
168 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq()
224 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq()
308 struct gpio_desc *desc = data->desc; in gpio_sysfs_set_active_low()
334 struct gpio_desc *desc = data->desc; in active_low_show()
371 struct gpio_desc *des in gpio_is_visible()
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Difx6x60.h13 struct gpio_desc;
99 struct gpio_desc *srdy; /* slave-ready gpio */
100 struct gpio_desc *mrdy; /* master-ready gpio */
101 struct gpio_desc *reset; /* modem-reset gpio */
102 struct gpio_desc *po; /* modem-on gpio */
103 struct gpio_desc *reset_out; /* modem-in-reset gpio */
104 struct gpio_desc *pmu_reset; /* PMU reset gpio */
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dgpio_mouse.c33 struct gpio_desc *up;
34 struct gpio_desc *down;
35 struct gpio_desc *left;
36 struct gpio_desc *right;
37 struct gpio_desc *bleft;
38 struct gpio_desc *bmiddle;
39 struct gpio_desc *bright;
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dgpio_mouse.c33 struct gpio_desc *up;
34 struct gpio_desc *down;
35 struct gpio_desc *left;
36 struct gpio_desc *right;
37 struct gpio_desc *bleft;
38 struct gpio_desc *bmiddle;
39 struct gpio_desc *bright;
/kernel/linux/linux-5.10/drivers/staging/fbtft/
H A Dfbtft.h30 struct gpio_desc *gpio;
209 struct gpio_desc *reset;
210 struct gpio_desc *dc;
211 struct gpio_desc *rd;
212 struct gpio_desc *wr;
213 struct gpio_desc *latch;
214 struct gpio_desc *cs;
215 struct gpio_desc *db[16];
216 struct gpio_desc *led[16];
217 struct gpio_desc *au
[all...]
/kernel/linux/linux-6.6/drivers/staging/fbtft/
H A Dfbtft.h30 struct gpio_desc *gpio;
209 struct gpio_desc *reset;
210 struct gpio_desc *dc;
211 struct gpio_desc *rd;
212 struct gpio_desc *wr;
213 struct gpio_desc *latch;
214 struct gpio_desc *cs;
215 struct gpio_desc *db[16];
216 struct gpio_desc *led[16];
217 struct gpio_desc *au
[all...]
/kernel/linux/linux-6.6/drivers/fpga/
H A Dlattice-sysconfig.c74 static int sysconfig_poll_gpio(struct gpio_desc *gpio, bool is_active) in sysconfig_poll_gpio()
91 struct gpio_desc *program = priv->program; in sysconfig_gpio_refresh()
92 struct gpio_desc *init = priv->init; in sysconfig_gpio_refresh()
93 struct gpio_desc *done = priv->done; in sysconfig_gpio_refresh()
128 struct gpio_desc *program = priv->program; in sysconfig_refresh()
129 struct gpio_desc *init = priv->init; in sysconfig_refresh()
130 struct gpio_desc *done = priv->done; in sysconfig_refresh()
231 struct gpio_desc *done_gpio = priv->done; in sysconfig_isc_finish()
258 struct gpio_desc *done = priv->done; in sysconfig_ops_state()
355 struct gpio_desc *progra in sysconfig_probe()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dw1-gpio.h10 struct gpio_desc;
16 struct gpio_desc *gpiod;
17 struct gpio_desc *pullup_gpiod;
/kernel/linux/linux-6.6/include/linux/
H A Dw1-gpio.h10 struct gpio_desc;
16 struct gpio_desc *gpiod;
17 struct gpio_desc *pullup_gpiod;
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dad7606.h109 struct gpio_desc *gpio_convst;
110 struct gpio_desc *gpio_reset;
111 struct gpio_desc *gpio_range;
112 struct gpio_desc *gpio_standby;
113 struct gpio_desc *gpio_frstdata;

Completed in 23 milliseconds

12345678910>>...59