| /OK3568_Linux_fs/kernel/drivers/pinctrl/bcm/ |
| H A D | pinctrl-iproc-gpio.c | 140 unsigned gpio, bool set) in iproc_set_bit() 155 unsigned gpio) in iproc_get_bit() 200 unsigned gpio = d->hwirq; in iproc_gpio_irq_ack() local 219 unsigned gpio = d->hwirq; in iproc_gpio_irq_set_mask() local 250 unsigned gpio = d->hwirq; in iproc_gpio_irq_set_type() local 310 unsigned gpio = gc->base + offset; in iproc_gpio_request() local 322 unsigned gpio = gc->base + offset; in iproc_gpio_free() local 330 static int iproc_gpio_direction_input(struct gpio_chip *gc, unsigned gpio) in iproc_gpio_direction_input() 344 static int iproc_gpio_direction_output(struct gpio_chip *gc, unsigned gpio, in iproc_gpio_direction_output() 360 static int iproc_gpio_get_direction(struct gpio_chip *gc, unsigned int gpio) in iproc_gpio_get_direction() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-lp873x.c | 49 struct lp873x_gpio *gpio = gpiochip_get_data(chip); in lp873x_gpio_direction_output() local 59 struct lp873x_gpio *gpio = gpiochip_get_data(chip); in lp873x_gpio_get() local 72 struct lp873x_gpio *gpio = gpiochip_get_data(chip); in lp873x_gpio_set() local 81 struct lp873x_gpio *gpio = gpiochip_get_data(gc); in lp873x_gpio_request() local 106 struct lp873x_gpio *gpio = gpiochip_get_data(gc); in lp873x_gpio_set_config() local 144 struct lp873x_gpio *gpio; in lp873x_gpio_probe() local
|
| H A D | gpio-mmio.c | 132 static int bgpio_get_set(struct gpio_chip *gc, unsigned int gpio) in bgpio_get_set() 167 static int bgpio_get(struct gpio_chip *gc, unsigned int gpio) in bgpio_get() 214 static void bgpio_set_none(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_none() 218 static void bgpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set() 235 static void bgpio_set_with_clear(struct gpio_chip *gc, unsigned int gpio, in bgpio_set_with_clear() 246 static void bgpio_set_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_set() 327 static int bgpio_simple_dir_in(struct gpio_chip *gc, unsigned int gpio) in bgpio_simple_dir_in() 332 static int bgpio_dir_out_err(struct gpio_chip *gc, unsigned int gpio, in bgpio_dir_out_err() 338 static int bgpio_simple_dir_out(struct gpio_chip *gc, unsigned int gpio, in bgpio_simple_dir_out() 346 static int bgpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in bgpio_dir_in() [all …]
|
| H A D | gpio-wcove.c | 100 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() 115 static void wcove_update_irq_mask(struct wcove_gpio *wg, int gpio) in wcove_update_irq_mask() 133 static void wcove_update_irq_ctrl(struct wcove_gpio *wg, int gpio) in wcove_update_irq_ctrl() 143 static int wcove_gpio_dir_in(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_dir_in() 154 static int wcove_gpio_dir_out(struct gpio_chip *chip, unsigned int gpio, in wcove_gpio_dir_out() 166 static int wcove_gpio_get_direction(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_get_direction() 185 static int wcove_gpio_get(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_get() 201 static void wcove_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) in wcove_gpio_set() 215 static int wcove_gpio_set_config(struct gpio_chip *chip, unsigned int gpio, in wcove_gpio_set_config() 280 int gpio = data->hwirq; in wcove_bus_sync_unlock() local [all …]
|
| H A D | gpio-da9055.c | 35 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_get() local 64 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_set() local 74 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_direction_input() local 90 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_direction_output() local 112 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_to_irq() local 134 struct da9055_gpio *gpio; in da9055_gpio_probe() local
|
| H A D | gpio-crystalcove.c | 81 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() 114 int gpio) in crystalcove_update_irq_mask() 125 static void crystalcove_update_irq_ctrl(struct crystalcove_gpio *cg, int gpio) in crystalcove_update_irq_ctrl() 132 static int crystalcove_gpio_dir_in(struct gpio_chip *chip, unsigned int gpio) in crystalcove_gpio_dir_in() 143 static int crystalcove_gpio_dir_out(struct gpio_chip *chip, unsigned int gpio, in crystalcove_gpio_dir_out() 155 static int crystalcove_gpio_get(struct gpio_chip *chip, unsigned int gpio) in crystalcove_gpio_get() 172 unsigned int gpio, int value) in crystalcove_gpio_set() 228 int gpio = data->hwirq; in crystalcove_bus_sync_unlock() local 276 int gpio; in crystalcove_gpio_irq_handler() local 300 int gpio, offset; in crystalcove_gpio_dbg_show() local
|
| H A D | gpio-tps65086.c | 37 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_direction_output() local 48 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_get() local 61 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_set() local 82 struct tps65086_gpio *gpio; in tps65086_gpio_probe() local 106 struct tps65086_gpio *gpio = platform_get_drvdata(pdev); in tps65086_gpio_remove() local
|
| H A D | gpio-pca9570.c | 30 static int pca9570_read(struct pca9570 *gpio, u8 *value) in pca9570_read() 43 static int pca9570_write(struct pca9570 *gpio, u8 value) in pca9570_write() 59 struct pca9570 *gpio = gpiochip_get_data(chip); in pca9570_get() local 72 struct pca9570 *gpio = gpiochip_get_data(chip); in pca9570_set() local 96 struct pca9570 *gpio; in pca9570_probe() local
|
| H A D | gpio-octeon.c | 44 struct octeon_gpio *gpio = gpiochip_get_data(chip); in octeon_gpio_dir_in() local 52 struct octeon_gpio *gpio = gpiochip_get_data(chip); in octeon_gpio_set() local 61 struct octeon_gpio *gpio = gpiochip_get_data(chip); in octeon_gpio_dir_out() local 75 struct octeon_gpio *gpio = gpiochip_get_data(chip); in octeon_gpio_get() local 83 struct octeon_gpio *gpio; in octeon_gpio_probe() local
|
| H A D | gpio-da9052.c | 56 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_get() local 95 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_set() local 121 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_direction_input() local 147 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_direction_output() local 172 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_to_irq() local 197 struct da9052_gpio *gpio; in da9052_gpio_probe() local
|
| H A D | gpio-vx855.c | 35 struct gpio_chip gpio; member 80 static int vx855gpio_direction_input(struct gpio_chip *gpio, in vx855gpio_direction_input() 105 static int vx855gpio_get(struct gpio_chip *gpio, unsigned int nr) in vx855gpio_get() 130 static void vx855gpio_set(struct gpio_chip *gpio, unsigned int nr, in vx855gpio_set() 158 static int vx855gpio_direction_output(struct gpio_chip *gpio, in vx855gpio_direction_output() 173 static int vx855gpio_set_config(struct gpio_chip *gpio, unsigned int nr, in vx855gpio_set_config()
|
| H A D | gpio-max3191x.c | 73 struct gpio_chip gpio; member 96 static int max3191x_get_direction(struct gpio_chip *gpio, unsigned int offset) in max3191x_get_direction() 101 static int max3191x_direction_input(struct gpio_chip *gpio, unsigned int offset) in max3191x_direction_input() 106 static int max3191x_direction_output(struct gpio_chip *gpio, in max3191x_direction_output() 112 static void max3191x_set(struct gpio_chip *gpio, unsigned int offset, int value) in max3191x_set() 115 static void max3191x_set_multiple(struct gpio_chip *gpio, unsigned long *mask, in max3191x_set_multiple() 207 static int max3191x_get(struct gpio_chip *gpio, unsigned int offset) in max3191x_get() 232 static int max3191x_get_multiple(struct gpio_chip *gpio, unsigned long *mask, in max3191x_get_multiple() 266 static int max3191x_set_config(struct gpio_chip *gpio, unsigned int offset, in max3191x_set_config()
|
| /OK3568_Linux_fs/kernel/arch/m68k/coldfire/ |
| H A D | gpio.c | 19 int __mcfgpio_get_value(unsigned gpio) in __mcfgpio_get_value() 25 void __mcfgpio_set_value(unsigned gpio, int value) in __mcfgpio_set_value() 50 int __mcfgpio_direction_input(unsigned gpio) in __mcfgpio_direction_input() 65 int __mcfgpio_direction_output(unsigned gpio, int value) in __mcfgpio_direction_output() 96 int __mcfgpio_request(unsigned gpio) in __mcfgpio_request() 102 void __mcfgpio_free(unsigned gpio) in __mcfgpio_free()
|
| /OK3568_Linux_fs/kernel/arch/sh/include/asm/ |
| H A D | gpio.h | 24 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() 29 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() 34 static inline int gpio_cansleep(unsigned gpio) in gpio_cansleep() 39 static inline int gpio_to_irq(unsigned gpio) in gpio_to_irq()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | pcf50633-gpio.c | 33 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val) in pcf50633_gpio_set() 43 u8 pcf50633_gpio_get(struct pcf50633 *pcf, int gpio) in pcf50633_gpio_get() 54 int pcf50633_gpio_invert_set(struct pcf50633 *pcf, int gpio, int invert) in pcf50633_gpio_invert_set() 65 int pcf50633_gpio_invert_get(struct pcf50633 *pcf, int gpio) in pcf50633_gpio_invert_get() 77 int gpio, int regulator, int on) in pcf50633_gpio_power_supply_set()
|
| /OK3568_Linux_fs/kernel/drivers/misc/rk628/ |
| H A D | rk628_pinctrl.c | 61 int rk628_misc_pinctrl_set_mux(struct rk628 *rk628, int gpio, int mux) in rk628_misc_pinctrl_set_mux() 90 int rk628_misc_gpio_get_value(struct rk628 *rk628, int gpio) in rk628_misc_gpio_get_value() 115 int rk628_misc_gpio_set_value(struct rk628 *rk628, int gpio, int value) in rk628_misc_gpio_set_value() 149 int rk628_misc_gpio_set_direction(struct rk628 *rk628, int gpio, int direction) in rk628_misc_gpio_set_direction() 200 int rk628_misc_gpio_direction_input(struct rk628 *rk628, int gpio) in rk628_misc_gpio_direction_input() 210 int rk628_misc_gpio_direction_output(struct rk628 *rk628, int gpio, int value) in rk628_misc_gpio_direction_output() 220 int rk628_misc_gpio_set_pull_highz_up_down(struct rk628 *rk628, int gpio, int pull) in rk628_misc_gpio_set_pull_highz_up_down()
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | pxa3xx.dtsi | 5 #define MFP_PIN_PXA300(gpio) \ argument 11 #define MFP_PIN_PXA300_2(gpio) \ argument 16 #define MFP_PIN_PXA310(gpio) \ argument 25 #define MFP_PIN_PXA310_2(gpio) \ argument 31 #define MFP_PIN_PXA320(gpio) \ argument 42 #define MFP_PIN_PXA320_2(gpio) \ argument 167 gpio: gpio@40e00000 { label
|
| /OK3568_Linux_fs/u-boot/drivers/gpio/ |
| H A D | bcm2835_gpio.c | 19 static int bcm2835_gpio_direction_input(struct udevice *dev, unsigned gpio) in bcm2835_gpio_direction_input() 32 static int bcm2835_gpio_direction_output(struct udevice *dev, unsigned gpio, in bcm2835_gpio_direction_output() 48 static int bcm2835_get_value(const struct bcm2835_gpios *gpios, unsigned gpio) in bcm2835_get_value() 57 static int bcm2835_gpio_get_value(struct udevice *dev, unsigned gpio) in bcm2835_gpio_get_value() 64 static int bcm2835_gpio_set_value(struct udevice *dev, unsigned gpio, in bcm2835_gpio_set_value() 76 int bcm2835_gpio_get_func_id(struct udevice *dev, unsigned gpio) in bcm2835_gpio_get_func_id()
|
| H A D | vybrid_gpio.c | 24 static int vybrid_gpio_direction_input(struct udevice *dev, unsigned gpio) in vybrid_gpio_direction_input() 34 static int vybrid_gpio_direction_output(struct udevice *dev, unsigned gpio, in vybrid_gpio_direction_output() 46 static int vybrid_gpio_get_value(struct udevice *dev, unsigned gpio) in vybrid_gpio_get_value() 53 static int vybrid_gpio_set_value(struct udevice *dev, unsigned gpio, in vybrid_gpio_set_value() 65 static int vybrid_gpio_get_function(struct udevice *dev, unsigned gpio) in vybrid_gpio_get_function()
|
| H A D | mpc85xx_gpio.c | 41 inline u32 gpio_mask(unsigned gpio) { in gpio_mask() 95 static int mpc85xx_gpio_direction_input(struct udevice *dev, unsigned gpio) in mpc85xx_gpio_direction_input() 103 static int mpc85xx_gpio_set_value(struct udevice *dev, unsigned gpio, in mpc85xx_gpio_set_value() 118 static int mpc85xx_gpio_direction_output(struct udevice *dev, unsigned gpio, in mpc85xx_gpio_direction_output() 124 static int mpc85xx_gpio_get_value(struct udevice *dev, unsigned gpio) in mpc85xx_gpio_get_value() 137 static int mpc85xx_gpio_get_open_drain(struct udevice *dev, unsigned gpio) in mpc85xx_gpio_get_open_drain() 144 static int mpc85xx_gpio_set_open_drain(struct udevice *dev, unsigned gpio, in mpc85xx_gpio_set_open_drain() 157 static int mpc85xx_gpio_get_function(struct udevice *dev, unsigned gpio) in mpc85xx_gpio_get_function()
|
| H A D | stm32_gpio.c | 117 int gpio_request(unsigned gpio, const char *label) in gpio_request() 122 int gpio_free(unsigned gpio) in gpio_free() 127 int gpio_direction_input(unsigned gpio) in gpio_direction_input() 143 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() 164 int gpio_get_value(unsigned gpio) in gpio_get_value() 174 int gpio_set_value(unsigned gpio, int value) in gpio_set_value()
|
| /OK3568_Linux_fs/kernel/arch/mips/bcm63xx/ |
| H A D | gpio.c | 39 unsigned gpio, int val) in bcm63xx_gpio_set() 68 static int bcm63xx_gpio_get(struct gpio_chip *chip, unsigned gpio) in bcm63xx_gpio_get() 88 unsigned gpio, int dir) in bcm63xx_gpio_set_direction() 118 static int bcm63xx_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcm63xx_gpio_direction_input() 124 unsigned gpio, int value) in bcm63xx_gpio_direction_output()
|
| /OK3568_Linux_fs/kernel/include/linux/pinctrl/ |
| H A D | consumer.h | 66 static inline bool pinctrl_gpio_can_use_line(unsigned gpio) in pinctrl_gpio_can_use_line() 71 static inline int pinctrl_gpio_request(unsigned gpio) in pinctrl_gpio_request() 76 static inline void pinctrl_gpio_free(unsigned gpio) in pinctrl_gpio_free() 80 static inline int pinctrl_gpio_direction_input(unsigned gpio) in pinctrl_gpio_direction_input() 85 static inline int pinctrl_gpio_direction_output(unsigned gpio) in pinctrl_gpio_direction_output() 90 static inline int pinctrl_gpio_set_config(unsigned gpio, unsigned long config) in pinctrl_gpio_set_config()
|
| /OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf52x2/ |
| H A D | cpu_init.c | 125 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local 163 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local 338 gpio_t *gpio = (gpio_t *) (MMAP_GPIO); in cpu_init_f() local 409 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local 431 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local 492 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local 515 gpio_t *gpio = (gpio_t *)MMAP_GPIO; in fecpin_setclear() local
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/gpio/ |
| H A D | hw_gpio.c | 43 struct hw_gpio *gpio) in store_registers() 52 struct hw_gpio *gpio) in restore_registers() 77 const struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_get_value() local 99 struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_set_value() local 142 struct hw_gpio *gpio, in dal_hw_gpio_config_mode()
|