Searched refs:gpio (Results 501 - 525 of 2012) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/gpio/
H A Dgpio-twl6040.c16 #include <linux/gpio/driver.h>
H A Dgpio-mt7621.c8 #include <linux/gpio/driver.h>
45 * separate gpio-chip each one with its
50 * @gc_map: array of the gpio chips
198 int gpio = spec->args[0]; local
201 if (rg->bank != gpio / MTK_BANK_WIDTH)
207 return gpio % MTK_BANK_WIDTH;
211 .name = "mt7621-gpio",
284 dev_err(dev, "Could not register gpio %d, ret=%d\n",
330 { .compatible = "mediatek,mt7621-gpio" },
H A Dgpio-ge.c18 #include <linux/gpio/driver.h>
39 .compatible = "gef,sbc610-gpio",
42 .compatible = "gef,sbc310-gpio",
45 .compatible = "ge,imp3a-gpio",
91 .name = "gef-gpio",
H A Dgpiolib-acpi.c19 #include <linux/gpio/consumer.h>
20 #include <linux/gpio/driver.h>
21 #include <linux/gpio/machine.h>
208 struct acpi_resource_gpio *gpio; local
213 gpio = &ares->data.gpio;
214 if (gpio->connection_type != ACPI_RESOURCE_GPIO_TYPE_INT)
217 *agpio = gpio;
231 struct acpi_resource_gpio *gpio; local
236 gpio
[all...]
/linux-master/sound/soc/codecs/
H A Dsimple-amplifier.c7 #include <linux/gpio/consumer.h>
82 "Failed to get 'enable' gpio");
H A Daw8738.c3 #include <linux/gpio/consumer.h>
75 "Failed to get 'mode' gpio");
H A Dcs42l42.h17 #include <linux/gpio/consumer.h>
/linux-master/drivers/iio/dac/
H A Dad5592r-base.h15 #include <linux/gpio/driver.h>
/linux-master/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.h758 #define GPIO_PIN_DECL(pin, gpio) \
759 SIG_EXPR_LIST_DECL_SESG(pin, gpio, gpio); \
760 PIN_DECL_(pin, SIG_EXPR_LIST_PTR(pin, gpio))
/linux-master/drivers/media/usb/dvb-usb/
H A Ddib0700.h57 int dib0700_set_gpio(struct dvb_usb_device *d, enum dib07x0_gpios gpio,
/linux-master/drivers/platform/x86/
H A Dbarco-p50-gpio.c22 #include <linux/gpio/driver.h>
23 #include <linux/gpio/machine.h>
27 #define DRIVER_NAME "barco-p50-gpio"
83 .dev_id = "leds-gpio",
104 .gpio = P50_GPIO_LINE_BTN,
239 /* gpio routines */
341 "leds-gpio", PLATFORM_DEVID_NONE, &leds_pdata, sizeof(leds_pdata));
345 dev_err(&pdev->dev, "Could not register leds-gpio: %d\n", ret);
349 /* gpio-keys-polled uses old-style gpio interfac
[all...]
/linux-master/arch/arm/mach-omap1/
H A Dboard-osk.c28 #include <linux/gpio/consumer.h>
29 #include <linux/gpio/driver.h>
30 #include <linux/gpio/machine.h>
44 #include <linux/platform_data/gpio-omap.h>
60 #define OMAP_GPIO_LABEL "gpio-0-15"
183 .dev_id = "leds-gpio",
199 .name = "leds-gpio",
234 /* Let LED1 (D9) blink; leds-gpio may override it */
362 GPIO_LOOKUP("gpio-48-63", 14, "cf_irq",
368 GPIO_LOOKUP_IDX("gpio
[all...]
/linux-master/include/linux/mfd/
H A Dtps65010.h140 * gpio: GPIO1, GPIO2, GPIO3 or GPIO4
143 extern int tps65010_set_gpio_out_value(unsigned gpio, unsigned value);
/linux-master/drivers/net/mdio/
H A Dmdio-mux-gpio.c7 #include <linux/gpio/consumer.h>
73 .compatible = "mdio-mux-gpio",
85 .name = "mdio-mux-gpio",
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dpriv.h15 #include <subdev/gpio.h>
/linux-master/drivers/pinctrl/qcom/
H A Dpinctrl-msm.h67 * this gpio should get routed to the KPSS processor.
119 * @gpio: The GPIOs that are wakeup capable
123 unsigned int gpio; member in struct:msm_gpio_wakeirq_map
/linux-master/drivers/leds/
H A Dleds-expresswire.c11 #include <linux/gpio/consumer.h>
/linux-master/drivers/gpu/drm/tilcdc/
H A Dtilcdc_panel.c8 #include <linux/gpio/consumer.h>
48 struct gpio_desc *gpio = panel_encoder->mod->enable_gpio; local
56 if (gpio)
57 gpiod_set_value_cansleep(gpio,
/linux-master/drivers/gpu/drm/amd/display/dc/
H A DMakefile25 DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc resource optc dpp
/linux-master/sound/pci/hda/
H A Dcs35l41_hda.h16 #include <linux/gpio/consumer.h>
/linux-master/drivers/platform/x86/x86-android-tablets/
H A Dx86-android-tablets.h13 #include <linux/gpio/consumer.h>
/linux-master/drivers/tty/serial/
H A Dsc16is7xx.c17 #include <linux/gpio/driver.h>
338 struct gpio_chip gpio; member in struct:sc16is7xx_port
1384 s->gpio.owner = THIS_MODULE;
1385 s->gpio.parent = dev;
1386 s->gpio.label = dev_name(dev);
1387 s->gpio.init_valid_mask = sc16is7xx_gpio_init_valid_mask;
1388 s->gpio.direction_input = sc16is7xx_gpio_direction_input;
1389 s->gpio.get = sc16is7xx_gpio_get;
1390 s->gpio.direction_output = sc16is7xx_gpio_direction_output;
1391 s->gpio
[all...]
/linux-master/arch/mips/alchemy/common/
H A Dirq.c36 #include <asm/mach-au1x00/gpio-au1300.h>
249 /* multifunction: gpio pin or device */
505 * @gpio: pin to change (0-based GPIO number from datasheet).
512 static inline void au1300_gpic_chgcfg(unsigned int gpio, argument
519 r += gpio * 4; /* offset into pin config array */
536 void au1300_pinfunc_to_gpio(enum au1300_multifunc_pins gpio) argument
538 au1300_gpio_direction_input(gpio + AU1300_GPIO_BASE);
549 void au1300_pinfunc_to_dev(enum au1300_multifunc_pins gpio) argument
554 r += GPIC_GPIO_BANKOFF(gpio);
555 bit = GPIC_GPIO_TO_BIT(gpio);
581 au1300_set_dbdma_gpio(int dchan, unsigned int gpio) argument
594 gpic_pin_set_idlewake(unsigned int gpio, int allow) argument
[all...]
/linux-master/arch/mips/txx9/rbtx4927/
H A Dsetup.c51 #include <linux/gpio.h>
323 { .name = "gpioled:green:0", .gpio = 0, .active_low = 1, },
324 { .name = "gpioled:green:1", .gpio = 1, .active_low = 1, },
330 struct platform_device *pdev = platform_device_alloc("leds-gpio", 0);
/linux-master/arch/arm/mach-orion5x/
H A Dts209-setup.c7 #include <linux/gpio.h>
206 .gpio = QNAP_TS209_GPIO_KEY_MEDIA,
211 .gpio = QNAP_TS209_GPIO_KEY_RESET,
223 .name = "gpio-keys",

Completed in 276 milliseconds

<<21222324252627282930>>