Searched refs:cgpio (Results 1 – 1 of 1) sorted by relevance
40 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_request() local45 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) & ~BIT(offset), in cdns_gpio_request()46 cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_request()54 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_free() local59 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) | in cdns_gpio_free()60 (BIT(offset) & cgpio->bypass_orig), in cdns_gpio_free()61 cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_free()69 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_irq_mask() local71 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 …]