Home
last modified time | relevance | path

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

/linux/drivers/gpio/
A Dgpio-creg-snps.c38 value = val ? hcg->layout->on[offset] : hcg->layout->off[offset]; in creg_gpio_set()
45 reg = readl(hcg->regs); in creg_gpio_set()
48 writel(reg, hcg->regs); in creg_gpio_set()
87 if (hcg->layout->ngpio < 1 || hcg->layout->ngpio > MAX_GPIO) in creg_gpio_validate()
99 reg_len += hcg->layout->shift[i] + hcg->layout->bit_per_gpio[i]; in creg_gpio_validate()
139 struct creg_gpio *hcg; in creg_gpio_probe() local
144 if (!hcg) in creg_gpio_probe()
153 if (!hcg->layout) in creg_gpio_probe()
166 hcg->gc.parent = dev; in creg_gpio_probe()
168 hcg->gc.base = -1; in creg_gpio_probe()
[all …]

Completed in 9 milliseconds