Searched refs:bgpio_chip (Results 1 – 16 of 16) sorted by relevance
/linux-4.4.14/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.4.14/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_set() 151 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_get() 162 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set() 181 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set_with_clear() 192 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set_set() 208 static void bgpio_multiple_get_masks(struct bgpio_chip *bgc, in bgpio_multiple_get_masks() 230 static void bgpio_set_multiple_single_reg(struct bgpio_chip *bgc, in bgpio_set_multiple_single_reg() 253 struct bgpio_chip *bgc = to_bgpio_chip(gc); in bgpio_set_multiple() [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 | 51 struct bgpio_chip bgc; 58 struct bgpio_chip *bgc = to_bgpio_chip(gc); in to_xgene_gpio_sb() 63 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-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() 344 struct bgpio_chip *bgc; in grgpio_probe()
|
D | gpio-ep93xx.c | 31 struct bgpio_chip bgc[8]; 322 static int ep93xx_gpio_add_bank(struct bgpio_chip *bgc, struct device *dev, in ep93xx_gpio_add_bank() 361 struct bgpio_chip *bgc = &ep93xx_gpio->bgc[i]; in ep93xx_gpio_probe()
|
D | gpio-mxs.c | 67 struct bgpio_chip bgc; 228 struct bgpio_chip *bgc = to_bgpio_chip(gc); in mxs_gpio_to_irq() 237 struct bgpio_chip *bgc = to_bgpio_chip(gc); in mxs_gpio_get_direction()
|
D | gpio-brcmstb.c | 38 struct bgpio_chip bgc; 63 struct bgpio_chip *bgc = to_bgpio_chip(gc); in brcmstb_gpio_gc_to_bank() 77 struct bgpio_chip *bgc = &bank->bgc; in brcmstb_gpio_set_imask() 454 struct bgpio_chip *bgc; in brcmstb_gpio_probe()
|
D | gpio-moxart.c | 36 struct bgpio_chip *bgc; in moxart_gpio_probe()
|
D | gpio-ge.c | 58 struct bgpio_chip *bgc; in gef_gpio_probe()
|
D | gpio-mxc.c | 67 struct bgpio_chip bgc; 401 struct bgpio_chip *bgc = to_bgpio_chip(gc); in mxc_gpio_to_irq()
|
D | gpio-etraxfs.c | 70 struct bgpio_chip bgc; 422 struct bgpio_chip *bgc = &chip->bgc; in etraxfs_gpio_probe()
|
D | gpio-sodaville.c | 46 struct bgpio_chip bgpio;
|
/linux-4.4.14/drivers/mfd/ |
D | vexpress-sysreg.c | 167 struct bgpio_chip *mmc_gpio_chip; in vexpress_sysreg_probe()
|