Home
last modified time | relevance | path

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

/linux/drivers/gpio/
A Dgpio-mb86s7x.c163 gchip = devm_kzalloc(&pdev->dev, sizeof(*gchip), GFP_KERNEL); in mb86s70_gpio_probe()
164 if (gchip == NULL) in mb86s70_gpio_probe()
170 if (IS_ERR(gchip->base)) in mb86s70_gpio_probe()
171 return PTR_ERR(gchip->base); in mb86s70_gpio_probe()
174 if (IS_ERR(gchip->clk)) in mb86s70_gpio_probe()
175 return PTR_ERR(gchip->clk); in mb86s70_gpio_probe()
181 spin_lock_init(&gchip->lock); in mb86s70_gpio_probe()
191 gchip->gc.ngpio = 32; in mb86s70_gpio_probe()
194 gchip->gc.base = -1; in mb86s70_gpio_probe()
196 ret = gpiochip_add_data(&gchip->gc, gchip); in mb86s70_gpio_probe()
[all …]
A Dgpio-siox.c12 struct gpio_chip gchip; member
147 container_of(chip, struct gpio_siox_ddata, gchip); in gpio_siox_get()
171 container_of(chip, struct gpio_siox_ddata, gchip); in gpio_siox_set()
227 ddata->gchip.base = -1; in gpio_siox_probe()
228 ddata->gchip.can_sleep = 1; in gpio_siox_probe()
229 ddata->gchip.parent = dev; in gpio_siox_probe()
230 ddata->gchip.owner = THIS_MODULE; in gpio_siox_probe()
231 ddata->gchip.get = gpio_siox_get; in gpio_siox_probe()
232 ddata->gchip.set = gpio_siox_set; in gpio_siox_probe()
236 ddata->gchip.ngpio = 20; in gpio_siox_probe()
[all …]
/linux/drivers/gpu/drm/bridge/
A Dti-sn65dsi86.c172 struct gpio_chip gchip; member
1418 pdata->gchip.label = dev_name(pdata->dev); in ti_sn_gpio_probe()
1419 pdata->gchip.parent = pdata->dev; in ti_sn_gpio_probe()
1420 pdata->gchip.owner = THIS_MODULE; in ti_sn_gpio_probe()
1422 pdata->gchip.of_gpio_n_cells = 2; in ti_sn_gpio_probe()
1423 pdata->gchip.free = ti_sn_bridge_gpio_free; in ti_sn_gpio_probe()
1427 pdata->gchip.get = ti_sn_bridge_gpio_get; in ti_sn_gpio_probe()
1428 pdata->gchip.set = ti_sn_bridge_gpio_set; in ti_sn_gpio_probe()
1429 pdata->gchip.can_sleep = true; in ti_sn_gpio_probe()
1431 pdata->gchip.ngpio = SN_NUM_GPIOS; in ti_sn_gpio_probe()
[all …]
/linux/drivers/mfd/
A Dsm501.c1017 struct gpio_chip *gchip = &chip->gpio; in sm501_gpio_register_chip() local
1027 gchip->label = "SM501-HIGH"; in sm501_gpio_register_chip()
1031 gchip->label = "SM501-LOW"; in sm501_gpio_register_chip()
1034 gchip->base = base; in sm501_gpio_register_chip()
1037 return gpiochip_add_data(gchip, chip); in sm501_gpio_register_chip()

Completed in 16 milliseconds