/arch/mips/alchemy/common/ |
D | gpiolib.c | 41 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get() 46 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set() 51 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input() 56 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output() 63 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq() 69 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get() 74 static void gpio1_set(struct gpio_chip *chip, in gpio1_set() 80 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input() 85 static int gpio1_direction_output(struct gpio_chip *chip, in gpio1_direction_output() 92 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq() [all …]
|
/arch/arm/plat-samsung/ |
D | gpio-samsung.c | 44 int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_setpull_updown() 59 samsung_gpio_pull_t samsung_gpio_getpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_getpull_updown() 72 int s3c2443_gpio_setpull(struct samsung_gpio_chip *chip, in s3c2443_gpio_setpull() 89 samsung_gpio_pull_t s3c2443_gpio_getpull(struct samsung_gpio_chip *chip, in s3c2443_gpio_getpull() 112 static int s3c24xx_gpio_setpull_1(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1() 130 static samsung_gpio_pull_t s3c24xx_gpio_getpull_1(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1() 141 samsung_gpio_pull_t s3c24xx_gpio_getpull_1up(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1up() 147 int s3c24xx_gpio_setpull_1up(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1up() 153 samsung_gpio_pull_t s3c24xx_gpio_getpull_1down(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1down() 159 int s3c24xx_gpio_setpull_1down(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1down() [all …]
|
D | pm-gpio.c | 33 static void samsung_gpio_pm_1bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_1bit_save() 39 static void samsung_gpio_pm_1bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_1bit_resume() 70 static void samsung_gpio_pm_2bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_2bit_save() 126 static void samsung_gpio_pm_2bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_2bit_resume() 198 static void samsung_gpio_pm_4bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_4bit_save() 247 static void samsung_gpio_pm_4bit_con(struct samsung_gpio_chip *chip, int index) in samsung_gpio_pm_4bit_con() 262 static void samsung_gpio_pm_4bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_4bit_resume()
|
/arch/arm/plat-samsung/include/plat/ |
D | gpio-cfg-helpers.h | 27 static inline int samsung_gpio_do_setcfg(struct samsung_gpio_chip *chip, in samsung_gpio_do_setcfg() 33 static inline unsigned samsung_gpio_do_getcfg(struct samsung_gpio_chip *chip, in samsung_gpio_do_getcfg() 39 static inline int samsung_gpio_do_setpull(struct samsung_gpio_chip *chip, in samsung_gpio_do_setpull() 45 static inline samsung_gpio_pull_t samsung_gpio_do_getpull(struct samsung_gpio_chip *chip, in samsung_gpio_do_getpull()
|
D | gpio-core.h | 71 struct gpio_chip chip; member 105 static inline struct samsung_gpio_chip *samsung_gpiolib_getchip(unsigned int chip) in samsung_gpiolib_getchip() 116 struct samsung_gpio_chip *chip; in samsung_gpiolib_getchip() local 125 static inline void s3c_gpiolib_track(struct samsung_gpio_chip *chip) { } in s3c_gpiolib_track()
|
/arch/m68k/coldfire/ |
D | gpio.c | 117 static int mcfgpio_direction_input(struct gpio_chip *chip, unsigned offset) in mcfgpio_direction_input() 122 static int mcfgpio_get_value(struct gpio_chip *chip, unsigned offset) in mcfgpio_get_value() 127 static int mcfgpio_direction_output(struct gpio_chip *chip, unsigned offset, in mcfgpio_direction_output() 133 static void mcfgpio_set_value(struct gpio_chip *chip, unsigned offset, in mcfgpio_set_value() 139 static int mcfgpio_request(struct gpio_chip *chip, unsigned offset) in mcfgpio_request() 144 static void mcfgpio_free(struct gpio_chip *chip, unsigned offset) in mcfgpio_free() 149 static int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) in mcfgpio_to_irq()
|
/arch/blackfin/mach-bf538/ |
D | ext-gpio.c | 27 static void __iomem *gpio_chip_to_mmr(struct gpio_chip *chip) in gpio_chip_to_mmr() 37 static int bf538_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in bf538_gpio_get_value() 43 static void bf538_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) in bf538_gpio_set_value() 52 static int bf538_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bf538_gpio_direction_input() 60 static int bf538_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) in bf538_gpio_direction_output() 69 static int bf538_gpio_request(struct gpio_chip *chip, unsigned gpio) in bf538_gpio_request() 74 static void bf538_gpio_free(struct gpio_chip *chip, unsigned gpio) in bf538_gpio_free()
|
/arch/unicore32/kernel/ |
D | gpio.c | 55 static int puv3_gpio_get(struct gpio_chip *chip, unsigned offset) in puv3_gpio_get() 60 static void puv3_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in puv3_gpio_set() 68 static int puv3_direction_input(struct gpio_chip *chip, unsigned offset) in puv3_direction_input() 78 static int puv3_direction_output(struct gpio_chip *chip, unsigned offset, in puv3_direction_output()
|
/arch/mips/bcm63xx/ |
D | gpio.c | 38 static void bcm63xx_gpio_set(struct gpio_chip *chip, in bcm63xx_gpio_set() 68 static int bcm63xx_gpio_get(struct gpio_chip *chip, unsigned gpio) in bcm63xx_gpio_get() 87 static int bcm63xx_gpio_set_direction(struct gpio_chip *chip, in bcm63xx_gpio_set_direction() 118 static int bcm63xx_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcm63xx_gpio_direction_input() 123 static int bcm63xx_gpio_direction_output(struct gpio_chip *chip, in bcm63xx_gpio_direction_output()
|
/arch/mips/rb532/ |
D | gpio.c | 41 struct gpio_chip chip; member 87 static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset) in rb532_gpio_get() 98 static void rb532_gpio_set(struct gpio_chip *chip, in rb532_gpio_set() 110 static int rb532_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in rb532_gpio_direction_input() 126 static int rb532_gpio_direction_output(struct gpio_chip *chip, in rb532_gpio_direction_output() 143 static int rb532_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) in rb532_gpio_to_irq()
|
/arch/mips/include/asm/sibyte/ |
D | sb1250_defs.h | 111 #define SIBYTE_HDR_FMASK(chip, pass) \ argument 113 #define SIBYTE_HDR_FMASK_ALLREVS(chip) \ argument 134 #define SIBYTE_HDR_FMASK_BEFORE(chip, pass) \ argument 138 #define SIBYTE_HDR_FMASK_AFTER(chip, pass) \ argument 144 #define SIBYTE_HDR_FEATURE_CHIP(chip) \ argument 154 #define SIBYTE_HDR_FEATURE(chip, pass) \ argument 159 #define SIBYTE_HDR_FEATURE_EXACT(chip, pass) \ argument 163 #define SIBYTE_HDR_FEATURE_UP_TO(chip, pass) \ argument
|
/arch/mips/kernel/ |
D | gpio_txx9.c | 22 static int txx9_gpio_get(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_get() 38 static void txx9_gpio_set(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_set() 48 static int txx9_gpio_dir_in(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_dir_in() 59 static int txx9_gpio_dir_out(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_dir_out()
|
/arch/mips/ar7/ |
D | gpio.c | 31 struct gpio_chip chip; member 34 static int ar7_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in ar7_gpio_get_value() 42 static int titan_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in titan_gpio_get_value() 51 static void ar7_gpio_set_value(struct gpio_chip *chip, in ar7_gpio_set_value() 64 static void titan_gpio_set_value(struct gpio_chip *chip, in titan_gpio_set_value() 78 static int ar7_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in ar7_gpio_direction_input() 88 static int titan_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in titan_gpio_direction_input() 102 static int ar7_gpio_direction_output(struct gpio_chip *chip, in ar7_gpio_direction_output() 114 static int titan_gpio_direction_output(struct gpio_chip *chip, in titan_gpio_direction_output()
|
/arch/sh/boards/mach-x3proto/ |
D | gpio.c | 32 static int x3proto_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in x3proto_gpio_direction_input() 46 static int x3proto_gpio_get(struct gpio_chip *chip, unsigned gpio) in x3proto_gpio_get() 51 static int x3proto_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) in x3proto_gpio_to_irq() 66 struct irq_chip *chip = irq_data_get_irq_chip(data); in x3proto_gpio_irq_handler() local
|
/arch/mips/jz4740/ |
D | gpio.c | 77 #define CHIP_TO_REG(chip, reg) (gpio_chip_to_jz_gpio_chip(chip)->base + (reg)) argument 209 static int jz_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in jz_gpio_get_value() 214 static void jz_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) in jz_gpio_set_value() 221 static int jz_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in jz_gpio_direction_output() 230 static int jz_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in jz_gpio_direction_input() 237 static int jz_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) in jz_gpio_to_irq() 277 static void jz_gpio_check_trigger_both(struct jz_gpio_chip *chip, unsigned int irq) in jz_gpio_check_trigger_both() 301 struct jz_gpio_chip *chip = irq_desc_get_handler_data(desc); in jz_gpio_irq_demux_handler() local 316 struct jz_gpio_chip *chip = irq_to_jz_gpio_chip(data); in jz_gpio_set_irq_bit() local 322 struct jz_gpio_chip *chip = irq_to_jz_gpio_chip(data); in jz_gpio_irq_unmask() local [all …]
|
/arch/arm/mach-w90x900/ |
D | gpio.c | 48 struct gpio_chip chip; member 53 static int nuc900_gpio_get(struct gpio_chip *chip, unsigned offset) in nuc900_gpio_get() 65 static void nuc900_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in nuc900_gpio_set() 86 static int nuc900_dir_input(struct gpio_chip *chip, unsigned offset) in nuc900_dir_input() 104 static int nuc900_dir_output(struct gpio_chip *chip, unsigned offset, int val) in nuc900_dir_output()
|
/arch/sh/boards/mach-sdk7786/ |
D | gpio.c | 25 static int usrgpir_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in usrgpir_gpio_direction_input() 31 static int usrgpir_gpio_get(struct gpio_chip *chip, unsigned gpio) in usrgpir_gpio_get()
|
/arch/arm/mach-ep93xx/ |
D | snappercl15.c | 47 #define NAND_CTRL_ADDR(chip) (chip->IO_ADDR_W + 0x40) argument 52 struct nand_chip *chip = mtd_to_nand(mtd); in snappercl15_nand_cmd_ctrl() local 79 struct nand_chip *chip = mtd_to_nand(mtd); in snappercl15_nand_dev_ready() local
|
D | ts72xx.c | 77 struct nand_chip *chip = mtd_to_nand(mtd); in ts72xx_nand_hwcontrol() local 99 struct nand_chip *chip = mtd_to_nand(mtd); in ts72xx_nand_device_ready() local
|
/arch/arm/mach-sa1100/ |
D | simpad.c | 88 static void cs3_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in cs3_gpio_set() 98 static int cs3_gpio_get(struct gpio_chip *chip, unsigned offset) in cs3_gpio_get() 105 static int cs3_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in cs3_gpio_direction_input() 112 static int cs3_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in cs3_gpio_direction_output()
|
/arch/arm/mach-gemini/ |
D | gpio.c | 154 static void _set_gpio_direction(struct gpio_chip *chip, unsigned offset, in _set_gpio_direction() 168 static void gemini_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in gemini_gpio_set() 178 static int gemini_gpio_get(struct gpio_chip *chip, unsigned offset) in gemini_gpio_get() 185 static int gemini_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in gemini_gpio_direction_input() 191 static int gemini_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in gemini_gpio_direction_output()
|
/arch/avr32/mach-at32ap/ |
D | pio.c | 28 struct gpio_chip chip; member 204 static int direction_input(struct gpio_chip *chip, unsigned offset) in direction_input() 216 static int gpio_get(struct gpio_chip *chip, unsigned offset) in gpio_get() 225 static int direction_output(struct gpio_chip *chip, unsigned offset, int value) in direction_output() 238 static void gpio_set(struct gpio_chip *chip, unsigned offset, int value) in gpio_set() 336 static void pio_bank_show(struct seq_file *s, struct gpio_chip *chip) in pio_bank_show()
|
/arch/arm/plat-orion/ |
D | gpio.c | 41 struct gpio_chip chip; member 155 static int orion_gpio_request(struct gpio_chip *chip, unsigned pin) in orion_gpio_request() 166 static int orion_gpio_direction_input(struct gpio_chip *chip, unsigned pin) in orion_gpio_direction_input() 181 static int orion_gpio_get(struct gpio_chip *chip, unsigned pin) in orion_gpio_get() 196 orion_gpio_direction_output(struct gpio_chip *chip, unsigned pin, int value) in orion_gpio_direction_output() 213 static void orion_gpio_set(struct gpio_chip *chip, unsigned pin, int value) in orion_gpio_set() 223 static int orion_gpio_to_irq(struct gpio_chip *chip, unsigned pin) in orion_gpio_to_irq() 240 struct gpio_chip *chip = &ochip->chip; in orion_gpio_chip_find() local 440 static void orion_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip) in orion_gpio_dbg_show()
|
/arch/arm/common/ |
D | scoop.c | 70 static void scoop_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in scoop_gpio_set() 82 static int scoop_gpio_get(struct gpio_chip *chip, unsigned offset) in scoop_gpio_get() 90 static int scoop_gpio_direction_input(struct gpio_chip *chip, in scoop_gpio_direction_input() 108 static int scoop_gpio_direction_output(struct gpio_chip *chip, in scoop_gpio_direction_output()
|
/arch/powerpc/platforms/86xx/ |
D | pic.c | 22 struct irq_chip *chip = irq_desc_get_chip(desc); in mpc86xx_8259_cascade() local
|