Lines Matching refs:gchip
172 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()
1421 pdata->gchip.of_xlate = tn_sn_bridge_of_xlate; 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()
1424 pdata->gchip.get_direction = ti_sn_bridge_gpio_get_direction; in ti_sn_gpio_probe()
1425 pdata->gchip.direction_input = ti_sn_bridge_gpio_direction_input; in ti_sn_gpio_probe()
1426 pdata->gchip.direction_output = ti_sn_bridge_gpio_direction_output; 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()
1430 pdata->gchip.names = ti_sn_bridge_gpio_names; in ti_sn_gpio_probe()
1431 pdata->gchip.ngpio = SN_NUM_GPIOS; in ti_sn_gpio_probe()
1432 pdata->gchip.base = -1; in ti_sn_gpio_probe()
1433 ret = devm_gpiochip_add_data(&adev->dev, &pdata->gchip, pdata); in ti_sn_gpio_probe()