Home
last modified time | relevance | path

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

12345678910>>...41

/linux-6.15/include/linux/gpio/
H A Dconsumer.h14 struct gpio_desc;
27 struct gpio_desc *desc[];
98 struct gpio_desc *__must_check
119 struct gpio_desc **desc_array,
124 struct gpio_desc **desc_array,
246 struct gpio_desc *desc) in devm_gpiod_unhinge()
270 struct gpio_desc *__must_check
356 struct gpio_desc **desc_array, in gpiod_get_array_value()
371 struct gpio_desc **desc_array, in gpiod_set_array_value()
646 struct gpio_desc *desc);
[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-6.15/arch/arm/mach-pxa/
H A Dmfp-pxa2xx.c40 struct gpio_desc { struct
50 static struct gpio_desc gpio_desc[MFP_PIN_GPIO127 + 1]; argument
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()
232 gpio_desc[i].valid = 1; in pxa25x_mfp_init()
235 gpio_desc[i].can_wakeup = 1; in pxa25x_mfp_init()
258 struct gpio_desc *d; in keypad_set_wake()
263 d = &gpio_desc[gpio]; in keypad_set_wake()
[all …]
/linux-6.15/drivers/gpio/
H A Dgpiolib.h71 struct gpio_desc *descs;
133 struct gpio_desc **desc;
152 struct gpio_desc **desc_array,
157 struct gpio_desc **desc_array,
165 int gpiod_direction_input_nonotify(struct gpio_desc *desc);
188 struct gpio_desc { struct
245 struct gpio_desc *desc)
247 int gpiod_request(struct gpio_desc *desc, const char *label);
248 void gpiod_free(struct gpio_desc *desc);
273 int gpiod_hog(struct gpio_desc *desc, const char *name,
[all …]
H A Dgpiolib-devres.c24 struct gpio_desc **desc = res; in devm_gpiod_release()
31 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match()
65 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get()
117 struct gpio_desc **dr; in devm_gpiod_get_index()
118 struct gpio_desc *desc; in devm_gpiod_get_index()
137 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index()
168 struct gpio_desc *devm_fwnode_gpiod_get_index(struct device *dev, in devm_fwnode_gpiod_get_index()
174 struct gpio_desc **dr; in devm_fwnode_gpiod_get_index()
175 struct gpio_desc *desc; in devm_fwnode_gpiod_get_index()
217 struct gpio_desc *desc; in devm_gpiod_get_index_optional()
[all …]
H A Dgpiolib.c199 struct gpio_desc *
482 struct gpio_desc *desc; in gpio_name_to_desc()
522 struct gpio_desc *gpio; in gpiochip_set_desc_names()
791 struct gpio_desc *desc; in gpiochip_free_remaining_irqs()
863 struct gpio_desc *desc; in gpiochip_machine_hog()
2524 struct gpio_desc *desc; in gpiochip_dup_line_label()
4006 struct gpio_desc *desc; in gpiochip_lock_as_irq()
4052 struct gpio_desc *desc; in gpiochip_unlock_as_irq()
4880 struct gpio_desc *desc; in gpiod_get_index_optional()
4942 struct gpio_desc *desc; in gpiochip_free_hogs()
[all …]
H A Dgpiolib-sysfs.c38 struct gpio_desc *desc;
79 struct gpio_desc *desc = data->desc; in direction_show()
94 struct gpio_desc *desc = data->desc; in direction_store()
116 struct gpio_desc *desc = data->desc; in value_show()
132 struct gpio_desc *desc = data->desc; in value_store()
165 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq()
231 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq()
447 struct gpio_desc *desc; in export_store()
506 struct gpio_desc *desc; in unexport_store()
660 struct gpio_desc *desc) in gpiod_export_link()
[all …]
H A Dgpiolib-of.c404 struct gpio_desc *desc; in of_get_named_gpiod_flags()
455 struct gpio_desc *desc; in of_get_named_gpio()
496 static struct gpio_desc *of_find_gpio_rename(struct device_node *np, in of_find_gpio_rename()
601 struct gpio_desc *desc; in of_find_gpio_rename()
633 struct gpio_desc *desc; in of_find_mt2701_gpio()
671 struct gpio_desc *desc; in of_find_trigger_gpio()
704 struct gpio_desc *desc; in of_find_gpio()
739 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, in of_parse_own_gpio()
748 struct gpio_desc *desc; in of_parse_own_gpio()
810 struct gpio_desc *desc; in of_gpiochip_add_hog()
[all …]
H A Dgpiolib-of.h15 struct gpio_desc;
19 struct gpio_desc *of_find_gpio(struct device_node *np,
27 static inline struct gpio_desc *of_find_gpio(struct device_node *np, in of_find_gpio()
H A Dgpiolib-acpi.h20 struct gpio_desc;
30 struct gpio_desc *acpi_find_gpio(struct fwnode_handle *fwnode,
47 static inline struct gpio_desc *
/linux-6.15/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-6.15/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-6.15/drivers/platform/x86/intel/int3472/
H A Dcommon.h86 struct gpio_desc *gpio;
95 struct gpio_desc *ena_gpio;
104 struct gpio_desc *gpio;
120 struct gpio_desc *gpio);
125 struct gpio_desc *gpio);
128 int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gpio_desc *gpio);
/linux-6.15/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-6.15/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;
H A Dlattice-sysconfig.h25 struct gpio_desc *program;
26 struct gpio_desc *init;
27 struct gpio_desc *done;
/linux-6.15/drivers/staging/greybus/
H A Darche-apb-ctrl.c26 struct gpio_desc *resetn;
27 struct gpio_desc *boot_ret;
28 struct gpio_desc *pwroff;
29 struct gpio_desc *wake_in;
30 struct gpio_desc *wake_out;
31 struct gpio_desc *pwrdn;
39 struct gpio_desc *clk_en;
46 struct gpio_desc *spi_en;
53 static inline void deassert_reset(struct gpio_desc *gpio) in deassert_reset()
58 static inline void assert_reset(struct gpio_desc *gpio) in assert_reset()
/linux-6.15/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-6.15/Documentation/driver-api/gpio/
H A Dconsumer.rst124 struct gpio_desc *desc[];
163 void gpiod_put(struct gpio_desc *desc)
335 struct gpio_desc **desc_array,
339 struct gpio_desc **desc_array,
343 struct gpio_desc **desc_array,
347 struct gpio_desc **desc_array,
352 struct gpio_desc **desc_array,
356 struct gpio_desc **desc_array,
360 struct gpio_desc **desc_array,
364 struct gpio_desc **desc_array,
[all …]
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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()

12345678910>>...41