Searched refs:bgpio_chip (Results 1 – 14 of 14) sorted by relevance
/linux-4.1.27/include/linux/ |
D | basic_mmio_gpio.h | 29 struct bgpio_chip { struct 47 unsigned long (*pin2mask)(struct bgpio_chip *bgc, unsigned int pin); argument 62 static inline struct bgpio_chip *to_bgpio_chip(struct gpio_chip *gc) in to_bgpio_chip() argument 64 return container_of(gc, struct bgpio_chip, gc); in to_bgpio_chip() 67 int bgpio_remove(struct bgpio_chip *bgc); 68 int bgpio_init(struct bgpio_chip *bgc, struct device *dev,
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-generic.c | 127 static unsigned long bgpio_pin2mask(struct bgpio_chip *bgc, unsigned int pin) in bgpio_pin2mask() 132 static unsigned long bgpio_pin2mask_be(struct bgpio_chip *bgc, in bgpio_pin2mask_be() 140 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_get() 147 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set() 166 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set_with_clear() 177 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set_set() 193 static void bgpio_multiple_get_masks(struct bgpio_chip *bgc, in bgpio_multiple_get_masks() 215 static void bgpio_set_multiple_single_reg(struct bgpio_chip *bgc, in bgpio_set_multiple_single_reg() 238 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set_multiple() 246 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set_multiple_set() [all …]
|
D | gpio-dwapb.c | 69 struct bgpio_chip bgc; 87 to_dwapb_gpio_port(struct bgpio_chip *bgc) in to_dwapb_gpio_port() 94 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_read() 103 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_write() 111 struct bgpio_chip *bgc = to_bgpio_chip(gc); in dwapb_gpio_to_irq() 165 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_enable() 180 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_disable() 195 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_reqres() 209 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_relres() 218 struct bgpio_chip *bgc = &gpio->ports[0].bgc; in dwapb_irq_set_type() [all …]
|
D | gpio-xgene-sb.c | 48 struct bgpio_chip bgc; 55 struct bgpio_chip *bgc = to_bgpio_chip(gc); in to_xgene_gpio_sb() 60 static void xgene_gpio_set_bit(struct bgpio_chip *bgc, void __iomem *reg, u32 gpio, int val) in xgene_gpio_set_bit()
|
D | gpio-clps711x.c | 22 struct bgpio_chip *bgc; in clps711x_gpio_probe() 76 struct bgpio_chip *bgc = platform_get_drvdata(pdev); in clps711x_gpio_remove()
|
D | gpio-moxart.c | 44 struct bgpio_chip *bgc = to_bgpio_chip(chip); in moxart_gpio_get() 57 struct bgpio_chip *bgc; in moxart_gpio_probe()
|
D | gpio-74xx-mmio.c | 24 struct bgpio_chip bgc; 83 struct bgpio_chip *bgc = to_bgpio_chip(gc); in to_74xx_gpio()
|
D | gpio-grgpio.c | 66 struct bgpio_chip bgc; 97 struct bgpio_chip *bgc = to_bgpio_chip(gc); in grgpio_gc_to_priv() 105 struct bgpio_chip *bgc = &priv->bgc; in grgpio_set_imask() 347 struct bgpio_chip *bgc; in grgpio_probe()
|
D | gpio-ep93xx.c | 31 struct bgpio_chip bgc[8]; 321 static int ep93xx_gpio_add_bank(struct bgpio_chip *bgc, struct device *dev, in ep93xx_gpio_add_bank() 360 struct bgpio_chip *bgc = &ep93xx_gpio->bgc[i]; in ep93xx_gpio_probe()
|
D | gpio-mxs.c | 67 struct bgpio_chip bgc; 223 struct bgpio_chip *bgc = to_bgpio_chip(gc); in mxs_gpio_to_irq() 232 struct bgpio_chip *bgc = to_bgpio_chip(gc); in mxs_gpio_get_direction()
|
D | gpio-ge.c | 58 struct bgpio_chip *bgc; in gef_gpio_probe()
|
D | gpio-mxc.c | 67 struct bgpio_chip bgc; 396 struct bgpio_chip *bgc = to_bgpio_chip(gc); in mxc_gpio_to_irq()
|
D | gpio-sodaville.c | 46 struct bgpio_chip bgpio;
|
/linux-4.1.27/drivers/mfd/ |
D | vexpress-sysreg.c | 167 struct bgpio_chip *mmc_gpio_chip; in vexpress_sysreg_probe()
|