/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 65 #include <linux/gpio/consumer.h>
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-pxa.c | 23 #include <linux/gpio/consumer.h> 1375 dev_info(dev, "missing scl gpio recovery information: %pe\n", 1396 dev_info(dev, "missing sda gpio recovery information: %pe\n",
|
H A D | i2c-i801.c | 123 #include <linux/gpio/machine.h> 124 #include <linux/platform_data/i2c-mux-gpio.h> 1427 lookup->dev_id = "i2c-mux-gpio"; 1440 priv->mux_pdev = platform_device_register_data(dev, "i2c-mux-gpio", 1446 dev_err(dev, "Failed to register i2c-mux-gpio device\n");
|
/linux-master/drivers/gpio/ |
H A D | gpiolib.c | 28 #include <linux/gpio.h> 29 #include <linux/gpio/driver.h> 30 #include <linux/gpio/machine.h> 32 #include <uapi/linux/gpio.h> 42 #include <trace/events/gpio.h> 70 .name = "gpio", 134 * @gpio: global GPIO number 140 struct gpio_desc *gpio_to_desc(unsigned gpio) argument 147 if (gdev->base <= gpio && 148 gdev->base + gdev->ngpio > gpio) 479 struct gpio_desc *gpio; local 2511 int gpio = gpio_chip_hwgpio(desc); local 4770 unsigned int gpio = gdev->base; local [all...] |
H A D | gpiolib-cdev.c | 14 #include <linux/gpio.h> 15 #include <linux/gpio/driver.h> 33 #include <uapi/linux/gpio.h> 379 file = anon_inode_getfile("gpio-linehandle", 1691 seq_printf(out, "gpio-chip:\t%s\n", dev_name(dev)); 1694 seq_printf(out, "gpio-line:\t%d\n", 1835 file = anon_inode_getfile("gpio-line", &line_fileops, lr, 2261 file = anon_inode_getfile("gpio-event",
|
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-amd.c | 21 #include <linux/gpio/driver.h> 240 seq_puts(s, "gpio\t int|active|trigger|S0i3| S3|S4/S5| Z|wake|pull| orient| debounce|reg\n"); 1094 dev_err(&pdev->dev, "Failed to get gpio io resource.\n"); 1169 dev_dbg(&pdev->dev, "amd gpio driver loaded\n");
|
/linux-master/drivers/usb/typec/ucsi/ |
H A D | ucsi_glink.c | 13 #include <linux/gpio/consumer.h> 384 "unable to acquire orientation gpio\n");
|
/linux-master/drivers/usb/phy/ |
H A D | phy-generic.c | 24 #include <linux/gpio/consumer.h>
|
/linux-master/drivers/usb/dwc3/ |
H A D | dwc3-pci.c | 18 #include <linux/gpio/consumer.h> 19 #include <linux/gpio/machine.h> 222 struct gpio_desc *gpio; local 246 * put the gpio descriptors again here because the phy driver 249 gpio = gpiod_get_optional(&pdev->dev, "cs", GPIOD_OUT_LOW); 250 if (IS_ERR(gpio)) 251 return PTR_ERR(gpio); 253 gpiod_set_value_cansleep(gpio, 1); 254 gpiod_put(gpio); 256 gpio [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
H A D | dce110_hwseq.c | 718 struct gpio *hpd;
|
/linux-master/tools/ |
H A D | Makefile | 20 @echo ' gpio - GPIO tools' 71 counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci firmware debugging tracing: FORCE 118 all: acpi counter cpupower gpio hv firewire \
|
/linux-master/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.h | 1033 struct lan743x_gpio gpio; member in struct:lan743x_adapter
|
/linux-master/drivers/mmc/host/ |
H A D | sdhci-omap.c | 11 #include <linux/mmc/slot-gpio.h>
|
/linux-master/tools/testing/selftests/ |
H A D | Makefile | 36 TARGETS += gpio
|
/linux-master/sound/soc/codecs/ |
H A D | tlv320adc3xxx.c | 17 #include <linux/gpio/consumer.h> 23 #include <linux/gpio/driver.h> 1036 int gpio, micbias; local 1052 for (gpio = 0; gpio < ADC3XXX_GPIOS_MAX; gpio++) { 1053 unsigned int cfg = adc3xxx->gpio_cfg[gpio]; 1058 adc3xxx_gpio_ctrl_reg[gpio],
|
/linux-master/drivers/w1/masters/ |
H A D | w1-gpio.c | 3 * w1-gpio - GPIO w1 bus master driver 12 #include <linux/gpio/consumer.h> 68 { .compatible = "w1-gpio" }, 157 .name = "w1-gpio",
|
H A D | Makefile | 12 obj-$(CONFIG_W1_MASTER_GPIO) += w1-gpio.o
|
/linux-master/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-tpo-td043mtea1.c | 13 #include <linux/gpio/consumer.h>
|
/linux-master/drivers/usb/typec/tcpm/ |
H A D | fusb302.c | 12 #include <linux/gpio/consumer.h>
|
/linux-master/drivers/usb/typec/mux/ |
H A D | Makefile | 4 obj-$(CONFIG_TYPEC_MUX_GPIO_SBU) += gpio-sbu-mux.o
|
/linux-master/drivers/usb/serial/ |
H A D | ftdi_sio.c | 42 #include <linux/gpio/driver.h> 96 bool gpio_used; /* true if the user requested a gpio */ 97 u8 gpio_altfunc; /* which pins are in gpio mode */ 1830 static int ftdi_gpio_get(struct gpio_chip *gc, unsigned int gpio) argument 1839 return !!(result & BIT(gpio)); 1842 static void ftdi_gpio_set(struct gpio_chip *gc, unsigned int gpio, int value) argument 1850 priv->gpio_value |= BIT(gpio); 1852 priv->gpio_value &= ~BIT(gpio); 1889 static int ftdi_gpio_direction_get(struct gpio_chip *gc, unsigned int gpio) argument 1894 return !(priv->gpio_output & BIT(gpio)); 1897 ftdi_gpio_direction_input(struct gpio_chip *gc, unsigned int gpio) argument 1913 ftdi_gpio_direction_output(struct gpio_chip *gc, unsigned int gpio, int value) argument [all...] |
H A D | cp210x.c | 22 #include <linux/gpio/driver.h> 1465 static int cp210x_gpio_get(struct gpio_chip *gc, unsigned int gpio) argument 1504 return !!(mask & BIT(gpio)); 1507 static void cp210x_gpio_set(struct gpio_chip *gc, unsigned int gpio, int value) argument 1518 state = BIT(gpio); 1522 mask = BIT(gpio); 1565 static int cp210x_gpio_direction_get(struct gpio_chip *gc, unsigned int gpio) argument 1570 return priv->gpio_input & BIT(gpio); 1573 static int cp210x_gpio_direction_input(struct gpio_chip *gc, unsigned int gpio) argument 1584 if (priv->gpio_pushpull & BIT(gpio)) 1595 cp210x_gpio_direction_output(struct gpio_chip *gc, unsigned int gpio, int value) argument 1607 cp210x_gpio_set_config(struct gpio_chip *gc, unsigned int gpio, unsigned long config) argument [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | pxa27x_udc.c | 20 #include <linux/gpio.h> 21 #include <linux/gpio/consumer.h> 2356 int retval = 0, gpio; local 2362 gpio = mach->gpio_pullup; 2363 if (gpio_is_valid(gpio)) { 2364 retval = devm_gpio_request_one(&pdev->dev, gpio, 2394 dev_err(&pdev->dev, "Couldn't find or request D+ gpio : %ld\n",
|
/linux-master/drivers/tty/serial/ |
H A D | xilinx_uartps.c | 25 #include <linux/gpio.h> 26 #include <linux/gpio/consumer.h> 198 * @gpiod_rts: Pointer to the gpio descriptor
|
H A D | st-asc.c | 24 #include <linux/gpio/consumer.h>
|