Home
last modified time | relevance | path

Searched refs:ls1x_gc (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-loongson1.c26 struct ls1x_gpio_chip *ls1x_gc = gpiochip_get_data(gc); in ls1x_gpio_request() local
30 __raw_writel(__raw_readl(ls1x_gc->reg_base + GPIO_CFG) | BIT(offset), in ls1x_gpio_request()
31 ls1x_gc->reg_base + GPIO_CFG); in ls1x_gpio_request()
39 struct ls1x_gpio_chip *ls1x_gc = gpiochip_get_data(gc); in ls1x_gpio_free() local
43 __raw_writel(__raw_readl(ls1x_gc->reg_base + GPIO_CFG) & ~BIT(offset), in ls1x_gpio_free()
44 ls1x_gc->reg_base + GPIO_CFG); in ls1x_gpio_free()
51 struct ls1x_gpio_chip *ls1x_gc; in ls1x_gpio_probe() local
54 ls1x_gc = devm_kzalloc(dev, sizeof(*ls1x_gc), GFP_KERNEL); in ls1x_gpio_probe()
55 if (!ls1x_gc) in ls1x_gpio_probe()
[all...]

Completed in 1 milliseconds