Lines Matching full:clr
470 * - set/clear pair (named "set" and "clr").
475 * by clearing a bit. For the set clr pair, this drives a 1 by setting a bit
490 void __iomem *clr, in bgpio_setup_io() argument
498 if (set && clr) { in bgpio_setup_io()
500 gc->reg_clr = clr; in bgpio_setup_io()
503 } else if (set && !clr) { in bgpio_setup_io()
582 * @clr: MMIO address for the register to CLEAR the value of the GPIO lines, it is
600 void __iomem *clr, void __iomem *dirout, void __iomem *dirin, in bgpio_init() argument
623 ret = bgpio_setup_io(gc, dat, set, clr, flags); in bgpio_init()
722 void __iomem *clr; in bgpio_pdev_probe() local
754 clr = bgpio_map(pdev, "clr", sz); in bgpio_pdev_probe()
755 if (IS_ERR(clr)) in bgpio_pdev_probe()
756 return PTR_ERR(clr); in bgpio_pdev_probe()
770 err = bgpio_init(gc, dev, sz, dat, set, clr, dirout, dirin, flags); in bgpio_pdev_probe()