| /OK3568_Linux_fs/u-boot/drivers/power/regulator/ |
| H A D | gpio-regulator.c | 22 struct gpio_desc gpio; /* GPIO for regulator voltage control */ member 31 struct gpio_desc *gpio; in gpio_regulator_ofdata_to_platdata() local
|
| /OK3568_Linux_fs/kernel/sound/soc/samsung/ |
| H A D | smartq_wm8987.c | 106 struct gpio_desc *gpio = snd_soc_card_get_drvdata(&snd_soc_smartq); in smartq_speaker_event() local 189 struct gpio_desc *gpio; in smartq_probe() local
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-xgene.c | 133 struct xgene_gpio *gpio = dev_get_drvdata(dev); in xgene_gpio_suspend() local 146 struct xgene_gpio *gpio = dev_get_drvdata(dev); in xgene_gpio_resume() local 161 struct xgene_gpio *gpio; in xgene_gpio_probe() local
|
| H A D | gpio-ich.c | 155 static bool ichx_gpio_check_available(struct gpio_chip *gpio, unsigned int nr) in ichx_gpio_check_available() 160 static int ichx_gpio_get_direction(struct gpio_chip *gpio, unsigned int nr) in ichx_gpio_get_direction() 168 static int ichx_gpio_direction_input(struct gpio_chip *gpio, unsigned int nr) in ichx_gpio_direction_input() 177 static int ichx_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr, in ichx_gpio_direction_output()
|
| H A D | gpio-twl4030.c | 137 static int twl4030_set_gpio_direction(int gpio, int is_input) in twl4030_set_gpio_direction() 157 static int twl4030_get_gpio_direction(int gpio) in twl4030_get_gpio_direction() 174 static int twl4030_set_gpio_dataout(int gpio, int enable) in twl4030_set_gpio_dataout() 188 static int twl4030_get_gpio_datain(int gpio) in twl4030_get_gpio_datain()
|
| H A D | gpio-menz127.c | 24 #define GPIO_TO_DBCNT_REG(gpio) ((gpio * 4) + 0x80) argument 38 static int men_z127_debounce(struct gpio_chip *gc, unsigned gpio, in men_z127_debounce()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-digicolor.c | 167 static int dc_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in dc_gpio_direction_input() 186 static int dc_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in dc_gpio_direction_output() 206 static int dc_gpio_get(struct gpio_chip *chip, unsigned gpio) in dc_gpio_get() 218 static void dc_gpio_set(struct gpio_chip *chip, unsigned gpio, int value) in dc_gpio_set()
|
| /OK3568_Linux_fs/u-boot/board/ve8313/ |
| H A D | ve8313.c | 120 volatile gpio83xx_t *gpio = (volatile gpio83xx_t *)im->gpio; in board_early_init_f() local 139 volatile gpio83xx_t *gpio = (volatile gpio83xx_t *)im->gpio; in hw_watchdog_reset() local
|
| /OK3568_Linux_fs/u-boot/board/freescale/m54455evb/ |
| H A D | m54455evb.c | 36 gpio_t *gpio = (gpio_t *)(MMAP_GPIO); in dram_init() local 96 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in ide_preinit() local
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/nuvoton/ |
| H A D | pinctrl-npcm7xx.c | 241 unsigned int gpio = BIT(d->hwirq); in npcmgpio_set_irq_type() local 289 unsigned int gpio = d->hwirq; in npcmgpio_irq_ack() local 300 unsigned int gpio = d->hwirq; in npcmgpio_irq_mask() local 312 unsigned int gpio = d->hwirq; in npcmgpio_irq_unmask() local 322 unsigned int gpio = d->hwirq; in npcmgpio_irq_startup() local 1444 int gpio = (pin % bank->gc.ngpio); in npcm7xx_get_slew_rate() local 1464 int gpio = BIT(pin % bank->gc.ngpio); in npcm7xx_set_slew_rate() local 1506 int gpio = (pin % bank->gc.ngpio); in npcm7xx_get_drive_strength() local 1532 int gpio = BIT(pin % bank->gc.ngpio); in npcm7xx_set_drive_strength() local 1691 int gpio = BIT(offset % bank->gc.ngpio); in npcm_gpio_set_direction() local [all …]
|
| /OK3568_Linux_fs/u-boot/arch/m68k/include/asm/ |
| H A D | immap_5307.h | 110 typedef struct gpio { struct 115 } gpio_t; argument
|
| /OK3568_Linux_fs/u-boot/board/siemens/rut/ |
| H A D | board.c | 89 static int request_and_pulse_reset(int gpio, const char *name) in request_and_pulse_reset() 118 #define GPIO_TO_PIN(bank, gpio) (32 * (bank) + (gpio)) argument 409 static int set_gpio(int gpio, int state) in set_gpio()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-moore.c | 431 static int mtk_gpio_get(struct gpio_chip *chip, unsigned int gpio) in mtk_gpio_get() 446 static void mtk_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) in mtk_gpio_set() 456 static int mtk_gpio_direction_input(struct gpio_chip *chip, unsigned int gpio) in mtk_gpio_direction_input() 461 static int mtk_gpio_direction_output(struct gpio_chip *chip, unsigned int gpio, in mtk_gpio_direction_output()
|
| /OK3568_Linux_fs/kernel/sound/aoa/core/ |
| H A D | gpio-feature.c | 59 struct device_node *np, *gpio; in get_gpio() local 221 static void gpio_enable_dual_edge(int gpio) in gpio_enable_dual_edge() 380 int gpio, ret, active; in ftr_get_detect() local
|
| /OK3568_Linux_fs/kernel/arch/mips/alchemy/common/ |
| H A D | irq.c | 512 static inline void au1300_gpic_chgcfg(unsigned int gpio, in au1300_gpic_chgcfg() 536 void au1300_pinfunc_to_gpio(enum au1300_multifunc_pins gpio) in au1300_pinfunc_to_gpio() 549 void au1300_pinfunc_to_dev(enum au1300_multifunc_pins gpio) in au1300_pinfunc_to_dev() 581 void au1300_set_dbdma_gpio(int dchan, unsigned int gpio) in au1300_set_dbdma_gpio() 594 static inline void gpic_pin_set_idlewake(unsigned int gpio, int allow) in gpic_pin_set_idlewake()
|
| /OK3568_Linux_fs/u-boot/board/micronas/vct/ |
| H A D | smc_eeprom.c | 110 ulong gpio; in eeprom_enable_access() local 120 static void eeprom_disable_access(ulong gpio) in eeprom_disable_access() 351 ulong gpio; in do_eeprom_save_mac() local
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/meson/ |
| H A D | pinctrl-meson.c | 558 static int meson_gpio_get_direction(struct gpio_chip *chip, unsigned gpio) in meson_gpio_get_direction() 570 static int meson_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in meson_gpio_direction_input() 575 static int meson_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in meson_gpio_direction_output() 582 static void meson_gpio_set(struct gpio_chip *chip, unsigned gpio, int value) in meson_gpio_set() 587 static int meson_gpio_get(struct gpio_chip *chip, unsigned gpio) in meson_gpio_get()
|
| /OK3568_Linux_fs/u-boot/board/compulab/cm_t35/ |
| H A D | cm_t35.c | 406 static int cm_t3x_reset_net_chip(int gpio) in cm_t3x_reset_net_chip() 424 static inline int cm_t3x_reset_net_chip(int gpio) { return 0; } in cm_t3x_reset_net_chip()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/renesas/ |
| H A D | pinctrl-rza1.c | 750 static int rza1_gpio_request(struct gpio_chip *chip, unsigned int gpio) in rza1_gpio_request() 769 static void rza1_gpio_free(struct gpio_chip *chip, unsigned int gpio) in rza1_gpio_free() 776 static int rza1_gpio_get_direction(struct gpio_chip *chip, unsigned int gpio) in rza1_gpio_get_direction() 787 unsigned int gpio) in rza1_gpio_direction_input() 797 unsigned int gpio, in rza1_gpio_direction_output() 819 static int rza1_gpio_get(struct gpio_chip *chip, unsigned int gpio) in rza1_gpio_get() 826 static void rza1_gpio_set(struct gpio_chip *chip, unsigned int gpio, in rza1_gpio_set()
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | surface3_button.c | 74 int gpio; in surface3_button_lookup_gpio() local 97 int gpio; in surface3_button_device_create() local
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/83xx/ |
| H A D | mcu_mpc8349emitx.c | 96 static void mcu_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in mcu_gpio_set() 111 static int mcu_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mcu_gpio_dir_out()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A D | fan.c | 128 struct nvkm_gpio *gpio = device->gpio; in nvkm_therm_fan_sense() local 227 struct nvkm_gpio *gpio = device->gpio; in nvkm_therm_fan_ctor() local
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | max96755f.h | 13 #define GPIO_A_REG(gpio) (0x02be + ((gpio) * 3)) argument 14 #define GPIO_B_REG(gpio) (0x02bf + ((gpio) * 3)) argument 15 #define GPIO_C_REG(gpio) (0x02c0 + ((gpio) * 3)) argument
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/gpio/ |
| H A D | index.rst | 4 gpio title
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/nomadik/ |
| H A D | pinctrl-abx500.c | 216 int gpio = offset + 1; in abx500_gpio_to_irq() local 240 unsigned gpio, int alt_setting) in abx500_set_mode() 361 unsigned gpio) in abx500_get_mode() 450 unsigned offset, unsigned gpio) in abx500_gpio_dbg_show_one() 505 unsigned gpio = chip->base; in abx500_gpio_dbg_show() local 520 unsigned offset, unsigned gpio) in abx500_gpio_dbg_show_one()
|