Lines Matching defs:second
846 * we have found the second, so will either return it
880 struct device *second;
884 second = dw_mipi_dsi_rockchip_find_second(dsi);
885 if (IS_ERR(second))
886 return PTR_ERR(second);
888 if (second) {
891 master2 = of_property_read_bool(second->of_node,
910 dsi->slave = dev_get_drvdata(second);
918 put_device(second);
983 struct device *second;
993 second = dw_mipi_dsi_rockchip_find_second(dsi);
994 if (IS_ERR(second))
995 return PTR_ERR(second);
996 if (second) {
997 ret = component_add(second, &dw_mipi_dsi_rockchip_ops);
999 DRM_DEV_ERROR(second,
1013 struct device *second;
1015 second = dw_mipi_dsi_rockchip_find_second(dsi);
1016 if (second && !IS_ERR(second))
1017 component_del(second, &dw_mipi_dsi_rockchip_ops);