Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-menz127.c32 struct men_z127_gpio { struct
133 struct men_z127_gpio *men_z127_gpio; in men_z127_probe() local
137 men_z127_gpio = devm_kzalloc(dev, sizeof(struct men_z127_gpio), in men_z127_probe()
139 if (!men_z127_gpio) in men_z127_probe()
143 if (IS_ERR(men_z127_gpio->mem)) { in men_z127_probe()
145 return PTR_ERR(men_z127_gpio->mem); in men_z127_probe()
148 men_z127_gpio->reg_base = ioremap(men_z127_gpio->mem->start, in men_z127_probe()
168 ret = gpiochip_add_data(&men_z127_gpio->gc, men_z127_gpio); in men_z127_probe()
179 iounmap(men_z127_gpio->reg_base); in men_z127_probe()
187 struct men_z127_gpio *men_z127_gpio = mcb_get_drvdata(mdev); in men_z127_remove() local
[all …]