Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpio/
A Dgpio-cadence.c155 cgpio = devm_kzalloc(&pdev->dev, sizeof(*cgpio), GFP_KERNEL); in cdns_gpio_probe()
156 if (!cgpio) in cdns_gpio_probe()
160 if (IS_ERR(cgpio->regs)) in cdns_gpio_probe()
195 cgpio->gc.ngpio = num_gpios; in cdns_gpio_probe()
197 cgpio->gc.base = -1; in cdns_gpio_probe()
203 if (IS_ERR(cgpio->pclk)) { in cdns_gpio_probe()
204 ret = PTR_ERR(cgpio->pclk); in cdns_gpio_probe()
224 girq = &cgpio->gc.irq; in cdns_gpio_probe()
240 ret = devm_gpiochip_add_data(&pdev->dev, &cgpio->gc, cgpio); in cdns_gpio_probe()
246 cgpio->bypass_orig = ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_probe()
[all …]

Completed in 3 milliseconds