Home
last modified time | relevance | path

Searched refs:bgpio_chip (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/include/linux/
Dbasic_mmio_gpio.h29 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/
Dgpio-generic.c127 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 …]
Dgpio-dwapb.c69 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 …]
Dgpio-xgene-sb.c48 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()
Dgpio-clps711x.c22 struct bgpio_chip *bgc; in clps711x_gpio_probe()
76 struct bgpio_chip *bgc = platform_get_drvdata(pdev); in clps711x_gpio_remove()
Dgpio-moxart.c44 struct bgpio_chip *bgc = to_bgpio_chip(chip); in moxart_gpio_get()
57 struct bgpio_chip *bgc; in moxart_gpio_probe()
Dgpio-74xx-mmio.c24 struct bgpio_chip bgc;
83 struct bgpio_chip *bgc = to_bgpio_chip(gc); in to_74xx_gpio()
Dgpio-grgpio.c66 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()
Dgpio-ep93xx.c31 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()
Dgpio-mxs.c67 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()
Dgpio-ge.c58 struct bgpio_chip *bgc; in gef_gpio_probe()
Dgpio-mxc.c67 struct bgpio_chip bgc;
396 struct bgpio_chip *bgc = to_bgpio_chip(gc); in mxc_gpio_to_irq()
Dgpio-sodaville.c46 struct bgpio_chip bgpio;
/linux-4.1.27/drivers/mfd/
Dvexpress-sysreg.c167 struct bgpio_chip *mmc_gpio_chip; in vexpress_sysreg_probe()