Lines Matching defs:adev
654 static int ti_sn_aux_probe(struct auxiliary_device *adev,
657 struct ti_sn65dsi86 *pdata = dev_get_drvdata(adev->dev.parent);
661 pdata->aux.dev = &adev->dev;
697 static int ti_sn_attach_host(struct auxiliary_device *adev, struct ti_sn65dsi86 *pdata)
712 dsi = devm_mipi_dsi_device_register_full(&adev->dev, host, &info);
730 return devm_mipi_dsi_attach(&adev->dev, dsi);
1296 static int ti_sn_bridge_probe(struct auxiliary_device *adev,
1299 struct ti_sn65dsi86 *pdata = dev_get_drvdata(adev->dev.parent);
1303 pdata->next_bridge = devm_drm_of_get_bridge(&adev->dev, np, 1, 0);
1305 return dev_err_probe(&adev->dev, PTR_ERR(pdata->next_bridge),
1324 ret = ti_sn_attach_host(adev, pdata);
1326 dev_err_probe(&adev->dev, ret, "failed to attach dsi host\n");
1337 static void ti_sn_bridge_remove(struct auxiliary_device *adev)
1339 struct ti_sn65dsi86 *pdata = dev_get_drvdata(adev->dev.parent);
1588 static int ti_sn_pwm_probe(struct auxiliary_device *adev,
1591 struct ti_sn65dsi86 *pdata = dev_get_drvdata(adev->dev.parent);
1602 static void ti_sn_pwm_remove(struct auxiliary_device *adev)
1604 struct ti_sn65dsi86 *pdata = dev_get_drvdata(adev->dev.parent);
1802 static int ti_sn_gpio_probe(struct auxiliary_device *adev,
1805 struct ti_sn65dsi86 *pdata = dev_get_drvdata(adev->dev.parent);
1828 ret = devm_gpiochip_add_data(&adev->dev, &pdata->gchip, pdata);