Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpio/
H 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 …]
/linux-6.15/mm/
H A Dhugetlb_cgroup.c199 struct hugetlb_cgroup *hcg; in hugetlb_cgroup_move_parent() local
202 hcg = hugetlb_cgroup_from_folio(folio); in hugetlb_cgroup_move_parent()
208 if (!hcg || hcg != h_cg) in hugetlb_cgroup_move_parent()