Searched defs:gpio (Results 1 - 200 of 437) sorted by relevance

123

/linux-4.1.27/include/linux/input/
H A Dnavpoint.h11 int gpio; /* GPIO for power on/off */ member in struct:navpoint_platform_data
/linux-4.1.27/include/linux/
H A Di2c-pca-platform.h5 int gpio; /* pin to reset chip. driver will work when member in struct:i2c_pca9564_pf_platform_data
H A Dgpio-fan.h15 unsigned gpio; member in struct:gpio_fan_alarm
H A Dgpio_keys.h25 int gpio; member in struct:gpio_keys_button
/linux-4.1.27/arch/x86/platform/intel-mid/device_libs/
H A Dplatform_msic_gpio.c29 int gpio = get_gpio_by_name("msic_gpio_base"); msic_gpio_platform_data() local
H A Dplatform_msic_ocd.c28 int gpio; msic_ocd_platform_data() local
/linux-4.1.27/arch/mips/include/asm/mach-ath79/
H A Dath79_spi_platform.h20 unsigned gpio; member in struct:ath79_spi_controller_data
/linux-4.1.27/arch/mips/include/asm/mach-loongson/
H A Dgpio.h26 static inline int gpio_to_irq(int gpio) gpio_to_irq() argument
31 static inline int irq_to_gpio(int gpio) irq_to_gpio() argument
/linux-4.1.27/include/linux/platform_data/
H A Dgpio_backlight.h15 int gpio; member in struct:gpio_backlight_platform_data
H A Dleds-omap.h14 s16 gpio; member in struct:omap_led_config
H A Dleds-s3c24xx.h20 unsigned int gpio; member in struct:s3c24xx_led_platdata
H A Dgpio-davinci.h51 static inline u32 __gpio_mask(unsigned gpio) __gpio_mask() argument
/linux-4.1.27/include/media/
H A Ds5k4ecgx.h22 int gpio; member in struct:s5k4ecgx_gpio
H A Ds5c73m3.h29 int gpio; member in struct:s5c73m3_gpio
H A Ds5k6aa.h23 int gpio; member in struct:s5k6aa_gpio
/linux-4.1.27/arch/arm/mach-pxa/
H A Dzylonite_pxa320.c166 int i, gpio, id = 0; zylonite_detect_lcd_panel() local
H A Dzylonite_pxa300.c187 int i, gpio, id = 0; zylonite_detect_lcd_panel() local
H A Dreset.c25 int init_gpio_reset(int gpio, int output, int level) init_gpio_reset() argument
H A Dpalmtreo.c467 unsigned int gpio; treo680_gpio_init() local
H A Dcm-x270.c207 int gpio, err; cmx270_marathon_probe() local
222 int gpio; cmx270_marathon_remove() local
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/
H A Drfkill.c25 u8 gpio; rtl8187_is_radio_enabled() local
/linux-4.1.27/drivers/staging/android/
H A Dtimed_gpio.h23 unsigned gpio; member in struct:timed_gpio
H A Dtimed_gpio.c33 unsigned gpio; member in struct:timed_gpio_data
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Dled.h21 unsigned gpio; member in struct:brcms_led
H A Dled.c63 unsigned gpio = -1; brcms_led_register() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgpio.c37 struct nvkm_gpio *gpio = nvkm_gpio(volt); nvkm_voltgpio_get() local
56 struct nvkm_gpio *gpio = nvkm_gpio(volt); nvkm_voltgpio_set() local
73 struct nvkm_gpio *gpio = nvkm_gpio(volt); nvkm_voltgpio_init() local
/linux-4.1.27/arch/microblaze/kernel/
H A Dheartbeat.c47 struct device_node *gpio = NULL; microblaze_setup_heartbeat() local
/linux-4.1.27/include/linux/power/
H A Dgpio-charger.h34 int gpio; member in struct:gpio_charger_platform_data
/linux-4.1.27/arch/sh/boards/mach-sdk7786/
H A Dgpio.c25 static int usrgpir_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) usrgpir_gpio_direction_input() argument
31 static int usrgpir_gpio_get(struct gpio_chip *chip, unsigned gpio) usrgpir_gpio_get() argument
/linux-4.1.27/arch/sh/include/asm/
H A Dgpio.h27 static inline int gpio_get_value(unsigned gpio) gpio_get_value() argument
32 static inline void gpio_set_value(unsigned gpio, int value) gpio_set_value() argument
37 static inline int gpio_cansleep(unsigned gpio) gpio_cansleep() argument
42 static inline int gpio_to_irq(unsigned gpio) gpio_to_irq() argument
/linux-4.1.27/arch/avr32/mach-at32ap/include/mach/
H A Dgpio.h17 static inline int gpio_get_value(unsigned int gpio) gpio_get_value() argument
22 static inline void gpio_set_value(unsigned int gpio, int value) gpio_set_value() argument
27 static inline int gpio_cansleep(unsigned int gpio) gpio_cansleep() argument
33 static inline int gpio_to_irq(unsigned int gpio) gpio_to_irq() argument
/linux-4.1.27/arch/arm/plat-samsung/
H A Dsetup-camif.c40 int gpio = gpio_start + i; s3c_camif_gpio_get() local
67 int gpio = gpio_start + i; s3c_camif_gpio_put() local
/linux-4.1.27/include/linux/extcon/
H A Dextcon-gpio.h48 unsigned gpio; member in struct:gpio_extcon_platform_data
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dgpio.c106 ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio) ath5k_hw_set_gpio_input() argument
124 ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio) ath5k_hw_set_gpio_output() argument
142 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio) ath5k_hw_get_gpio() argument
159 ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val) ath5k_hw_set_gpio() argument
189 ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, ath5k_hw_set_gpio_intr() argument
/linux-4.1.27/drivers/mfd/
H A Dpcf50633-gpio.c38 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val) pcf50633_gpio_set() argument
48 u8 pcf50633_gpio_get(struct pcf50633 *pcf, int gpio) pcf50633_gpio_get() argument
59 int pcf50633_gpio_invert_set(struct pcf50633 *pcf, int gpio, int invert) pcf50633_gpio_invert_set() argument
70 int pcf50633_gpio_invert_get(struct pcf50633 *pcf, int gpio) pcf50633_gpio_invert_get() argument
81 pcf50633_gpio_power_supply_set(struct pcf50633 *pcf, int gpio, int regulator, int on) pcf50633_gpio_power_supply_set() argument
H A Dwm8350-gpio.c23 static int gpio_set_dir(struct wm8350 *wm8350, int gpio, int dir) gpio_set_dir() argument
40 static int wm8350_gpio_set_debounce(struct wm8350 *wm8350, int gpio, int db) wm8350_gpio_set_debounce() argument
50 static int gpio_set_func(struct wm8350 *wm8350, int gpio, int func) gpio_set_func() argument
143 static int gpio_set_pull_up(struct wm8350 *wm8350, int gpio, int up) gpio_set_pull_up() argument
155 static int gpio_set_pull_down(struct wm8350 *wm8350, int gpio, int down) gpio_set_pull_down() argument
167 static int gpio_set_polarity(struct wm8350 *wm8350, int gpio, int pol) gpio_set_polarity() argument
179 static int gpio_set_invert(struct wm8350 *wm8350, int gpio, int invert) gpio_set_invert() argument
188 int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, wm8350_gpio_config() argument
H A Darizona-core.c506 int gpio; arizona_of_get_named_gpio() local
H A Ddm355evm_msp.c309 int gpio = dm355evm_msp_gpio.base + config_inputs[i].offset; add_children() local
H A Dintel_msic.c324 unsigned gpio = pdata->ocd->gpio; intel_msic_init_devices() local
/linux-4.1.27/drivers/gpio/
H A Dgpio-ucb1400.c17 struct ucb1400_gpio *gpio; ucb1400_gpio_dir_in() local
25 struct ucb1400_gpio *gpio; ucb1400_gpio_dir_out() local
34 struct ucb1400_gpio *gpio; ucb1400_gpio_get() local
41 struct ucb1400_gpio *gpio; ucb1400_gpio_set() local
H A Dgpiolib-legacy.c8 void gpio_free(unsigned gpio) gpio_free() argument
20 int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) gpio_request_one() argument
67 int gpio_request(unsigned gpio, const char *label) gpio_request() argument
H A Dgpio-loongson.c37 static int loongson_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) loongson_gpio_direction_input() argument
69 static int loongson_gpio_get_value(struct gpio_chip *chip, unsigned gpio) loongson_gpio_get_value() argument
52 loongson_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int level) loongson_gpio_direction_output() argument
82 loongson_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) loongson_gpio_set_value() argument
H A Dgpio-74xx-mmio.c95 static int mmio_74xx_dir_in(struct gpio_chip *gc, unsigned int gpio) mmio_74xx_dir_in() argument
102 static int mmio_74xx_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) mmio_74xx_dir_out() argument
H A Dgpio-octeon.c44 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_dir_in() local
52 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_set() local
61 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_dir_out() local
75 struct octeon_gpio *gpio = container_of(chip, struct octeon_gpio, chip); octeon_gpio_get() local
83 struct octeon_gpio *gpio; octeon_gpio_probe() local
H A Dgpio-rdc321x.c44 static int rdc_gpio_get_value(struct gpio_chip *chip, unsigned gpio) rdc_gpio_get_value() argument
123 static int rdc_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) rdc_gpio_direction_input() argument
62 rdc_gpio_set_value_impl(struct gpio_chip *chip, unsigned gpio, int value) rdc_gpio_set_value_impl() argument
81 rdc_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) rdc_gpio_set_value() argument
92 rdc_gpio_config(struct gpio_chip *chip, unsigned gpio, int value) rdc_gpio_config() argument
H A Dgpio-wm8994.c182 int gpio = i + chip->base; wm8994_gpio_dbg_show() local
H A Ddevres.c33 struct gpio_desc **this = res, **gpio = data; devm_gpiod_match() local
297 unsigned *gpio = res; devm_gpio_release() local
304 unsigned *this = res, *gpio = data; devm_gpio_match() local
324 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label) devm_gpio_request() argument
353 int devm_gpio_request_one(struct device *dev, unsigned gpio, devm_gpio_request_one() argument
386 void devm_gpio_free(struct device *dev, unsigned int gpio) devm_gpio_free() argument
H A Dgpio-bt8xx.c64 struct gpio_chip gpio; member in struct:bt8xxgpio
81 static int bt8xxgpio_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) bt8xxgpio_gpio_direction_input() argument
102 static int bt8xxgpio_gpio_get(struct gpio_chip *gpio, unsigned nr) bt8xxgpio_gpio_get() argument
115 static int bt8xxgpio_gpio_direction_output(struct gpio_chip *gpio, bt8xxgpio_gpio_direction_output() argument
140 static void bt8xxgpio_gpio_set(struct gpio_chip *gpio, bt8xxgpio_gpio_set() argument
H A Dgpio-da9055.c45 struct da9055_gpio *gpio = to_da9055_gpio(gc); da9055_gpio_get() local
74 struct da9055_gpio *gpio = to_da9055_gpio(gc); da9055_gpio_set() local
84 struct da9055_gpio *gpio = to_da9055_gpio(gc); da9055_gpio_direction_input() local
100 struct da9055_gpio *gpio = to_da9055_gpio(gc); da9055_gpio_direction_output() local
122 struct da9055_gpio *gpio = to_da9055_gpio(gc); da9055_gpio_to_irq() local
144 struct da9055_gpio *gpio; da9055_gpio_probe() local
175 struct da9055_gpio *gpio = platform_get_drvdata(pdev); da9055_gpio_remove() local
H A Dgpio-iop.c75 static int iop3xx_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) iop3xx_gpio_direction_input() argument
81 static int iop3xx_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int level) iop3xx_gpio_direction_output() argument
88 static int iop3xx_gpio_get_value(struct gpio_chip *chip, unsigned gpio) iop3xx_gpio_get_value() argument
93 static void iop3xx_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) iop3xx_gpio_set_value() argument
H A Dgpio-kempld.c68 struct kempld_gpio_data *gpio kempld_gpio_get() local
77 struct kempld_gpio_data *gpio kempld_gpio_set() local
88 struct kempld_gpio_data *gpio kempld_gpio_direction_input() local
102 struct kempld_gpio_data *gpio kempld_gpio_direction_output() local
116 struct kempld_gpio_data *gpio kempld_gpio_get_direction() local
148 struct kempld_gpio_data *gpio; kempld_gpio_probe() local
200 struct kempld_gpio_data *gpio = platform_get_drvdata(pdev); kempld_gpio_remove() local
H A Dgpio-ks8695.c40 static void ks8695_gpio_mode(unsigned int pin, short gpio) ks8695_gpio_mode() argument
H A Dgpio-mb86s7x.c52 static int mb86s70_gpio_request(struct gpio_chip *gc, unsigned gpio) mb86s70_gpio_request() argument
74 static void mb86s70_gpio_free(struct gpio_chip *gc, unsigned gpio) mb86s70_gpio_free() argument
89 static int mb86s70_gpio_direction_input(struct gpio_chip *gc, unsigned gpio) mb86s70_gpio_direction_input() argument
131 static int mb86s70_gpio_get(struct gpio_chip *gc, unsigned gpio) mb86s70_gpio_get() argument
138 static void mb86s70_gpio_set(struct gpio_chip *gc, unsigned gpio, int value) mb86s70_gpio_set() argument
106 mb86s70_gpio_direction_output(struct gpio_chip *gc, unsigned gpio, int value) mb86s70_gpio_direction_output() argument
H A Dgpio-mpc5200.c57 static int mpc52xx_wkup_gpio_get(struct gpio_chip *gc, unsigned int gpio) mpc52xx_wkup_gpio_get() argument
71 __mpc52xx_wkup_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) __mpc52xx_wkup_gpio_set() argument
87 mpc52xx_wkup_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) mpc52xx_wkup_gpio_set() argument
100 static int mpc52xx_wkup_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) mpc52xx_wkup_gpio_dir_in() argument
124 mpc52xx_wkup_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) mpc52xx_wkup_gpio_dir_out() argument
224 static int mpc52xx_simple_gpio_get(struct gpio_chip *gc, unsigned int gpio) mpc52xx_simple_gpio_get() argument
236 __mpc52xx_simple_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) __mpc52xx_simple_gpio_set() argument
251 mpc52xx_simple_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) mpc52xx_simple_gpio_set() argument
264 static int mpc52xx_simple_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) mpc52xx_simple_gpio_dir_in() argument
288 mpc52xx_simple_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) mpc52xx_simple_gpio_dir_out() argument
H A Dgpio-sch.c46 static unsigned sch_gpio_offset(struct sch_gpio *sch, unsigned gpio, sch_gpio_offset() argument
59 static unsigned sch_gpio_bit(struct sch_gpio *sch, unsigned gpio) sch_gpio_bit() argument
66 static int sch_gpio_reg_get(struct gpio_chip *gc, unsigned gpio, unsigned reg) sch_gpio_reg_get() argument
80 static void sch_gpio_reg_set(struct gpio_chip *gc, unsigned gpio, unsigned reg, sch_gpio_reg_set() argument
H A Dgpio-vx855.c51 struct gpio_chip gpio; member in struct:vx855_gpio
96 static int vx855gpio_direction_input(struct gpio_chip *gpio, vx855gpio_direction_input() argument
121 static int vx855gpio_get(struct gpio_chip *gpio, unsigned int nr) vx855gpio_get() argument
146 static void vx855gpio_set(struct gpio_chip *gpio, unsigned int nr, vx855gpio_set() argument
174 static int vx855gpio_direction_output(struct gpio_chip *gpio, vx855gpio_direction_output() argument
H A Dgpio-wm831x.c148 int gpio = i + chip->base; wm831x_gpio_dbg_show() local
H A Dgpio-xgene-sb.c60 static void xgene_gpio_set_bit(struct bgpio_chip *bgc, void __iomem *reg, u32 gpio, int val) xgene_gpio_set_bit() argument
72 static int apm_gpio_sb_to_irq(struct gpio_chip *gc, u32 gpio) apm_gpio_sb_to_irq() argument
H A Dgpio-xgene.c138 struct xgene_gpio *gpio = dev_get_drvdata(dev); xgene_gpio_suspend() local
151 struct xgene_gpio *gpio = dev_get_drvdata(dev); xgene_gpio_resume() local
171 struct xgene_gpio *gpio; xgene_gpio_probe() local
217 struct xgene_gpio *gpio = platform_get_drvdata(pdev); xgene_gpio_remove() local
H A Dgpio-xilinx.c57 static inline int xgpio_index(struct xgpio_instance *chip, int gpio) xgpio_index() argument
65 static inline int xgpio_regoffset(struct xgpio_instance *chip, int gpio) xgpio_regoffset() argument
73 static inline int xgpio_offset(struct xgpio_instance *chip, int gpio) xgpio_offset() argument
92 static int xgpio_get(struct gpio_chip *gc, unsigned int gpio) xgpio_get() argument
114 static void xgpio_set(struct gpio_chip *gc, unsigned int gpio, int val) xgpio_set() argument
146 static int xgpio_dir_in(struct gpio_chip *gc, unsigned int gpio) xgpio_dir_in() argument
179 static int xgpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) xgpio_dir_out() argument
H A Dgpio-adp5588.c193 unsigned gpio = d->irq - dev->irq_base; adp5588_irq_mask() local
201 unsigned gpio = d->irq - dev->irq_base; adp5588_irq_unmask() local
209 uint16_t gpio = d->irq - dev->irq_base; adp5588_irq_set_type() local
292 unsigned gpio; adp5588_irq_setup() local
H A Dgpio-da9052.c66 struct da9052_gpio *gpio = to_da9052_gpio(gc); da9052_gpio_get() local
108 struct da9052_gpio *gpio = to_da9052_gpio(gc); da9052_gpio_set() local
134 struct da9052_gpio *gpio = to_da9052_gpio(gc); da9052_gpio_direction_input() local
160 struct da9052_gpio *gpio = to_da9052_gpio(gc); da9052_gpio_direction_output() local
185 struct da9052_gpio *gpio = to_da9052_gpio(gc); da9052_gpio_to_irq() local
210 struct da9052_gpio *gpio; da9052_gpio_probe() local
238 struct da9052_gpio *gpio = platform_get_drvdata(pdev); da9052_gpio_remove() local
H A Dgpio-ep93xx.c170 const int gpio = irq_to_gpio(d->irq); ep93xx_gpio_irq_type() local
295 int gpio = chip->base + offset; ep93xx_gpio_set_debounce() local
313 int gpio = chip->base + offset; ep93xx_gpio_to_irq() local
H A Dgpio-janz-ttl.c48 struct gpio_chip gpio; member in struct:ttl_module
60 static int ttl_get_value(struct gpio_chip *gpio, unsigned offset) ttl_get_value() argument
82 static void ttl_set_value(struct gpio_chip *gpio, unsigned offset, int value) ttl_set_value() argument
148 struct gpio_chip *gpio; ttl_probe() local
H A Dgpio-mpc8xxx.c47 static inline u32 mpc8xxx_gpio2mask(unsigned int gpio) mpc8xxx_gpio2mask() argument
70 static int mpc8572_gpio_get(struct gpio_chip *gc, unsigned int gpio) mpc8572_gpio_get() argument
85 static int mpc8xxx_gpio_get(struct gpio_chip *gc, unsigned int gpio) mpc8xxx_gpio_get() argument
92 static void mpc8xxx_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) mpc8xxx_gpio_set() argument
136 static int mpc8xxx_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) mpc8xxx_gpio_dir_in() argument
151 static int mpc8xxx_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) mpc8xxx_gpio_dir_out() argument
168 static int mpc5121_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) mpc5121_gpio_dir_out() argument
269 unsigned long gpio = irqd_to_hwirq(d); mpc512x_irq_set_type() local
H A Dgpio-msic.c168 u32 gpio = data->irq - mg->irq_base; msic_irq_type() local
H A Dgpio-mxs.c139 static void mxs_flip_edge(struct mxs_gpio_port *port, u32 gpio) mxs_flip_edge() argument
H A Dgpio-pcf857x.c139 struct pcf857x *gpio = container_of(chip, struct pcf857x, chip); pcf857x_input() local
152 struct pcf857x *gpio = container_of(chip, struct pcf857x, chip); pcf857x_get() local
161 struct pcf857x *gpio = container_of(chip, struct pcf857x, chip); pcf857x_output() local
185 struct pcf857x *gpio = data; pcf857x_irq() local
219 struct pcf857x *gpio = irq_data_get_irq_chip_data(data); pcf857x_irq_set_wake() local
244 struct pcf857x *gpio; pcf857x_probe() local
397 struct pcf857x *gpio = i2c_get_clientdata(client); pcf857x_remove() local
H A Dgpio-pl061.c69 int gpio = gc->base + offset; pl061_gpio_request() local
79 int gpio = gc->base + offset; pl061_gpio_free() local
H A Dgpio-sta2x11.c55 struct gpio_chip gpio; member in struct:gsta_gpio
75 static void gsta_gpio_set(struct gpio_chip *gpio, unsigned nr, int val) gsta_gpio_set() argument
87 static int gsta_gpio_get(struct gpio_chip *gpio, unsigned nr) gsta_gpio_get() argument
96 static int gsta_gpio_direction_output(struct gpio_chip *gpio, unsigned nr, gsta_gpio_direction_output() argument
112 static int gsta_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) gsta_gpio_direction_input() argument
122 static int gsta_gpio_to_irq(struct gpio_chip *gpio, unsigned offset) gsta_gpio_to_irq() argument
130 struct gpio_chip *gpio = &chip->gpio; gsta_gpio_setup() local
H A Dgpio-stp-xway.c101 static void xway_stp_set(struct gpio_chip *gc, unsigned gpio, int val) xway_stp_set() argument
122 static int xway_stp_dir_out(struct gpio_chip *gc, unsigned gpio, int val) xway_stp_dir_out() argument
136 static int xway_stp_request(struct gpio_chip *gc, unsigned gpio) xway_stp_request() argument
H A Dgpio-tb10x.c63 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) tb10x_reg_read() argument
68 static inline void tb10x_reg_write(struct tb10x_gpio *gpio, unsigned int offs, tb10x_reg_write() argument
74 static inline void tb10x_set_bits(struct tb10x_gpio *gpio, unsigned int offs, tb10x_set_bits() argument
H A Dgpio-timberdale.c48 struct gpio_chip gpio; member in struct:timbgpio
53 static int timbgpio_update_bit(struct gpio_chip *gpio, unsigned index, timbgpio_update_bit() argument
73 static int timbgpio_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) timbgpio_gpio_direction_input() argument
78 static int timbgpio_gpio_get(struct gpio_chip *gpio, unsigned nr) timbgpio_gpio_get() argument
87 static int timbgpio_gpio_direction_output(struct gpio_chip *gpio, timbgpio_gpio_direction_output() argument
93 static void timbgpio_gpio_set(struct gpio_chip *gpio, timbgpio_gpio_set() argument
99 static int timbgpio_to_irq(struct gpio_chip *gpio, unsigned offset) timbgpio_to_irq() argument
H A Dgpio-vf610.c88 static int vf610_gpio_get(struct gpio_chip *gc, unsigned int gpio) vf610_gpio_get() argument
96 static void vf610_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) vf610_gpio_set() argument
108 static int vf610_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) vf610_gpio_direction_input() argument
113 static int vf610_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, vf610_gpio_direction_output() argument
144 int gpio = d->hwirq; vf610_gpio_irq_ack() local
H A Dgpiolib-sysfs.c450 long gpio; export_store() local
492 long gpio; unexport_store() local
/linux-4.1.27/drivers/input/mouse/
H A Dgpio_mouse.c24 struct gpio_mouse_platform_data *gpio = dev->private; gpio_mouse_scan() local
H A Dnavpoint.c38 int gpio; member in struct:navpoint
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dnv31.c32 u32 gpio = nv_rd32(pbus, 0x001104) & nv_rd32(pbus, 0x001144); nv31_bus_intr() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dg94.c27 g94_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) g94_gpio_intr_stat() argument
40 g94_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) g94_gpio_intr_mask() argument
H A Dgk104.c27 gk104_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) gk104_gpio_intr_stat() argument
40 gk104_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) gk104_gpio_intr_mask() argument
H A Dgf110.c27 gf110_gpio_reset(struct nvkm_gpio *gpio, u8 match) gf110_gpio_reset() argument
55 gf110_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) gf110_gpio_drive() argument
64 gf110_gpio_sense(struct nvkm_gpio *gpio, int line) gf110_gpio_sense() argument
H A Dnv10.c29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) nv10_gpio_sense() argument
51 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) nv10_gpio_drive() argument
81 nv10_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) nv10_gpio_intr_stat() argument
91 nv10_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) nv10_gpio_intr_mask() argument
H A Dnv50.c27 nv50_gpio_reset(struct nvkm_gpio *gpio, u8 match) nv50_gpio_reset() argument
70 nv50_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) nv50_gpio_drive() argument
82 nv50_gpio_sense(struct nvkm_gpio *gpio, int line) nv50_gpio_sense() argument
93 nv50_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) nv50_gpio_intr_stat() argument
103 nv50_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) nv50_gpio_intr_mask() argument
H A Dbase.c30 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) nvkm_gpio_drive() argument
37 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) nvkm_gpio_sense() argument
44 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, nvkm_gpio_find() argument
75 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) nvkm_gpio_set() argument
91 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) nvkm_gpio_get() argument
109 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); nvkm_gpio_intr_fini() local
117 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); nvkm_gpio_intr_init() local
139 struct nvkm_gpio *gpio = nvkm_gpio(subdev); nvkm_gpio_intr() local
165 struct nvkm_gpio *gpio = nvkm_gpio(object); _nvkm_gpio_fini() local
188 struct nvkm_gpio *gpio = nvkm_gpio(object); _nvkm_gpio_init() local
204 struct nvkm_gpio *gpio = (void *)object; _nvkm_gpio_dtor() local
214 struct nvkm_gpio *gpio; nvkm_gpio_create_() local
242 struct nvkm_gpio *gpio; _nvkm_gpio_ctor() local
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dcxd2820r_priv.h46 u8 gpio[GPIO_COUNT]; member in struct:cxd2820r_priv
H A Ds5h1409.h40 u8 gpio; member in struct:s5h1409_config
H A Daf9013.h103 u8 gpio[4]; member in struct:af9013_config
H A Ds5h1411.h41 u8 gpio; member in struct:s5h1411_config
H A Ds5h1432.h47 u8 gpio; member in struct:s5h1432_config
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Dlite5200.c94 struct mpc52xx_gpio __iomem *gpio; lite5200_fix_port_config() local
H A Dmedia5200.c198 struct mpc52xx_gpio __iomem *gpio; media5200_setup_arch() local
H A Dmpc52xx_common.c282 u32 gpio; mpc5200_psc_ac97_gpio_reset() local
/linux-4.1.27/arch/mips/lantiq/xway/
H A Dvmmc.c40 int gpio = of_get_gpio_flags(pdev->dev.of_node, vmmc_probe() local
/linux-4.1.27/arch/m68k/coldfire/
H A Dm5249.c92 u32 gpio; m5249_smc91x_init() local
H A Dgpio.c26 int __mcfgpio_get_value(unsigned gpio) __mcfgpio_get_value() argument
32 void __mcfgpio_set_value(unsigned gpio, int value) __mcfgpio_set_value() argument
57 int __mcfgpio_direction_input(unsigned gpio) __mcfgpio_direction_input() argument
72 int __mcfgpio_direction_output(unsigned gpio, int value) __mcfgpio_direction_output() argument
103 int __mcfgpio_request(unsigned gpio) __mcfgpio_request() argument
109 void __mcfgpio_free(unsigned gpio) __mcfgpio_free() argument
/linux-4.1.27/arch/m68k/include/asm/
H A Dgpio.h30 static inline int gpio_get_value(unsigned gpio) gpio_get_value() argument
38 static inline void gpio_set_value(unsigned gpio, int value) gpio_set_value() argument
65 static inline int gpio_to_irq(unsigned gpio) gpio_to_irq() argument
84 static inline int gpio_cansleep(unsigned gpio) gpio_cansleep() argument
90 static inline int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) gpio_request_one() argument
H A Dmcfgpio.h31 static inline int __gpio_get_value(unsigned gpio) __gpio_get_value() argument
39 static inline void __gpio_set_value(unsigned gpio, int value) __gpio_set_value() argument
45 static inline int __gpio_cansleep(unsigned gpio) __gpio_cansleep() argument
53 static inline int __gpio_to_irq(unsigned gpio) __gpio_to_irq() argument
58 static inline int gpio_direction_input(unsigned gpio) gpio_direction_input() argument
66 static inline int gpio_direction_output(unsigned gpio, int value) gpio_direction_output() argument
74 static inline int gpio_request(unsigned gpio, const char *label) gpio_request() argument
82 static inline void gpio_free(unsigned gpio) gpio_free() argument
180 static inline u32 __mcfgpio_ppdr(unsigned gpio) __mcfgpio_ppdr() argument
223 static inline u32 __mcfgpio_podr(unsigned gpio) __mcfgpio_podr() argument
266 static inline u32 __mcfgpio_pddr(unsigned gpio) __mcfgpio_pddr() argument
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dmach-smdk2416.c172 unsigned int gpio; s3c2416_fb_gpio_setup_24bpp() local
/linux-4.1.27/arch/arm/mach-sa1100/
H A Dpm.c57 unsigned long gpio, sleep_save[SLEEP_SAVE_COUNT]; sa11x0_pm_enter() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dfanpwm.c43 struct nvkm_gpio *gpio = nvkm_gpio(therm); nvkm_fanpwm_get() local
H A Dfantog.c43 struct nvkm_gpio *gpio = nvkm_gpio(tpriv); nvkm_fantog_update() local
H A Dgf110.c35 u32 gpio = nv_rd32(therm, 0x00d610 + (line * 0x04)); pwm_info() local
H A Dfan.c130 struct nvkm_gpio *gpio = nvkm_gpio(therm); nvkm_therm_fan_sense() local
231 struct nvkm_gpio *gpio = nvkm_gpio(therm); nvkm_therm_fan_ctor() local
/linux-4.1.27/arch/mips/bcm63xx/
H A Dgpio.c68 static int bcm63xx_gpio_get(struct gpio_chip *chip, unsigned gpio) bcm63xx_gpio_get() argument
118 static int bcm63xx_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) bcm63xx_gpio_direction_input() argument
38 bcm63xx_gpio_set(struct gpio_chip *chip, unsigned gpio, int val) bcm63xx_gpio_set() argument
87 bcm63xx_gpio_set_direction(struct gpio_chip *chip, unsigned gpio, int dir) bcm63xx_gpio_set_direction() argument
123 bcm63xx_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) bcm63xx_gpio_direction_output() argument
/linux-4.1.27/arch/mips/include/asm/mach-ralink/
H A Dpinmux.h47 const char gpio; member in struct:rt2880_pmx_group
/linux-4.1.27/drivers/tty/serial/
H A Dserial_mctrl_gpio.c26 struct gpio_desc *gpio[UART_GPIO_MAX]; member in struct:mctrl_gpios
/linux-4.1.27/drivers/pinctrl/
H A Dpinmux.h46 pinmux_request_gpio(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned pin, unsigned gpio) pinmux_request_gpio() argument
/linux-4.1.27/include/linux/regulator/
H A Dfixed.h52 int gpio; member in struct:fixed_voltage_config
H A Dlp872x.h61 int gpio; member in struct:lp872x_dvs
/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dsgy_cts1000.c44 int trigger, gpio; gpio_halt_cb() local
76 int gpio, err, irq; gpio_halt_probe() local
134 int gpio = of_get_gpio(halt_node, 0); gpio_halt_remove() local
/linux-4.1.27/arch/arm/mach-omap1/
H A Dams-delta-fiq.c47 int gpio, irq_num, fiq_count; deferred_fiq() local
/linux-4.1.27/drivers/leds/
H A Dleds-lt3593.c30 unsigned gpio; member in struct:lt3593_led_data
/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-gpio.c28 unsigned gpio; /* gpio that triggers the leds */ member in struct:gpio_trig_data
144 unsigned gpio; gpio_trig_gpio_store() local
/linux-4.1.27/drivers/media/rc/
H A Dgpio-ir-recv.c44 int gpio; gpio_ir_recv_get_devtree_pdata() local
/linux-4.1.27/drivers/pwm/
H A Dpwm-jz4740.c52 unsigned int gpio = jz4740_pwm_gpio_list[pwm->hwpwm]; jz4740_pwm_request() local
78 unsigned int gpio = jz4740_pwm_gpio_list[pwm->hwpwm]; jz4740_pwm_free() local
/linux-4.1.27/drivers/gpu/drm/i915/
H A Ddvo.h37 u32 gpio; member in struct:intel_dvo_device
H A Dintel_dvo.c496 int gpio; intel_dvo_init() local
/linux-4.1.27/drivers/extcon/
H A Dextcon-gpio.c36 unsigned gpio; member in struct:gpio_extcon_data
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dconn.c37 struct nvkm_gpio *gpio = nvkm_gpio(conn); nvkm_connector_hpd() local
89 struct nvkm_gpio *gpio = nvkm_gpio(parent); nvkm_connector_create_() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dgpio.c64 u16 gpio; dcb_gpio_entry() local
78 dcb_gpio_parse(struct nvkm_bios *bios, int idx, int ent, u8 *ver, u8 *len, struct dcb_gpio_func *gpio) dcb_gpio_parse() argument
119 dcb_gpio_match(struct nvkm_bios *bios, int idx, u8 func, u8 line, u8 *ver, u8 *len, struct dcb_gpio_func *gpio) dcb_gpio_match() argument
/linux-4.1.27/drivers/clk/
H A Dclk-gpio-gate.c154 int gpio; of_clk_gpio_gate_delayed_register_get() local
72 clk_register_gpio_gate(struct device *dev, const char *name, const char *parent_name, unsigned gpio, bool active_low, unsigned long flags) clk_register_gpio_gate() argument
/linux-4.1.27/drivers/video/backlight/
H A Dgpio_backlight.c26 int gpio; member in struct:gpio_backlight
H A Dl4f00242t03.c36 static void l4f00242t03_reset(unsigned int gpio) l4f00242t03_reset() argument
H A Dlms283gf05.c96 static void lms283gf05_reset(unsigned long gpio, bool inverted) lms283gf05_reset() argument
/linux-4.1.27/drivers/video/fbdev/msm/
H A Dmddi_client_nt35399.c151 int gpio = 97; setup_vsync() local
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
H A Dencoder-opa362.c188 struct gpio_desc *gpio; opa362_probe() local
H A Dencoder-tfp410.c200 int gpio; tfp410_probe_of() local
H A Dconnector-hdmi.c238 int gpio; hdmic_probe_of() local
H A Dencoder-tpd12s015.c235 int gpio; tpd_probe_of() local
H A Dpanel-dpi.c210 struct gpio_desc *gpio; panel_dpi_probe_of() local
H A Dpanel-lgphilips-lb035q02.c286 struct gpio_desc *gpio; lb035q02_probe_of() local
/linux-4.1.27/drivers/w1/masters/
H A Dw1-gpio.c82 int gpio; w1_gpio_probe_dt() local
/linux-4.1.27/drivers/media/common/siano/
H A Dsms-cards.c241 u32 gpio; sms_set_gpio() local
/linux-4.1.27/drivers/pinctrl/sh-pfc/
H A Dcore.h48 struct sh_pfc_chip *gpio; member in struct:sh_pfc
/linux-4.1.27/drivers/power/
H A Dmax8903_charger.c189 int gpio; max8903_probe() local
/linux-4.1.27/include/linux/pinctrl/
H A Dconsumer.h64 static inline int pinctrl_request_gpio(unsigned gpio) pinctrl_request_gpio() argument
69 static inline void pinctrl_free_gpio(unsigned gpio) pinctrl_free_gpio() argument
73 static inline int pinctrl_gpio_direction_input(unsigned gpio) pinctrl_gpio_direction_input() argument
78 static inline int pinctrl_gpio_direction_output(unsigned gpio) pinctrl_gpio_direction_output() argument
/linux-4.1.27/arch/powerpc/sysdev/
H A Dsimple_gpio.c45 static int u8_gpio_get(struct gpio_chip *gc, unsigned int gpio) u8_gpio_get() argument
52 static void u8_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) u8_gpio_set() argument
70 static int u8_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) u8_gpio_dir_in() argument
75 static int u8_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) u8_gpio_dir_out() argument
H A Dppc4xx_gpio.c76 static int ppc4xx_gpio_get(struct gpio_chip *gc, unsigned int gpio) ppc4xx_gpio_get() argument
85 __ppc4xx_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) __ppc4xx_gpio_set() argument
97 ppc4xx_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) ppc4xx_gpio_set() argument
112 static int ppc4xx_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) ppc4xx_gpio_dir_in() argument
142 ppc4xx_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) ppc4xx_gpio_dir_out() argument
/linux-4.1.27/arch/sh/boards/mach-x3proto/
H A Dgpio.c32 static int x3proto_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) x3proto_gpio_direction_input() argument
46 static int x3proto_gpio_get(struct gpio_chip *chip, unsigned gpio) x3proto_gpio_get() argument
51 static int x3proto_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) x3proto_gpio_to_irq() argument
/linux-4.1.27/arch/mips/rb532/
H A Dgpio.c160 void rb532_gpio_set_ilevel(int bit, unsigned gpio) rb532_gpio_set_ilevel() argument
169 void rb532_gpio_set_istat(int bit, unsigned gpio) rb532_gpio_set_istat() argument
178 void rb532_gpio_set_func(unsigned gpio) rb532_gpio_set_func() argument
H A Dirq.c173 int gpio = d->irq - GPIO_MAPPED_IRQ_BASE; rb532_set_type() local
/linux-4.1.27/arch/blackfin/mach-bf538/
H A Dext-gpio.c37 static int bf538_gpio_get_value(struct gpio_chip *chip, unsigned gpio) bf538_gpio_get_value() argument
43 static void bf538_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) bf538_gpio_set_value() argument
52 static int bf538_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) bf538_gpio_direction_input() argument
60 static int bf538_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) bf538_gpio_direction_output() argument
69 static int bf538_gpio_request(struct gpio_chip *chip, unsigned gpio) bf538_gpio_request() argument
74 static void bf538_gpio_free(struct gpio_chip *chip, unsigned gpio) bf538_gpio_free() argument
/linux-4.1.27/arch/arm/mach-davinci/
H A Dboard-dm355-leopard.c114 static void dm355leopard_mmcsd_gpios(unsigned gpio) dm355leopard_mmcsd_gpios() argument
H A Dboard-dm355-evm.c122 static void dm355evm_mmcsd_gpios(unsigned gpio) dm355evm_mmcsd_gpios() argument
/linux-4.1.27/net/rfkill/
H A Drfkill-gpio.c95 struct gpio_desc *gpio; rfkill_gpio_probe() local
/linux-4.1.27/sound/aoa/
H A Daoa.h45 struct gpio_runtime *gpio; member in struct:aoa_codec
/linux-4.1.27/include/asm-generic/
H A Dgpio.h54 static inline struct gpio_chip *gpio_to_chip(unsigned gpio) gpio_to_chip() argument
65 static inline int gpio_direction_input(unsigned gpio) gpio_direction_input() argument
69 static inline int gpio_direction_output(unsigned gpio, int value) gpio_direction_output() argument
74 static inline int gpio_set_debounce(unsigned gpio, unsigned debounce) gpio_set_debounce() argument
79 static inline int gpio_get_value_cansleep(unsigned gpio) gpio_get_value_cansleep() argument
83 static inline void gpio_set_value_cansleep(unsigned gpio, int value) gpio_set_value_cansleep() argument
93 static inline int __gpio_get_value(unsigned gpio) __gpio_get_value() argument
97 static inline void __gpio_set_value(unsigned gpio, int value) __gpio_set_value() argument
102 static inline int __gpio_cansleep(unsigned gpio) __gpio_cansleep() argument
107 static inline int __gpio_to_irq(unsigned gpio) __gpio_to_irq() argument
120 static inline int gpio_export(unsigned gpio, bool direction_may_change) gpio_export() argument
131 static inline int gpio_sysfs_set_active_low(unsigned gpio, int value) gpio_sysfs_set_active_low() argument
136 static inline void gpio_unexport(unsigned gpio) gpio_unexport() argument
153 static inline int gpio_cansleep(unsigned gpio) gpio_cansleep() argument
158 static inline int gpio_get_value_cansleep(unsigned gpio) gpio_get_value_cansleep() argument
164 static inline void gpio_set_value_cansleep(unsigned gpio, int value) gpio_set_value_cansleep() argument
125 gpio_export_link(struct device *dev, const char *name, unsigned gpio) gpio_export_link() argument
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-pca-platform.c32 int gpio; member in struct:i2c_pca_pf_data
/linux-4.1.27/drivers/i2c/muxes/
H A Di2c-mux-gpio.c166 struct gpio_chip *gpio; i2c_mux_gpio_probe() local
H A Di2c-mux-pca954x.c192 struct gpio_desc *gpio; pca954x_probe() local
/linux-4.1.27/drivers/mmc/core/
H A Dslot-gpio.c101 int mmc_gpio_request_ro(struct mmc_host *host, unsigned int gpio) mmc_gpio_request_ro() argument
185 int mmc_gpio_request_cd(struct mmc_host *host, unsigned int gpio, mmc_gpio_request_cd() argument
/linux-4.1.27/drivers/media/usb/gspca/
H A Dstk1135.h50 __le16 gpio; member in struct:stk1135_pkt_header
/linux-4.1.27/drivers/regulator/
H A Dgpio-regulator.c141 int proplen, gpio, i; of_get_gpio_regulator_config() local
/linux-4.1.27/drivers/nfc/st21nfcb/
H A Di2c.c231 int gpio; st21nfcb_nci_i2c_of_request_resources() local
/linux-4.1.27/drivers/input/misc/
H A Dsoc_button_array.c56 int gpio; soc_button_lookup_gpio() local
79 int gpio; soc_button_device_create() local
/linux-4.1.27/drivers/bcma/
H A Ddriver_gpio.c27 static int bcma_gpio_get_value(struct gpio_chip *chip, unsigned gpio) bcma_gpio_get_value() argument
34 static void bcma_gpio_set_value(struct gpio_chip *chip, unsigned gpio, bcma_gpio_set_value() argument
42 static int bcma_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) bcma_gpio_direction_input() argument
50 static int bcma_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, bcma_gpio_direction_output() argument
60 static int bcma_gpio_request(struct gpio_chip *chip, unsigned gpio) bcma_gpio_request() argument
73 static void bcma_gpio_free(struct gpio_chip *chip, unsigned gpio) bcma_gpio_free() argument
82 static int bcma_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) bcma_gpio_to_irq() argument
95 int gpio = irqd_to_hwirq(d); bcma_gpio_irq_unmask() local
105 int gpio = irqd_to_hwirq(d); bcma_gpio_irq_mask() local
123 int gpio; bcma_gpio_irq_handler() local
138 int gpio, hwirq, err; bcma_gpio_irq_domain_init() local
182 int gpio; bcma_gpio_irq_domain_exit() local
/linux-4.1.27/drivers/char/tpm/st33zp24/
H A Di2c.c116 int gpio; st33zp24_i2c_of_request_resources() local
H A Dspi.c236 int gpio; tpm_stm_spi_of_request_resources() local
/linux-4.1.27/arch/mips/ath79/
H A Dgpio.c32 static void __ath79_gpio_set_value(unsigned gpio, int value) __ath79_gpio_set_value() argument
42 static int __ath79_gpio_get_value(unsigned gpio) __ath79_gpio_get_value() argument
214 int gpio_get_value(unsigned gpio) gpio_get_value() argument
223 void gpio_set_value(unsigned gpio, int value) gpio_set_value() argument
232 int gpio_to_irq(unsigned gpio) gpio_to_irq() argument
/linux-4.1.27/drivers/ata/
H A Dpata_rb532_cf.c108 int gpio; rb532_pata_driver_probe() local
/linux-4.1.27/drivers/hsi/clients/
H A Dnokia-modem.c38 struct gpio_desc *gpio; member in struct:nokia_modem_gpio
/linux-4.1.27/drivers/usb/host/
H A Dfhci-hub.c45 int gpio = fhci->gpios[gpio_nr]; fhci_gpio_set_value() local
/linux-4.1.27/drivers/usb/phy/
H A Dphy-gpio-vbus-usb.c105 int gpio, status, vbus; gpio_vbus_work() local
183 int gpio; gpio_vbus_set_peripheral() local
251 int err, gpio, irq; gpio_vbus_probe() local
/linux-4.1.27/drivers/watchdog/
H A Dgpio_wdt.c31 int gpio; member in struct:gpio_wdt_priv
H A Dmtx-1_wdt.c67 unsigned gpio; member in struct:__anon10690
/linux-4.1.27/arch/powerpc/platforms/83xx/
H A Dmcu_mpc8349emitx.c100 static void mcu_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) mcu_gpio_set() argument
115 static int mcu_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) mcu_gpio_dir_out() argument
/linux-4.1.27/arch/powerpc/sysdev/qe_lib/
H A Dgpio.c60 static int qe_gpio_get(struct gpio_chip *gc, unsigned int gpio) qe_gpio_get() argument
69 static void qe_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) qe_gpio_set() argument
89 static int qe_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) qe_gpio_dir_in() argument
104 static int qe_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) qe_gpio_dir_out() argument
/linux-4.1.27/arch/arm/mach-omap2/
H A Dusb-host.c363 usbhs_add_regulator(char *name, char *dev_id, char *dev_supply, int gpio, int polarity) usbhs_add_regulator() argument
H A Dboard-ldp.c243 static int ldp_twl_gpio_setup(struct device *dev, unsigned gpio, unsigned ngpio) ldp_twl_gpio_setup() argument
/linux-4.1.27/arch/arm/common/
H A Dscoop.c37 struct gpio_chip gpio; member in struct:scoop_dev
/linux-4.1.27/sound/soc/blackfin/
H A Dbf5xx-ac97.c170 u16 gpio = P_IDENT(sport_handle->pin_req[3]); bf5xx_ac97_warm_reset() local
/linux-4.1.27/sound/soc/
H A Dsoc-ac97.c165 int gpio; snd_soc_ac97_parse_pinctl() local
H A Dsoc-jack.c248 static void snd_soc_jack_gpio_detect(struct snd_soc_jack_gpio *gpio) snd_soc_jack_gpio_detect() argument
272 struct snd_soc_jack_gpio *gpio = data; gpio_handler() local
289 struct snd_soc_jack_gpio *gpio; gpio_work() local
/linux-4.1.27/drivers/input/touchscreen/
H A Dwm97xx-core.c179 enum wm97xx_gpio_status wm97xx_get_gpio(struct wm97xx *wm, u32 gpio) wm97xx_get_gpio() argument
206 void wm97xx_set_gpio(struct wm97xx *wm, u32 gpio, wm97xx_set_gpio() argument
231 void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_dir dir, wm97xx_config_gpio() argument
H A Degalax_ts.c126 int gpio; egalax_wake_up_device() local
/linux-4.1.27/drivers/iio/humidity/
H A Ddht11.c61 int gpio; member in struct:dht11
/linux-4.1.27/drivers/media/i2c/
H A Ds5k6a3.c285 int gpio, i, ret; s5k6a3_probe() local
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-input.c56 u32 gpio,data; ir_handle_key() local
90 u32 gpio, data, keyup; ir_enltv_handle_key() local
253 u32 gpio; bttv_rc5_irq() local
326 u32 gpio; bttv_ir_stop() local
528 u32 gpio; bttv_input_init() local
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-input.c79 u32 gpio, data, auxgpio; cx88_ir_handle_key() local
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-input.c57 u32 gpio, data; build_key() local
114 int gpio; get_key_flydvb_trio() local
168 int gpio; get_key_msi_tvanywhere_plus() local
217 unsigned int gpio; get_key_kworld_pc150u() local
321 u32 gpio; get_key_beholdm6xx() local
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-gpio.c561 static int mxl111sf_hw_set_gpio(struct mxl111sf_state *state, int gpio, int val) mxl111sf_hw_set_gpio() argument
583 static int pca9534_set_gpio(struct mxl111sf_state *state, int gpio, int val) pca9534_set_gpio() argument
640 int mxl111sf_set_gpio(struct mxl111sf_state *state, int gpio, int val) mxl111sf_set_gpio() argument
178 mxl111sf_hw_do_set_gpio(struct mxl111sf_state *state, int gpio, int direction, int val) mxl111sf_hw_do_set_gpio() argument
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Ddebugfs.c642 u32 gpio = HS_CFG_GPIO_DEF, gap = HS_CFG_GAP_DEF; mwifiex_hscfg_write() local
/linux-4.1.27/drivers/ssb/
H A Ddriver_gpio.c31 static int ssb_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) ssb_gpio_to_irq() argument
46 static int ssb_gpio_chipco_get_value(struct gpio_chip *chip, unsigned gpio) ssb_gpio_chipco_get_value() argument
53 static void ssb_gpio_chipco_set_value(struct gpio_chip *chip, unsigned gpio, ssb_gpio_chipco_set_value() argument
80 static int ssb_gpio_chipco_request(struct gpio_chip *chip, unsigned gpio) ssb_gpio_chipco_request() argument
93 static void ssb_gpio_chipco_free(struct gpio_chip *chip, unsigned gpio) ssb_gpio_chipco_free() argument
105 int gpio = irqd_to_hwirq(d); ssb_gpio_irq_chipco_mask() local
113 int gpio = irqd_to_hwirq(d); ssb_gpio_irq_chipco_unmask() local
134 int gpio; ssb_gpio_irq_chipco_handler() local
150 int gpio, hwirq, err; ssb_gpio_irq_chipco_domain_init() local
195 int gpio; ssb_gpio_irq_chipco_domain_exit() local
264 static int ssb_gpio_extif_get_value(struct gpio_chip *chip, unsigned gpio) ssb_gpio_extif_get_value() argument
271 static void ssb_gpio_extif_set_value(struct gpio_chip *chip, unsigned gpio, ssb_gpio_extif_set_value() argument
302 int gpio = irqd_to_hwirq(d); ssb_gpio_irq_extif_mask() local
310 int gpio = irqd_to_hwirq(d); ssb_gpio_irq_extif_unmask() local
331 int gpio; ssb_gpio_irq_extif_handler() local
347 int gpio, hwirq, err; ssb_gpio_irq_extif_domain_init() local
391 int gpio; ssb_gpio_irq_extif_domain_exit() local
61 ssb_gpio_chipco_direction_input(struct gpio_chip *chip, unsigned gpio) ssb_gpio_chipco_direction_input() argument
70 ssb_gpio_chipco_direction_output(struct gpio_chip *chip, unsigned gpio, int value) ssb_gpio_chipco_direction_output() argument
279 ssb_gpio_extif_direction_input(struct gpio_chip *chip, unsigned gpio) ssb_gpio_extif_direction_input() argument
288 ssb_gpio_extif_direction_output(struct gpio_chip *chip, unsigned gpio, int value) ssb_gpio_extif_direction_output() argument
/linux-4.1.27/drivers/staging/fbtft/
H A Dfb_agm1264k-fl.c146 request_gpios_match(struct fbtft_par *par, const struct fbtft_gpio *gpio) request_gpios_match() argument
/linux-4.1.27/drivers/ptp/
H A Dptp_ixp46x.c260 static int setup_interrupt(int gpio) setup_interrupt() argument
/linux-4.1.27/drivers/rtc/
H A Drtc-ds2404.c46 unsigned int gpio; member in struct:ds2404_gpio
50 struct ds2404_gpio *gpio; member in struct:ds2404
H A Drtc-v3020.c54 unsigned int gpio; member in struct:v3020_gpio
63 struct v3020_gpio *gpio; member in struct:v3020
/linux-4.1.27/drivers/staging/nvec/
H A Dnvec.h139 int gpio; member in struct:nvec_chip
/linux-4.1.27/drivers/nfc/st21nfca/
H A Di2c.c516 int gpio; st21nfca_hci_i2c_of_request_resources() local
/linux-4.1.27/drivers/pcmcia/
H A Delectra_cf.c70 unsigned int gpio; electra_cf_present() local
124 unsigned int gpio; electra_cf_set_socket() local
H A Dsoc_common.h54 int gpio; member in struct:soc_pcmcia_socket::__anon8265
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Daq100x.c269 unsigned int v, v2, gpio, wait; t3_aq100x_phy_prep() local
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dintel_gmbus.c102 static u32 get_reserved(struct intel_gpio *gpio) get_reserved() argument
117 struct intel_gpio *gpio = data; get_clock() local
127 struct intel_gpio *gpio = data; get_data() local
137 struct intel_gpio *gpio = data; set_clock() local
154 struct intel_gpio *gpio = data; set_data() local
182 struct intel_gpio *gpio; intel_gpio_create() local
223 struct intel_gpio *gpio = container_of(adapter, intel_i2c_quirk_xfer() local
H A Dmdfld_dsi_output.c452 unsigned gpio; mdfld_dsi_panel_reset() local
/linux-4.1.27/drivers/input/keyboard/
H A Dmatrix_keypad.c233 unsigned int gpio; matrix_keypad_enable_wakeup() local
255 unsigned int gpio; matrix_keypad_disable_wakeup() local
/linux-4.1.27/arch/unicore32/include/asm/
H A Dgpio.h67 static inline int gpio_get_value(unsigned gpio) gpio_get_value() argument
75 static inline void gpio_set_value(unsigned gpio, int value) gpio_set_value() argument
88 static inline unsigned gpio_to_irq(unsigned gpio) gpio_to_irq() argument
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.c344 int gpio = of_get_named_gpio(of_node, name, 0); get_gpio() local
/linux-4.1.27/arch/mips/ar7/
H A Dgpio.c31 static int ar7_gpio_get_value(struct gpio_chip *chip, unsigned gpio) ar7_gpio_get_value() argument
40 static int titan_gpio_get_value(struct gpio_chip *chip, unsigned gpio) titan_gpio_get_value() argument
79 static int ar7_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) ar7_gpio_direction_input() argument
90 static int titan_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) titan_gpio_direction_input() argument
160 static inline int ar7_gpio_enable_ar7(unsigned gpio) ar7_gpio_enable_ar7() argument
169 static inline int ar7_gpio_enable_titan(unsigned gpio) ar7_gpio_enable_titan() argument
180 int ar7_gpio_enable(unsigned gpio) ar7_gpio_enable() argument
187 static inline int ar7_gpio_disable_ar7(unsigned gpio) ar7_gpio_disable_ar7() argument
196 static inline int ar7_gpio_disable_titan(unsigned gpio) ar7_gpio_disable_titan() argument
207 int ar7_gpio_disable(unsigned gpio) ar7_gpio_disable() argument
276 static int titan_gpio_pinsel(unsigned gpio) titan_gpio_pinsel() argument
50 ar7_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) ar7_gpio_set_value() argument
64 titan_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) titan_gpio_set_value() argument
105 ar7_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) ar7_gpio_direction_output() argument
118 titan_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) titan_gpio_direction_output() argument
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
H A Dgpio-au1300.h28 static inline int au1300_gpio_get_value(unsigned int gpio) au1300_gpio_get_value() argument
39 static inline int au1300_gpio_direction_input(unsigned int gpio) au1300_gpio_direction_input() argument
54 static inline int au1300_gpio_set_value(unsigned int gpio, int v) au1300_gpio_set_value() argument
70 static inline int au1300_gpio_direction_output(unsigned int gpio, int v) au1300_gpio_direction_output() argument
76 static inline int au1300_gpio_to_irq(unsigned int gpio) au1300_gpio_to_irq() argument
86 static inline int au1300_gpio_is_valid(unsigned int gpio) au1300_gpio_is_valid() argument
100 static inline int au1300_gpio_cansleep(unsigned int gpio) au1300_gpio_cansleep() argument
106 static inline int au1300_gpio_getinitlvl(unsigned int gpio) au1300_gpio_getinitlvl() argument
154 static inline int gpio_direction_input(unsigned int gpio) gpio_direction_input() argument
159 static inline int gpio_direction_output(unsigned int gpio, int v) gpio_direction_output() argument
164 static inline int gpio_get_value(unsigned int gpio) gpio_get_value() argument
169 static inline void gpio_set_value(unsigned int gpio, int v) gpio_set_value() argument
174 static inline int gpio_get_value_cansleep(unsigned gpio) gpio_get_value_cansleep() argument
179 static inline void gpio_set_value_cansleep(unsigned gpio, int value) gpio_set_value_cansleep() argument
184 static inline int gpio_is_valid(unsigned int gpio) gpio_is_valid() argument
189 static inline int gpio_cansleep(unsigned int gpio) gpio_cansleep() argument
194 static inline int gpio_to_irq(unsigned int gpio) gpio_to_irq() argument
204 static inline int gpio_request(unsigned int gpio, const char *label) gpio_request() argument
209 static inline int gpio_request_one(unsigned gpio, gpio_request_one() argument
220 static inline void gpio_free(unsigned gpio) gpio_free() argument
228 static inline int gpio_set_debounce(unsigned gpio, unsigned debounce) gpio_set_debounce() argument
233 static inline void gpio_unexport(unsigned gpio) gpio_unexport() argument
237 static inline int gpio_export(unsigned gpio, bool direction_may_change) gpio_export() argument
242 static inline int gpio_sysfs_set_active_low(unsigned gpio, int value) gpio_sysfs_set_active_low() argument
247 gpio_export_link(struct device *dev, const char *name, unsigned gpio) gpio_export_link() argument
/linux-4.1.27/arch/mips/include/asm/mach-pmcs-msp71xx/
H A Dmsp_gpio_macros.h200 static inline enum msp_gpio_data msp_gpio_pin_get(unsigned int gpio) msp_gpio_pin_get() argument
226 static inline void msp_gpio_pin_set(enum msp_gpio_data data, unsigned int gpio) msp_gpio_pin_set() argument
272 static inline void msp_gpio_pin_hi(unsigned int gpio) msp_gpio_pin_hi() argument
278 static inline void msp_gpio_pin_lo(unsigned int gpio) msp_gpio_pin_lo() argument
284 static inline void msp_gpio_pin_toggle(unsigned int gpio) msp_gpio_pin_toggle() argument
290 static inline enum msp_gpio_mode msp_gpio_pin_get_mode(unsigned int gpio) msp_gpio_pin_get_mode() argument
317 static inline int msp_gpio_pin_mode(enum msp_gpio_mode mode, unsigned int gpio) msp_gpio_pin_mode() argument

Completed in 15909 milliseconds

123