Searched refs:cgpio (Results 1 – 1 of 1) sorted by relevance
41 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_request() local46 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) & ~BIT(offset), in cdns_gpio_request()47 cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_request()55 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_free() local60 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) | in cdns_gpio_free()61 (BIT(offset) & cgpio->bypass_orig), in cdns_gpio_free()62 cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_free()70 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_irq_mask() local72 iowrite32(BIT(d->hwirq), cgpio->regs + CDNS_GPIO_IRQ_DIS); in cdns_gpio_irq_mask()78 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_irq_unmask() local[all …]