/linux-master/drivers/gpio/ |
H A D | gpio-vx855.c | 12 #include <linux/gpio/driver.h> 35 struct gpio_chip gpio; member in struct:vx855_gpio 80 static int vx855gpio_direction_input(struct gpio_chip *gpio, argument 83 struct vx855_gpio *vg = gpiochip_get_data(gpio); 105 static int vx855gpio_get(struct gpio_chip *gpio, unsigned int nr) argument 107 struct vx855_gpio *vg = gpiochip_get_data(gpio); 130 static void vx855gpio_set(struct gpio_chip *gpio, unsigned int nr, argument 133 struct vx855_gpio *vg = gpiochip_get_data(gpio); 158 static int vx855gpio_direction_output(struct gpio_chip *gpio, argument 168 vx855gpio_set(gpio, n 173 vx855gpio_set_config(struct gpio_chip *gpio, unsigned int nr, unsigned long config) argument [all...] |
H A D | gpio-virtio.c | 14 #include <linux/gpio/driver.h> 58 static int _virtio_gpio_req(struct virtio_gpio *vgpio, u16 type, u16 gpio, argument 61 struct virtio_gpio_line *line = &vgpio->lines[gpio]; 77 req->gpio = cpu_to_le16(gpio); 106 dev_err(dev, "GPIO request failed: %d\n", gpio); 126 static int virtio_gpio_req(struct virtio_gpio *vgpio, u16 type, u16 gpio, argument 129 struct virtio_gpio_line *line = &vgpio->lines[gpio]; 132 return _virtio_gpio_req(vgpio, type, gpio, txvalue, rxvalue, res, 136 static void virtio_gpio_free(struct gpio_chip *gc, unsigned int gpio) argument 144 virtio_gpio_get_direction(struct gpio_chip *gc, unsigned int gpio) argument 165 virtio_gpio_direction_input(struct gpio_chip *gc, unsigned int gpio) argument 173 virtio_gpio_direction_output(struct gpio_chip *gc, unsigned int gpio, int value) argument 187 virtio_gpio_get(struct gpio_chip *gc, unsigned int gpio) argument 197 virtio_gpio_set(struct gpio_chip *gc, unsigned int gpio, int value) argument 205 virtio_gpio_irq_prepare(struct virtio_gpio *vgpio, u16 gpio) argument 366 ignore_irq(struct virtio_gpio *vgpio, int gpio, struct vgpio_irq_line *irq_line) argument 404 int gpio, ret; local [all...] |
/linux-master/include/linux/mfd/ |
H A D | ti-lmu.h | 13 #include <linux/gpio.h> 16 #include <linux/gpio/consumer.h>
|
H A D | hi655x-pmic.h | 15 #include <linux/gpio/consumer.h> 57 struct gpio_desc *gpio; member in struct:hi655x_pmic
|
/linux-master/drivers/usb/common/ |
H A D | Makefile | 11 obj-$(CONFIG_USB_CONN_GPIO) += usb-conn-gpio.o
|
/linux-master/include/linux/regulator/ |
H A D | lp872x.h | 13 #include <linux/gpio/consumer.h> 50 * @gpio : gpio descriptor for dvs control 55 struct gpio_desc *gpio; member in struct:lp872x_dvs 76 * @enable_gpio : gpio descriptor for enable control
|
/linux-master/include/uapi/linux/ |
H A D | virtio_gpio.h | 45 __le16 gpio; member in struct:virtio_gpio_request 61 __le16 gpio; member in struct:virtio_gpio_irq_request
|
/linux-master/arch/arm/mach-orion5x/ |
H A D | irq.c | 9 #include <linux/gpio.h> 13 #include <plat/orion-gpio.h>
|
/linux-master/drivers/platform/x86/siemens/ |
H A D | simatic-ipc-batt-elkhartlake.c | 11 #include <linux/gpio/machine.h> 12 #include <linux/gpio/consumer.h>
|
H A D | simatic-ipc-batt-apollolake.c | 11 #include <linux/gpio/machine.h> 12 #include <linux/gpio/consumer.h>
|
/linux-master/drivers/leds/simple/ |
H A D | simatic-ipc-leds-gpio-elkhartlake.c | 11 #include <linux/gpio/machine.h> 12 #include <linux/gpio/consumer.h> 18 #include "simatic-ipc-leds-gpio.h" 21 .dev_id = "leds-gpio", 55 MODULE_SOFTDEP("pre: simatic-ipc-leds-gpio-core platform:elkhartlake-pinctrl");
|
/linux-master/arch/mips/loongson32/ls1b/ |
H A D | board.c | 17 .gpio = 38, 23 .gpio = 39,
|
/linux-master/drivers/w1/masters/ |
H A D | Makefile | 12 obj-$(CONFIG_W1_MASTER_GPIO) += w1-gpio.o
|
/linux-master/drivers/usb/typec/mux/ |
H A D | Makefile | 4 obj-$(CONFIG_TYPEC_MUX_GPIO_SBU) += gpio-sbu-mux.o
|
/linux-master/sound/pci/ice1712/ |
H A D | ice1712.h | 254 unsigned int data_mask; /* DATA gpio bit */ 255 unsigned int clk_mask; /* CLK gpio bit */ 363 } gpio; member in struct:snd_ice1712 393 * gpio access functions 397 ice->gpio.set_dir(ice, bits); 402 return ice->gpio.get_dir(ice); 407 ice->gpio.set_mask(ice, bits); 412 ice->gpio.set_data(ice, val); 417 return ice->gpio.get_data(ice); 421 * save and restore gpio statu [all...] |
/linux-master/drivers/staging/fbtft/ |
H A D | fb_agm1264k-fl.c | 11 #include <linux/gpio/consumer.h> 29 #define EPIN gpio.wr 30 #define RS gpio.dc 31 #define RW gpio.aux[2] 32 #define CS0 gpio.aux[0] 33 #define CS1 gpio.aux[1] 90 "Missing info about 'wr' (aka E) gpio. Aborting.\n"); 94 if (!par->gpio.db[i]) { 96 "Missing info about 'db[%i]' gpio. Aborting.\n", 103 "Missing info about 'cs0' gpio 121 request_gpios_match(struct fbtft_par *par, const struct fbtft_gpio *gpio) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | gpio_service.c | 126 struct gpio *dal_gpio_service_create_irq( 142 struct gpio *dal_gpio_service_create_generic_mux( 149 struct gpio *generic; 163 struct gpio **mux) 218 struct gpio *mux, 290 struct gpio *gpio) 292 struct gpio_service *service = gpio->service; 293 enum gpio_id id = gpio->id; 294 uint32_t en = gpio 289 dal_gpio_service_open( struct gpio *gpio) argument [all...] |
H A D | hw_generic.c | 47 struct gpio; 124 struct hw_gpio_pin *dal_hw_generic_get_pin(struct gpio *gpio) argument 126 struct hw_generic *hw_generic = dal_gpio_get_generic(gpio);
|
/linux-master/drivers/pinctrl/mediatek/ |
H A D | pinctrl-paris.c | 12 #include <linux/gpio/driver.h> 602 static int mtk_hw_get_value_wrap(struct mtk_pinctrl *hw, unsigned int gpio, int field) argument 607 if (gpio >= hw->soc->npins) 610 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; 619 #define mtk_pctrl_get_pinmux(hw, gpio) \ 620 mtk_hw_get_value_wrap(hw, gpio, PINCTRL_PIN_REG_MODE) 622 #define mtk_pctrl_get_direction(hw, gpio) \ 623 mtk_hw_get_value_wrap(hw, gpio, PINCTRL_PIN_REG_DIR) 625 #define mtk_pctrl_get_out(hw, gpio) \ 626 mtk_hw_get_value_wrap(hw, gpio, PINCTRL_PIN_REG_D 640 mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw, unsigned int gpio, char *buf, unsigned int buf_len) argument 716 mtk_pctrl_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned int gpio) argument 853 mtk_gpio_get_direction(struct gpio_chip *chip, unsigned int gpio) argument 881 mtk_gpio_get(struct gpio_chip *chip, unsigned int gpio) argument 899 mtk_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) argument 912 mtk_gpio_direction_input(struct gpio_chip *chip, unsigned int gpio) argument 922 mtk_gpio_direction_output(struct gpio_chip *chip, unsigned int gpio, int value) argument [all...] |
/linux-master/drivers/media/pci/solo6x10/ |
H A D | Makefile | 3 solo6x10-tw28.o solo6x10-gpio.o solo6x10-disp.o solo6x10-enc.o \
|
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-gpio.h | 3 * mxl111sf-gpio.h - driver for the MaxLinear MXL111SF 13 int mxl111sf_set_gpio(struct mxl111sf_state *state, int gpio, int val);
|
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_defs_mfg_comm.h | 73 #define bfa_mfg_adapter_prop_init_gpio(gpio, card_type, prop) \ 75 if ((gpio) & CB_GPIO_PROTO) { \ 77 (gpio) &= ~CB_GPIO_PROTO; \ 79 switch (gpio) { \
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | g94.c | 27 g94_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) argument 29 struct nvkm_device *device = gpio->subdev.device; 41 g94_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) argument 43 struct nvkm_device *device = gpio->subdev.device;
|
/linux-master/drivers/nfc/fdp/ |
H A D | fdp.h | 12 #include <linux/gpio/consumer.h>
|
/linux-master/arch/arm/mach-tegra/ |
H A D | board-paz00.c | 12 #include <linux/gpio/machine.h> 31 GPIO_LOOKUP("tegra-gpio", 25, "reset", 0), 32 GPIO_LOOKUP("tegra-gpio", 85, "shutdown", 0),
|