Home
last modified time | relevance | path

Searched refs:gpio_desc (Results 1 – 25 of 1058) sorted by relevance

12345678910>>...43

/linux/include/linux/gpio/
H A Dconsumer.h14 struct gpio_desc;
27 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_check devm_gpiod_get_index(struct device *dev,
95 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);
/linux/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 *d; in gpio_set_wake()
180 d = &gpio_desc[gpio]; in gpio_set_wake()
[all …]
/linux/drivers/gpio/
H A Dgpiolib.h68 struct gpio_desc *descs;
130 struct gpio_desc **desc;
149 struct gpio_desc **desc_array,
154 struct gpio_desc **desc_array,
158 int gpiod_set_transitory(struct gpio_desc *desc, bool transitory);
160 void gpiod_line_state_notify(struct gpio_desc *desc, unsigned long action);
161 int gpiod_direction_output_nonotify(struct gpio_desc *desc, int value);
162 int gpiod_direction_input_nonotify(struct gpio_desc *desc);
185 struct gpio_desc { struct
244 struct gpio_desc *desc)
[all …]
H A Dgpiolib-devres.c47 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get()
70 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional()
94 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index()
99 struct gpio_desc *desc; in devm_gpiod_get_index()
143 struct gpio_desc *devm_fwnode_gpiod_get_index(struct device *dev, in devm_fwnode_gpiod_get_index()
149 struct gpio_desc *desc; in devm_fwnode_gpiod_get_index()
181 struct gpio_desc *__must_check devm_gpiod_get_index_optional(struct device *dev, in devm_gpiod_get_index_optional()
186 struct gpio_desc *desc; in devm_gpiod_get_index_optional()
271 void devm_gpiod_put(struct device *dev, struct gpio_desc *desc) in devm_gpiod_put()
291 void devm_gpiod_unhinge(struct device *dev, struct gpio_desc *desc) in devm_gpiod_unhinge()
H A Dgpiolib.c121 const char *gpiod_get_label(struct gpio_desc *desc) in gpiod_get_label()
145 static int desc_set_label(struct gpio_desc *desc, const char *label) in desc_set_label()
172 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc()
190 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, in gpiochip_get_desc()
212 struct gpio_desc *
232 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
246 int gpiod_hwgpio(const struct gpio_desc *desc) in gpiod_hwgpio()
264 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
285 struct gpio_device *gpiod_to_gpio_device(struct gpio_desc *desc) in gpiod_to_gpio_device()
377 static int validate_desc(const struct gpio_desc *desc, const char *func) in validate_desc()
[all …]
H A Dgpiolib-sysfs.c58 struct gpio_desc *desc;
129 struct gpio_desc *desc = data->desc; in direction_show()
146 struct gpio_desc *desc = data->desc; in direction_store()
168 struct gpio_desc *desc = data->desc; in value_show()
185 struct gpio_desc *desc = data->desc; in value_store()
215 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq()
275 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq()
347 struct gpio_desc *desc = data->desc; in gpio_sysfs_set_active_low()
372 struct gpio_desc *desc = data->desc; in active_low_show()
473 static int export_gpio_desc(struct gpio_desc *desc) in export_gpio_desc()
[all …]
/linux/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;
/linux/include/linux/mfd/
H A Dupboard-fpga.h45 struct gpio_desc *enable_gpio;
46 struct gpio_desc *reset_gpio;
47 struct gpio_desc *clear_gpio;
48 struct gpio_desc *strobe_gpio;
49 struct gpio_desc *datain_gpio;
50 struct gpio_desc *dataout_gpio;
/linux/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;
/linux/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 *program, *init, *done; in sysconfig_probe()
H A Dxilinx-core.h20 struct gpio_desc *prog_b;
21 struct gpio_desc *init_b;
22 struct gpio_desc *done;
/linux/Documentation/driver-api/gpio/
H A Dconsumer.rst51 struct gpio_desc *gpiod_get(struct device *dev, const char *con_id,
57 struct gpio_desc *gpiod_get_index(struct device *dev,
96 struct gpio_desc *gpiod_get_optional(struct device *dev,
100 struct gpio_desc *gpiod_get_index_optional(struct device *dev,
124 struct gpio_desc *desc[];
136 struct gpio_desc *devm_gpiod_get(struct device *dev, const char *con_id,
139 struct gpio_desc *devm_gpiod_get_index(struct device *dev,
144 struct gpio_desc *devm_gpiod_get_optional(struct device *dev,
148 struct gpio_desc *devm_gpiod_get_index_optional(struct device *dev,
163 void gpiod_put(struct gpio_desc *desc)
[all …]
/linux/drivers/staging/greybus/
H A Darche-apb-ctrl.c27 struct gpio_desc *resetn;
28 struct gpio_desc *boot_ret;
29 struct gpio_desc *pwroff;
30 struct gpio_desc *wake_in;
31 struct gpio_desc *wake_out;
32 struct gpio_desc *pwrdn;
40 struct gpio_desc *clk_en;
47 struct gpio_desc *spi_en;
54 static inline void deassert_reset(struct gpio_desc *gpio) in deassert_reset()
59 static inline void assert_reset(struct gpio_desc *gpio) in assert_reset()
/linux/drivers/staging/fbtft/
H A Dfbtft.h30 struct gpio_desc *gpio;
210 struct gpio_desc *reset;
211 struct gpio_desc *dc;
212 struct gpio_desc *rd;
213 struct gpio_desc *wr;
214 struct gpio_desc *latch;
215 struct gpio_desc *cs;
216 struct gpio_desc *db[16];
217 struct gpio_desc *led[16];
218 struct gpio_desc *aux[16];
/linux/include/linux/platform_data/x86/
H A Dint3472.h120 struct gpio_desc *ena_gpio;
129 struct gpio_desc *gpio;
153 struct gpio_desc *gpio);
158 struct gpio_desc *gpio,
164 int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gpio_desc *gpio);
/linux/drivers/phy/motorola/
H A Dphy-mapphone-mdm6600.c94 struct gpio_desc *ctrl_gpios[PHY_MDM6600_NR_CTRL_LINES];
111 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_init()
124 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_on()
141 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_off()
234 struct gpio_desc *mode_gpio1; in phy_mdm6600_wakeirq_thread()
268 struct gpio_desc *gpio = ddata->status_gpios->desc[i]; in phy_mdm6600_init_irq()
312 struct gpio_desc **gpio = &ddata->ctrl_gpios[i]; in phy_mdm6600_init_lines()
364 struct gpio_desc *mode_gpio0, *mode_gpio1, *reset_gpio, *power_gpio; in phy_mdm6600_device_power_on()
444 struct gpio_desc *reset_gpio = in phy_mdm6600_device_power_off()
496 struct gpio_desc *mode_gpio0; in phy_mdm6600_wake_modem()
[all …]
/linux/drivers/iio/adc/
H A Dad7606.h157 struct gpio_desc *gpio_convst;
158 struct gpio_desc *gpio_reset;
159 struct gpio_desc *gpio_range;
160 struct gpio_desc *gpio_standby;
161 struct gpio_desc *gpio_frstdata;
/linux/drivers/phy/
H A Dphy-can-transceiver.c26 struct gpio_desc *silent_gpio;
27 struct gpio_desc *standby_gpio;
28 struct gpio_desc *enable_gpio;
167 struct gpio_desc *silent_gpio; in can_transceiver_phy_probe()
168 struct gpio_desc *standby_gpio; in can_transceiver_phy_probe()
169 struct gpio_desc *enable_gpio; in can_transceiver_phy_probe()
/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-sharp-ls037v7dw01.c27 struct gpio_desc *resb_gpio; /* low = reset active min 20 us */
28 struct gpio_desc *ini_gpio; /* high = power on */
29 struct gpio_desc *mo_gpio; /* low = 480x640, high = 240x320 */
30 struct gpio_desc *lr_gpio; /* high = conventional horizontal scanning */
31 struct gpio_desc *ud_gpio; /* high = conventional vertical scanning */
191 const char *desc, struct gpio_desc **gpiod) in sharp_ls_get_gpio_of()
193 struct gpio_desc *gd; in sharp_ls_get_gpio_of()
/linux/drivers/input/touchscreen/
H A Dcolibri-vf50-ts.c40 struct gpio_desc *gpio_xp;
41 struct gpio_desc *gpio_xm;
42 struct gpio_desc *gpio_yp;
43 struct gpio_desc *gpio_ym;
53 struct gpio_desc *plate_p, struct gpio_desc *plate_m) in adc_ts_measure()
239 static int vf50_ts_get_gpiod(struct device *dev, struct gpio_desc **gpio_d, in vf50_ts_get_gpiod()
/linux/drivers/iio/frequency/
H A Dadmfm2000.c28 struct gpio_desc *sw1_ch[2];
29 struct gpio_desc *sw2_ch[2];
30 struct gpio_desc *dsa1_gpios[5];
31 struct gpio_desc *dsa2_gpios[5];
163 struct gpio_desc **dsa; in admfm2000_channel_config()
164 struct gpio_desc **sw; in admfm2000_channel_config()
/linux/drivers/net/can/m_can/
H A Dtcan4x5x.h38 struct gpio_desc *reset_gpio;
39 struct gpio_desc *device_wake_gpio;
40 struct gpio_desc *device_state_gpio;
/linux/sound/soc/codecs/
H A Dwm1250-ev1.c18 struct gpio_desc *clk_ena;
19 struct gpio_desc *clk_sel0;
20 struct gpio_desc *clk_sel1;
21 struct gpio_desc *osr;
22 struct gpio_desc *master;
/linux/drivers/gpu/drm/panel/
H A Dpanel-sharp-ls037v7dw01.c29 struct gpio_desc *resb_gpio; /* low = reset active min 20 us */
30 struct gpio_desc *ini_gpio; /* high = power on */
31 struct gpio_desc *mo_gpio; /* low = 480x640, high = 240x320 */
32 struct gpio_desc *lr_gpio; /* high = conventional horizontal scanning */
33 struct gpio_desc *ud_gpio; /* high = conventional vertical scanning */

12345678910>>...43