Lines Matching refs:second
904 struct device *second; in dw_mipi_dsi_rockchip_bind() local
908 second = dw_mipi_dsi_rockchip_find_second(dsi); in dw_mipi_dsi_rockchip_bind()
909 if (IS_ERR(second)) in dw_mipi_dsi_rockchip_bind()
910 return PTR_ERR(second); in dw_mipi_dsi_rockchip_bind()
912 if (second) { in dw_mipi_dsi_rockchip_bind()
915 master2 = of_property_read_bool(second->of_node, in dw_mipi_dsi_rockchip_bind()
934 dsi->slave = dev_get_drvdata(second); in dw_mipi_dsi_rockchip_bind()
942 put_device(second); in dw_mipi_dsi_rockchip_bind()
1030 struct device *second; in dw_mipi_dsi_rockchip_host_attach() local
1051 second = dw_mipi_dsi_rockchip_find_second(dsi); in dw_mipi_dsi_rockchip_host_attach()
1052 if (IS_ERR(second)) { in dw_mipi_dsi_rockchip_host_attach()
1053 ret = PTR_ERR(second); in dw_mipi_dsi_rockchip_host_attach()
1056 if (second) { in dw_mipi_dsi_rockchip_host_attach()
1057 ret = component_add(second, &dw_mipi_dsi_rockchip_ops); in dw_mipi_dsi_rockchip_host_attach()
1059 DRM_DEV_ERROR(second, in dw_mipi_dsi_rockchip_host_attach()
1079 struct device *second; in dw_mipi_dsi_rockchip_host_detach() local
1081 second = dw_mipi_dsi_rockchip_find_second(dsi); in dw_mipi_dsi_rockchip_host_detach()
1082 if (second && !IS_ERR(second)) in dw_mipi_dsi_rockchip_host_detach()
1083 component_del(second, &dw_mipi_dsi_rockchip_ops); in dw_mipi_dsi_rockchip_host_detach()