/drivers/gpio/ |
D | gpiolib.c | 50 static struct gpio_desc gpio_desc[ARCH_NR_GPIOS]; variable 58 static inline void desc_set_label(struct gpio_desc *d, const char *label) in desc_set_label() 66 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() 71 return &gpio_desc[gpio]; in gpio_to_desc() 78 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, in gpiochip_get_desc() 92 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() 94 return desc - &gpio_desc[0]; in desc_to_gpio() 103 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip() 141 int gpiod_get_direction(const struct gpio_desc *desc) in gpiod_get_direction() 159 clear_bit(FLAG_IS_OUT, &((struct gpio_desc *)desc)->flags); in gpiod_get_direction() [all …]
|
D | devres.c | 26 struct gpio_desc **desc = res; in devm_gpiod_release() 33 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match() 48 struct gpio_desc *__must_check __devm_gpiod_get(struct device *dev, in __devm_gpiod_get() 66 struct gpio_desc *__must_check __devm_gpiod_get_optional(struct device *dev, in __devm_gpiod_get_optional() 85 struct gpio_desc *__must_check __devm_gpiod_get_index(struct device *dev, in __devm_gpiod_get_index() 90 struct gpio_desc **dr; in __devm_gpiod_get_index() 91 struct gpio_desc *desc; in __devm_gpiod_get_index() 93 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in __devm_gpiod_get_index() 123 struct gpio_desc *__must_check __devm_gpiod_get_index_optional(struct device *dev, in __devm_gpiod_get_index_optional() 128 struct gpio_desc *desc; in __devm_gpiod_get_index_optional() [all …]
|
D | gpiolib.h | 37 struct gpio_desc *acpi_get_gpiod_by_index(struct device *dev, int index, 49 static inline struct gpio_desc * 57 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, 60 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, u16 hwnum); 65 struct gpio_desc { struct 88 int gpiod_request(struct gpio_desc *desc, const char *label); argument 89 void gpiod_free(struct gpio_desc *desc); 94 static int __maybe_unused gpio_chip_hwgpio(const struct gpio_desc *desc) in gpio_chip_hwgpio()
|
D | gpiolib-sysfs.c | 44 const struct gpio_desc *desc = dev_get_drvdata(dev); in gpio_direction_show() 65 struct gpio_desc *desc = dev_get_drvdata(dev); in gpio_direction_store() 91 struct gpio_desc *desc = dev_get_drvdata(dev); in gpio_value_show() 108 struct gpio_desc *desc = dev_get_drvdata(dev); in gpio_value_store() 142 static int gpio_setup_irq(struct gpio_desc *desc, struct device *dev, in gpio_setup_irq() 235 const struct gpio_desc *desc = dev_get_drvdata(dev); in gpio_edge_show() 262 struct gpio_desc *desc = dev_get_drvdata(dev); in gpio_edge_store() 289 static int sysfs_set_active_low(struct gpio_desc *desc, struct device *dev, in sysfs_set_active_low() 317 const struct gpio_desc *desc = dev_get_drvdata(dev); in gpio_active_low_show() 336 struct gpio_desc *desc = dev_get_drvdata(dev); in gpio_active_low_store() [all …]
|
D | gpiolib-acpi.c | 28 struct gpio_desc *desc; 34 struct gpio_desc *desc; 67 static struct gpio_desc *acpi_get_gpiod(char *path, int pin) in acpi_get_gpiod() 119 struct gpio_desc *desc; in acpi_gpiochip_request_interrupt() 277 struct gpio_desc *desc; in acpi_gpiochip_free_interrupts() 293 struct gpio_desc *desc; 335 struct gpio_desc *acpi_get_gpiod_by_index(struct device *dev, int index, in acpi_get_gpiod_by_index() 406 struct gpio_desc *desc; in acpi_gpio_adr_space_handler()
|
D | gpiolib-of.c | 33 struct gpio_desc *out_gpio; 73 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags() 109 struct gpio_desc *desc; in of_get_named_gpio_flags()
|
D | gpiolib-legacy.c | 22 struct gpio_desc *desc; in gpio_request_one()
|
/drivers/video/fbdev/omap2/displays-new/ |
D | panel-sharp-ls037v7dw01.c | 32 struct gpio_desc *resb_gpio; /* low = reset active min 20 us */ 33 struct gpio_desc *ini_gpio; /* high = power on */ 34 struct gpio_desc *mo_gpio; /* low = 480x640, high = 240x320 */ 35 struct gpio_desc *lr_gpio; /* high = conventional horizontal scanning */ 36 struct gpio_desc *ud_gpio; /* high = conventional vertical scanning */ 201 char *desc, struct gpio_desc **gpiod) in sharp_ls_get_gpio() 203 struct gpio_desc *gd; in sharp_ls_get_gpio() 268 const char *desc, struct gpio_desc **gpiod) in sharp_ls_get_gpio_of() 270 struct gpio_desc *gd; in sharp_ls_get_gpio_of()
|
D | panel-dpi.c | 34 struct gpio_desc *enable_gpio; 210 struct gpio_desc *gpio; in panel_dpi_probe_of()
|
D | panel-lgphilips-lb035q02.c | 56 struct gpio_desc *enable_gpio; 286 struct gpio_desc *gpio; in lb035q02_probe_of()
|
/drivers/tty/serial/ |
D | serial_mctrl_gpio.h | 59 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, 91 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod()
|
D | serial_mctrl_gpio.c | 26 struct gpio_desc *gpio[UART_GPIO_MAX]; 59 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod()
|
/drivers/mmc/core/ |
D | slot-gpio.c | 22 struct gpio_desc *ro_gpio; 23 struct gpio_desc *cd_gpio; 299 struct gpio_desc *desc; in mmc_gpiod_request_cd() 352 struct gpio_desc *desc; in mmc_gpiod_request_ro()
|
/drivers/clk/ |
D | clk-gpio-gate.c | 71 const char *parent_name, struct gpio_desc *gpiod, in clk_register_gpio_gate() 152 struct gpio_desc *gpiod; in of_clk_gpio_gate_delayed_register_get()
|
/drivers/power/reset/ |
D | gpio-poweroff.c | 26 static struct gpio_desc *reset_gpio;
|
D | gpio-restart.c | 27 struct gpio_desc *reset_gpio;
|
D | ltc2952-poweroff.c | 82 struct gpio_desc *gpio[3];
|
/drivers/input/misc/ |
D | gpio-beeper.c | 23 struct gpio_desc *desc;
|
D | soc_button_array.c | 55 struct gpio_desc *desc; in soc_button_lookup_gpio()
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_panel.c | 33 struct gpio_desc *enable_gpio; 60 struct gpio_desc *gpio = panel_encoder->mod->enable_gpio; in panel_encoder_dpms()
|
/drivers/mfd/ |
D | intel_soc_pmic_core.c | 36 struct gpio_desc *desc; in intel_soc_pmic_find_gpio_irq()
|
/drivers/input/keyboard/ |
D | clps711x-keypad.c | 26 struct gpio_desc *desc;
|
/drivers/i2c/muxes/ |
D | i2c-mux-pca954x.c | 189 struct gpio_desc *gpio; in pca954x_probe()
|
/drivers/hsi/clients/ |
D | nokia-modem.c | 38 struct gpio_desc *gpio;
|
/drivers/gpu/drm/panel/ |
D | panel-ld9040.c | 95 struct gpio_desc *reset_gpio;
|