panel             202 arch/arm/mach-integrator/impd1.c 			fb->panel->connector | IMPD1_CTRL_DISP_ENABLE);
panel             211 arch/arm/mach-integrator/impd1.c 	fb->panel = &PANELTYPE;
panel             145 arch/arm/mach-mmp/pxa910.c PXA910_DEVICE(panel, "tpo-hvga", -1, NONE, 0, 0);
panel             130 arch/mips/include/asm/sgi/ioc.h 	volatile u8 panel;
panel              61 arch/mips/sgi-ip22/ip22-reset.c 		sgioc->panel = ~SGIOC_PANEL_POWERON;
panel             107 arch/mips/sgi-ip22/ip22-reset.c 		sgioc->panel = SGIOC_PANEL_POWERON | SGIOC_PANEL_POWERINTR |
panel             144 arch/mips/sgi-ip22/ip22-reset.c 	buttons = sgioc->panel;
panel             145 arch/mips/sgi-ip22/ip22-reset.c 	sgioc->panel = SGIOC_PANEL_POWERON | SGIOC_PANEL_POWERINTR;
panel             296 drivers/acpi/acpica/dbconvert.c 	ACPI_PLD_SET_PANEL(&dword, pld_info->panel);
panel             410 drivers/acpi/acpica/dbconvert.c 	acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Panel", pld_info->panel);
panel             491 drivers/acpi/acpica/utxface.c 	pld_info->panel = ACPI_PLD_GET_PANEL(&dword);
panel              73 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c 	struct drm_panel *panel;
panel              82 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c 					  &panel, &bridge);
panel             109 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c 	if (panel) {
panel             110 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c 		bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_Unknown);
panel             120 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c 		if (panel)
panel             943 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel) {
panel             944 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		if (drm_panel_disable(dp->plat_data->panel))
panel             968 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel) {
panel             969 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		ret = drm_panel_enable(dp->plat_data->panel);
panel            1078 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (!dp->plat_data->panel)
panel            1091 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		ret = drm_panel_prepare(dp->plat_data->panel);
panel            1093 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		ret = drm_panel_unprepare(dp->plat_data->panel);
panel            1112 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel) {
panel            1113 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		num_modes += drm_panel_get_modes(dp->plat_data->panel);
panel            1190 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel)
panel            1261 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel) {
panel            1262 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		ret = drm_panel_attach(dp->plat_data->panel, &dp->connector);
panel            1414 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel) {
panel            1415 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		if (drm_panel_disable(dp->plat_data->panel)) {
panel            1786 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel) {
panel            1787 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		if (drm_panel_unprepare(dp->plat_data->panel))
panel            1789 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		drm_panel_detach(dp->plat_data->panel);
panel            1808 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel) {
panel            1809 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		if (drm_panel_unprepare(dp->plat_data->panel))
panel            1827 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->panel) {
panel            1828 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		if (drm_panel_prepare(dp->plat_data->panel)) {
panel             429 drivers/gpu/drm/bridge/cdns-dsi.c 	struct drm_panel *panel;
panel             930 drivers/gpu/drm/bridge/cdns-dsi.c 	struct drm_panel *panel;
panel             957 drivers/gpu/drm/bridge/cdns-dsi.c 	panel = of_drm_find_panel(np);
panel             958 drivers/gpu/drm/bridge/cdns-dsi.c 	if (!IS_ERR(panel)) {
panel             959 drivers/gpu/drm/bridge/cdns-dsi.c 		bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_DSI);
panel             977 drivers/gpu/drm/bridge/cdns-dsi.c 	output->panel = panel;
panel             997 drivers/gpu/drm/bridge/cdns-dsi.c 	if (output->panel)
panel              63 drivers/gpu/drm/bridge/lvds-encoder.c 	struct drm_panel *panel;
panel             101 drivers/gpu/drm/bridge/lvds-encoder.c 	panel = of_drm_find_panel(panel_node);
panel             103 drivers/gpu/drm/bridge/lvds-encoder.c 	if (IS_ERR(panel)) {
panel             105 drivers/gpu/drm/bridge/lvds-encoder.c 		return PTR_ERR(panel);
panel             109 drivers/gpu/drm/bridge/lvds-encoder.c 		devm_drm_panel_bridge_add(dev, panel, DRM_MODE_CONNECTOR_LVDS);
panel              32 drivers/gpu/drm/bridge/nxp-ptn3460.c 	struct drm_panel *panel;
panel             129 drivers/gpu/drm/bridge/nxp-ptn3460.c 	if (drm_panel_prepare(ptn_bridge->panel)) {
panel             152 drivers/gpu/drm/bridge/nxp-ptn3460.c 	if (drm_panel_enable(ptn_bridge->panel)) {
panel             167 drivers/gpu/drm/bridge/nxp-ptn3460.c 	if (drm_panel_disable(ptn_bridge->panel)) {
panel             180 drivers/gpu/drm/bridge/nxp-ptn3460.c 	if (drm_panel_unprepare(ptn_bridge->panel)) {
panel             261 drivers/gpu/drm/bridge/nxp-ptn3460.c 	if (ptn_bridge->panel)
panel             262 drivers/gpu/drm/bridge/nxp-ptn3460.c 		drm_panel_attach(ptn_bridge->panel, &ptn_bridge->connector);
panel             289 drivers/gpu/drm/bridge/nxp-ptn3460.c 	ret = drm_of_find_panel_or_bridge(dev->of_node, 0, 0, &ptn_bridge->panel, NULL);
panel              18 drivers/gpu/drm/bridge/panel.c 	struct drm_panel *panel;
panel              39 drivers/gpu/drm/bridge/panel.c 	return drm_panel_get_modes(panel_bridge->panel);
panel              80 drivers/gpu/drm/bridge/panel.c 	ret = drm_panel_attach(panel_bridge->panel, &panel_bridge->connector);
panel              91 drivers/gpu/drm/bridge/panel.c 	drm_panel_detach(panel_bridge->panel);
panel              98 drivers/gpu/drm/bridge/panel.c 	drm_panel_prepare(panel_bridge->panel);
panel             105 drivers/gpu/drm/bridge/panel.c 	drm_panel_enable(panel_bridge->panel);
panel             112 drivers/gpu/drm/bridge/panel.c 	drm_panel_disable(panel_bridge->panel);
panel             119 drivers/gpu/drm/bridge/panel.c 	drm_panel_unprepare(panel_bridge->panel);
panel             154 drivers/gpu/drm/bridge/panel.c struct drm_bridge *drm_panel_bridge_add(struct drm_panel *panel,
panel             159 drivers/gpu/drm/bridge/panel.c 	if (!panel)
panel             162 drivers/gpu/drm/bridge/panel.c 	panel_bridge = devm_kzalloc(panel->dev, sizeof(*panel_bridge),
panel             168 drivers/gpu/drm/bridge/panel.c 	panel_bridge->panel = panel;
panel             172 drivers/gpu/drm/bridge/panel.c 	panel_bridge->bridge.of_node = panel->dev->of_node;
panel             200 drivers/gpu/drm/bridge/panel.c 	devm_kfree(panel_bridge->panel->dev, bridge);
panel             223 drivers/gpu/drm/bridge/panel.c 					     struct drm_panel *panel,
panel             233 drivers/gpu/drm/bridge/panel.c 	bridge = drm_panel_bridge_add(panel, connector_type);
panel              47 drivers/gpu/drm/bridge/parade-ps8622.c 	struct drm_panel *panel;
panel             367 drivers/gpu/drm/bridge/parade-ps8622.c 	if (drm_panel_prepare(ps8622->panel)) {
panel             405 drivers/gpu/drm/bridge/parade-ps8622.c 	if (drm_panel_enable(ps8622->panel)) {
panel             415 drivers/gpu/drm/bridge/parade-ps8622.c 	if (drm_panel_disable(ps8622->panel)) {
panel             438 drivers/gpu/drm/bridge/parade-ps8622.c 	if (drm_panel_unprepare(ps8622->panel)) {
panel             463 drivers/gpu/drm/bridge/parade-ps8622.c 	return drm_panel_get_modes(ps8622->panel);
panel             501 drivers/gpu/drm/bridge/parade-ps8622.c 	if (ps8622->panel)
panel             502 drivers/gpu/drm/bridge/parade-ps8622.c 		drm_panel_attach(ps8622->panel, &ps8622->connector);
panel             535 drivers/gpu/drm/bridge/parade-ps8622.c 	ret = drm_of_find_panel_or_bridge(dev->of_node, 0, 0, &ps8622->panel, NULL);
panel             299 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 	struct drm_panel *panel;
panel             314 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 					  &panel, &bridge);
panel             318 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 	if (panel) {
panel             319 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 		bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_DSI);
panel             158 drivers/gpu/drm/bridge/tc358764.c 	struct drm_panel *panel;
panel             284 drivers/gpu/drm/bridge/tc358764.c 	return drm_panel_get_modes(ctx->panel);
panel             303 drivers/gpu/drm/bridge/tc358764.c 	int ret = drm_panel_disable(bridge_to_tc358764(bridge)->panel);
panel             314 drivers/gpu/drm/bridge/tc358764.c 	ret = drm_panel_unprepare(ctx->panel);
panel             337 drivers/gpu/drm/bridge/tc358764.c 	ret = drm_panel_prepare(ctx->panel);
panel             345 drivers/gpu/drm/bridge/tc358764.c 	int ret = drm_panel_enable(ctx->panel);
panel             369 drivers/gpu/drm/bridge/tc358764.c 	drm_panel_attach(ctx->panel, &ctx->connector);
panel             384 drivers/gpu/drm/bridge/tc358764.c 	drm_panel_detach(ctx->panel);
panel             385 drivers/gpu/drm/bridge/tc358764.c 	ctx->panel = NULL;
panel             409 drivers/gpu/drm/bridge/tc358764.c 	ret = drm_of_find_panel_or_bridge(ctx->dev->of_node, 1, 0, &ctx->panel,
panel             244 drivers/gpu/drm/bridge/tc358767.c 	struct drm_panel	*panel;
panel            1222 drivers/gpu/drm/bridge/tc358767.c 	drm_panel_prepare(tc->panel);
panel            1249 drivers/gpu/drm/bridge/tc358767.c 	drm_panel_enable(tc->panel);
panel            1257 drivers/gpu/drm/bridge/tc358767.c 	drm_panel_disable(tc->panel);
panel            1272 drivers/gpu/drm/bridge/tc358767.c 	drm_panel_unprepare(tc->panel);
panel            1329 drivers/gpu/drm/bridge/tc358767.c 	count = drm_panel_get_modes(tc->panel);
panel            1359 drivers/gpu/drm/bridge/tc358767.c 		if (tc->panel)
panel            1396 drivers/gpu/drm/bridge/tc358767.c 				 tc->panel ? DRM_MODE_CONNECTOR_eDP :
panel            1410 drivers/gpu/drm/bridge/tc358767.c 	if (tc->panel)
panel            1411 drivers/gpu/drm/bridge/tc358767.c 		drm_panel_attach(tc->panel, &tc->connector);
panel            1532 drivers/gpu/drm/bridge/tc358767.c 	ret = drm_of_find_panel_or_bridge(dev->of_node, 2, 0, &tc->panel, NULL);
panel              99 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	struct drm_panel		*panel;
panel             208 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	return drm_panel_get_modes(pdata->panel);
panel             334 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	drm_panel_attach(pdata->panel, &pdata->connector);
panel             349 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	drm_panel_disable(pdata->panel);
panel             358 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	drm_panel_unprepare(pdata->panel);
panel             555 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	drm_panel_enable(pdata->panel);
panel             586 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	drm_panel_prepare(pdata->panel);
panel             723 drivers/gpu/drm/bridge/ti-sn65dsi86.c 					  &pdata->panel, NULL);
panel             238 drivers/gpu/drm/drm_of.c 				struct drm_panel **panel,
panel             244 drivers/gpu/drm/drm_of.c 	if (!panel && !bridge)
panel             246 drivers/gpu/drm/drm_of.c 	if (panel)
panel             247 drivers/gpu/drm/drm_of.c 		*panel = NULL;
panel             258 drivers/gpu/drm/drm_of.c 	if (panel) {
panel             259 drivers/gpu/drm/drm_of.c 		*panel = of_drm_find_panel(remote);
panel             260 drivers/gpu/drm/drm_of.c 		if (!IS_ERR(*panel))
panel             263 drivers/gpu/drm/drm_of.c 			*panel = NULL;
panel              51 drivers/gpu/drm/drm_panel.c void drm_panel_init(struct drm_panel *panel)
panel              53 drivers/gpu/drm/drm_panel.c 	INIT_LIST_HEAD(&panel->list);
panel              66 drivers/gpu/drm/drm_panel.c int drm_panel_add(struct drm_panel *panel)
panel              69 drivers/gpu/drm/drm_panel.c 	list_add_tail(&panel->list, &panel_list);
panel              82 drivers/gpu/drm/drm_panel.c void drm_panel_remove(struct drm_panel *panel)
panel              85 drivers/gpu/drm/drm_panel.c 	list_del_init(&panel->list);
panel             105 drivers/gpu/drm/drm_panel.c int drm_panel_attach(struct drm_panel *panel, struct drm_connector *connector)
panel             107 drivers/gpu/drm/drm_panel.c 	if (panel->connector)
panel             110 drivers/gpu/drm/drm_panel.c 	panel->connector = connector;
panel             111 drivers/gpu/drm/drm_panel.c 	panel->drm = connector->dev;
panel             127 drivers/gpu/drm/drm_panel.c void drm_panel_detach(struct drm_panel *panel)
panel             129 drivers/gpu/drm/drm_panel.c 	panel->connector = NULL;
panel             130 drivers/gpu/drm/drm_panel.c 	panel->drm = NULL;
panel             144 drivers/gpu/drm/drm_panel.c int drm_panel_prepare(struct drm_panel *panel)
panel             146 drivers/gpu/drm/drm_panel.c 	if (panel && panel->funcs && panel->funcs->prepare)
panel             147 drivers/gpu/drm/drm_panel.c 		return panel->funcs->prepare(panel);
panel             149 drivers/gpu/drm/drm_panel.c 	return panel ? -ENOSYS : -EINVAL;
panel             164 drivers/gpu/drm/drm_panel.c int drm_panel_unprepare(struct drm_panel *panel)
panel             166 drivers/gpu/drm/drm_panel.c 	if (panel && panel->funcs && panel->funcs->unprepare)
panel             167 drivers/gpu/drm/drm_panel.c 		return panel->funcs->unprepare(panel);
panel             169 drivers/gpu/drm/drm_panel.c 	return panel ? -ENOSYS : -EINVAL;
panel             183 drivers/gpu/drm/drm_panel.c int drm_panel_enable(struct drm_panel *panel)
panel             185 drivers/gpu/drm/drm_panel.c 	if (panel && panel->funcs && panel->funcs->enable)
panel             186 drivers/gpu/drm/drm_panel.c 		return panel->funcs->enable(panel);
panel             188 drivers/gpu/drm/drm_panel.c 	return panel ? -ENOSYS : -EINVAL;
panel             202 drivers/gpu/drm/drm_panel.c int drm_panel_disable(struct drm_panel *panel)
panel             204 drivers/gpu/drm/drm_panel.c 	if (panel && panel->funcs && panel->funcs->disable)
panel             205 drivers/gpu/drm/drm_panel.c 		return panel->funcs->disable(panel);
panel             207 drivers/gpu/drm/drm_panel.c 	return panel ? -ENOSYS : -EINVAL;
panel             221 drivers/gpu/drm/drm_panel.c int drm_panel_get_modes(struct drm_panel *panel)
panel             223 drivers/gpu/drm/drm_panel.c 	if (panel && panel->funcs && panel->funcs->get_modes)
panel             224 drivers/gpu/drm/drm_panel.c 		return panel->funcs->get_modes(panel);
panel             226 drivers/gpu/drm/drm_panel.c 	return panel ? -ENOSYS : -EINVAL;
panel             249 drivers/gpu/drm/drm_panel.c 	struct drm_panel *panel;
panel             256 drivers/gpu/drm/drm_panel.c 	list_for_each_entry(panel, &panel_list, list) {
panel             257 drivers/gpu/drm/drm_panel.c 		if (panel->dev->of_node == np) {
panel             259 drivers/gpu/drm/drm_panel.c 			return panel;
panel              76 drivers/gpu/drm/exynos/exynos_dp.c 	if (dp->plat_data.panel)
panel             163 drivers/gpu/drm/exynos/exynos_dp.c 	if (!dp->plat_data.panel && !dp->ptn_bridge) {
panel             206 drivers/gpu/drm/exynos/exynos_dp.c 	struct drm_panel *panel;
panel             226 drivers/gpu/drm/exynos/exynos_dp.c 		dp->plat_data.panel = of_drm_find_panel(np);
panel             229 drivers/gpu/drm/exynos/exynos_dp.c 		if (IS_ERR(dp->plat_data.panel))
panel             230 drivers/gpu/drm/exynos/exynos_dp.c 			return PTR_ERR(dp->plat_data.panel);
panel             235 drivers/gpu/drm/exynos/exynos_dp.c 	ret = drm_of_find_panel_or_bridge(dev->of_node, 0, 0, &panel, &bridge);
panel             240 drivers/gpu/drm/exynos/exynos_dp.c 	dp->plat_data.panel = panel;
panel              28 drivers/gpu/drm/exynos/exynos_drm_dpi.c 	struct drm_panel *panel;
panel              46 drivers/gpu/drm/exynos/exynos_drm_dpi.c 	if (ctx->panel && !ctx->panel->connector)
panel              47 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		drm_panel_attach(ctx->panel, &ctx->connector);
panel              87 drivers/gpu/drm/exynos/exynos_drm_dpi.c 	if (ctx->panel)
panel              88 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		return ctx->panel->funcs->get_modes(ctx->panel);
panel             130 drivers/gpu/drm/exynos/exynos_drm_dpi.c 	if (ctx->panel) {
panel             131 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		drm_panel_prepare(ctx->panel);
panel             132 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		drm_panel_enable(ctx->panel);
panel             140 drivers/gpu/drm/exynos/exynos_drm_dpi.c 	if (ctx->panel) {
panel             141 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		drm_panel_disable(ctx->panel);
panel             142 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		drm_panel_unprepare(ctx->panel);
panel             242 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		ctx->panel = of_drm_find_panel(ctx->panel_node);
panel             243 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		if (IS_ERR(ctx->panel))
panel             244 drivers/gpu/drm/exynos/exynos_drm_dpi.c 			return ERR_CAST(ctx->panel);
panel             256 drivers/gpu/drm/exynos/exynos_drm_dpi.c 	if (ctx->panel)
panel             257 drivers/gpu/drm/exynos/exynos_drm_dpi.c 		drm_panel_detach(ctx->panel);
panel             256 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	struct drm_panel *panel;
panel            1331 drivers/gpu/drm/exynos/exynos_drm_dsi.c 				      struct device *panel)
panel            1336 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	dsi->te_gpio = of_get_named_gpio(panel->of_node, "te-gpios", 0);
panel            1387 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	if (dsi->panel) {
panel            1388 drivers/gpu/drm/exynos/exynos_drm_dsi.c 		ret = drm_panel_prepare(dsi->panel);
panel            1398 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	if (dsi->panel) {
panel            1399 drivers/gpu/drm/exynos/exynos_drm_dsi.c 		ret = drm_panel_enable(dsi->panel);
panel            1411 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	drm_panel_unprepare(dsi->panel);
panel            1427 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	drm_panel_disable(dsi->panel);
panel            1430 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	drm_panel_unprepare(dsi->panel);
panel            1462 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	if (dsi->panel)
panel            1463 drivers/gpu/drm/exynos/exynos_drm_dsi.c 		return dsi->panel->funcs->get_modes(dsi->panel);
panel            1536 drivers/gpu/drm/exynos/exynos_drm_dsi.c 		dsi->panel = of_drm_find_panel(device->dev.of_node);
panel            1537 drivers/gpu/drm/exynos/exynos_drm_dsi.c 		if (IS_ERR(dsi->panel)) {
panel            1538 drivers/gpu/drm/exynos/exynos_drm_dsi.c 			dsi->panel = NULL;
panel            1540 drivers/gpu/drm/exynos/exynos_drm_dsi.c 			drm_panel_attach(dsi->panel, &dsi->connector);
panel            1579 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	if (dsi->panel) {
panel            1582 drivers/gpu/drm/exynos/exynos_drm_dsi.c 		drm_panel_detach(dsi->panel);
panel            1583 drivers/gpu/drm/exynos/exynos_drm_dsi.c 		dsi->panel = NULL;
panel              14 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_output.h 	struct drm_panel *panel;
panel              53 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 	drm_panel_detach(fsl_con->panel);
panel              70 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 	return drm_panel_get_modes(fsl_connector->panel);
panel              88 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 				 struct drm_panel *panel)
panel             111 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 	ret = drm_panel_attach(panel, connector);
panel             129 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 	struct drm_panel *panel;
panel             136 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 		fsl_dev->connector.panel = of_drm_find_panel(panel_node);
panel             138 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 		if (IS_ERR(fsl_dev->connector.panel))
panel             139 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 			return PTR_ERR(fsl_dev->connector.panel);
panel             141 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 		return fsl_dcu_attach_panel(fsl_dev, fsl_dev->connector.panel);
panel             144 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 	ret = drm_of_find_panel_or_bridge(fsl_dev->np, 0, 0, &panel, &bridge);
panel             148 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 	if (panel) {
panel             149 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 		fsl_dev->connector.panel = panel;
panel             150 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c 		return fsl_dcu_attach_panel(fsl_dev, panel);
panel             180 drivers/gpu/drm/gma500/mid_bios.c 	dev_priv->gct_data.DTD = gct.panel[bpi].DTD;
panel             182 drivers/gpu/drm/gma500/mid_bios.c 		gct.panel[bpi].Panel_Port_Control;
panel             184 drivers/gpu/drm/gma500/mid_bios.c 		gct.panel[bpi].Panel_MIPI_Display_Descriptor;
panel             208 drivers/gpu/drm/gma500/mid_bios.c 	dev_priv->gct_data.DTD = gct.panel[bpi].DTD;
panel             210 drivers/gpu/drm/gma500/mid_bios.c 		gct.panel[bpi].Panel_Port_Control;
panel             212 drivers/gpu/drm/gma500/mid_bios.c 		gct.panel[bpi].Panel_MIPI_Display_Descriptor;
panel             159 drivers/gpu/drm/gma500/oaktrail.h 	struct oaktrail_panel_descriptor_v1 panel[4];/*panel descrs,38 bytes each*/
panel             176 drivers/gpu/drm/gma500/oaktrail.h 	struct oaktrail_panel_descriptor_v2 panel[4];/*panel descrs,38 bytes each*/
panel            1270 drivers/gpu/drm/i915/display/icl_dsi.c 					intel_connector->panel.fixed_mode;
panel            1542 drivers/gpu/drm/i915/display/icl_dsi.c 				connector->panel.fixed_mode->hdisplay,
panel            1543 drivers/gpu/drm/i915/display/icl_dsi.c 				connector->panel.fixed_mode->vdisplay);
panel            1612 drivers/gpu/drm/i915/display/icl_dsi.c 	intel_panel_init(&intel_connector->panel, fixed_mode, NULL);
panel             102 drivers/gpu/drm/i915/display/intel_connector.c 	intel_panel_fini(&intel_connector->panel);
panel             408 drivers/gpu/drm/i915/display/intel_display_types.h 	struct intel_panel panel;
panel             450 drivers/gpu/drm/i915/display/intel_dp.c 		intel_dp->attached_connector->panel.fixed_mode;
panel             594 drivers/gpu/drm/i915/display/intel_dp.c 	struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode;
panel            2279 drivers/gpu/drm/i915/display/intel_dp.c 	if (intel_dp_is_edp(intel_dp) && intel_connector->panel.fixed_mode) {
panel            2280 drivers/gpu/drm/i915/display/intel_dp.c 		intel_fixed_panel_mode(intel_connector->panel.fixed_mode,
panel            2326 drivers/gpu/drm/i915/display/intel_dp.c 	if (intel_connector->panel.downclock_mode != NULL &&
panel            2331 drivers/gpu/drm/i915/display/intel_dp.c 					       intel_connector->panel.downclock_mode->clock,
panel            5491 drivers/gpu/drm/i915/display/intel_dp.c 	    intel_connector->panel.fixed_mode) {
panel            5495 drivers/gpu/drm/i915/display/intel_dp.c 					  intel_connector->panel.fixed_mode);
panel            6676 drivers/gpu/drm/i915/display/intel_dp.c 	if (intel_dp->attached_connector->panel.downclock_mode->vrefresh ==
panel            6785 drivers/gpu/drm/i915/display/intel_dp.c 			intel_dp->attached_connector->panel.fixed_mode->vrefresh);
panel            6818 drivers/gpu/drm/i915/display/intel_dp.c 			intel_dp->attached_connector->panel.downclock_mode->vrefresh);
panel            6861 drivers/gpu/drm/i915/display/intel_dp.c 			dev_priv->drrs.dp->attached_connector->panel.fixed_mode->vrefresh);
panel            6904 drivers/gpu/drm/i915/display/intel_dp.c 				dev_priv->drrs.dp->attached_connector->panel.fixed_mode->vrefresh);
panel            7090 drivers/gpu/drm/i915/display/intel_dp.c 	intel_panel_init(&intel_connector->panel, fixed_mode, downclock_mode);
panel            7091 drivers/gpu/drm/i915/display/intel_dp.c 	intel_connector->panel.backlight.power = intel_edp_backlight_power;
panel             220 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	intel_dp_aux_set_backlight(conn_state, connector->panel.backlight.level);
panel             232 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	struct intel_panel *panel = &connector->panel;
panel             235 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 		panel->backlight.max = 0xFFFF;
panel             237 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 		panel->backlight.max = 0xFF;
panel             239 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.min = 0;
panel             240 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.level = intel_dp_aux_get_backlight(connector);
panel             242 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.enabled = panel->backlight.level != 0;
panel             266 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	struct intel_panel *panel = &intel_connector->panel;
panel             277 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.setup = intel_dp_aux_setup_backlight;
panel             278 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.enable = intel_dp_aux_enable_backlight;
panel             279 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.disable = intel_dp_aux_disable_backlight;
panel             280 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.set = intel_dp_aux_set_backlight;
panel             281 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 	panel->backlight.get = intel_dp_aux_get_backlight;
panel              39 drivers/gpu/drm/i915/display/intel_dsi.c 	if (!intel_connector->panel.fixed_mode) {
panel              45 drivers/gpu/drm/i915/display/intel_dsi.c 				  intel_connector->panel.fixed_mode);
panel              59 drivers/gpu/drm/i915/display/intel_dsi.c 	const struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode;
panel             117 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	struct intel_panel *panel = &to_intel_connector(conn_state->connector)->panel;
panel             145 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	dcs_set_backlight(conn_state, panel->backlight.level);
panel             151 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	struct intel_panel *panel = &connector->panel;
panel             153 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.max = PANEL_PWM_MAX_VALUE;
panel             154 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.level = PANEL_PWM_MAX_VALUE;
panel             164 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	struct intel_panel *panel = &intel_connector->panel;
panel             172 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.setup = dcs_setup_backlight;
panel             173 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.enable = dcs_enable_backlight;
panel             174 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.disable = dcs_disable_backlight;
panel             175 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.set = dcs_set_backlight;
panel             176 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.get = dcs_get_backlight;
panel             225 drivers/gpu/drm/i915/display/intel_dvo.c 		to_intel_connector(connector)->panel.fixed_mode;
panel             255 drivers/gpu/drm/i915/display/intel_dvo.c 		intel_dvo->attached_connector->panel.fixed_mode;
panel             324 drivers/gpu/drm/i915/display/intel_dvo.c 		to_intel_connector(connector)->panel.fixed_mode;
panel             544 drivers/gpu/drm/i915/display/intel_dvo.c 			intel_panel_init(&intel_connector->panel,
panel             371 drivers/gpu/drm/i915/display/intel_lvds.c 	struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode;
panel             424 drivers/gpu/drm/i915/display/intel_lvds.c 	intel_fixed_panel_mode(intel_connector->panel.fixed_mode,
panel             469 drivers/gpu/drm/i915/display/intel_lvds.c 	mode = drm_mode_duplicate(dev, intel_connector->panel.fixed_mode);
panel             782 drivers/gpu/drm/i915/display/intel_lvds.c 	if (lvds_encoder->attached_connector->panel.fixed_mode->clock > 112999)
panel             986 drivers/gpu/drm/i915/display/intel_lvds.c 	intel_panel_init(&intel_connector->panel, fixed_mode, downclock_mode);
panel             487 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             490 drivers/gpu/drm/i915/display/intel_panel.c 		     panel->backlight.min, panel->backlight.max);
panel             498 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             501 drivers/gpu/drm/i915/display/intel_panel.c 	hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max);
panel             502 drivers/gpu/drm/i915/display/intel_panel.c 	hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max);
panel             511 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             513 drivers/gpu/drm/i915/display/intel_panel.c 	return scale(hw_level, panel->backlight.min, panel->backlight.max,
panel             521 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             523 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
panel             530 drivers/gpu/drm/i915/display/intel_panel.c 		return panel->backlight.max - val + panel->backlight.min;
panel             553 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             560 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode) {
panel             589 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             591 drivers/gpu/drm/i915/display/intel_panel.c 	return I915_READ(BXT_BLC_PWM_DUTY(panel->backlight.controller));
panel             596 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             599 drivers/gpu/drm/i915/display/intel_panel.c 	duty_ns = pwm_get_duty_cycle(panel->backlight.pwm);
panel             626 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             629 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
panel             631 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode) {
panel             634 drivers/gpu/drm/i915/display/intel_panel.c 		lbpc = level * 0xfe / panel->backlight.max + 1;
panel             665 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             667 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_DUTY(panel->backlight.controller), level);
panel             672 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &to_intel_connector(conn_state->connector)->panel;
panel             675 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_config(panel->backlight.pwm, duty_ns, CRC_PMIC_PWM_PERIOD_NS);
panel             682 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             687 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.set(conn_state, level);
panel             698 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             707 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present || !conn_state->crtc)
panel             712 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
panel             715 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = hw_level;
panel             717 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.device)
panel             718 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device->props.brightness =
panel             720 drivers/gpu/drm/i915/display/intel_panel.c 					 panel->backlight.level,
panel             721 drivers/gpu/drm/i915/display/intel_panel.c 					 panel->backlight.device->props.max_brightness);
panel             723 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled)
panel             803 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             808 drivers/gpu/drm/i915/display/intel_panel.c 	tmp = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
panel             809 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
panel             812 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.controller == 1) {
panel             823 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             828 drivers/gpu/drm/i915/display/intel_panel.c 	tmp = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
panel             829 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
panel             836 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             841 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_disable(panel->backlight.pwm);
panel             848 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             850 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
panel             866 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.device)
panel             867 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device->props.power = FB_BLANK_POWERDOWN;
panel             868 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = false;
panel             869 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.disable(old_conn_state);
panel             879 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             891 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.alternate_pwm_increment)
panel             898 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.alternate_pwm_increment)
panel             905 drivers/gpu/drm/i915/display/intel_panel.c 	pch_ctl2 = panel->backlight.max << 16;
panel             909 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
panel             921 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
panel             929 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             956 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
panel             958 drivers/gpu/drm/i915/display/intel_panel.c 	pch_ctl2 = panel->backlight.max << 16;
panel             962 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
panel             975 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel             984 drivers/gpu/drm/i915/display/intel_panel.c 	freq = panel->backlight.max;
panel             985 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
panel             989 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
panel             991 drivers/gpu/drm/i915/display/intel_panel.c 	if (IS_PINEVIEW(dev_priv) && panel->backlight.active_low_pwm)
panel             998 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
panel            1014 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1025 drivers/gpu/drm/i915/display/intel_panel.c 	freq = panel->backlight.max;
panel            1026 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
panel            1033 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
panel            1035 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
panel            1041 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
panel            1049 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1060 drivers/gpu/drm/i915/display/intel_panel.c 	ctl = panel->backlight.max << 16;
panel            1064 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
panel            1067 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
panel            1079 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1084 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.controller == 1) {
panel            1093 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.util_pin_active_low)
panel            1099 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
panel            1103 drivers/gpu/drm/i915/display/intel_panel.c 		I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
panel            1107 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_FREQ(panel->backlight.controller),
panel            1108 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.max);
panel            1110 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
panel            1113 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
panel            1116 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), pwm_ctl);
panel            1117 drivers/gpu/drm/i915/display/intel_panel.c 	POSTING_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
panel            1118 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
panel            1127 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1130 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
panel            1134 drivers/gpu/drm/i915/display/intel_panel.c 		I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
panel            1138 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_FREQ(panel->backlight.controller),
panel            1139 drivers/gpu/drm/i915/display/intel_panel.c 		   panel->backlight.max);
panel            1141 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
panel            1144 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.active_low_pwm)
panel            1147 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), pwm_ctl);
panel            1148 drivers/gpu/drm/i915/display/intel_panel.c 	POSTING_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
panel            1149 drivers/gpu/drm/i915/display/intel_panel.c 	I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller),
panel            1157 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1159 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_enable(panel->backlight.pwm);
panel            1160 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_actually_set_backlight(conn_state, panel->backlight.level);
panel            1167 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1169 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
panel            1171 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.level <= panel->backlight.min) {
panel            1172 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.level = panel->backlight.max;
panel            1173 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.device)
panel            1174 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.device->props.brightness =
panel            1176 drivers/gpu/drm/i915/display/intel_panel.c 						 panel->backlight.level,
panel            1177 drivers/gpu/drm/i915/display/intel_panel.c 						 panel->backlight.device->props.max_brightness);
panel            1180 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enable(crtc_state, conn_state);
panel            1181 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = true;
panel            1182 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.device)
panel            1183 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device->props.power = FB_BLANK_UNBLANK;
panel            1191 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1194 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
panel            1210 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1215 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled) {
panel            1216 drivers/gpu/drm/i915/display/intel_panel.c 		val = panel->backlight.get(connector);
panel            1232 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1235 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
panel            1240 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
panel            1243 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = hw_level;
panel            1245 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled)
panel            1254 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1269 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled) {
panel            1270 drivers/gpu/drm/i915/display/intel_panel.c 		if (panel->backlight.power) {
panel            1273 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.power(connector, enable);
panel            1313 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1316 drivers/gpu/drm/i915/display/intel_panel.c 	if (WARN_ON(panel->backlight.device))
panel            1319 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
panel            1322 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
panel            1331 drivers/gpu/drm/i915/display/intel_panel.c 	props.max_brightness = panel->backlight.max;
panel            1333 drivers/gpu/drm/i915/display/intel_panel.c 					    panel->backlight.level,
panel            1336 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.enabled)
panel            1345 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.device =
panel            1351 drivers/gpu/drm/i915/display/intel_panel.c 	if (IS_ERR(panel->backlight.device)) {
panel            1353 drivers/gpu/drm/i915/display/intel_panel.c 			  PTR_ERR(panel->backlight.device));
panel            1354 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device = NULL;
panel            1366 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1368 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.device) {
panel            1369 drivers/gpu/drm/i915/display/intel_panel.c 		backlight_device_unregister(panel->backlight.device);
panel            1370 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.device = NULL;
panel            1401 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1404 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.alternate_pwm_increment)
panel            1420 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1423 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.alternate_pwm_increment)
panel            1513 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1517 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.hz_to_pwm) {
panel            1531 drivers/gpu/drm/i915/display/intel_panel.c 	pwm = panel->backlight.hz_to_pwm(connector, pwm_freq_hz);
panel            1546 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1549 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
panel            1565 drivers/gpu/drm/i915/display/intel_panel.c 	return scale(min, 0, 255, 0, panel->backlight.max);
panel            1571 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1579 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.alternate_pwm_increment = alt;
panel            1582 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = pch_ctl1 & BLM_PCH_POLARITY;
panel            1585 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = pch_ctl2 >> 16;
panel            1589 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1590 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
panel            1592 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1595 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
panel            1597 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = pch_ctl1 & BLM_PCH_PWM_ENABLE;
panel            1599 drivers/gpu/drm/i915/display/intel_panel.c 	cpu_mode = panel->backlight.enabled && HAS_PCH_LPT(dev_priv) &&
panel            1607 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
panel            1608 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
panel            1614 drivers/gpu/drm/i915/display/intel_panel.c 		lpt_set_backlight(connector->base.state, panel->backlight.level);
panel            1626 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1630 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = pch_ctl1 & BLM_PCH_POLARITY;
panel            1633 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = pch_ctl2 >> 16;
panel            1635 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1636 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
panel            1638 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1641 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
panel            1645 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
panel            1646 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
panel            1649 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = (cpu_ctl2 & BLM_PWM_ENABLE) &&
panel            1658 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1664 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.combination_mode = ctl & BLM_LEGACY_MODE;
panel            1667 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.active_low_pwm = ctl & BLM_POLARITY_PNV;
panel            1669 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 17;
panel            1671 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max) {
panel            1672 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
panel            1673 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max >>= 1;
panel            1676 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1679 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
panel            1680 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max *= 0xff;
panel            1682 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
panel            1686 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
panel            1687 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
panel            1689 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = val != 0;
panel            1697 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1701 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.combination_mode = ctl2 & BLM_COMBINATION_MODE;
panel            1702 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = ctl2 & BLM_POLARITY_I965;
panel            1705 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 16;
panel            1707 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1708 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
panel            1710 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1713 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.combination_mode)
panel            1714 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max *= 0xff;
panel            1716 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
panel            1720 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
panel            1721 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
panel            1723 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = ctl2 & BLM_PWM_ENABLE;
panel            1731 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1738 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = ctl2 & BLM_POLARITY_I965;
panel            1741 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 16;
panel            1743 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1744 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
panel            1746 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1749 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
panel            1753 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
panel            1754 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
panel            1756 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = ctl2 & BLM_PWM_ENABLE;
panel            1765 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1768 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.controller = dev_priv->vbt.backlight.controller;
panel            1770 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
panel            1773 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.controller == 1) {
panel            1775 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.util_pin_active_low =
panel            1779 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = pwm_ctl & BXT_BLC_PWM_POLARITY;
panel            1780 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max =
panel            1781 drivers/gpu/drm/i915/display/intel_panel.c 		I915_READ(BXT_BLC_PWM_FREQ(panel->backlight.controller));
panel            1783 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1784 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
panel            1786 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1789 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
panel            1793 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
panel            1794 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
panel            1796 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = pwm_ctl & BXT_BLC_PWM_ENABLE;
panel            1805 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1813 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.controller = 0;
panel            1815 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));
panel            1817 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.active_low_pwm = pwm_ctl & BXT_BLC_PWM_POLARITY;
panel            1818 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max =
panel            1819 drivers/gpu/drm/i915/display/intel_panel.c 		I915_READ(BXT_BLC_PWM_FREQ(panel->backlight.controller));
panel            1821 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1822 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
panel            1824 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
panel            1827 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = get_backlight_min_vbt(connector);
panel            1831 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = clamp(val, panel->backlight.min,
panel            1832 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
panel            1834 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = pwm_ctl & BXT_BLC_PWM_ENABLE;
panel            1843 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1847 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.pwm = pwm_get(dev->dev, "pwm_backlight");
panel            1848 drivers/gpu/drm/i915/display/intel_panel.c 	if (IS_ERR(panel->backlight.pwm)) {
panel            1850 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.pwm = NULL;
panel            1858 drivers/gpu/drm/i915/display/intel_panel.c 	pwm_apply_args(panel->backlight.pwm);
panel            1860 drivers/gpu/drm/i915/display/intel_panel.c 	retval = pwm_config(panel->backlight.pwm, CRC_PMIC_PWM_PERIOD_NS,
panel            1864 drivers/gpu/drm/i915/display/intel_panel.c 		pwm_put(panel->backlight.pwm);
panel            1865 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.pwm = NULL;
panel            1869 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.min = 0; /* 0% */
panel            1870 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = 100; /* 100% */
panel            1871 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.level = DIV_ROUND_UP(
panel            1872 drivers/gpu/drm/i915/display/intel_panel.c 				 pwm_get_duty_cycle(panel->backlight.pwm) * 100,
panel            1874 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.enabled = panel->backlight.level != 0;
panel            1885 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &connector->panel;
panel            1887 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.present)
panel            1891 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.enabled)
panel            1901 drivers/gpu/drm/i915/display/intel_panel.c 	struct intel_panel *panel = &intel_connector->panel;
panel            1914 drivers/gpu/drm/i915/display/intel_panel.c 	if (WARN_ON(!panel->backlight.setup))
panel            1919 drivers/gpu/drm/i915/display/intel_panel.c 	ret = panel->backlight.setup(intel_connector, pipe);
panel            1928 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.present = true;
panel            1932 drivers/gpu/drm/i915/display/intel_panel.c 		      enableddisabled(panel->backlight.enabled),
panel            1933 drivers/gpu/drm/i915/display/intel_panel.c 		      panel->backlight.level, panel->backlight.max);
panel            1938 drivers/gpu/drm/i915/display/intel_panel.c static void intel_panel_destroy_backlight(struct intel_panel *panel)
panel            1941 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->backlight.pwm)
panel            1942 drivers/gpu/drm/i915/display/intel_panel.c 		pwm_put(panel->backlight.pwm);
panel            1944 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.present = false;
panel            1949 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_init_backlight_funcs(struct intel_panel *panel)
panel            1952 drivers/gpu/drm/i915/display/intel_panel.c 		container_of(panel, struct intel_connector, panel);
panel            1964 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = bxt_setup_backlight;
panel            1965 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = bxt_enable_backlight;
panel            1966 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = bxt_disable_backlight;
panel            1967 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = bxt_set_backlight;
panel            1968 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = bxt_get_backlight;
panel            1969 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = bxt_hz_to_pwm;
panel            1971 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = cnp_setup_backlight;
panel            1972 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = cnp_enable_backlight;
panel            1973 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = cnp_disable_backlight;
panel            1974 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = bxt_set_backlight;
panel            1975 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = bxt_get_backlight;
panel            1976 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = cnp_hz_to_pwm;
panel            1978 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = lpt_setup_backlight;
panel            1979 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = lpt_enable_backlight;
panel            1980 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = lpt_disable_backlight;
panel            1981 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = lpt_set_backlight;
panel            1982 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = lpt_get_backlight;
panel            1984 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.hz_to_pwm = lpt_hz_to_pwm;
panel            1986 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.hz_to_pwm = spt_hz_to_pwm;
panel            1988 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = pch_setup_backlight;
panel            1989 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = pch_enable_backlight;
panel            1990 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = pch_disable_backlight;
panel            1991 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = pch_set_backlight;
panel            1992 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = pch_get_backlight;
panel            1993 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = pch_hz_to_pwm;
panel            1996 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.setup = pwm_setup_backlight;
panel            1997 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.enable = pwm_enable_backlight;
panel            1998 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.disable = pwm_disable_backlight;
panel            1999 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.set = pwm_set_backlight;
panel            2000 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.get = pwm_get_backlight;
panel            2002 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.setup = vlv_setup_backlight;
panel            2003 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.enable = vlv_enable_backlight;
panel            2004 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.disable = vlv_disable_backlight;
panel            2005 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.set = vlv_set_backlight;
panel            2006 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.get = vlv_get_backlight;
panel            2007 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.hz_to_pwm = vlv_hz_to_pwm;
panel            2010 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = i965_setup_backlight;
panel            2011 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = i965_enable_backlight;
panel            2012 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = i965_disable_backlight;
panel            2013 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = i9xx_set_backlight;
panel            2014 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = i9xx_get_backlight;
panel            2015 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = i965_hz_to_pwm;
panel            2017 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.setup = i9xx_setup_backlight;
panel            2018 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.enable = i9xx_enable_backlight;
panel            2019 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.disable = i9xx_disable_backlight;
panel            2020 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.set = i9xx_set_backlight;
panel            2021 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.get = i9xx_get_backlight;
panel            2022 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.hz_to_pwm = i9xx_hz_to_pwm;
panel            2026 drivers/gpu/drm/i915/display/intel_panel.c int intel_panel_init(struct intel_panel *panel,
panel            2030 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_init_backlight_funcs(panel);
panel            2032 drivers/gpu/drm/i915/display/intel_panel.c 	panel->fixed_mode = fixed_mode;
panel            2033 drivers/gpu/drm/i915/display/intel_panel.c 	panel->downclock_mode = downclock_mode;
panel            2038 drivers/gpu/drm/i915/display/intel_panel.c void intel_panel_fini(struct intel_panel *panel)
panel            2041 drivers/gpu/drm/i915/display/intel_panel.c 		container_of(panel, struct intel_connector, panel);
panel            2043 drivers/gpu/drm/i915/display/intel_panel.c 	intel_panel_destroy_backlight(panel);
panel            2045 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->fixed_mode)
panel            2046 drivers/gpu/drm/i915/display/intel_panel.c 		drm_mode_destroy(intel_connector->base.dev, panel->fixed_mode);
panel            2048 drivers/gpu/drm/i915/display/intel_panel.c 	if (panel->downclock_mode)
panel            2050 drivers/gpu/drm/i915/display/intel_panel.c 				panel->downclock_mode);
panel              22 drivers/gpu/drm/i915/display/intel_panel.h int intel_panel_init(struct intel_panel *panel,
panel              25 drivers/gpu/drm/i915/display/intel_panel.h void intel_panel_fini(struct intel_panel *panel);
panel             798 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo_connector->base.panel.fixed_mode;
panel            1306 drivers/gpu/drm/i915/display/intel_sdvo.c 							     intel_sdvo_connector->base.panel.fixed_mode))
panel            1469 drivers/gpu/drm/i915/display/intel_sdvo.c 					     intel_sdvo_connector->base.panel.fixed_mode);
panel            1845 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo_connector->base.panel.fixed_mode;
panel            2856 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_panel_init(&intel_connector->panel,
panel            2862 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_connector->panel.fixed_mode)
panel             265 drivers/gpu/drm/i915/display/vlv_dsi.c 	const struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode;
panel            1623 drivers/gpu/drm/i915/display/vlv_dsi.c 	if (connector->panel.fixed_mode) {
panel            1639 drivers/gpu/drm/i915/display/vlv_dsi.c 				connector->panel.fixed_mode->hdisplay,
panel            1640 drivers/gpu/drm/i915/display/vlv_dsi.c 				connector->panel.fixed_mode->vdisplay);
panel            1955 drivers/gpu/drm/i915/display/vlv_dsi.c 	intel_panel_init(&intel_connector->panel, fixed_mode, NULL);
panel            2479 drivers/gpu/drm/i915/i915_debugfs.c static void intel_panel_info(struct seq_file *m, struct intel_panel *panel)
panel            2481 drivers/gpu/drm/i915/i915_debugfs.c 	struct drm_display_mode *mode = panel->fixed_mode;
panel            2515 drivers/gpu/drm/i915/i915_debugfs.c 		intel_panel_info(m, &intel_connector->panel);
panel            2555 drivers/gpu/drm/i915/i915_debugfs.c 	intel_panel_info(m, &intel_connector->panel);
panel            3023 drivers/gpu/drm/i915/i915_debugfs.c 		struct intel_panel *panel;
panel            3039 drivers/gpu/drm/i915/i915_debugfs.c 		panel = &drrs->dp->attached_connector->panel;
panel            3046 drivers/gpu/drm/i915/i915_debugfs.c 			vrefresh = panel->fixed_mode->vrefresh;
panel            3049 drivers/gpu/drm/i915/i915_debugfs.c 			vrefresh = panel->downclock_mode->vrefresh;
panel              56 drivers/gpu/drm/imx/imx-ldb.c 	struct drm_panel *panel;
panel             129 drivers/gpu/drm/imx/imx-ldb.c 	num_modes = drm_panel_get_modes(imx_ldb_ch->panel);
panel             200 drivers/gpu/drm/imx/imx-ldb.c 	drm_panel_prepare(imx_ldb_ch->panel);
panel             241 drivers/gpu/drm/imx/imx-ldb.c 	drm_panel_enable(imx_ldb_ch->panel);
panel             307 drivers/gpu/drm/imx/imx-ldb.c 	drm_panel_disable(imx_ldb_ch->panel);
panel             343 drivers/gpu/drm/imx/imx-ldb.c 	drm_panel_unprepare(imx_ldb_ch->panel);
panel             469 drivers/gpu/drm/imx/imx-ldb.c 	if (imx_ldb_ch->panel) {
panel             470 drivers/gpu/drm/imx/imx-ldb.c 		ret = drm_panel_attach(imx_ldb_ch->panel,
panel             571 drivers/gpu/drm/imx/imx-ldb.c 		} else if (!channel->panel) {
panel             669 drivers/gpu/drm/imx/imx-ldb.c 						  &channel->panel, &channel->bridge);
panel             686 drivers/gpu/drm/imx/imx-ldb.c 			if (channel->panel && channel->panel->funcs &&
panel             687 drivers/gpu/drm/imx/imx-ldb.c 			    channel->panel->funcs->get_modes)
panel             724 drivers/gpu/drm/imx/imx-ldb.c 		if (channel->panel)
panel             725 drivers/gpu/drm/imx/imx-ldb.c 			drm_panel_detach(channel->panel);
panel              32 drivers/gpu/drm/imx/parallel-display.c 	struct drm_panel *panel;
panel              52 drivers/gpu/drm/imx/parallel-display.c 	num_modes = drm_panel_get_modes(imxpd->panel);
panel              95 drivers/gpu/drm/imx/parallel-display.c 	drm_panel_prepare(imxpd->panel);
panel              96 drivers/gpu/drm/imx/parallel-display.c 	drm_panel_enable(imxpd->panel);
panel             103 drivers/gpu/drm/imx/parallel-display.c 	drm_panel_disable(imxpd->panel);
panel             104 drivers/gpu/drm/imx/parallel-display.c 	drm_panel_unprepare(imxpd->panel);
panel             180 drivers/gpu/drm/imx/parallel-display.c 	if (imxpd->panel)
panel             181 drivers/gpu/drm/imx/parallel-display.c 		drm_panel_attach(imxpd->panel, &imxpd->connector);
panel             229 drivers/gpu/drm/imx/parallel-display.c 	ret = drm_of_find_panel_or_bridge(np, 1, 0, &imxpd->panel, &imxpd->bridge);
panel             249 drivers/gpu/drm/imx/parallel-display.c 	if (imxpd->panel)
panel             250 drivers/gpu/drm/imx/parallel-display.c 		drm_panel_detach(imxpd->panel);
panel             607 drivers/gpu/drm/ingenic/ingenic-drm.c 	struct drm_panel *panel;
panel             675 drivers/gpu/drm/ingenic/ingenic-drm.c 	ret = drm_of_find_panel_or_bridge(dev->of_node, 0, 0, &panel, &bridge);
panel             682 drivers/gpu/drm/ingenic/ingenic-drm.c 	if (panel)
panel             683 drivers/gpu/drm/ingenic/ingenic-drm.c 		bridge = devm_drm_panel_bridge_add(dev, panel,
panel              15 drivers/gpu/drm/mcde/mcde_drm.h 	struct drm_panel *panel;
panel              43 drivers/gpu/drm/mcde/mcde_dsi.c 	struct drm_panel *panel;
panel             831 drivers/gpu/drm/mcde/mcde_dsi.c 	if (d->panel)
panel             832 drivers/gpu/drm/mcde/mcde_dsi.c 		return drm_panel_get_modes(d->panel);
panel             893 drivers/gpu/drm/mcde/mcde_dsi.c 	struct drm_panel *panel = NULL;
panel             936 drivers/gpu/drm/mcde/mcde_dsi.c 		panel = of_drm_find_panel(child);
panel             937 drivers/gpu/drm/mcde/mcde_dsi.c 		if (IS_ERR(panel)) {
panel             939 drivers/gpu/drm/mcde/mcde_dsi.c 				PTR_ERR(panel));
panel             940 drivers/gpu/drm/mcde/mcde_dsi.c 			panel = NULL;
panel             950 drivers/gpu/drm/mcde/mcde_dsi.c 	if (panel) {
panel             951 drivers/gpu/drm/mcde/mcde_dsi.c 		bridge = drm_panel_bridge_add(panel,
panel             958 drivers/gpu/drm/mcde/mcde_dsi.c 		d->panel = panel;
panel             988 drivers/gpu/drm/mcde/mcde_dsi.c 	if (d->panel)
panel             159 drivers/gpu/drm/mediatek/mtk_dsi.c 	struct drm_panel *panel;
panel             600 drivers/gpu/drm/mediatek/mtk_dsi.c 	if (dsi->panel) {
panel             601 drivers/gpu/drm/mediatek/mtk_dsi.c 		if (drm_panel_prepare(dsi->panel)) {
panel             637 drivers/gpu/drm/mediatek/mtk_dsi.c 		if (dsi->panel) {
panel             638 drivers/gpu/drm/mediatek/mtk_dsi.c 			if (drm_panel_unprepare(dsi->panel)) {
panel             675 drivers/gpu/drm/mediatek/mtk_dsi.c 	if (dsi->panel) {
panel             676 drivers/gpu/drm/mediatek/mtk_dsi.c 		if (drm_panel_enable(dsi->panel)) {
panel             695 drivers/gpu/drm/mediatek/mtk_dsi.c 	if (dsi->panel) {
panel             696 drivers/gpu/drm/mediatek/mtk_dsi.c 		if (drm_panel_disable(dsi->panel)) {
panel             750 drivers/gpu/drm/mediatek/mtk_dsi.c 	return drm_panel_get_modes(dsi->panel);
panel             789 drivers/gpu/drm/mediatek/mtk_dsi.c 	if (dsi->panel) {
panel             790 drivers/gpu/drm/mediatek/mtk_dsi.c 		ret = drm_panel_attach(dsi->panel, &dsi->conn);
panel             849 drivers/gpu/drm/mediatek/mtk_dsi.c 	if (dsi->panel)
panel             850 drivers/gpu/drm/mediatek/mtk_dsi.c 		drm_panel_detach(dsi->panel);
panel            1106 drivers/gpu/drm/mediatek/mtk_dsi.c 					  &dsi->panel, &dsi->bridge);
panel              16 drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c 	struct drm_panel *panel;
panel              18 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	struct drm_panel *panel;
panel             319 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	struct drm_panel *panel;
panel             327 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	panel = of_drm_find_panel(mdp4_lcdc_encoder->panel_node);
panel             328 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	if (!IS_ERR(panel)) {
panel             329 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 		drm_panel_disable(panel);
panel             330 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 		drm_panel_unprepare(panel);
panel             363 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	struct drm_panel *panel;
panel             401 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	panel = of_drm_find_panel(mdp4_lcdc_encoder->panel_node);
panel             402 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	if (!IS_ERR(panel)) {
panel             403 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 		drm_panel_prepare(panel);
panel             404 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 		drm_panel_enable(panel);
panel              14 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 	struct drm_panel *panel;
panel              24 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 	if (!mdp4_lvds_connector->panel) {
panel              25 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 		mdp4_lvds_connector->panel =
panel              27 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 		if (IS_ERR(mdp4_lvds_connector->panel))
panel              28 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 			mdp4_lvds_connector->panel = NULL;
panel              31 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 	return mdp4_lvds_connector->panel ?
panel              50 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 	struct drm_panel *panel = mdp4_lvds_connector->panel;
panel              53 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 	if (panel) {
panel              54 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 		drm_panel_attach(panel, connector);
panel              56 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 		ret = panel->funcs->get_modes(panel);
panel              58 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 		drm_panel_detach(panel);
panel              72 drivers/gpu/drm/msm/dsi/dsi.h 	struct drm_panel *panel;
panel              99 drivers/gpu/drm/msm/dsi/dsi.h 	return msm_dsi->panel || msm_dsi->external_bridge;
panel             253 drivers/gpu/drm/msm/dsi/dsi_manager.c 	struct drm_panel *panel;
panel             268 drivers/gpu/drm/msm/dsi/dsi_manager.c 	panel = msm_dsi_host_get_panel(master_dsi->host);
panel             269 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (IS_ERR(panel)) {
panel             271 drivers/gpu/drm/msm/dsi/dsi_manager.c 			  PTR_ERR(panel));
panel             272 drivers/gpu/drm/msm/dsi/dsi_manager.c 		return PTR_ERR(panel);
panel             275 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (!panel || !IS_DUAL_DSI())
panel             285 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (other_dsi && other_dsi->panel && kms->funcs->set_split_display) {
panel             292 drivers/gpu/drm/msm/dsi/dsi_manager.c 	msm_dsi->panel = panel;
panel             302 drivers/gpu/drm/msm/dsi/dsi_manager.c 	return msm_dsi->panel ? connector_status_connected :
panel             321 drivers/gpu/drm/msm/dsi/dsi_manager.c 	struct drm_panel *panel = msm_dsi->panel;
panel             324 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (!panel)
panel             331 drivers/gpu/drm/msm/dsi/dsi_manager.c 	drm_panel_attach(panel, connector);
panel             332 drivers/gpu/drm/msm/dsi/dsi_manager.c 	num = drm_panel_get_modes(panel);
panel             376 drivers/gpu/drm/msm/dsi/dsi_manager.c 	struct drm_panel *panel = msm_dsi->panel;
panel             412 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (panel) {
panel             413 drivers/gpu/drm/msm/dsi/dsi_manager.c 		ret = drm_panel_prepare(panel);
panel             435 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (panel) {
panel             436 drivers/gpu/drm/msm/dsi/dsi_manager.c 		ret = drm_panel_enable(panel);
panel             452 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (panel)
panel             453 drivers/gpu/drm/msm/dsi/dsi_manager.c 		drm_panel_unprepare(panel);
panel             481 drivers/gpu/drm/msm/dsi/dsi_manager.c 	struct drm_panel *panel = msm_dsi->panel;
panel             499 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (panel) {
panel             500 drivers/gpu/drm/msm/dsi/dsi_manager.c 		ret = drm_panel_disable(panel);
panel             516 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (panel) {
panel             517 drivers/gpu/drm/msm/dsi/dsi_manager.c 		ret = drm_panel_unprepare(panel);
panel             108 drivers/gpu/drm/mxsfb/mxsfb_drv.c 	drm_panel_prepare(mxsfb->panel);
panel             110 drivers/gpu/drm/mxsfb/mxsfb_drv.c 	drm_panel_enable(mxsfb->panel);
panel             120 drivers/gpu/drm/mxsfb/mxsfb_drv.c 	drm_panel_disable(mxsfb->panel);
panel             122 drivers/gpu/drm/mxsfb/mxsfb_drv.c 	drm_panel_unprepare(mxsfb->panel);
panel             235 drivers/gpu/drm/mxsfb/mxsfb_drv.c 	ret = drm_panel_attach(mxsfb->panel, &mxsfb->connector);
panel             268 drivers/gpu/drm/mxsfb/mxsfb_drv.c 	drm_panel_detach(mxsfb->panel);
panel              31 drivers/gpu/drm/mxsfb/mxsfb_drv.h 	struct drm_panel		*panel;
panel              32 drivers/gpu/drm/mxsfb/mxsfb_out.c 	if (mxsfb->panel)
panel              33 drivers/gpu/drm/mxsfb/mxsfb_out.c 		return drm_panel_get_modes(mxsfb->panel);
panel              49 drivers/gpu/drm/mxsfb/mxsfb_out.c 	if (mxsfb->panel)
panel              60 drivers/gpu/drm/mxsfb/mxsfb_out.c 	if (mxsfb->panel)
panel              61 drivers/gpu/drm/mxsfb/mxsfb_out.c 		drm_panel_detach(mxsfb->panel);
panel              79 drivers/gpu/drm/mxsfb/mxsfb_out.c 	struct drm_panel *panel;
panel              82 drivers/gpu/drm/mxsfb/mxsfb_out.c 	ret = drm_of_find_panel_or_bridge(drm->dev->of_node, 0, 0, &panel, NULL);
panel              94 drivers/gpu/drm/mxsfb/mxsfb_out.c 		mxsfb->panel = panel;
panel            1194 drivers/gpu/drm/nouveau/nouveau_bios.c 	bios->legacy.i2c_indices.panel = bios->data[legacy_i2c_offset + 2];
panel            1779 drivers/gpu/drm/nouveau/nouveau_bios.c 				     bios->legacy.i2c_indices.panel,
panel             149 drivers/gpu/drm/nouveau/nouveau_bios.h 			uint8_t crt, tv, panel;
panel             153 drivers/gpu/drm/omapdrm/dss/base.c 		    (dssdev->next || dssdev->bridge || dssdev->panel))
panel             192 drivers/gpu/drm/omapdrm/dss/base.c 		return src && (src->bridge || src->panel) ? 0 : -EINVAL;
panel             220 drivers/gpu/drm/omapdrm/dss/base.c 		WARN_ON(!src->bridge && !src->panel);
panel             403 drivers/gpu/drm/omapdrm/dss/omapdss.h 	struct drm_panel *panel;
panel              33 drivers/gpu/drm/omapdrm/dss/output.c 	out->panel = of_drm_find_panel(remote_node);
panel              34 drivers/gpu/drm/omapdrm/dss/output.c 	if (IS_ERR(out->panel))
panel              35 drivers/gpu/drm/omapdrm/dss/output.c 		out->panel = NULL;
panel              46 drivers/gpu/drm/omapdrm/dss/output.c 	return out->next || out->bridge || out->panel ? 0 : -EPROBE_DEFER;
panel             231 drivers/gpu/drm/omapdrm/omap_connector.c 	if (omap_connector->output->panel)
panel             232 drivers/gpu/drm/omapdrm/omap_connector.c 		return drm_panel_get_modes(omap_connector->output->panel);
panel             136 drivers/gpu/drm/omapdrm/omap_drv.c 		if (pipe->output->panel)
panel             137 drivers/gpu/drm/omapdrm/omap_drv.c 			drm_panel_detach(pipe->output->panel);
panel             223 drivers/gpu/drm/omapdrm/omap_drv.c 	} else if (output->panel) {
panel             224 drivers/gpu/drm/omapdrm/omap_drv.c 		node = output->panel->dev->of_node;
panel             340 drivers/gpu/drm/omapdrm/omap_drv.c 			if (pipe->output->panel) {
panel             341 drivers/gpu/drm/omapdrm/omap_drv.c 				ret = drm_panel_attach(pipe->output->panel,
panel             161 drivers/gpu/drm/omapdrm/omap_encoder.c 	if (dssdev->panel) {
panel             162 drivers/gpu/drm/omapdrm/omap_encoder.c 		drm_panel_disable(dssdev->panel);
panel             163 drivers/gpu/drm/omapdrm/omap_encoder.c 		drm_panel_unprepare(dssdev->panel);
panel             217 drivers/gpu/drm/omapdrm/omap_encoder.c 	if (dssdev->panel) {
panel             218 drivers/gpu/drm/omapdrm/omap_encoder.c 		drm_panel_prepare(dssdev->panel);
panel             219 drivers/gpu/drm/omapdrm/omap_encoder.c 		drm_panel_enable(dssdev->panel);
panel             110 drivers/gpu/drm/panel/panel-arm-versatile.c 	struct drm_panel panel;
panel             226 drivers/gpu/drm/panel/panel-arm-versatile.c to_versatile_panel(struct drm_panel *panel)
panel             228 drivers/gpu/drm/panel/panel-arm-versatile.c 	return container_of(panel, struct versatile_panel, panel);
panel             231 drivers/gpu/drm/panel/panel-arm-versatile.c static int versatile_panel_disable(struct drm_panel *panel)
panel             233 drivers/gpu/drm/panel/panel-arm-versatile.c 	struct versatile_panel *vpanel = to_versatile_panel(panel);
panel             247 drivers/gpu/drm/panel/panel-arm-versatile.c static int versatile_panel_enable(struct drm_panel *panel)
panel             249 drivers/gpu/drm/panel/panel-arm-versatile.c 	struct versatile_panel *vpanel = to_versatile_panel(panel);
panel             263 drivers/gpu/drm/panel/panel-arm-versatile.c static int versatile_panel_get_modes(struct drm_panel *panel)
panel             265 drivers/gpu/drm/panel/panel-arm-versatile.c 	struct drm_connector *connector = panel->connector;
panel             266 drivers/gpu/drm/panel/panel-arm-versatile.c 	struct versatile_panel *vpanel = to_versatile_panel(panel);
panel             273 drivers/gpu/drm/panel/panel-arm-versatile.c 	mode = drm_mode_duplicate(panel->drm, &vpanel->panel_type->mode);
panel             353 drivers/gpu/drm/panel/panel-arm-versatile.c 	drm_panel_init(&vpanel->panel);
panel             354 drivers/gpu/drm/panel/panel-arm-versatile.c 	vpanel->panel.dev = dev;
panel             355 drivers/gpu/drm/panel/panel-arm-versatile.c 	vpanel->panel.funcs = &versatile_panel_drm_funcs;
panel             357 drivers/gpu/drm/panel/panel-arm-versatile.c 	return drm_panel_add(&vpanel->panel);
panel              22 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	struct drm_panel	panel;
panel              31 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c static inline struct feiyang *panel_to_feiyang(struct drm_panel *panel)
panel              33 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	return container_of(panel, struct feiyang, panel);
panel              50 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c static int feiyang_prepare(struct drm_panel *panel)
panel              52 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	struct feiyang *ctx = panel_to_feiyang(panel);
panel              97 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c static int feiyang_enable(struct drm_panel *panel)
panel              99 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	struct feiyang *ctx = panel_to_feiyang(panel);
panel             110 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c static int feiyang_disable(struct drm_panel *panel)
panel             112 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	struct feiyang *ctx = panel_to_feiyang(panel);
panel             118 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c static int feiyang_unprepare(struct drm_panel *panel)
panel             120 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	struct feiyang *ctx = panel_to_feiyang(panel);
panel             125 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 		DRM_DEV_ERROR(panel->dev, "failed to set display off: %d\n",
panel             130 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 		DRM_DEV_ERROR(panel->dev, "failed to enter sleep mode: %d\n",
panel             165 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c static int feiyang_get_modes(struct drm_panel *panel)
panel             167 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	struct drm_connector *connector = panel->connector;
panel             168 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	struct feiyang *ctx = panel_to_feiyang(panel);
panel             171 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	mode = drm_mode_duplicate(panel->drm, &feiyang_default_mode);
panel             207 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	drm_panel_init(&ctx->panel);
panel             208 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	ctx->panel.dev = &dsi->dev;
panel             209 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	ctx->panel.funcs = &feiyang_funcs;
panel             233 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	ret = drm_panel_add(&ctx->panel);
panel             249 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c 	drm_panel_remove(&ctx->panel);
panel             273 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	struct drm_panel panel;
panel             285 drivers/gpu/drm/panel/panel-ilitek-ili9322.c static inline struct ili9322 *panel_to_ili9322(struct drm_panel *panel)
panel             287 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	return container_of(panel, struct ili9322, panel);
panel             350 drivers/gpu/drm/panel/panel-ilitek-ili9322.c static int ili9322_init(struct drm_panel *panel, struct ili9322 *ili)
panel             488 drivers/gpu/drm/panel/panel-ilitek-ili9322.c static int ili9322_disable(struct drm_panel *panel)
panel             490 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	struct ili9322 *ili = panel_to_ili9322(panel);
panel             503 drivers/gpu/drm/panel/panel-ilitek-ili9322.c static int ili9322_unprepare(struct drm_panel *panel)
panel             505 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	struct ili9322 *ili = panel_to_ili9322(panel);
panel             510 drivers/gpu/drm/panel/panel-ilitek-ili9322.c static int ili9322_prepare(struct drm_panel *panel)
panel             512 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	struct ili9322 *ili = panel_to_ili9322(panel);
panel             519 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	ret = ili9322_init(panel, ili);
panel             521 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 		ili9322_unprepare(panel);
panel             526 drivers/gpu/drm/panel/panel-ilitek-ili9322.c static int ili9322_enable(struct drm_panel *panel)
panel             528 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	struct ili9322 *ili = panel_to_ili9322(panel);
panel             644 drivers/gpu/drm/panel/panel-ilitek-ili9322.c static int ili9322_get_modes(struct drm_panel *panel)
panel             646 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	struct drm_connector *connector = panel->connector;
panel             647 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	struct ili9322 *ili = panel_to_ili9322(panel);
panel             666 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 		mode = drm_mode_duplicate(panel->drm, &srgb_320x240_mode);
panel             669 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 		mode = drm_mode_duplicate(panel->drm, &srgb_360x240_mode);
panel             673 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 		mode = drm_mode_duplicate(panel->drm, &prgb_320x240_mode);
panel             676 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 		mode = drm_mode_duplicate(panel->drm, &yuv_640x320_mode);
panel             679 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 		mode = drm_mode_duplicate(panel->drm, &yuv_720x360_mode);
panel             682 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 		mode = drm_mode_duplicate(panel->drm, &itu_r_bt_656_720_mode);
panel             685 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 		mode = drm_mode_duplicate(panel->drm, &itu_r_bt_656_640_mode);
panel             898 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	drm_panel_init(&ili->panel);
panel             899 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	ili->panel.dev = dev;
panel             900 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	ili->panel.funcs = &ili9322_drm_funcs;
panel             902 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	return drm_panel_add(&ili->panel);
panel             910 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	drm_panel_remove(&ili->panel);
panel              25 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	struct drm_panel	panel;
panel             257 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c static inline struct ili9881c *panel_to_ili9881c(struct drm_panel *panel)
panel             259 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	return container_of(panel, struct ili9881c, panel);
panel             297 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c static int ili9881c_prepare(struct drm_panel *panel)
panel             299 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	struct ili9881c *ctx = panel_to_ili9881c(panel);
panel             344 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c static int ili9881c_enable(struct drm_panel *panel)
panel             346 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	struct ili9881c *ctx = panel_to_ili9881c(panel);
panel             356 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c static int ili9881c_disable(struct drm_panel *panel)
panel             358 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	struct ili9881c *ctx = panel_to_ili9881c(panel);
panel             364 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c static int ili9881c_unprepare(struct drm_panel *panel)
panel             366 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	struct ili9881c *ctx = panel_to_ili9881c(panel);
panel             390 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c static int ili9881c_get_modes(struct drm_panel *panel)
panel             392 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	struct drm_connector *connector = panel->connector;
panel             393 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	struct ili9881c *ctx = panel_to_ili9881c(panel);
panel             396 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	mode = drm_mode_duplicate(panel->drm, &bananapi_default_mode);
panel             410 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	panel->connector->display_info.width_mm = 62;
panel             411 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	panel->connector->display_info.height_mm = 110;
panel             436 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	drm_panel_init(&ctx->panel);
panel             437 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	ctx->panel.dev = &dsi->dev;
panel             438 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	ctx->panel.funcs = &ili9881c_funcs;
panel             461 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	ret = drm_panel_add(&ctx->panel);
panel             477 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 	drm_panel_remove(&ctx->panel);
panel              63 drivers/gpu/drm/panel/panel-innolux-p079zca.c static inline struct innolux_panel *to_innolux_panel(struct drm_panel *panel)
panel              65 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	return container_of(panel, struct innolux_panel, base);
panel              68 drivers/gpu/drm/panel/panel-innolux-p079zca.c static int innolux_panel_disable(struct drm_panel *panel)
panel              70 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	struct innolux_panel *innolux = to_innolux_panel(panel);
panel              82 drivers/gpu/drm/panel/panel-innolux-p079zca.c static int innolux_panel_unprepare(struct drm_panel *panel)
panel              84 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	struct innolux_panel *innolux = to_innolux_panel(panel);
panel              92 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		DRM_DEV_ERROR(panel->dev, "failed to set display off: %d\n",
panel              97 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		DRM_DEV_ERROR(panel->dev, "failed to enter sleep mode: %d\n",
panel             120 drivers/gpu/drm/panel/panel-innolux-p079zca.c static int innolux_panel_prepare(struct drm_panel *panel)
panel             122 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	struct innolux_panel *innolux = to_innolux_panel(panel);
panel             154 drivers/gpu/drm/panel/panel-innolux-p079zca.c 				dev_err(panel->dev,
panel             166 drivers/gpu/drm/panel/panel-innolux-p079zca.c 				dev_err(panel->dev,
panel             175 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		DRM_DEV_ERROR(panel->dev, "failed to exit sleep mode: %d\n",
panel             185 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		DRM_DEV_ERROR(panel->dev, "failed to set display on: %d\n",
panel             204 drivers/gpu/drm/panel/panel-innolux-p079zca.c static int innolux_panel_enable(struct drm_panel *panel)
panel             206 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	struct innolux_panel *innolux = to_innolux_panel(panel);
panel             214 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		DRM_DEV_ERROR(panel->drm->dev,
panel             406 drivers/gpu/drm/panel/panel-innolux-p079zca.c static int innolux_panel_get_modes(struct drm_panel *panel)
panel             408 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	struct innolux_panel *innolux = to_innolux_panel(panel);
panel             412 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	mode = drm_mode_duplicate(panel->drm, m);
panel             414 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		DRM_DEV_ERROR(panel->drm->dev, "failed to add mode %ux%ux@%u\n",
panel             421 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	drm_mode_probed_add(panel->connector, mode);
panel             423 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	panel->connector->display_info.width_mm =
panel             425 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	panel->connector->display_info.height_mm =
panel             427 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	panel->connector->display_info.bpc = innolux->desc->bpc;
panel              50 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c static inline struct jdi_panel *to_jdi_panel(struct drm_panel *panel)
panel              52 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	return container_of(panel, struct jdi_panel, base);
panel             179 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c static int jdi_panel_disable(struct drm_panel *panel)
panel             181 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	struct jdi_panel *jdi = to_jdi_panel(panel);
panel             193 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c static int jdi_panel_unprepare(struct drm_panel *panel)
panel             195 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	struct jdi_panel *jdi = to_jdi_panel(panel);
panel             219 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c static int jdi_panel_prepare(struct drm_panel *panel)
panel             221 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	struct jdi_panel *jdi = to_jdi_panel(panel);
panel             275 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c static int jdi_panel_enable(struct drm_panel *panel)
panel             277 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	struct jdi_panel *jdi = to_jdi_panel(panel);
panel             303 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c static int jdi_panel_get_modes(struct drm_panel *panel)
panel             306 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	struct jdi_panel *jdi = to_jdi_panel(panel);
panel             309 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             319 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	drm_mode_probed_add(panel->connector, mode);
panel             321 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	panel->connector->display_info.width_mm = 95;
panel             322 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c 	panel->connector->display_info.height_mm = 151;
panel             181 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c struct kingdisplay_panel *to_kingdisplay_panel(struct drm_panel *panel)
panel             183 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	return container_of(panel, struct kingdisplay_panel, base);
panel             186 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c static int kingdisplay_panel_disable(struct drm_panel *panel)
panel             188 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	struct kingdisplay_panel *kingdisplay = to_kingdisplay_panel(panel);
panel             198 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 		DRM_DEV_ERROR(panel->dev, "failed to set display off: %d\n",
panel             206 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c static int kingdisplay_panel_unprepare(struct drm_panel *panel)
panel             208 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	struct kingdisplay_panel *kingdisplay = to_kingdisplay_panel(panel);
panel             216 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 		DRM_DEV_ERROR(panel->dev, "failed to enter sleep mode: %d\n",
panel             235 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c static int kingdisplay_panel_prepare(struct drm_panel *panel)
panel             237 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	struct kingdisplay_panel *kingdisplay = to_kingdisplay_panel(panel);
panel             262 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 			DRM_DEV_ERROR(panel->dev, "failed write init cmds: %d\n",
panel             270 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 		DRM_DEV_ERROR(panel->dev, "failed to exit sleep mode: %d\n",
panel             280 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 		DRM_DEV_ERROR(panel->dev, "failed to set display on: %d\n",
panel             297 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 		DRM_DEV_ERROR(panel->dev, "failed to disable regulator: %d\n",
panel             303 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c static int kingdisplay_panel_enable(struct drm_panel *panel)
panel             305 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	struct kingdisplay_panel *kingdisplay = to_kingdisplay_panel(panel);
panel             313 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 		DRM_DEV_ERROR(panel->drm->dev,
panel             336 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c static int kingdisplay_panel_get_modes(struct drm_panel *panel)
panel             340 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             342 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 		DRM_DEV_ERROR(panel->drm->dev, "failed to add mode %ux%ux@%u\n",
panel             350 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	drm_mode_probed_add(panel->connector, mode);
panel             352 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	panel->connector->display_info.width_mm = 147;
panel             353 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	panel->connector->display_info.height_mm = 196;
panel             354 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c 	panel->connector->display_info.bpc = 8;
panel              24 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	struct drm_panel panel;
panel              30 drivers/gpu/drm/panel/panel-lg-lb035q02.c #define to_lb035q02_device(p) container_of(p, struct lb035q02_device, panel)
panel             109 drivers/gpu/drm/panel/panel-lg-lb035q02.c static int lb035q02_disable(struct drm_panel *panel)
panel             111 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	struct lb035q02_device *lcd = to_lb035q02_device(panel);
panel             118 drivers/gpu/drm/panel/panel-lg-lb035q02.c static int lb035q02_enable(struct drm_panel *panel)
panel             120 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	struct lb035q02_device *lcd = to_lb035q02_device(panel);
panel             144 drivers/gpu/drm/panel/panel-lg-lb035q02.c static int lb035q02_get_modes(struct drm_panel *panel)
panel             146 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	struct drm_connector *connector = panel->connector;
panel             149 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	mode = drm_mode_duplicate(panel->drm, &lb035q02_mode);
panel             199 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	drm_panel_init(&lcd->panel);
panel             200 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	lcd->panel.dev = &lcd->spi->dev;
panel             201 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	lcd->panel.funcs = &lb035q02_funcs;
panel             203 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	return drm_panel_add(&lcd->panel);
panel             210 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	drm_panel_remove(&lcd->panel);
panel             211 drivers/gpu/drm/panel/panel-lg-lb035q02.c 	drm_panel_disable(&lcd->panel);
panel              30 drivers/gpu/drm/panel/panel-lg-lg4573.c 	struct drm_panel panel;
panel              35 drivers/gpu/drm/panel/panel-lg-lg4573.c static inline struct lg4573 *panel_to_lg4573(struct drm_panel *panel)
panel              37 drivers/gpu/drm/panel/panel-lg-lg4573.c 	return container_of(panel, struct lg4573, panel);
panel              48 drivers/gpu/drm/panel/panel-lg-lg4573.c 	dev_dbg(ctx->panel.dev, "writing data: %x\n", data);
panel             115 drivers/gpu/drm/panel/panel-lg-lg4573.c 	dev_dbg(ctx->panel.dev, "transfer display mode settings\n");
panel             131 drivers/gpu/drm/panel/panel-lg-lg4573.c 	dev_dbg(ctx->panel.dev, "transfer power settings\n");
panel             156 drivers/gpu/drm/panel/panel-lg-lg4573.c 	dev_dbg(ctx->panel.dev, "transfer gamma settings\n");
panel             165 drivers/gpu/drm/panel/panel-lg-lg4573.c 	dev_dbg(ctx->panel.dev, "initializing LCD\n");
panel             183 drivers/gpu/drm/panel/panel-lg-lg4573.c static int lg4573_disable(struct drm_panel *panel)
panel             185 drivers/gpu/drm/panel/panel-lg-lg4573.c 	struct lg4573 *ctx = panel_to_lg4573(panel);
panel             190 drivers/gpu/drm/panel/panel-lg-lg4573.c static int lg4573_enable(struct drm_panel *panel)
panel             192 drivers/gpu/drm/panel/panel-lg-lg4573.c 	struct lg4573 *ctx = panel_to_lg4573(panel);
panel             212 drivers/gpu/drm/panel/panel-lg-lg4573.c static int lg4573_get_modes(struct drm_panel *panel)
panel             214 drivers/gpu/drm/panel/panel-lg-lg4573.c 	struct drm_connector *connector = panel->connector;
panel             217 drivers/gpu/drm/panel/panel-lg-lg4573.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             219 drivers/gpu/drm/panel/panel-lg-lg4573.c 		dev_err(panel->drm->dev, "failed to add mode %ux%ux@%u\n",
panel             230 drivers/gpu/drm/panel/panel-lg-lg4573.c 	panel->connector->display_info.width_mm = 61;
panel             231 drivers/gpu/drm/panel/panel-lg-lg4573.c 	panel->connector->display_info.height_mm = 103;
panel             262 drivers/gpu/drm/panel/panel-lg-lg4573.c 	drm_panel_init(&ctx->panel);
panel             263 drivers/gpu/drm/panel/panel-lg-lg4573.c 	ctx->panel.dev = &spi->dev;
panel             264 drivers/gpu/drm/panel/panel-lg-lg4573.c 	ctx->panel.funcs = &lg4573_drm_funcs;
panel             266 drivers/gpu/drm/panel/panel-lg-lg4573.c 	return drm_panel_add(&ctx->panel);
panel             274 drivers/gpu/drm/panel/panel-lg-lg4573.c 	drm_panel_remove(&ctx->panel);
panel              27 drivers/gpu/drm/panel/panel-lvds.c 	struct drm_panel panel;
panel              44 drivers/gpu/drm/panel/panel-lvds.c static inline struct panel_lvds *to_panel_lvds(struct drm_panel *panel)
panel              46 drivers/gpu/drm/panel/panel-lvds.c 	return container_of(panel, struct panel_lvds, panel);
panel              49 drivers/gpu/drm/panel/panel-lvds.c static int panel_lvds_disable(struct drm_panel *panel)
panel              51 drivers/gpu/drm/panel/panel-lvds.c 	struct panel_lvds *lvds = to_panel_lvds(panel);
panel              62 drivers/gpu/drm/panel/panel-lvds.c static int panel_lvds_unprepare(struct drm_panel *panel)
panel              64 drivers/gpu/drm/panel/panel-lvds.c 	struct panel_lvds *lvds = to_panel_lvds(panel);
panel              75 drivers/gpu/drm/panel/panel-lvds.c static int panel_lvds_prepare(struct drm_panel *panel)
panel              77 drivers/gpu/drm/panel/panel-lvds.c 	struct panel_lvds *lvds = to_panel_lvds(panel);
panel              96 drivers/gpu/drm/panel/panel-lvds.c static int panel_lvds_enable(struct drm_panel *panel)
panel              98 drivers/gpu/drm/panel/panel-lvds.c 	struct panel_lvds *lvds = to_panel_lvds(panel);
panel             109 drivers/gpu/drm/panel/panel-lvds.c static int panel_lvds_get_modes(struct drm_panel *panel)
panel             111 drivers/gpu/drm/panel/panel-lvds.c 	struct panel_lvds *lvds = to_panel_lvds(panel);
panel             112 drivers/gpu/drm/panel/panel-lvds.c 	struct drm_connector *connector = lvds->panel.connector;
panel             115 drivers/gpu/drm/panel/panel-lvds.c 	mode = drm_mode_create(lvds->panel.drm);
panel             257 drivers/gpu/drm/panel/panel-lvds.c 	drm_panel_init(&lvds->panel);
panel             258 drivers/gpu/drm/panel/panel-lvds.c 	lvds->panel.dev = lvds->dev;
panel             259 drivers/gpu/drm/panel/panel-lvds.c 	lvds->panel.funcs = &panel_lvds_funcs;
panel             261 drivers/gpu/drm/panel/panel-lvds.c 	ret = drm_panel_add(&lvds->panel);
panel             273 drivers/gpu/drm/panel/panel-lvds.c 	drm_panel_remove(&lvds->panel);
panel             275 drivers/gpu/drm/panel/panel-lvds.c 	panel_lvds_disable(&lvds->panel);
panel              24 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	struct drm_panel panel;
panel              30 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c #define to_nl8048_device(p) container_of(p, struct nl8048_panel, panel)
panel              90 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c static int nl8048_disable(struct drm_panel *panel)
panel              92 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	struct nl8048_panel *lcd = to_nl8048_device(panel);
panel              99 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c static int nl8048_enable(struct drm_panel *panel)
panel             101 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	struct nl8048_panel *lcd = to_nl8048_device(panel);
panel             126 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c static int nl8048_get_modes(struct drm_panel *panel)
panel             128 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	struct drm_connector *connector = panel->connector;
panel             131 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	mode = drm_mode_duplicate(panel->drm, &nl8048_mode);
panel             208 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	drm_panel_init(&lcd->panel);
panel             209 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	lcd->panel.dev = &lcd->spi->dev;
panel             210 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	lcd->panel.funcs = &nl8048_funcs;
panel             212 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	return drm_panel_add(&lcd->panel);
panel             219 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	drm_panel_remove(&lcd->panel);
panel             220 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	drm_panel_disable(&lcd->panel);
panel             221 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c 	drm_panel_unprepare(&lcd->panel);
panel              69 drivers/gpu/drm/panel/panel-novatek-nt39016.c static inline struct nt39016 *to_nt39016(struct drm_panel *panel)
panel              71 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	return container_of(panel, struct nt39016, drm_panel);
panel             124 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	struct nt39016 *panel = to_nt39016(drm_panel);
panel             127 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	err = regulator_enable(panel->supply);
panel             129 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		dev_err(panel->dev, "Failed to enable power supply: %d", err);
panel             139 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	gpiod_set_value_cansleep(panel->reset_gpio, 1);
panel             141 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	gpiod_set_value_cansleep(panel->reset_gpio, 0);
panel             145 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	err = regmap_multi_reg_write(panel->map, nt39016_panel_regs,
panel             148 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		dev_err(panel->dev, "Failed to init registers: %d", err);
panel             155 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	regulator_disable(panel->supply);
panel             161 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	struct nt39016 *panel = to_nt39016(drm_panel);
panel             163 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	gpiod_set_value_cansleep(panel->reset_gpio, 1);
panel             165 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	regulator_disable(panel->supply);
panel             172 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	struct nt39016 *panel = to_nt39016(drm_panel);
panel             175 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	ret = regmap_write(panel->map, NT39016_REG_SYSTEM,
panel             178 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		dev_err(panel->dev, "Unable to enable panel: %d", ret);
panel             182 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (panel->backlight) {
panel             186 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		ret = backlight_enable(panel->backlight);
panel             194 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	struct nt39016 *panel = to_nt39016(drm_panel);
panel             197 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	backlight_disable(panel->backlight);
panel             199 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	err = regmap_write(panel->map, NT39016_REG_SYSTEM,
panel             202 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		dev_err(panel->dev, "Unable to disable panel: %d", err);
panel             211 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	struct nt39016 *panel = to_nt39016(drm_panel);
panel             212 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	const struct nt39016_panel_info *panel_info = panel->panel_info;
panel             247 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	struct nt39016 *panel;
panel             250 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL);
panel             251 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (!panel)
panel             254 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->dev = dev;
panel             255 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	spi_set_drvdata(spi, panel);
panel             257 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->panel_info = of_device_get_match_data(dev);
panel             258 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (!panel->panel_info)
panel             261 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->supply = devm_regulator_get(dev, "power");
panel             262 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (IS_ERR(panel->supply)) {
panel             264 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		return PTR_ERR(panel->supply);
panel             267 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
panel             268 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (IS_ERR(panel->reset_gpio)) {
panel             270 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		return PTR_ERR(panel->reset_gpio);
panel             281 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->map = devm_regmap_init_spi(spi, &nt39016_regmap_config);
panel             282 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (IS_ERR(panel->map)) {
panel             284 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		return PTR_ERR(panel->map);
panel             287 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->backlight = devm_of_find_backlight(dev);
panel             288 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	if (IS_ERR(panel->backlight)) {
panel             289 drivers/gpu/drm/panel/panel-novatek-nt39016.c 		err = PTR_ERR(panel->backlight);
panel             295 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	drm_panel_init(&panel->drm_panel);
panel             296 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->drm_panel.dev = dev;
panel             297 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	panel->drm_panel.funcs = &nt39016_funcs;
panel             299 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	err = drm_panel_add(&panel->drm_panel);
panel             310 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	struct nt39016 *panel = spi_get_drvdata(spi);
panel             312 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	drm_panel_remove(&panel->drm_panel);
panel             314 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	nt39016_disable(&panel->drm_panel);
panel             315 drivers/gpu/drm/panel/panel-novatek-nt39016.c 	nt39016_unprepare(&panel->drm_panel);
panel              63 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct drm_panel panel;
panel              78 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c static inline struct lcd_olinuxino *to_lcd_olinuxino(struct drm_panel *panel)
panel              80 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	return container_of(panel, struct lcd_olinuxino, panel);
panel              83 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c static int lcd_olinuxino_disable(struct drm_panel *panel)
panel              85 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel);
panel              97 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c static int lcd_olinuxino_unprepare(struct drm_panel *panel)
panel              99 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel);
panel             112 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c static int lcd_olinuxino_prepare(struct drm_panel *panel)
panel             114 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel);
panel             130 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c static int lcd_olinuxino_enable(struct drm_panel *panel)
panel             132 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel);
panel             144 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c static int lcd_olinuxino_get_modes(struct drm_panel *panel)
panel             146 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel);
panel             147 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct drm_connector *connector = lcd->panel.connector;
panel             149 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct drm_device *drm = lcd->panel.drm;
panel             291 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	drm_panel_init(&lcd->panel);
panel             292 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	lcd->panel.dev = dev;
panel             293 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	lcd->panel.funcs = &lcd_olinuxino_funcs;
panel             295 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	return drm_panel_add(&lcd->panel);
panel             300 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct lcd_olinuxino *panel = i2c_get_clientdata(client);
panel             302 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	drm_panel_remove(&panel->panel);
panel             304 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	lcd_olinuxino_disable(&panel->panel);
panel             305 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	lcd_olinuxino_unprepare(&panel->panel);
panel              66 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	struct drm_panel panel;
panel              90 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c static inline struct otm8009a *panel_to_otm8009a(struct drm_panel *panel)
panel              92 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	return container_of(panel, struct otm8009a, panel);
panel             262 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c static int otm8009a_disable(struct drm_panel *panel)
panel             264 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	struct otm8009a *ctx = panel_to_otm8009a(panel);
panel             288 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c static int otm8009a_unprepare(struct drm_panel *panel)
panel             290 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	struct otm8009a *ctx = panel_to_otm8009a(panel);
panel             307 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c static int otm8009a_prepare(struct drm_panel *panel)
panel             309 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	struct otm8009a *ctx = panel_to_otm8009a(panel);
panel             338 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c static int otm8009a_enable(struct drm_panel *panel)
panel             340 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	struct otm8009a *ctx = panel_to_otm8009a(panel);
panel             352 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c static int otm8009a_get_modes(struct drm_panel *panel)
panel             356 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             367 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	drm_mode_probed_add(panel->connector, mode);
panel             369 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	panel->connector->display_info.width_mm = mode->width_mm;
panel             370 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	panel->connector->display_info.height_mm = mode->height_mm;
panel             458 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	drm_panel_init(&ctx->panel);
panel             459 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	ctx->panel.dev = dev;
panel             460 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	ctx->panel.funcs = &otm8009a_drm_funcs;
panel             477 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	drm_panel_add(&ctx->panel);
panel             482 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 		drm_panel_remove(&ctx->panel);
panel             495 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c 	drm_panel_remove(&ctx->panel);
panel              32 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c static inline struct osd101t2587_panel *ti_osd_panel(struct drm_panel *panel)
panel              34 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	return container_of(panel, struct osd101t2587_panel, base);
panel              37 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c static int osd101t2587_panel_disable(struct drm_panel *panel)
panel              39 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel);
panel              54 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c static int osd101t2587_panel_unprepare(struct drm_panel *panel)
panel              56 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel);
panel              67 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c static int osd101t2587_panel_prepare(struct drm_panel *panel)
panel              69 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel);
panel              82 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c static int osd101t2587_panel_enable(struct drm_panel *panel)
panel              84 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel);
panel             115 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c static int osd101t2587_panel_get_modes(struct drm_panel *panel)
panel             117 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel);
panel             120 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	mode = drm_mode_duplicate(panel->drm, osd101t2587->default_mode);
panel             122 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 		dev_err(panel->drm->dev, "failed to add mode %ux%ux@%u\n",
panel             131 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	drm_mode_probed_add(panel->connector, mode);
panel             133 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	panel->connector->display_info.width_mm = 217;
panel             134 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c 	panel->connector->display_info.height_mm = 136;
panel              45 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c static inline struct wuxga_nt_panel *to_wuxga_nt_panel(struct drm_panel *panel)
panel              47 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	return container_of(panel, struct wuxga_nt_panel, base);
panel              55 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c static int wuxga_nt_panel_disable(struct drm_panel *panel)
panel              57 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	struct wuxga_nt_panel *wuxga_nt = to_wuxga_nt_panel(panel);
panel              76 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c static int wuxga_nt_panel_unprepare(struct drm_panel *panel)
panel              78 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	struct wuxga_nt_panel *wuxga_nt = to_wuxga_nt_panel(panel);
panel              90 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c static int wuxga_nt_panel_prepare(struct drm_panel *panel)
panel              92 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	struct wuxga_nt_panel *wuxga_nt = to_wuxga_nt_panel(panel);
panel             124 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		dev_err(panel->dev, "failed to set panel on: %d\n", ret);
panel             138 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c static int wuxga_nt_panel_enable(struct drm_panel *panel)
panel             140 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	struct wuxga_nt_panel *wuxga_nt = to_wuxga_nt_panel(panel);
panel             169 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c static int wuxga_nt_panel_get_modes(struct drm_panel *panel)
panel             173 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             175 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 		dev_err(panel->drm->dev, "failed to add mode %ux%ux@%u\n",
panel             183 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	drm_mode_probed_add(panel->connector, mode);
panel             185 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	panel->connector->display_info.width_mm = 217;
panel             186 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c 	panel->connector->display_info.height_mm = 136;
panel             218 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c static struct rpi_touchscreen *panel_to_ts(struct drm_panel *panel)
panel             220 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c 	return container_of(panel, struct rpi_touchscreen, base);
panel             254 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c static int rpi_touchscreen_disable(struct drm_panel *panel)
panel             256 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c 	struct rpi_touchscreen *ts = panel_to_ts(panel);
panel             266 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c static int rpi_touchscreen_noop(struct drm_panel *panel)
panel             271 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c static int rpi_touchscreen_enable(struct drm_panel *panel)
panel             273 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c 	struct rpi_touchscreen *ts = panel_to_ts(panel);
panel             314 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c static int rpi_touchscreen_get_modes(struct drm_panel *panel)
panel             316 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c 	struct drm_connector *connector = panel->connector;
panel             317 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c 	struct drm_device *drm = panel->drm;
panel             198 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	struct drm_panel panel;
panel             228 drivers/gpu/drm/panel/panel-raydium-rm67191.c static inline struct rad_panel *to_rad_panel(struct drm_panel *panel)
panel             230 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	return container_of(panel, struct rad_panel, panel);
panel             266 drivers/gpu/drm/panel/panel-raydium-rm67191.c static int rad_panel_prepare(struct drm_panel *panel)
panel             268 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	struct rad_panel *rad = to_rad_panel(panel);
panel             290 drivers/gpu/drm/panel/panel-raydium-rm67191.c static int rad_panel_unprepare(struct drm_panel *panel)
panel             292 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	struct rad_panel *rad = to_rad_panel(panel);
panel             318 drivers/gpu/drm/panel/panel-raydium-rm67191.c static int rad_panel_enable(struct drm_panel *panel)
panel             320 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	struct rad_panel *rad = to_rad_panel(panel);
panel             404 drivers/gpu/drm/panel/panel-raydium-rm67191.c static int rad_panel_disable(struct drm_panel *panel)
panel             406 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	struct rad_panel *rad = to_rad_panel(panel);
panel             439 drivers/gpu/drm/panel/panel-raydium-rm67191.c static int rad_panel_get_modes(struct drm_panel *panel)
panel             441 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	struct drm_connector *connector = panel->connector;
panel             444 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             446 drivers/gpu/drm/panel/panel-raydium-rm67191.c 		DRM_DEV_ERROR(panel->dev, "failed to add mode %ux%ux@%u\n",
panel             454 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	drm_mode_probed_add(panel->connector, mode);
panel             544 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	struct rad_panel *panel;
panel             549 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	panel = devm_kzalloc(&dsi->dev, sizeof(*panel), GFP_KERNEL);
panel             550 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	if (!panel)
panel             553 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	mipi_dsi_set_drvdata(dsi, panel);
panel             555 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	panel->dsi = dsi;
panel             587 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	panel->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
panel             588 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	if (IS_ERR(panel->reset))
panel             589 drivers/gpu/drm/panel/panel-raydium-rm67191.c 		return PTR_ERR(panel->reset);
panel             596 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	panel->backlight = devm_backlight_device_register(dev, dev_name(dev),
panel             599 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	if (IS_ERR(panel->backlight)) {
panel             600 drivers/gpu/drm/panel/panel-raydium-rm67191.c 		ret = PTR_ERR(panel->backlight);
panel             605 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	ret = rad_init_regulators(panel);
panel             609 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	drm_panel_init(&panel->panel);
panel             610 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	panel->panel.funcs = &rad_panel_funcs;
panel             611 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	panel->panel.dev = dev;
panel             612 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	dev_set_drvdata(dev, panel);
panel             614 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	ret = drm_panel_add(&panel->panel);
panel             620 drivers/gpu/drm/panel/panel-raydium-rm67191.c 		drm_panel_remove(&panel->panel);
panel             636 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	drm_panel_remove(&rad->panel);
panel             645 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	rad_panel_disable(&rad->panel);
panel             646 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	rad_panel_unprepare(&rad->panel);
panel              78 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	struct drm_panel panel;
panel             102 drivers/gpu/drm/panel/panel-raydium-rm68200.c static inline struct rm68200 *panel_to_rm68200(struct drm_panel *panel)
panel             104 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	return container_of(panel, struct rm68200, panel);
panel             238 drivers/gpu/drm/panel/panel-raydium-rm68200.c static int rm68200_disable(struct drm_panel *panel)
panel             240 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	struct rm68200 *ctx = panel_to_rm68200(panel);
panel             252 drivers/gpu/drm/panel/panel-raydium-rm68200.c static int rm68200_unprepare(struct drm_panel *panel)
panel             254 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	struct rm68200 *ctx = panel_to_rm68200(panel);
panel             283 drivers/gpu/drm/panel/panel-raydium-rm68200.c static int rm68200_prepare(struct drm_panel *panel)
panel             285 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	struct rm68200 *ctx = panel_to_rm68200(panel);
panel             324 drivers/gpu/drm/panel/panel-raydium-rm68200.c static int rm68200_enable(struct drm_panel *panel)
panel             326 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	struct rm68200 *ctx = panel_to_rm68200(panel);
panel             338 drivers/gpu/drm/panel/panel-raydium-rm68200.c static int rm68200_get_modes(struct drm_panel *panel)
panel             342 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             353 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	drm_mode_probed_add(panel->connector, mode);
panel             355 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	panel->connector->display_info.width_mm = mode->width_mm;
panel             356 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	panel->connector->display_info.height_mm = mode->height_mm;
panel             407 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	drm_panel_init(&ctx->panel);
panel             408 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	ctx->panel.dev = dev;
panel             409 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	ctx->panel.funcs = &rm68200_drm_funcs;
panel             411 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	drm_panel_add(&ctx->panel);
panel             416 drivers/gpu/drm/panel/panel-raydium-rm68200.c 		drm_panel_remove(&ctx->panel);
panel             428 drivers/gpu/drm/panel/panel-raydium-rm68200.c 	drm_panel_remove(&ctx->panel);
panel              48 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct drm_panel panel;
panel              58 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c static inline struct jh057n *panel_to_jh057n(struct drm_panel *panel)
panel              60 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	return container_of(panel, struct jh057n, panel);
panel             143 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c static int jh057n_enable(struct drm_panel *panel)
panel             145 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct jh057n *ctx = panel_to_jh057n(panel);
panel             158 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c static int jh057n_disable(struct drm_panel *panel)
panel             160 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct jh057n *ctx = panel_to_jh057n(panel);
panel             167 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c static int jh057n_unprepare(struct drm_panel *panel)
panel             169 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct jh057n *ctx = panel_to_jh057n(panel);
panel             181 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c static int jh057n_prepare(struct drm_panel *panel)
panel             183 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct jh057n *ctx = panel_to_jh057n(panel);
panel             233 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c static int jh057n_get_modes(struct drm_panel *panel)
panel             235 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct jh057n *ctx = panel_to_jh057n(panel);
panel             238 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             249 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	panel->connector->display_info.width_mm = mode->width_mm;
panel             250 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	panel->connector->display_info.height_mm = mode->height_mm;
panel             251 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	drm_mode_probed_add(panel->connector, mode);
panel             273 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	drm_panel_disable(&ctx->panel);
panel             274 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	drm_panel_unprepare(&ctx->panel);
panel             275 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	drm_panel_prepare(&ctx->panel);
panel             276 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	drm_panel_enable(&ctx->panel);
panel             346 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	drm_panel_init(&ctx->panel);
panel             347 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	ctx->panel.dev = dev;
panel             348 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	ctx->panel.funcs = &jh057n_drm_funcs;
panel             350 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	drm_panel_add(&ctx->panel);
panel             357 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 		drm_panel_remove(&ctx->panel);
panel             375 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	ret = drm_panel_unprepare(&ctx->panel);
panel             380 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	ret = drm_panel_disable(&ctx->panel);
panel             398 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	drm_panel_remove(&ctx->panel);
panel              30 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	struct drm_panel panel;
panel              43 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c static inline struct rb070d30_panel *panel_to_rb070d30_panel(struct drm_panel *panel)
panel              45 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	return container_of(panel, struct rb070d30_panel, panel);
panel              48 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c static int rb070d30_panel_prepare(struct drm_panel *panel)
panel              50 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel);
panel              67 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c static int rb070d30_panel_unprepare(struct drm_panel *panel)
panel              69 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel);
panel              78 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c static int rb070d30_panel_enable(struct drm_panel *panel)
panel              80 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel);
panel              98 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c static int rb070d30_panel_disable(struct drm_panel *panel)
panel             100 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel);
panel             123 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c static int rb070d30_panel_get_modes(struct drm_panel *panel)
panel             125 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	struct drm_connector *connector = panel->connector;
panel             126 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel);
panel             130 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             143 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	panel->connector->display_info.bpc = 8;
panel             144 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	panel->connector->display_info.width_mm = mode->width_mm;
panel             145 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	panel->connector->display_info.height_mm = mode->height_mm;
panel             176 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	drm_panel_init(&ctx->panel);
panel             177 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	ctx->panel.dev = &dsi->dev;
panel             178 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	ctx->panel.funcs = &rb070d30_panel_funcs;
panel             218 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	ret = drm_panel_add(&ctx->panel);
panel             234 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c 	drm_panel_remove(&ctx->panel);
panel              93 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	struct drm_panel panel;
panel             114 drivers/gpu/drm/panel/panel-samsung-ld9040.c static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel)
panel             116 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	return container_of(panel, struct ld9040, panel);
panel             221 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_disable(struct drm_panel *panel)
panel             226 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_unprepare(struct drm_panel *panel)
panel             228 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	struct ld9040 *ctx = panel_to_ld9040(panel);
panel             240 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_prepare(struct drm_panel *panel)
panel             242 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	struct ld9040 *ctx = panel_to_ld9040(panel);
panel             254 drivers/gpu/drm/panel/panel-samsung-ld9040.c 		ld9040_unprepare(panel);
panel             259 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_enable(struct drm_panel *panel)
panel             264 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_get_modes(struct drm_panel *panel)
panel             266 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	struct drm_connector *connector = panel->connector;
panel             267 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	struct ld9040 *ctx = panel_to_ld9040(panel);
panel             354 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	drm_panel_init(&ctx->panel);
panel             355 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	ctx->panel.dev = dev;
panel             356 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	ctx->panel.funcs = &ld9040_drm_funcs;
panel             358 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	return drm_panel_add(&ctx->panel);
panel             366 drivers/gpu/drm/panel/panel-samsung-ld9040.c 	drm_panel_remove(&ctx->panel);
panel              20 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	struct drm_panel panel;
panel              50 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c static inline struct s6d16d0 *panel_to_s6d16d0(struct drm_panel *panel)
panel              52 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	return container_of(panel, struct s6d16d0, panel);
panel              55 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c static int s6d16d0_unprepare(struct drm_panel *panel)
panel              57 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	struct s6d16d0 *s6 = panel_to_s6d16d0(panel);
panel              76 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c static int s6d16d0_prepare(struct drm_panel *panel)
panel              78 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	struct s6d16d0 *s6 = panel_to_s6d16d0(panel);
panel             114 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c static int s6d16d0_enable(struct drm_panel *panel)
panel             116 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	struct s6d16d0 *s6 = panel_to_s6d16d0(panel);
panel             130 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c static int s6d16d0_disable(struct drm_panel *panel)
panel             132 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	struct s6d16d0 *s6 = panel_to_s6d16d0(panel);
panel             146 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c static int s6d16d0_get_modes(struct drm_panel *panel)
panel             148 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	struct drm_connector *connector = panel->connector;
panel             151 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	mode = drm_mode_duplicate(panel->drm, &samsung_s6d16d0_mode);
panel             218 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	drm_panel_init(&s6->panel);
panel             219 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	s6->panel.dev = dev;
panel             220 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	s6->panel.funcs = &s6d16d0_drm_funcs;
panel             222 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	ret = drm_panel_add(&s6->panel);
panel             228 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 		drm_panel_remove(&s6->panel);
panel             238 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c 	drm_panel_remove(&s6->panel);
panel             235 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	struct drm_panel panel;
panel             502 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c static int s6e3ha2_disable(struct drm_panel *panel)
panel             504 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	struct s6e3ha2 *ctx = container_of(panel, struct s6e3ha2, panel);
panel             517 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c static int s6e3ha2_unprepare(struct drm_panel *panel)
panel             519 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	struct s6e3ha2 *ctx = container_of(panel, struct s6e3ha2, panel);
panel             545 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c static int s6e3ha2_prepare(struct drm_panel *panel)
panel             547 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	struct s6e3ha2 *ctx = container_of(panel, struct s6e3ha2, panel);
panel             567 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c static int s6e3ha2_enable(struct drm_panel *panel)
panel             569 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	struct s6e3ha2 *ctx = container_of(panel, struct s6e3ha2, panel);
panel             648 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c static int s6e3ha2_get_modes(struct drm_panel *panel)
panel             650 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	struct drm_connector *connector = panel->connector;
panel             651 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	struct s6e3ha2 *ctx = container_of(panel, struct s6e3ha2, panel);
panel             654 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	mode = drm_mode_duplicate(panel->drm, ctx->desc->mode);
panel             735 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	drm_panel_init(&ctx->panel);
panel             736 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	ctx->panel.dev = dev;
panel             737 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	ctx->panel.funcs = &s6e3ha2_drm_funcs;
panel             739 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	ret = drm_panel_add(&ctx->panel);
panel             750 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	drm_panel_remove(&ctx->panel);
panel             763 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	drm_panel_remove(&ctx->panel);
panel              38 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	struct drm_panel panel;
panel             116 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c static inline struct s6e63j0x03 *panel_to_s6e63j0x03(struct drm_panel *panel)
panel             118 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	return container_of(panel, struct s6e63j0x03, panel);
panel             220 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c static int s6e63j0x03_disable(struct drm_panel *panel)
panel             222 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	struct s6e63j0x03 *ctx = panel_to_s6e63j0x03(panel);
panel             241 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c static int s6e63j0x03_unprepare(struct drm_panel *panel)
panel             243 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	struct s6e63j0x03 *ctx = panel_to_s6e63j0x03(panel);
panel             324 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c static int s6e63j0x03_prepare(struct drm_panel *panel)
panel             326 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	struct s6e63j0x03 *ctx = panel_to_s6e63j0x03(panel);
panel             346 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c static int s6e63j0x03_enable(struct drm_panel *panel)
panel             348 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	struct s6e63j0x03 *ctx = panel_to_s6e63j0x03(panel);
panel             403 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c static int s6e63j0x03_get_modes(struct drm_panel *panel)
panel             405 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	struct drm_connector *connector = panel->connector;
panel             408 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             469 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	drm_panel_init(&ctx->panel);
panel             470 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	ctx->panel.dev = dev;
panel             471 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	ctx->panel.funcs = &s6e63j0x03_funcs;
panel             484 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	ret = drm_panel_add(&ctx->panel);
panel             495 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	drm_panel_remove(&ctx->panel);
panel             508 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	drm_panel_remove(&ctx->panel);
panel              91 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	struct drm_panel panel;
panel             126 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c static inline struct s6e63m0 *panel_to_s6e63m0(struct drm_panel *panel)
panel             128 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	return container_of(panel, struct s6e63m0, panel);
panel             289 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c static int s6e63m0_disable(struct drm_panel *panel)
panel             291 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	struct s6e63m0 *ctx = panel_to_s6e63m0(panel);
panel             306 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c static int s6e63m0_unprepare(struct drm_panel *panel)
panel             308 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	struct s6e63m0 *ctx = panel_to_s6e63m0(panel);
panel             325 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c static int s6e63m0_prepare(struct drm_panel *panel)
panel             327 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	struct s6e63m0 *ctx = panel_to_s6e63m0(panel);
panel             342 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 		s6e63m0_unprepare(panel);
panel             349 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c static int s6e63m0_enable(struct drm_panel *panel)
panel             351 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	struct s6e63m0 *ctx = panel_to_s6e63m0(panel);
panel             365 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c static int s6e63m0_get_modes(struct drm_panel *panel)
panel             367 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	struct drm_connector *connector = panel->connector;
panel             370 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             476 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	drm_panel_init(&ctx->panel);
panel             477 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	ctx->panel.dev = dev;
panel             478 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	ctx->panel.funcs = &s6e63m0_drm_funcs;
panel             484 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	return drm_panel_add(&ctx->panel);
panel             491 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c 	drm_panel_remove(&ctx->panel);
panel              97 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	struct drm_panel panel;
panel             124 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c static inline struct s6e8aa0 *panel_to_s6e8aa0(struct drm_panel *panel)
panel             126 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	return container_of(panel, struct s6e8aa0, panel);
panel             882 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c static int s6e8aa0_disable(struct drm_panel *panel)
panel             887 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c static int s6e8aa0_unprepare(struct drm_panel *panel)
panel             889 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	struct s6e8aa0 *ctx = panel_to_s6e8aa0(panel);
panel             900 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c static int s6e8aa0_prepare(struct drm_panel *panel)
panel             902 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	struct s6e8aa0 *ctx = panel_to_s6e8aa0(panel);
panel             913 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 		s6e8aa0_unprepare(panel);
panel             918 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c static int s6e8aa0_enable(struct drm_panel *panel)
panel             923 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c static int s6e8aa0_get_modes(struct drm_panel *panel)
panel             925 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	struct drm_connector *connector = panel->connector;
panel             926 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	struct s6e8aa0 *ctx = panel_to_s6e8aa0(panel);
panel            1020 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	drm_panel_init(&ctx->panel);
panel            1021 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	ctx->panel.dev = dev;
panel            1022 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	ctx->panel.funcs = &s6e8aa0_drm_funcs;
panel            1024 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	ret = drm_panel_add(&ctx->panel);
panel            1030 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 		drm_panel_remove(&ctx->panel);
panel            1040 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c 	drm_panel_remove(&ctx->panel);
panel              54 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c static inline struct seiko_panel *to_seiko_panel(struct drm_panel *panel)
panel              56 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	return container_of(panel, struct seiko_panel, base);
panel              59 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c static int seiko_panel_get_fixed_modes(struct seiko_panel *panel)
panel              61 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct drm_connector *connector = panel->base.connector;
panel              62 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct drm_device *drm = panel->base.drm;
panel              66 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (!panel->desc)
panel              69 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	for (i = 0; i < panel->desc->num_timings; i++) {
panel              70 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		const struct display_timing *dt = &panel->desc->timings[i];
panel              85 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		if (panel->desc->num_timings == 1)
panel              92 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	for (i = 0; i < panel->desc->num_modes; i++) {
panel              93 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		const struct drm_display_mode *m = &panel->desc->modes[i];
panel             104 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		if (panel->desc->num_modes == 1)
panel             113 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	connector->display_info.bpc = panel->desc->bpc;
panel             114 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	connector->display_info.width_mm = panel->desc->size.width;
panel             115 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	connector->display_info.height_mm = panel->desc->size.height;
panel             116 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (panel->desc->bus_format)
panel             118 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 						 &panel->desc->bus_format, 1);
panel             119 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	connector->display_info.bus_flags = panel->desc->bus_flags;
panel             124 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c static int seiko_panel_disable(struct drm_panel *panel)
panel             126 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *p = to_seiko_panel(panel);
panel             142 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c static int seiko_panel_unprepare(struct drm_panel *panel)
panel             144 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *p = to_seiko_panel(panel);
panel             161 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c static int seiko_panel_prepare(struct drm_panel *panel)
panel             163 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *p = to_seiko_panel(panel);
panel             171 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		dev_err(panel->dev, "failed to enable dvdd: %d\n", err);
panel             180 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		dev_err(panel->dev, "failed to enable avdd: %d\n", err);
panel             193 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c static int seiko_panel_enable(struct drm_panel *panel)
panel             195 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *p = to_seiko_panel(panel);
panel             211 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c static int seiko_panel_get_modes(struct drm_panel *panel)
panel             213 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *p = to_seiko_panel(panel);
panel             219 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c static int seiko_panel_get_timings(struct drm_panel *panel,
panel             223 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *p = to_seiko_panel(panel);
panel             249 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *panel;
panel             252 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL);
panel             253 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (!panel)
panel             256 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel->enabled = false;
panel             257 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel->prepared = false;
panel             258 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel->desc = desc;
panel             260 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel->dvdd = devm_regulator_get(dev, "dvdd");
panel             261 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (IS_ERR(panel->dvdd))
panel             262 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		return PTR_ERR(panel->dvdd);
panel             264 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel->avdd = devm_regulator_get(dev, "avdd");
panel             265 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (IS_ERR(panel->avdd))
panel             266 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		return PTR_ERR(panel->avdd);
panel             270 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		panel->backlight = of_find_backlight_by_node(backlight);
panel             273 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		if (!panel->backlight)
panel             277 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	drm_panel_init(&panel->base);
panel             278 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel->base.dev = dev;
panel             279 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel->base.funcs = &seiko_panel_funcs;
panel             281 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	err = drm_panel_add(&panel->base);
panel             285 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	dev_set_drvdata(dev, panel);
panel             292 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *panel = dev_get_drvdata(&pdev->dev);
panel             294 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	drm_panel_remove(&panel->base);
panel             296 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	seiko_panel_disable(&panel->base);
panel             298 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (panel->backlight)
panel             299 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		put_device(&panel->backlight->dev);
panel             306 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	struct seiko_panel *panel = dev_get_drvdata(&pdev->dev);
panel             308 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	seiko_panel_disable(&panel->base);
panel              35 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static inline struct sharp_panel *to_sharp_panel(struct drm_panel *panel)
panel              37 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	return container_of(panel, struct sharp_panel, base);
panel              90 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static int sharp_panel_disable(struct drm_panel *panel)
panel              92 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = to_sharp_panel(panel);
panel             104 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static int sharp_panel_unprepare(struct drm_panel *panel)
panel             106 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = to_sharp_panel(panel);
panel             116 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->dev, "failed to set display off: %d\n", err);
panel             120 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->dev, "failed to enter sleep mode: %d\n", err);
panel             165 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static int sharp_panel_prepare(struct drm_panel *panel)
panel             167 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = to_sharp_panel(panel);
panel             188 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->dev, "failed to exit sleep mode: %d\n", err);
panel             204 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->dev, "failed to set left-right mode: %d\n", err);
panel             211 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->dev, "failed to enable command mode: %d\n", err);
panel             217 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->dev, "failed to set pixel format: %d\n", err);
panel             231 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->dev, "failed to set up symmetrical split: %d\n",
panel             238 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->dev, "failed to set display on: %d\n", err);
panel             254 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static int sharp_panel_enable(struct drm_panel *panel)
panel             256 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	struct sharp_panel *sharp = to_sharp_panel(panel);
panel             281 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c static int sharp_panel_get_modes(struct drm_panel *panel)
panel             285 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             287 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 		dev_err(panel->drm->dev, "failed to add mode %ux%ux@%u\n",
panel             295 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	drm_mode_probed_add(panel->connector, mode);
panel             297 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	panel->connector->display_info.width_mm = 217;
panel             298 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c 	panel->connector->display_info.height_mm = 136;
panel              25 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	struct drm_panel panel;
panel              37 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	container_of(p, struct ls037v7dw01_panel, panel)
panel              39 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c static int ls037v7dw01_disable(struct drm_panel *panel)
panel              41 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel);
panel              52 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c static int ls037v7dw01_unprepare(struct drm_panel *panel)
panel              54 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel);
panel              60 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c static int ls037v7dw01_prepare(struct drm_panel *panel)
panel              62 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel);
panel              73 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c static int ls037v7dw01_enable(struct drm_panel *panel)
panel              75 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel);
panel             103 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c static int ls037v7dw01_get_modes(struct drm_panel *panel)
panel             105 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	struct drm_connector *connector = panel->connector;
panel             108 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	mode = drm_mode_duplicate(panel->drm, &ls037v7dw01_mode);
panel             188 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	drm_panel_init(&lcd->panel);
panel             189 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	lcd->panel.dev = &pdev->dev;
panel             190 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	lcd->panel.funcs = &ls037v7dw01_funcs;
panel             192 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	return drm_panel_add(&lcd->panel);
panel             199 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	drm_panel_remove(&lcd->panel);
panel             200 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	drm_panel_disable(&lcd->panel);
panel             201 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c 	drm_panel_unprepare(&lcd->panel);
panel              38 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c static inline struct sharp_nt_panel *to_sharp_nt_panel(struct drm_panel *panel)
panel              40 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	return container_of(panel, struct sharp_nt_panel, base);
panel             103 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c static int sharp_nt_panel_disable(struct drm_panel *panel)
panel             105 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	struct sharp_nt_panel *sharp_nt = to_sharp_nt_panel(panel);
panel             117 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c static int sharp_nt_panel_unprepare(struct drm_panel *panel)
panel             119 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	struct sharp_nt_panel *sharp_nt = to_sharp_nt_panel(panel);
panel             127 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 		dev_err(panel->dev, "failed to set panel off: %d\n", ret);
panel             140 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c static int sharp_nt_panel_prepare(struct drm_panel *panel)
panel             142 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	struct sharp_nt_panel *sharp_nt = to_sharp_nt_panel(panel);
panel             165 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 		dev_err(panel->dev, "failed to init panel: %d\n", ret);
panel             171 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 		dev_err(panel->dev, "failed to set panel on: %d\n", ret);
panel             186 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c static int sharp_nt_panel_enable(struct drm_panel *panel)
panel             188 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	struct sharp_nt_panel *sharp_nt = to_sharp_nt_panel(panel);
panel             213 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c static int sharp_nt_panel_get_modes(struct drm_panel *panel)
panel             217 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             219 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 		dev_err(panel->drm->dev, "failed to add mode %ux%ux@%u\n",
panel             227 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	drm_mode_probed_add(panel->connector, mode);
panel             229 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	panel->connector->display_info.width_mm = 54;
panel             230 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c 	panel->connector->display_info.height_mm = 95;
panel             116 drivers/gpu/drm/panel/panel-simple.c static inline struct panel_simple *to_panel_simple(struct drm_panel *panel)
panel             118 drivers/gpu/drm/panel/panel-simple.c 	return container_of(panel, struct panel_simple, base);
panel             121 drivers/gpu/drm/panel/panel-simple.c static unsigned int panel_simple_get_timings_modes(struct panel_simple *panel)
panel             123 drivers/gpu/drm/panel/panel-simple.c 	struct drm_connector *connector = panel->base.connector;
panel             124 drivers/gpu/drm/panel/panel-simple.c 	struct drm_device *drm = panel->base.drm;
panel             128 drivers/gpu/drm/panel/panel-simple.c 	for (i = 0; i < panel->desc->num_timings; i++) {
panel             129 drivers/gpu/drm/panel/panel-simple.c 		const struct display_timing *dt = &panel->desc->timings[i];
panel             144 drivers/gpu/drm/panel/panel-simple.c 		if (panel->desc->num_timings == 1)
panel             154 drivers/gpu/drm/panel/panel-simple.c static unsigned int panel_simple_get_display_modes(struct panel_simple *panel)
panel             156 drivers/gpu/drm/panel/panel-simple.c 	struct drm_connector *connector = panel->base.connector;
panel             157 drivers/gpu/drm/panel/panel-simple.c 	struct drm_device *drm = panel->base.drm;
panel             161 drivers/gpu/drm/panel/panel-simple.c 	for (i = 0; i < panel->desc->num_modes; i++) {
panel             162 drivers/gpu/drm/panel/panel-simple.c 		const struct drm_display_mode *m = &panel->desc->modes[i];
panel             173 drivers/gpu/drm/panel/panel-simple.c 		if (panel->desc->num_modes == 1)
panel             185 drivers/gpu/drm/panel/panel-simple.c static int panel_simple_get_non_edid_modes(struct panel_simple *panel)
panel             187 drivers/gpu/drm/panel/panel-simple.c 	struct drm_connector *connector = panel->base.connector;
panel             188 drivers/gpu/drm/panel/panel-simple.c 	struct drm_device *drm = panel->base.drm;
panel             190 drivers/gpu/drm/panel/panel-simple.c 	bool has_override = panel->override_mode.type;
panel             193 drivers/gpu/drm/panel/panel-simple.c 	if (!panel->desc)
panel             197 drivers/gpu/drm/panel/panel-simple.c 		mode = drm_mode_duplicate(drm, &panel->override_mode);
panel             207 drivers/gpu/drm/panel/panel-simple.c 	if (num == 0 && panel->desc->num_timings)
panel             208 drivers/gpu/drm/panel/panel-simple.c 		num = panel_simple_get_timings_modes(panel);
panel             216 drivers/gpu/drm/panel/panel-simple.c 	WARN_ON(panel->desc->num_timings && panel->desc->num_modes);
panel             218 drivers/gpu/drm/panel/panel-simple.c 		num = panel_simple_get_display_modes(panel);
panel             220 drivers/gpu/drm/panel/panel-simple.c 	connector->display_info.bpc = panel->desc->bpc;
panel             221 drivers/gpu/drm/panel/panel-simple.c 	connector->display_info.width_mm = panel->desc->size.width;
panel             222 drivers/gpu/drm/panel/panel-simple.c 	connector->display_info.height_mm = panel->desc->size.height;
panel             223 drivers/gpu/drm/panel/panel-simple.c 	if (panel->desc->bus_format)
panel             225 drivers/gpu/drm/panel/panel-simple.c 						 &panel->desc->bus_format, 1);
panel             226 drivers/gpu/drm/panel/panel-simple.c 	connector->display_info.bus_flags = panel->desc->bus_flags;
panel             231 drivers/gpu/drm/panel/panel-simple.c static int panel_simple_disable(struct drm_panel *panel)
panel             233 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *p = to_panel_simple(panel);
panel             252 drivers/gpu/drm/panel/panel-simple.c static int panel_simple_unprepare(struct drm_panel *panel)
panel             254 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *p = to_panel_simple(panel);
panel             271 drivers/gpu/drm/panel/panel-simple.c static int panel_simple_prepare(struct drm_panel *panel)
panel             273 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *p = to_panel_simple(panel);
panel             282 drivers/gpu/drm/panel/panel-simple.c 		dev_err(panel->dev, "failed to enable supply: %d\n", err);
panel             299 drivers/gpu/drm/panel/panel-simple.c static int panel_simple_enable(struct drm_panel *panel)
panel             301 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *p = to_panel_simple(panel);
panel             320 drivers/gpu/drm/panel/panel-simple.c static int panel_simple_get_modes(struct drm_panel *panel)
panel             322 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *p = to_panel_simple(panel);
panel             327 drivers/gpu/drm/panel/panel-simple.c 		struct edid *edid = drm_get_edid(panel->connector, p->ddc);
panel             328 drivers/gpu/drm/panel/panel-simple.c 		drm_connector_update_edid_property(panel->connector, edid);
panel             330 drivers/gpu/drm/panel/panel-simple.c 			num += drm_add_edid_modes(panel->connector, edid);
panel             341 drivers/gpu/drm/panel/panel-simple.c static int panel_simple_get_timings(struct drm_panel *panel,
panel             345 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *p = to_panel_simple(panel);
panel             371 drivers/gpu/drm/panel/panel-simple.c 						 struct panel_simple *panel,
panel             374 drivers/gpu/drm/panel/panel-simple.c 	const struct panel_desc *desc = panel->desc;
panel             387 drivers/gpu/drm/panel/panel-simple.c 	for (i = 0; i < panel->desc->num_timings; i++) {
panel             388 drivers/gpu/drm/panel/panel-simple.c 		const struct display_timing *dt = &panel->desc->timings[i];
panel             404 drivers/gpu/drm/panel/panel-simple.c 		drm_display_mode_from_videomode(&vm, &panel->override_mode);
panel             405 drivers/gpu/drm/panel/panel-simple.c 		panel->override_mode.type |= DRM_MODE_TYPE_DRIVER |
panel             410 drivers/gpu/drm/panel/panel-simple.c 	if (WARN_ON(!panel->override_mode.type))
panel             417 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *panel;
panel             421 drivers/gpu/drm/panel/panel-simple.c 	panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL);
panel             422 drivers/gpu/drm/panel/panel-simple.c 	if (!panel)
panel             425 drivers/gpu/drm/panel/panel-simple.c 	panel->enabled = false;
panel             426 drivers/gpu/drm/panel/panel-simple.c 	panel->prepared = false;
panel             427 drivers/gpu/drm/panel/panel-simple.c 	panel->desc = desc;
panel             429 drivers/gpu/drm/panel/panel-simple.c 	panel->no_hpd = of_property_read_bool(dev->of_node, "no-hpd");
panel             431 drivers/gpu/drm/panel/panel-simple.c 	panel->supply = devm_regulator_get(dev, "power");
panel             432 drivers/gpu/drm/panel/panel-simple.c 	if (IS_ERR(panel->supply))
panel             433 drivers/gpu/drm/panel/panel-simple.c 		return PTR_ERR(panel->supply);
panel             435 drivers/gpu/drm/panel/panel-simple.c 	panel->enable_gpio = devm_gpiod_get_optional(dev, "enable",
panel             437 drivers/gpu/drm/panel/panel-simple.c 	if (IS_ERR(panel->enable_gpio)) {
panel             438 drivers/gpu/drm/panel/panel-simple.c 		err = PTR_ERR(panel->enable_gpio);
panel             446 drivers/gpu/drm/panel/panel-simple.c 		panel->backlight = of_find_backlight_by_node(backlight);
panel             449 drivers/gpu/drm/panel/panel-simple.c 		if (!panel->backlight)
panel             455 drivers/gpu/drm/panel/panel-simple.c 		panel->ddc = of_find_i2c_adapter_by_node(ddc);
panel             458 drivers/gpu/drm/panel/panel-simple.c 		if (!panel->ddc) {
panel             465 drivers/gpu/drm/panel/panel-simple.c 		panel_simple_parse_panel_timing_node(dev, panel, &dt);
panel             467 drivers/gpu/drm/panel/panel-simple.c 	drm_panel_init(&panel->base);
panel             468 drivers/gpu/drm/panel/panel-simple.c 	panel->base.dev = dev;
panel             469 drivers/gpu/drm/panel/panel-simple.c 	panel->base.funcs = &panel_simple_funcs;
panel             471 drivers/gpu/drm/panel/panel-simple.c 	err = drm_panel_add(&panel->base);
panel             475 drivers/gpu/drm/panel/panel-simple.c 	dev_set_drvdata(dev, panel);
panel             480 drivers/gpu/drm/panel/panel-simple.c 	if (panel->ddc)
panel             481 drivers/gpu/drm/panel/panel-simple.c 		put_device(&panel->ddc->dev);
panel             483 drivers/gpu/drm/panel/panel-simple.c 	if (panel->backlight)
panel             484 drivers/gpu/drm/panel/panel-simple.c 		put_device(&panel->backlight->dev);
panel             491 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *panel = dev_get_drvdata(dev);
panel             493 drivers/gpu/drm/panel/panel-simple.c 	drm_panel_remove(&panel->base);
panel             495 drivers/gpu/drm/panel/panel-simple.c 	panel_simple_disable(&panel->base);
panel             496 drivers/gpu/drm/panel/panel-simple.c 	panel_simple_unprepare(&panel->base);
panel             498 drivers/gpu/drm/panel/panel-simple.c 	if (panel->ddc)
panel             499 drivers/gpu/drm/panel/panel-simple.c 		put_device(&panel->ddc->dev);
panel             501 drivers/gpu/drm/panel/panel-simple.c 	if (panel->backlight)
panel             502 drivers/gpu/drm/panel/panel-simple.c 		put_device(&panel->backlight->dev);
panel             509 drivers/gpu/drm/panel/panel-simple.c 	struct panel_simple *panel = dev_get_drvdata(dev);
panel             511 drivers/gpu/drm/panel/panel-simple.c 	panel_simple_disable(&panel->base);
panel             512 drivers/gpu/drm/panel/panel-simple.c 	panel_simple_unprepare(&panel->base);
panel            3736 drivers/gpu/drm/panel/panel-simple.c 		struct panel_simple *panel = dev_get_drvdata(&dsi->dev);
panel            3738 drivers/gpu/drm/panel/panel-simple.c 		drm_panel_remove(&panel->base);
panel             102 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	struct drm_panel panel;
panel             112 drivers/gpu/drm/panel/panel-sitronix-st7701.c static inline struct st7701 *panel_to_st7701(struct drm_panel *panel)
panel             114 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	return container_of(panel, struct st7701, panel);
panel             200 drivers/gpu/drm/panel/panel-sitronix-st7701.c static int st7701_prepare(struct drm_panel *panel)
panel             202 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	struct st7701 *st7701 = panel_to_st7701(panel);
panel             221 drivers/gpu/drm/panel/panel-sitronix-st7701.c static int st7701_enable(struct drm_panel *panel)
panel             223 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	struct st7701 *st7701 = panel_to_st7701(panel);
panel             231 drivers/gpu/drm/panel/panel-sitronix-st7701.c static int st7701_disable(struct drm_panel *panel)
panel             233 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	struct st7701 *st7701 = panel_to_st7701(panel);
panel             241 drivers/gpu/drm/panel/panel-sitronix-st7701.c static int st7701_unprepare(struct drm_panel *panel)
panel             243 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	struct st7701 *st7701 = panel_to_st7701(panel);
panel             267 drivers/gpu/drm/panel/panel-sitronix-st7701.c static int st7701_get_modes(struct drm_panel *panel)
panel             269 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	struct st7701 *st7701 = panel_to_st7701(panel);
panel             273 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	mode = drm_mode_duplicate(panel->drm, desc_mode);
panel             283 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	drm_mode_probed_add(panel->connector, mode);
panel             285 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	panel->connector->display_info.width_mm = desc_mode->width_mm;
panel             286 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	panel->connector->display_info.height_mm = desc_mode->height_mm;
panel             372 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	drm_panel_init(&st7701->panel);
panel             384 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	st7701->panel.funcs = &st7701_funcs;
panel             385 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	st7701->panel.dev = &dsi->dev;
panel             387 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	ret = drm_panel_add(&st7701->panel);
panel             403 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	drm_panel_remove(&st7701->panel);
panel             116 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	struct drm_panel panel;
panel             128 drivers/gpu/drm/panel/panel-sitronix-st7789v.c static inline struct st7789v *panel_to_st7789v(struct drm_panel *panel)
panel             130 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	return container_of(panel, struct st7789v, panel);
panel             173 drivers/gpu/drm/panel/panel-sitronix-st7789v.c static int st7789v_get_modes(struct drm_panel *panel)
panel             175 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	struct drm_connector *connector = panel->connector;
panel             178 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	mode = drm_mode_duplicate(panel->drm, &default_mode);
panel             180 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 		dev_err(panel->drm->dev, "failed to add mode %ux%ux@%u\n",
panel             191 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	panel->connector->display_info.width_mm = 61;
panel             192 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	panel->connector->display_info.height_mm = 103;
panel             197 drivers/gpu/drm/panel/panel-sitronix-st7789v.c static int st7789v_prepare(struct drm_panel *panel)
panel             199 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	struct st7789v *ctx = panel_to_st7789v(panel);
panel             322 drivers/gpu/drm/panel/panel-sitronix-st7789v.c static int st7789v_enable(struct drm_panel *panel)
panel             324 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	struct st7789v *ctx = panel_to_st7789v(panel);
panel             335 drivers/gpu/drm/panel/panel-sitronix-st7789v.c static int st7789v_disable(struct drm_panel *panel)
panel             337 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	struct st7789v *ctx = panel_to_st7789v(panel);
panel             351 drivers/gpu/drm/panel/panel-sitronix-st7789v.c static int st7789v_unprepare(struct drm_panel *panel)
panel             353 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	struct st7789v *ctx = panel_to_st7789v(panel);
panel             384 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	drm_panel_init(&ctx->panel);
panel             385 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	ctx->panel.dev = &spi->dev;
panel             386 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	ctx->panel.funcs = &st7789v_drm_funcs;
panel             407 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	ret = drm_panel_add(&ctx->panel);
panel             424 drivers/gpu/drm/panel/panel-sitronix-st7789v.c 	drm_panel_remove(&ctx->panel);
panel              48 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	struct drm_panel panel;
panel              73 drivers/gpu/drm/panel/panel-sony-acx565akm.c #define to_acx565akm_device(p) container_of(p, struct acx565akm_panel, panel)
panel             485 drivers/gpu/drm/panel/panel-sony-acx565akm.c static int acx565akm_disable(struct drm_panel *panel)
panel             487 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	struct acx565akm_panel *lcd = to_acx565akm_device(panel);
panel             496 drivers/gpu/drm/panel/panel-sony-acx565akm.c static int acx565akm_enable(struct drm_panel *panel)
panel             498 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	struct acx565akm_panel *lcd = to_acx565akm_device(panel);
panel             524 drivers/gpu/drm/panel/panel-sony-acx565akm.c static int acx565akm_get_modes(struct drm_panel *panel)
panel             526 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	struct drm_connector *connector = panel->connector;
panel             529 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	mode = drm_mode_duplicate(panel->drm, &acx565akm_mode);
panel             651 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	drm_panel_init(&lcd->panel);
panel             652 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	lcd->panel.dev = &lcd->spi->dev;
panel             653 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	lcd->panel.funcs = &acx565akm_funcs;
panel             655 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	ret = drm_panel_add(&lcd->panel);
panel             669 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	drm_panel_remove(&lcd->panel);
panel             674 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	drm_panel_disable(&lcd->panel);
panel             675 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	drm_panel_unprepare(&lcd->panel);
panel              83 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	struct drm_panel panel;
panel              89 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c #define to_td028ttec1_device(p) container_of(p, struct td028ttec1_panel, panel)
panel             157 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c static int td028ttec1_prepare(struct drm_panel *panel)
panel             159 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
panel             237 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c static int td028ttec1_enable(struct drm_panel *panel)
panel             239 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
panel             251 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c static int td028ttec1_disable(struct drm_panel *panel)
panel             253 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
panel             262 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c static int td028ttec1_unprepare(struct drm_panel *panel)
panel             264 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
panel             290 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c static int td028ttec1_get_modes(struct drm_panel *panel)
panel             292 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	struct drm_connector *connector = panel->connector;
panel             295 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	mode = drm_mode_duplicate(panel->drm, &td028ttec1_mode);
panel             350 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	drm_panel_init(&lcd->panel);
panel             351 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	lcd->panel.dev = &lcd->spi->dev;
panel             352 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	lcd->panel.funcs = &td028ttec1_funcs;
panel             354 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	return drm_panel_add(&lcd->panel);
panel             361 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	drm_panel_remove(&lcd->panel);
panel             362 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	drm_panel_disable(&lcd->panel);
panel             363 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c 	drm_panel_unprepare(&lcd->panel);
panel              54 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	struct drm_panel panel;
panel              68 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c #define to_td043mtea1_device(p) container_of(p, struct td043mtea1_panel, panel)
panel             300 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c static int td043mtea1_unprepare(struct drm_panel *panel)
panel             302 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	struct td043mtea1_panel *lcd = to_td043mtea1_device(panel);
panel             310 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c static int td043mtea1_prepare(struct drm_panel *panel)
panel             312 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	struct td043mtea1_panel *lcd = to_td043mtea1_device(panel);
panel             349 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c static int td043mtea1_get_modes(struct drm_panel *panel)
panel             351 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	struct drm_connector *connector = panel->connector;
panel             354 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	mode = drm_mode_duplicate(panel->drm, &td043mtea1_mode);
panel             461 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	drm_panel_init(&lcd->panel);
panel             462 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	lcd->panel.dev = &lcd->spi->dev;
panel             463 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	lcd->panel.funcs = &td043mtea1_funcs;
panel             465 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	ret = drm_panel_add(&lcd->panel);
panel             478 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	drm_panel_remove(&lcd->panel);
panel             479 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	drm_panel_disable(&lcd->panel);
panel             480 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	drm_panel_unprepare(&lcd->panel);
panel              78 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	struct drm_panel panel;
panel             194 drivers/gpu/drm/panel/panel-tpo-tpg110.c to_tpg110(struct drm_panel *panel)
panel             196 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	return container_of(panel, struct tpg110, panel);
panel             349 drivers/gpu/drm/panel/panel-tpo-tpg110.c static int tpg110_disable(struct drm_panel *panel)
panel             351 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	struct tpg110 *tpg = to_tpg110(panel);
panel             364 drivers/gpu/drm/panel/panel-tpo-tpg110.c static int tpg110_enable(struct drm_panel *panel)
panel             366 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	struct tpg110 *tpg = to_tpg110(panel);
panel             387 drivers/gpu/drm/panel/panel-tpo-tpg110.c static int tpg110_get_modes(struct drm_panel *panel)
panel             389 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	struct drm_connector *connector = panel->connector;
panel             390 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	struct tpg110 *tpg = to_tpg110(panel);
panel             397 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	mode = drm_mode_duplicate(panel->drm, &tpg->panel_mode->mode);
panel             460 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	drm_panel_init(&tpg->panel);
panel             461 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	tpg->panel.dev = dev;
panel             462 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	tpg->panel.funcs = &tpg110_drm_funcs;
panel             465 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	return drm_panel_add(&tpg->panel);
panel             472 drivers/gpu/drm/panel/panel-tpo-tpg110.c 	drm_panel_remove(&tpg->panel);
panel              56 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct drm_panel panel;
panel              72 drivers/gpu/drm/panel/panel-truly-nt35597.c static inline struct truly_nt35597 *panel_to_ctx(struct drm_panel *panel)
panel              74 drivers/gpu/drm/panel/panel-truly-nt35597.c 	return container_of(panel, struct truly_nt35597, panel);
panel             226 drivers/gpu/drm/panel/panel-truly-nt35597.c static int truly_dcs_write(struct drm_panel *panel, u32 command)
panel             228 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct truly_nt35597 *ctx = panel_to_ctx(panel);
panel             243 drivers/gpu/drm/panel/panel-truly-nt35597.c static int truly_dcs_write_buf(struct drm_panel *panel,
panel             246 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct truly_nt35597 *ctx = panel_to_ctx(panel);
panel             317 drivers/gpu/drm/panel/panel-truly-nt35597.c static int truly_nt35597_disable(struct drm_panel *panel)
panel             319 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct truly_nt35597 *ctx = panel_to_ctx(panel);
panel             336 drivers/gpu/drm/panel/panel-truly-nt35597.c static int truly_nt35597_unprepare(struct drm_panel *panel)
panel             338 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct truly_nt35597 *ctx = panel_to_ctx(panel);
panel             347 drivers/gpu/drm/panel/panel-truly-nt35597.c 	ret = truly_dcs_write(panel, MIPI_DCS_SET_DISPLAY_OFF);
panel             357 drivers/gpu/drm/panel/panel-truly-nt35597.c 	ret = truly_dcs_write(panel, MIPI_DCS_ENTER_SLEEP_MODE);
panel             371 drivers/gpu/drm/panel/panel-truly-nt35597.c static int truly_nt35597_prepare(struct drm_panel *panel)
panel             373 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct truly_nt35597 *ctx = panel_to_ctx(panel);
panel             395 drivers/gpu/drm/panel/panel-truly-nt35597.c 		ret = truly_dcs_write_buf(panel,
panel             406 drivers/gpu/drm/panel/panel-truly-nt35597.c 	ret = truly_dcs_write(panel, MIPI_DCS_EXIT_SLEEP_MODE);
panel             417 drivers/gpu/drm/panel/panel-truly-nt35597.c 	ret = truly_dcs_write(panel, MIPI_DCS_SET_DISPLAY_ON);
panel             437 drivers/gpu/drm/panel/panel-truly-nt35597.c static int truly_nt35597_enable(struct drm_panel *panel)
panel             439 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct truly_nt35597 *ctx = panel_to_ctx(panel);
panel             457 drivers/gpu/drm/panel/panel-truly-nt35597.c static int truly_nt35597_get_modes(struct drm_panel *panel)
panel             459 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct drm_connector *connector = panel->connector;
panel             460 drivers/gpu/drm/panel/panel-truly-nt35597.c 	struct truly_nt35597 *ctx = panel_to_ctx(panel);
panel             521 drivers/gpu/drm/panel/panel-truly-nt35597.c 	drm_panel_init(&ctx->panel);
panel             522 drivers/gpu/drm/panel/panel-truly-nt35597.c 	ctx->panel.dev = dev;
panel             523 drivers/gpu/drm/panel/panel-truly-nt35597.c 	ctx->panel.funcs = &truly_nt35597_drm_funcs;
panel             524 drivers/gpu/drm/panel/panel-truly-nt35597.c 	drm_panel_add(&ctx->panel);
panel             639 drivers/gpu/drm/panel/panel-truly-nt35597.c 	drm_panel_remove(&ctx->panel);
panel             656 drivers/gpu/drm/panel/panel-truly-nt35597.c 	drm_panel_remove(&ctx->panel);
panel              63 drivers/gpu/drm/pl111/pl111_drm.h 	struct drm_panel *panel;
panel              90 drivers/gpu/drm/pl111/pl111_drv.c 	struct drm_panel *panel = NULL;
panel             133 drivers/gpu/drm/pl111/pl111_drv.c 			panel = tmp_panel;
panel             149 drivers/gpu/drm/pl111/pl111_drv.c 	if ((!panel && !bridge) && defer)
panel             152 drivers/gpu/drm/pl111/pl111_drv.c 	if (panel) {
panel             153 drivers/gpu/drm/pl111/pl111_drv.c 		bridge = drm_panel_bridge_add(panel,
panel             167 drivers/gpu/drm/pl111/pl111_drv.c 	if (panel) {
panel             168 drivers/gpu/drm/pl111/pl111_drv.c 		priv->panel = panel;
panel             169 drivers/gpu/drm/pl111/pl111_drv.c 		priv->connector = panel->connector;
panel             198 drivers/gpu/drm/pl111/pl111_drv.c 	if (panel)
panel             344 drivers/gpu/drm/pl111/pl111_drv.c 	if (priv->panel)
panel              80 drivers/gpu/drm/rcar-du/rcar_du_encoder.c 		struct drm_panel *panel = of_drm_find_panel(enc_node);
panel              82 drivers/gpu/drm/rcar-du/rcar_du_encoder.c 		if (IS_ERR(panel)) {
panel              83 drivers/gpu/drm/rcar-du/rcar_du_encoder.c 			ret = PTR_ERR(panel);
panel              87 drivers/gpu/drm/rcar-du/rcar_du_encoder.c 		bridge = devm_drm_panel_bridge_add(rcdu->dev, panel,
panel              59 drivers/gpu/drm/rcar-du/rcar_lvds.c 	struct drm_panel *panel;
panel              94 drivers/gpu/drm/rcar-du/rcar_lvds.c 	return drm_panel_get_modes(lvds->panel);
panel             517 drivers/gpu/drm/rcar-du/rcar_lvds.c 	if (lvds->panel) {
panel             518 drivers/gpu/drm/rcar-du/rcar_lvds.c 		drm_panel_prepare(lvds->panel);
panel             519 drivers/gpu/drm/rcar-du/rcar_lvds.c 		drm_panel_enable(lvds->panel);
panel             527 drivers/gpu/drm/rcar-du/rcar_lvds.c 	if (lvds->panel) {
panel             528 drivers/gpu/drm/rcar-du/rcar_lvds.c 		drm_panel_disable(lvds->panel);
panel             529 drivers/gpu/drm/rcar-du/rcar_lvds.c 		drm_panel_unprepare(lvds->panel);
panel             570 drivers/gpu/drm/rcar-du/rcar_lvds.c 	if (!lvds->panel)
panel             622 drivers/gpu/drm/rcar-du/rcar_lvds.c 	if (!lvds->panel)
panel             636 drivers/gpu/drm/rcar-du/rcar_lvds.c 	return drm_panel_attach(lvds->panel, connector);
panel             643 drivers/gpu/drm/rcar-du/rcar_lvds.c 	if (lvds->panel)
panel             644 drivers/gpu/drm/rcar-du/rcar_lvds.c 		drm_panel_detach(lvds->panel);
panel             765 drivers/gpu/drm/rcar-du/rcar_lvds.c 		lvds->panel = of_drm_find_panel(remote);
panel             766 drivers/gpu/drm/rcar-du/rcar_lvds.c 		if (IS_ERR(lvds->panel)) {
panel             767 drivers/gpu/drm/rcar-du/rcar_lvds.c 			ret = PTR_ERR(lvds->panel);
panel             369 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c 	struct drm_panel *panel = NULL;
panel             377 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c 	ret = drm_of_find_panel_or_bridge(dev->of_node, 1, 0, &panel, NULL);
panel             388 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c 	dp->plat_data.panel = panel;
panel              62 drivers/gpu/drm/rockchip/rockchip_lvds.c 	struct drm_panel *panel;
panel             201 drivers/gpu/drm/rockchip/rockchip_lvds.c 	struct drm_panel *panel = lvds->panel;
panel             203 drivers/gpu/drm/rockchip/rockchip_lvds.c 	return drm_panel_get_modes(panel);
panel             286 drivers/gpu/drm/rockchip/rockchip_lvds.c 	drm_panel_prepare(lvds->panel);
panel             290 drivers/gpu/drm/rockchip/rockchip_lvds.c 		drm_panel_unprepare(lvds->panel);
panel             294 drivers/gpu/drm/rockchip/rockchip_lvds.c 	drm_panel_enable(lvds->panel);
panel             301 drivers/gpu/drm/rockchip/rockchip_lvds.c 	drm_panel_disable(lvds->panel);
panel             303 drivers/gpu/drm/rockchip/rockchip_lvds.c 	drm_panel_unprepare(lvds->panel);
panel             357 drivers/gpu/drm/rockchip/rockchip_lvds.c 						  &lvds->panel, &lvds->bridge);
panel             372 drivers/gpu/drm/rockchip/rockchip_lvds.c 	if (lvds->panel)
panel             373 drivers/gpu/drm/rockchip/rockchip_lvds.c 		remote = lvds->panel->dev->of_node;
panel             414 drivers/gpu/drm/rockchip/rockchip_lvds.c 	if (lvds->panel) {
panel             436 drivers/gpu/drm/rockchip/rockchip_lvds.c 		ret = drm_panel_attach(lvds->panel, connector);
panel             475 drivers/gpu/drm/rockchip/rockchip_lvds.c 	if (lvds->panel)
panel             476 drivers/gpu/drm/rockchip/rockchip_lvds.c 		drm_panel_detach(lvds->panel);
panel              82 drivers/gpu/drm/rockchip/rockchip_rgb.c 	struct drm_panel *panel;
panel             105 drivers/gpu/drm/rockchip/rockchip_rgb.c 						  &panel, &bridge);
panel             137 drivers/gpu/drm/rockchip/rockchip_rgb.c 	if (panel) {
panel             138 drivers/gpu/drm/rockchip/rockchip_rgb.c 		bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_LVDS);
panel             606 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->clock = sdev->pdata->panel.mode.clock;
panel             607 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->hdisplay = sdev->pdata->panel.mode.hdisplay;
panel             608 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->hsync_start = sdev->pdata->panel.mode.hsync_start;
panel             609 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->hsync_end = sdev->pdata->panel.mode.hsync_end;
panel             610 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->htotal = sdev->pdata->panel.mode.htotal;
panel             611 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->vdisplay = sdev->pdata->panel.mode.vdisplay;
panel             612 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->vsync_start = sdev->pdata->panel.mode.vsync_start;
panel             613 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->vsync_end = sdev->pdata->panel.mode.vsync_end;
panel             614 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->vtotal = sdev->pdata->panel.mode.vtotal;
panel             615 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	mode->flags = sdev->pdata->panel.mode.flags;
panel             620 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	connector->display_info.width_mm = sdev->pdata->panel.width_mm;
panel             621 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	connector->display_info.height_mm = sdev->pdata->panel.height_mm;
panel             662 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	connector->display_info.width_mm = sdev->pdata->panel.width_mm;
panel             663 drivers/gpu/drm/shmobile/shmob_drm_crtc.c 	connector->display_info.height_mm = sdev->pdata->panel.height_mm;
panel              94 drivers/gpu/drm/sti/sti_dvo.c 	struct drm_panel *panel;
panel             224 drivers/gpu/drm/sti/sti_dvo.c 	drm_panel_disable(dvo->panel);
panel             264 drivers/gpu/drm/sti/sti_dvo.c 	drm_panel_enable(dvo->panel);
panel             340 drivers/gpu/drm/sti/sti_dvo.c 	if (dvo->panel)
panel             341 drivers/gpu/drm/sti/sti_dvo.c 		return drm_panel_get_modes(dvo->panel);
panel             387 drivers/gpu/drm/sti/sti_dvo.c 	if (!dvo->panel) {
panel             388 drivers/gpu/drm/sti/sti_dvo.c 		dvo->panel = of_drm_find_panel(dvo->panel_node);
panel             389 drivers/gpu/drm/sti/sti_dvo.c 		if (IS_ERR(dvo->panel))
panel             390 drivers/gpu/drm/sti/sti_dvo.c 			dvo->panel = NULL;
panel             392 drivers/gpu/drm/sti/sti_dvo.c 			drm_panel_attach(dvo->panel, connector);
panel             395 drivers/gpu/drm/sti/sti_dvo.c 	if (dvo->panel)
panel            1149 drivers/gpu/drm/stm/ltdc.c 	struct drm_panel *panel[MAX_ENDPOINTS] = {NULL};
panel            1159 drivers/gpu/drm/stm/ltdc.c 		ret = drm_of_find_panel_or_bridge(np, 0, i, &panel[i],
panel            1238 drivers/gpu/drm/stm/ltdc.c 		if (panel[i]) {
panel            1239 drivers/gpu/drm/stm/ltdc.c 			bridge[i] = drm_panel_bridge_add(panel[i],
panel              23 drivers/gpu/drm/sun4i/sun4i_lvds.c 	struct drm_panel	*panel;
panel              45 drivers/gpu/drm/sun4i/sun4i_lvds.c 	return drm_panel_get_modes(lvds->panel);
panel              57 drivers/gpu/drm/sun4i/sun4i_lvds.c 	drm_panel_detach(lvds->panel);
panel              75 drivers/gpu/drm/sun4i/sun4i_lvds.c 	if (lvds->panel) {
panel              76 drivers/gpu/drm/sun4i/sun4i_lvds.c 		drm_panel_prepare(lvds->panel);
panel              77 drivers/gpu/drm/sun4i/sun4i_lvds.c 		drm_panel_enable(lvds->panel);
panel              87 drivers/gpu/drm/sun4i/sun4i_lvds.c 	if (lvds->panel) {
panel              88 drivers/gpu/drm/sun4i/sun4i_lvds.c 		drm_panel_disable(lvds->panel);
panel              89 drivers/gpu/drm/sun4i/sun4i_lvds.c 		drm_panel_unprepare(lvds->panel);
panel             115 drivers/gpu/drm/sun4i/sun4i_lvds.c 					  &lvds->panel, &bridge);
panel             136 drivers/gpu/drm/sun4i/sun4i_lvds.c 	if (lvds->panel) {
panel             150 drivers/gpu/drm/sun4i/sun4i_lvds.c 		ret = drm_panel_attach(lvds->panel, &lvds->connector);
panel              26 drivers/gpu/drm/sun4i/sun4i_rgb.c 	struct drm_panel	*panel;
panel              49 drivers/gpu/drm/sun4i/sun4i_rgb.c 	return drm_panel_get_modes(rgb->panel);
panel             107 drivers/gpu/drm/sun4i/sun4i_rgb.c 	if (rgb->panel) {
panel             148 drivers/gpu/drm/sun4i/sun4i_rgb.c 	drm_panel_detach(rgb->panel);
panel             166 drivers/gpu/drm/sun4i/sun4i_rgb.c 	if (rgb->panel) {
panel             167 drivers/gpu/drm/sun4i/sun4i_rgb.c 		drm_panel_prepare(rgb->panel);
panel             168 drivers/gpu/drm/sun4i/sun4i_rgb.c 		drm_panel_enable(rgb->panel);
panel             178 drivers/gpu/drm/sun4i/sun4i_rgb.c 	if (rgb->panel) {
panel             179 drivers/gpu/drm/sun4i/sun4i_rgb.c 		drm_panel_disable(rgb->panel);
panel             180 drivers/gpu/drm/sun4i/sun4i_rgb.c 		drm_panel_unprepare(rgb->panel);
panel             212 drivers/gpu/drm/sun4i/sun4i_rgb.c 					  &rgb->panel, &rgb->bridge);
panel             233 drivers/gpu/drm/sun4i/sun4i_rgb.c 	if (rgb->panel) {
panel             247 drivers/gpu/drm/sun4i/sun4i_rgb.c 		ret = drm_panel_attach(rgb->panel, &rgb->connector);
panel            1296 drivers/gpu/drm/sun4i/sun4i_tcon.c 	struct drm_panel *panel;
panel            1303 drivers/gpu/drm/sun4i/sun4i_tcon.c 		ret = drm_of_find_panel_or_bridge(node, 1, 0, &panel, &bridge);
panel             751 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	if (!IS_ERR(dsi->panel))
panel             752 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		drm_panel_prepare(dsi->panel);
panel             766 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	if (!IS_ERR(dsi->panel))
panel             767 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		drm_panel_enable(dsi->panel);
panel             782 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	if (!IS_ERR(dsi->panel)) {
panel             783 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		drm_panel_disable(dsi->panel);
panel             784 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		drm_panel_unprepare(dsi->panel);
panel             797 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	return drm_panel_get_modes(dsi->panel);
panel             946 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	dsi->panel = of_drm_find_panel(device->dev.of_node);
panel             947 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	if (IS_ERR(dsi->panel))
panel             948 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		return PTR_ERR(dsi->panel);
panel             960 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	dsi->panel = NULL;
panel            1028 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	if (!dsi->panel)
panel            1058 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	drm_panel_attach(dsi->panel, &dsi->connector);
panel            1072 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	drm_panel_detach(dsi->panel);
panel              32 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h 	struct drm_panel	*panel;
panel             121 drivers/gpu/drm/tegra/drm.h 	struct drm_panel *panel;
panel             854 drivers/gpu/drm/tegra/dsi.c 	if (output->panel)
panel             855 drivers/gpu/drm/tegra/dsi.c 		drm_panel_disable(output->panel);
panel             877 drivers/gpu/drm/tegra/dsi.c 	if (output->panel)
panel             878 drivers/gpu/drm/tegra/dsi.c 		drm_panel_unprepare(output->panel);
panel             925 drivers/gpu/drm/tegra/dsi.c 	if (output->panel)
panel             926 drivers/gpu/drm/tegra/dsi.c 		drm_panel_prepare(output->panel);
panel             940 drivers/gpu/drm/tegra/dsi.c 	if (output->panel)
panel             941 drivers/gpu/drm/tegra/dsi.c 		drm_panel_enable(output->panel);
panel            1412 drivers/gpu/drm/tegra/dsi.c 		output->panel = of_drm_find_panel(device->dev.of_node);
panel            1413 drivers/gpu/drm/tegra/dsi.c 		if (IS_ERR(output->panel))
panel            1414 drivers/gpu/drm/tegra/dsi.c 			output->panel = NULL;
panel            1416 drivers/gpu/drm/tegra/dsi.c 		if (output->panel && output->connector.dev) {
panel            1417 drivers/gpu/drm/tegra/dsi.c 			drm_panel_attach(output->panel, &output->connector);
panel            1431 drivers/gpu/drm/tegra/dsi.c 	if (output->panel && &device->dev == output->panel->dev) {
panel            1432 drivers/gpu/drm/tegra/dsi.c 		output->panel = NULL;
panel              25 drivers/gpu/drm/tegra/output.c 	if (output->panel) {
panel              26 drivers/gpu/drm/tegra/output.c 		err = output->panel->funcs->get_modes(output->panel);
panel              59 drivers/gpu/drm/tegra/output.c 		if (!output->panel)
panel              94 drivers/gpu/drm/tegra/output.c 	struct device_node *ddc, *panel;
panel             101 drivers/gpu/drm/tegra/output.c 	panel = of_parse_phandle(output->of_node, "nvidia,panel", 0);
panel             102 drivers/gpu/drm/tegra/output.c 	if (panel) {
panel             103 drivers/gpu/drm/tegra/output.c 		output->panel = of_drm_find_panel(panel);
panel             104 drivers/gpu/drm/tegra/output.c 		if (IS_ERR(output->panel))
panel             105 drivers/gpu/drm/tegra/output.c 			return PTR_ERR(output->panel);
panel             107 drivers/gpu/drm/tegra/output.c 		of_node_put(panel);
panel             189 drivers/gpu/drm/tegra/output.c 	if (output->panel) {
panel             190 drivers/gpu/drm/tegra/output.c 		err = drm_panel_attach(output->panel, &output->connector);
panel             214 drivers/gpu/drm/tegra/output.c 	if (output->panel)
panel             215 drivers/gpu/drm/tegra/output.c 		drm_panel_detach(output->panel);
panel             122 drivers/gpu/drm/tegra/rgb.c 	if (output->panel)
panel             123 drivers/gpu/drm/tegra/rgb.c 		drm_panel_disable(output->panel);
panel             128 drivers/gpu/drm/tegra/rgb.c 	if (output->panel)
panel             129 drivers/gpu/drm/tegra/rgb.c 		drm_panel_unprepare(output->panel);
panel             138 drivers/gpu/drm/tegra/rgb.c 	if (output->panel)
panel             139 drivers/gpu/drm/tegra/rgb.c 		drm_panel_prepare(output->panel);
panel             163 drivers/gpu/drm/tegra/rgb.c 	if (output->panel)
panel             164 drivers/gpu/drm/tegra/rgb.c 		drm_panel_enable(output->panel);
panel            1595 drivers/gpu/drm/tegra/sor.c 	if (output->panel)
panel            1596 drivers/gpu/drm/tegra/sor.c 		drm_panel_disable(output->panel);
panel            1631 drivers/gpu/drm/tegra/sor.c 	if (output->panel)
panel            1632 drivers/gpu/drm/tegra/sor.c 		drm_panel_unprepare(output->panel);
panel            1697 drivers/gpu/drm/tegra/sor.c 	if (output->panel)
panel            1698 drivers/gpu/drm/tegra/sor.c 		drm_panel_prepare(output->panel);
panel            1980 drivers/gpu/drm/tegra/sor.c 	if (output->panel)
panel            1981 drivers/gpu/drm/tegra/sor.c 		drm_panel_enable(output->panel);
panel             117 drivers/gpu/drm/tilcdc/tilcdc_external.c 	struct drm_panel *panel;
panel             121 drivers/gpu/drm/tilcdc/tilcdc_external.c 					  &panel, &bridge);
panel             141 drivers/gpu/drm/tilcdc/tilcdc_external.c 	if (panel) {
panel             142 drivers/gpu/drm/tilcdc/tilcdc_external.c 		bridge = devm_drm_panel_bridge_add(ddev->dev, panel,
panel             108 drivers/gpu/drm/tve200/tve200_drm.h 	struct drm_panel *panel;
panel              66 drivers/gpu/drm/tve200/tve200_drv.c 	struct drm_panel *panel;
panel              79 drivers/gpu/drm/tve200/tve200_drv.c 					  0, 0, &panel, &bridge);
panel              82 drivers/gpu/drm/tve200/tve200_drv.c 	if (panel) {
panel              83 drivers/gpu/drm/tve200/tve200_drv.c 		bridge = drm_panel_bridge_add(panel,
panel             112 drivers/gpu/drm/tve200/tve200_drv.c 	priv->panel = panel;
panel             113 drivers/gpu/drm/tve200/tve200_drv.c 	priv->connector = panel->connector;
panel             117 drivers/gpu/drm/tve200/tve200_drv.c 		 dev_name(panel->dev));
panel             131 drivers/gpu/drm/tve200/tve200_drv.c 	if (panel)
panel             256 drivers/gpu/drm/tve200/tve200_drv.c 	if (priv->panel)
panel             235 drivers/gpu/drm/vc4/vc4_dpi.c 	struct drm_panel *panel;
panel             240 drivers/gpu/drm/vc4/vc4_dpi.c 					  &panel, &bridge);
panel             251 drivers/gpu/drm/vc4/vc4_dpi.c 	if (panel)
panel             252 drivers/gpu/drm/vc4/vc4_dpi.c 		bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_DPI);
panel            1447 drivers/gpu/drm/vc4/vc4_dsi.c 	struct drm_panel *panel;
panel            1563 drivers/gpu/drm/vc4/vc4_dsi.c 					  &panel, &dsi->bridge);
panel            1577 drivers/gpu/drm/vc4/vc4_dsi.c 	if (panel) {
panel            1578 drivers/gpu/drm/vc4/vc4_dsi.c 		dsi->bridge = devm_drm_panel_bridge_add(dev, panel,
panel              20 drivers/input/misc/sgi_btns.c 	status = readb(&sgioc->panel) ^ 0xa0;
panel             374 drivers/media/platform/omap/omap_vout.c 		timing = &dssdev->panel.timings;
panel             623 drivers/media/platform/omap/omap_vout.c 	timing = &dssdev->panel.timings;
panel             654 drivers/media/platform/omap/omap_vout.c 	timing = &dssdev->panel.timings;
panel             843 drivers/media/platform/omap/omap_vout.c 	timing = &dssdev->panel.timings;
panel            1205 drivers/media/platform/omap/omap_vout.c 	timing = &dssdev->panel.timings;
panel            1331 drivers/media/platform/omap/omap_vout.c 	vout->fbuf.fmt.width  =  display->panel.timings.x_res;
panel            1332 drivers/media/platform/omap/omap_vout.c 	vout->fbuf.fmt.height =  display->panel.timings.y_res;
panel            1692 drivers/media/platform/omap/omap_vout.c 					display->panel.timings.x_res,
panel            1693 drivers/media/platform/omap/omap_vout.c 					display->panel.timings.y_res);
panel              70 drivers/video/fbdev/amba-clcd.c 	if (fb->panel->backlight) {
panel              71 drivers/video/fbdev/amba-clcd.c 		fb->panel->backlight->props.power = FB_BLANK_POWERDOWN;
panel              72 drivers/video/fbdev/amba-clcd.c 		backlight_update_status(fb->panel->backlight);
panel             123 drivers/video/fbdev/amba-clcd.c 	if (fb->panel->backlight) {
panel             124 drivers/video/fbdev/amba-clcd.c 		fb->panel->backlight->props.power = FB_BLANK_UNBLANK;
panel             125 drivers/video/fbdev/amba-clcd.c 		backlight_update_status(fb->panel->backlight);
panel             141 drivers/video/fbdev/amba-clcd.c 	if (fb->panel->caps && fb->board->caps)
panel             142 drivers/video/fbdev/amba-clcd.c 		caps = fb->panel->caps & fb->board->caps;
panel             145 drivers/video/fbdev/amba-clcd.c 		caps = fb->panel->cntl & CNTL_BGR ?
panel             152 drivers/video/fbdev/amba-clcd.c 	if (!(fb->panel->cntl & CNTL_LCDTFT))
panel             488 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.xres		= fb->panel->mode.xres;
panel             489 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.yres		= fb->panel->mode.yres;
panel             490 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.xres_virtual	= fb->panel->mode.xres;
panel             491 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.yres_virtual	= fb->panel->mode.yres;
panel             492 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.bits_per_pixel = fb->panel->bpp;
panel             493 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.grayscale	= fb->panel->grayscale;
panel             494 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.pixclock	= fb->panel->mode.pixclock;
panel             495 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.left_margin	= fb->panel->mode.left_margin;
panel             496 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.right_margin	= fb->panel->mode.right_margin;
panel             497 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.upper_margin	= fb->panel->mode.upper_margin;
panel             498 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.lower_margin	= fb->panel->mode.lower_margin;
panel             499 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.hsync_len	= fb->panel->mode.hsync_len;
panel             500 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.vsync_len	= fb->panel->mode.vsync_len;
panel             501 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.sync		= fb->panel->mode.sync;
panel             502 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.vmode	= fb->panel->mode.vmode;
panel             505 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.height	= fb->panel->height;
panel             506 drivers/video/fbdev/amba-clcd.c 	fb->fb.var.width	= fb->panel->width;
panel             536 drivers/video/fbdev/amba-clcd.c 	         fb->board->name, fb->panel->mode.name);
panel             605 drivers/video/fbdev/amba-clcd.c static int clcdfb_of_get_backlight(struct device_node *panel,
panel             611 drivers/video/fbdev/amba-clcd.c 	backlight = of_parse_phandle(panel, "backlight", 0);
panel             622 drivers/video/fbdev/amba-clcd.c static int clcdfb_of_get_mode(struct device *dev, struct device_node *panel,
panel             631 drivers/video/fbdev/amba-clcd.c 	if (of_device_is_compatible(panel, "panel-dpi"))
panel             632 drivers/video/fbdev/amba-clcd.c 		err = clcdfb_of_get_dpi_panel_mode(panel, clcd_panel);
panel             670 drivers/video/fbdev/amba-clcd.c 	fb->panel->tim2 |= TIM2_BCD;
panel             673 drivers/video/fbdev/amba-clcd.c 	fb->panel->cntl |= CNTL_LCDTFT | CNTL_LCDVCOMP(1);
panel             675 drivers/video/fbdev/amba-clcd.c 	fb->panel->caps = 0;
panel             678 drivers/video/fbdev/amba-clcd.c 	for (i = 0; i < ARRAY_SIZE(panels) && !fb->panel->caps; i++) {
panel             684 drivers/video/fbdev/amba-clcd.c 			fb->panel->caps = panels[i].caps;
panel             692 drivers/video/fbdev/amba-clcd.c 		fb->panel->bgr_connection = true;
panel             694 drivers/video/fbdev/amba-clcd.c 	return fb->panel->caps ? 0 : -EINVAL;
panel             699 drivers/video/fbdev/amba-clcd.c 	struct device_node *endpoint, *panel;
panel             705 drivers/video/fbdev/amba-clcd.c 	fb->panel = devm_kzalloc(&fb->dev->dev, sizeof(*fb->panel), GFP_KERNEL);
panel             706 drivers/video/fbdev/amba-clcd.c 	if (!fb->panel)
panel             716 drivers/video/fbdev/amba-clcd.c 	panel = of_graph_get_remote_port_parent(endpoint);
panel             717 drivers/video/fbdev/amba-clcd.c 	if (!panel)
panel             720 drivers/video/fbdev/amba-clcd.c 	err = clcdfb_of_get_backlight(panel, fb->panel);
panel             724 drivers/video/fbdev/amba-clcd.c 	err = clcdfb_of_get_mode(&fb->dev->dev, panel, fb->panel);
panel             739 drivers/video/fbdev/amba-clcd.c 			/ PICOS2KHZ(fb->panel->mode.pixclock);
panel             745 drivers/video/fbdev/amba-clcd.c 	fb->panel->bpp = bpp;
panel             748 drivers/video/fbdev/amba-clcd.c 	fb->panel->cntl |= CNTL_BEBO;
panel             750 drivers/video/fbdev/amba-clcd.c 	fb->panel->width = -1;
panel             751 drivers/video/fbdev/amba-clcd.c 	fb->panel->height = -1;
panel             820 drivers/video/fbdev/amba-clcd.c 	framesize = PAGE_ALIGN(fb->panel->mode.xres * fb->panel->mode.yres *
panel             821 drivers/video/fbdev/amba-clcd.c 			fb->panel->bpp / 8);
panel             148 drivers/video/fbdev/au1100fb.c 	if (panel_is_active(fbdev->panel) || panel_is_color(fbdev->panel)) {
panel             172 drivers/video/fbdev/au1100fb.c 			index = (fbdev->panel->control_base & LCD_CONTROL_SBPPF_MASK) >> LCD_CONTROL_SBPPF_BIT;
panel             188 drivers/video/fbdev/au1100fb.c 	info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \
panel             192 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_control = fbdev->panel->control_base;
panel             193 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_horztiming = fbdev->panel->horztiming;
panel             194 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_verttiming = fbdev->panel->verttiming;
panel             195 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_clkcontrol = fbdev->panel->clkcontrol_base;
panel             200 drivers/video/fbdev/au1100fb.c 	if (panel_is_dual(fbdev->panel)) {
panel             269 drivers/video/fbdev/au1100fb.c 	} else if (panel_is_active(fbdev->panel)) {
panel             274 drivers/video/fbdev/au1100fb.c 	} else if (panel_is_color(fbdev->panel)) {
panel             276 drivers/video/fbdev/au1100fb.c 		value = (((panel_swap_rgb(fbdev->panel) ? blue : red) >> 12) & 0x000F) |
panel             278 drivers/video/fbdev/au1100fb.c 			(((panel_swap_rgb(fbdev->panel) ? red : blue) >> 4) & 0x0F00);
panel             326 drivers/video/fbdev/au1100fb.c 		if (panel_is_dual(fbdev->panel)) {
panel             389 drivers/video/fbdev/au1100fb.c 					fbdev->panel = &known_lcd_panels[i];
panel             404 drivers/video/fbdev/au1100fb.c 	print_info("Panel=%s", fbdev->panel->name);
panel             458 drivers/video/fbdev/au1100fb.c 	fbdev->fb_len = fbdev->panel->xres * fbdev->panel->yres *
panel             459 drivers/video/fbdev/au1100fb.c 		  	(fbdev->panel->bpp >> 3) * AU1100FB_NBR_VIDEO_BUFFERS;
panel             477 drivers/video/fbdev/au1100fb.c 	au1100fb_var.bits_per_pixel = fbdev->panel->bpp;
panel             478 drivers/video/fbdev/au1100fb.c 	au1100fb_var.xres = fbdev->panel->xres;
panel             480 drivers/video/fbdev/au1100fb.c 	au1100fb_var.yres = fbdev->panel->yres;
panel             102 drivers/video/fbdev/au1100fb.h 	struct au1100fb_panel 	*panel;		/* Panel connected to this device */
panel             374 drivers/video/fbdev/au1100fb.h #define panel_is_dual(panel)  (panel->control_base & LCD_CONTROL_DP)
panel             375 drivers/video/fbdev/au1100fb.h #define panel_is_active(panel)(panel->control_base & LCD_CONTROL_PT)
panel             376 drivers/video/fbdev/au1100fb.h #define panel_is_color(panel) (panel->control_base & LCD_CONTROL_PC)
panel             377 drivers/video/fbdev/au1100fb.h #define panel_swap_rgb(panel) (panel->control_base & LCD_CONTROL_CCO)
panel             184 drivers/video/fbdev/au1200fb.c static struct panel_settings *panel;
panel             718 drivers/video/fbdev/au1200fb.c 	if ((xpos + win->w[plane].xres) > panel->Xres) {
panel             720 drivers/video/fbdev/au1200fb.c 		xsz = panel->Xres - xpos; /* off by 1 ??? */
panel             724 drivers/video/fbdev/au1200fb.c 	if ((ypos + win->w[plane].yres) > panel->Yres) {
panel             726 drivers/video/fbdev/au1200fb.c 		ysz = panel->Yres - ypos; /* off by 1 ??? */
panel             814 drivers/video/fbdev/au1200fb.c 	panel = newpanel;
panel             816 drivers/video/fbdev/au1200fb.c 	printk("Panel(%s), %dx%d\n", panel->name, panel->Xres, panel->Yres);
panel             821 drivers/video/fbdev/au1200fb.c 	if (!(panel->mode_clkcontrol & LCD_CLKCONTROL_EXT))
panel             824 drivers/video/fbdev/au1200fb.c 		long r, pc = panel->lcdclk * 1000000;
panel             839 drivers/video/fbdev/au1200fb.c 	lcd->screen = panel->mode_screen;
panel             840 drivers/video/fbdev/au1200fb.c 	lcd->horztiming = panel->mode_horztiming;
panel             841 drivers/video/fbdev/au1200fb.c 	lcd->verttiming = panel->mode_verttiming;
panel             842 drivers/video/fbdev/au1200fb.c 	lcd->clkcontrol = panel->mode_clkcontrol;
panel             843 drivers/video/fbdev/au1200fb.c 	lcd->pwmdiv = panel->mode_pwmdiv;
panel             844 drivers/video/fbdev/au1200fb.c 	lcd->pwmhi = panel->mode_pwmhi;
panel             845 drivers/video/fbdev/au1200fb.c 	lcd->outmask = panel->mode_outmask;
panel             846 drivers/video/fbdev/au1200fb.c 	lcd->fifoctrl = panel->mode_fifoctrl;
panel             965 drivers/video/fbdev/au1200fb.c #define panel_is_color(panel) ((panel->mode_screen & LCD_SCREEN_PT) <= LCD_SCREEN_PT_CDSTN)
panel            1007 drivers/video/fbdev/au1200fb.c 	if (panel_is_color(panel)) {
panel            1077 drivers/video/fbdev/au1200fb.c 	if (!panel_is_active(panel)) {
panel            1080 drivers/video/fbdev/au1200fb.c 		if (!panel_is_color(panel)
panel            1081 drivers/video/fbdev/au1200fb.c 			&& (panel->control_base & LCD_CONTROL_MPI) && (pcd < 3)) {
panel            1211 drivers/video/fbdev/au1200fb.c 		au1200_setpanel(panel, fbdev->pd);
panel            1530 drivers/video/fbdev/au1200fb.c 	memcpy(&fbi->monspecs, &panel->monspecs, sizeof(struct fb_monspecs));
panel            1543 drivers/video/fbdev/au1200fb.c 		print_err("Cannot find valid mode for panel %s", panel->name);
panel            1662 drivers/video/fbdev/au1200fb.c 	panel = &known_lcd_panels[panel_index];
panel            1665 drivers/video/fbdev/au1200fb.c 	printk(DRIVER_NAME ": Panel %d %s\n", panel_index, panel->name);
panel            1671 drivers/video/fbdev/au1200fb.c 			win->w[plane].xres = panel->Xres;
panel            1673 drivers/video/fbdev/au1200fb.c 			win->w[plane].yres = panel->Yres;
panel            1743 drivers/video/fbdev/au1200fb.c 	au1200_setpanel(panel, pd);
panel            1811 drivers/video/fbdev/au1200fb.c 	au1200_setpanel(panel, pd);
panel             444 drivers/video/fbdev/da8xx-fb.c 		struct fb_videomode *panel)
panel             496 drivers/video/fbdev/da8xx-fb.c 	if ((panel->sync & FB_SYNC_HOR_HIGH_ACT) == 0)
panel             501 drivers/video/fbdev/da8xx-fb.c 	if ((panel->sync & FB_SYNC_VERT_HIGH_ACT) == 0)
panel             769 drivers/video/fbdev/da8xx-fb.c 		struct fb_videomode *panel)
panel             774 drivers/video/fbdev/da8xx-fb.c 	ret = da8xx_fb_calc_config_clk_divider(par, panel);
panel             780 drivers/video/fbdev/da8xx-fb.c 	if (panel->sync & FB_SYNC_CLK_INVERT)
panel             793 drivers/video/fbdev/da8xx-fb.c 	lcd_cfg_vertical_sync(panel->upper_margin, panel->vsync_len,
panel             794 drivers/video/fbdev/da8xx-fb.c 			panel->lower_margin);
panel             795 drivers/video/fbdev/da8xx-fb.c 	lcd_cfg_horizontal_sync(panel->left_margin, panel->hsync_len,
panel             796 drivers/video/fbdev/da8xx-fb.c 			panel->right_margin);
panel             799 drivers/video/fbdev/da8xx-fb.c 	ret = lcd_cfg_display(cfg, panel);
panel             807 drivers/video/fbdev/da8xx-fb.c 	ret = lcd_cfg_frame_buffer(par, (unsigned int)panel->xres,
panel             808 drivers/video/fbdev/da8xx-fb.c 				(unsigned int)panel->yres, bpp,
panel             466 drivers/video/fbdev/geode/gx1fb_core.c module_param_string(panel, panel_option, sizeof(panel_option), 0444);
panel             467 drivers/video/fbdev/geode/gx1fb_core.c MODULE_PARM_DESC(panel, "size of attached flat panel (<x>x<y>)");
panel              46 drivers/video/fbdev/mmp/core.c 	if (path->panel && path->panel->get_modelist)
panel              47 drivers/video/fbdev/mmp/core.c 		return path->panel->get_modelist(path->panel, modelist);
panel              72 drivers/video/fbdev/mmp/core.c void mmp_register_panel(struct mmp_panel *panel)
panel              79 drivers/video/fbdev/mmp/core.c 	list_add_tail(&panel->node, &panel_list);
panel              83 drivers/video/fbdev/mmp/core.c 		if (!strcmp(panel->plat_path_name, path->name)) {
panel              84 drivers/video/fbdev/mmp/core.c 			dev_info(panel->dev, "connect to path %s\n",
panel              86 drivers/video/fbdev/mmp/core.c 			path->panel = panel;
panel             102 drivers/video/fbdev/mmp/core.c void mmp_unregister_panel(struct mmp_panel *panel)
panel             107 drivers/video/fbdev/mmp/core.c 	list_del(&panel->node);
panel             110 drivers/video/fbdev/mmp/core.c 		if (path->panel && path->panel == panel) {
panel             111 drivers/video/fbdev/mmp/core.c 			dev_info(panel->dev, "disconnect from path %s\n",
panel             113 drivers/video/fbdev/mmp/core.c 			path->panel = NULL;
panel             157 drivers/video/fbdev/mmp/core.c 	struct mmp_panel *panel;
panel             176 drivers/video/fbdev/mmp/core.c 	list_for_each_entry(panel, &panel_list, node) {
panel             177 drivers/video/fbdev/mmp/core.c 		if (!strcmp(info->name, panel->plat_path_name)) {
panel             178 drivers/video/fbdev/mmp/core.c 			dev_info(path->dev, "get panel %s\n", panel->name);
panel             179 drivers/video/fbdev/mmp/core.c 			path->panel = panel;
panel             198 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		if (path->panel && path->panel->set_onoff)
panel             199 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 			path->panel->set_onoff(path->panel, 1);
panel             201 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		if (path->panel && path->panel->set_onoff)
panel             202 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 			path->panel->set_onoff(path->panel, 0);
panel              75 drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c static void tpohvga_onoff(struct mmp_panel *panel, int status)
panel              77 drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c 	struct tpohvga_plat_data *plat = panel->plat_data;
panel              85 drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c 			dev_warn(panel->dev, "init cmd failed(%d)\n", ret);
panel              89 drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c 			dev_warn(panel->dev, "poweroff cmd failed(%d)\n", ret);
panel             112 drivers/video/fbdev/mmp/panel/tpo_tj032md01bw.c static int tpohvga_get_modelist(struct mmp_panel *panel,
panel             506 drivers/video/fbdev/mx3fb.c static int sdc_init_panel(struct mx3fb_data *mx3fb, enum ipu_panel panel,
panel             546 drivers/video/fbdev/mx3fb.c 	switch (panel) {
panel             339 drivers/video/fbdev/omap/hwa742.c 	int scr_width = hwa742.fbdev->panel->x_res;
panel             340 drivers/video/fbdev/omap/hwa742.c 	int scr_height = hwa742.fbdev->panel->y_res;
panel             988 drivers/video/fbdev/omap/hwa742.c 	hwa742.auto_update_window.width = fbdev->panel->x_res;
panel             989 drivers/video/fbdev/omap/hwa742.c 	hwa742.auto_update_window.height = fbdev->panel->y_res;
panel              90 drivers/video/fbdev/omap/lcd_ams_delta.c static int ams_delta_panel_enable(struct lcd_panel *panel)
panel              97 drivers/video/fbdev/omap/lcd_ams_delta.c static void ams_delta_panel_disable(struct lcd_panel *panel)
panel              18 drivers/video/fbdev/omap/lcd_h3.c static int h3_panel_enable(struct lcd_panel *panel)
panel              32 drivers/video/fbdev/omap/lcd_h3.c static void h3_panel_disable(struct lcd_panel *panel)
panel              17 drivers/video/fbdev/omap/lcd_inn1510.c static int innovator1510_panel_enable(struct lcd_panel *panel)
panel              23 drivers/video/fbdev/omap/lcd_inn1510.c static void innovator1510_panel_disable(struct lcd_panel *panel)
panel              17 drivers/video/fbdev/omap/lcd_inn1610.c static int innovator1610_panel_init(struct lcd_panel *panel,
panel              38 drivers/video/fbdev/omap/lcd_inn1610.c static void innovator1610_panel_cleanup(struct lcd_panel *panel)
panel              44 drivers/video/fbdev/omap/lcd_inn1610.c static int innovator1610_panel_enable(struct lcd_panel *panel)
panel              52 drivers/video/fbdev/omap/lcd_inn1610.c static void innovator1610_panel_disable(struct lcd_panel *panel)
panel              35 drivers/video/fbdev/omap/lcd_mipid.c 						panel)
panel              48 drivers/video/fbdev/omap/lcd_mipid.c 	struct lcd_panel	panel;
panel             151 drivers/video/fbdev/omap/lcd_mipid.c 	set_data_lines(md, md->panel.data_lines);
panel             199 drivers/video/fbdev/omap/lcd_mipid.c static int mipid_set_bklight_level(struct lcd_panel *panel, unsigned int level)
panel             201 drivers/video/fbdev/omap/lcd_mipid.c 	struct mipid_device *md = to_mipid_device(panel);
panel             217 drivers/video/fbdev/omap/lcd_mipid.c static unsigned int mipid_get_bklight_level(struct lcd_panel *panel)
panel             219 drivers/video/fbdev/omap/lcd_mipid.c 	struct mipid_device *md = to_mipid_device(panel);
panel             227 drivers/video/fbdev/omap/lcd_mipid.c static unsigned int mipid_get_bklight_max(struct lcd_panel *panel)
panel             229 drivers/video/fbdev/omap/lcd_mipid.c 	struct mipid_device *md = to_mipid_device(panel);
panel             238 drivers/video/fbdev/omap/lcd_mipid.c static unsigned long mipid_get_caps(struct lcd_panel *panel)
panel             254 drivers/video/fbdev/omap/lcd_mipid.c 	switch (md->panel.data_lines) {
panel             271 drivers/video/fbdev/omap/lcd_mipid.c static int mipid_run_test(struct lcd_panel *panel, int test_num)
panel             273 drivers/video/fbdev/omap/lcd_mipid.c 	struct mipid_device *md = to_mipid_device(panel);
panel             400 drivers/video/fbdev/omap/lcd_mipid.c static int mipid_enable(struct lcd_panel *panel)
panel             402 drivers/video/fbdev/omap/lcd_mipid.c 	struct mipid_device *md = to_mipid_device(panel);
panel             414 drivers/video/fbdev/omap/lcd_mipid.c 	mipid_set_bklight_level(panel, md->saved_bklight_level);
panel             421 drivers/video/fbdev/omap/lcd_mipid.c static void mipid_disable(struct lcd_panel *panel)
panel             423 drivers/video/fbdev/omap/lcd_mipid.c 	struct mipid_device *md = to_mipid_device(panel);
panel             436 drivers/video/fbdev/omap/lcd_mipid.c 	md->saved_bklight_level = mipid_get_bklight_level(panel);
panel             437 drivers/video/fbdev/omap/lcd_mipid.c 	mipid_set_bklight_level(panel, 0);
panel             459 drivers/video/fbdev/omap/lcd_mipid.c static int mipid_init(struct lcd_panel *panel,
panel             462 drivers/video/fbdev/omap/lcd_mipid.c 	struct mipid_device *md = to_mipid_device(panel);
panel             473 drivers/video/fbdev/omap/lcd_mipid.c 		md->saved_bklight_level = mipid_get_bklight_level(panel);
panel             478 drivers/video/fbdev/omap/lcd_mipid.c static void mipid_cleanup(struct lcd_panel *panel)
panel             480 drivers/video/fbdev/omap/lcd_mipid.c 	struct mipid_device *md = to_mipid_device(panel);
panel             528 drivers/video/fbdev/omap/lcd_mipid.c 		md->panel.name = "lph8923";
panel             531 drivers/video/fbdev/omap/lcd_mipid.c 		md->panel.name = "ls041y3";
panel             535 drivers/video/fbdev/omap/lcd_mipid.c 		md->panel.name = "unknown";
panel             541 drivers/video/fbdev/omap/lcd_mipid.c 	md->panel.data_lines = pdata->data_lines;
panel             543 drivers/video/fbdev/omap/lcd_mipid.c 			md->panel.name, md->revision, md->panel.data_lines);
panel             562 drivers/video/fbdev/omap/lcd_mipid.c 	md->panel = mipid_panel;
panel             568 drivers/video/fbdev/omap/lcd_mipid.c 	omapfb_register_panel(&md->panel);
panel             577 drivers/video/fbdev/omap/lcd_mipid.c 	mipid_disable(&md->panel);
panel              19 drivers/video/fbdev/omap/lcd_osk.c static int osk_panel_enable(struct lcd_panel *panel)
panel              36 drivers/video/fbdev/omap/lcd_osk.c static void osk_panel_disable(struct lcd_panel *panel)
panel              22 drivers/video/fbdev/omap/lcd_palmtt.c static unsigned long palmtt_panel_get_caps(struct lcd_panel *panel)
panel              16 drivers/video/fbdev/omap/lcd_palmz71.c static unsigned long palmz71_panel_get_caps(struct lcd_panel *panel)
panel             284 drivers/video/fbdev/omap/lcdc.c 	struct lcd_panel *panel = lcdc.fbdev->panel;
panel             288 drivers/video/fbdev/omap/lcdc.c 		rot_x = panel->x_res;
panel             289 drivers/video/fbdev/omap/lcdc.c 		rot_y = panel->y_res;
panel             291 drivers/video/fbdev/omap/lcdc.c 		rot_x = panel->y_res;
panel             292 drivers/video/fbdev/omap/lcdc.c 		rot_y = panel->x_res;
panel             459 drivers/video/fbdev/omap/lcdc.c 	struct lcd_panel *panel = lcdc.fbdev->panel;
panel             460 drivers/video/fbdev/omap/lcdc.c 	int is_tft = panel->config & OMAP_LCDC_PANEL_TFT;
panel             470 drivers/video/fbdev/omap/lcdc.c 		l |= (is_tft && panel->bpp == 8) ? 0x810000 : 0;
panel             477 drivers/video/fbdev/omap/lcdc.c 	l |= (panel->config & OMAP_LCDC_SIGNAL_MASK) << 20;
panel             480 drivers/video/fbdev/omap/lcdc.c 	l = panel->x_res - 1;
panel             481 drivers/video/fbdev/omap/lcdc.c 	l |= (panel->hsw - 1) << 10;
panel             482 drivers/video/fbdev/omap/lcdc.c 	l |= (panel->hfp - 1) << 16;
panel             483 drivers/video/fbdev/omap/lcdc.c 	l |= (panel->hbp - 1) << 24;
panel             486 drivers/video/fbdev/omap/lcdc.c 	l = panel->y_res - 1;
panel             487 drivers/video/fbdev/omap/lcdc.c 	l |= (panel->vsw - 1) << 10;
panel             488 drivers/video/fbdev/omap/lcdc.c 	l |= panel->vfp << 16;
panel             489 drivers/video/fbdev/omap/lcdc.c 	l |= panel->vbp << 24;
panel             497 drivers/video/fbdev/omap/lcdc.c 	if (!panel->pcd)
panel             498 drivers/video/fbdev/omap/lcdc.c 		calc_ck_div(is_tft, panel->pixel_clock * 1000, &pcd);
panel             504 drivers/video/fbdev/omap/lcdc.c 			lck / panel->pcd / 1000, panel->name);
panel             506 drivers/video/fbdev/omap/lcdc.c 		pcd = panel->pcd;
panel             509 drivers/video/fbdev/omap/lcdc.c 	l |= panel->acb << 8;
panel             513 drivers/video/fbdev/omap/lcdc.c 	panel->pixel_clock = lck / pcd / 1000;
panel             623 drivers/video/fbdev/omap/lcdc.c 	struct lcd_panel *panel = lcdc.fbdev->panel;
panel             625 drivers/video/fbdev/omap/lcdc.c 	bpp = panel->bpp;
panel             628 drivers/video/fbdev/omap/lcdc.c 	frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res);
panel              78 drivers/video/fbdev/omap/omapfb.h 	int		(*init)		(struct lcd_panel *panel,
panel              80 drivers/video/fbdev/omap/omapfb.h 	void		(*cleanup)	(struct lcd_panel *panel);
panel              81 drivers/video/fbdev/omap/omapfb.h 	int		(*enable)	(struct lcd_panel *panel);
panel              82 drivers/video/fbdev/omap/omapfb.h 	void		(*disable)	(struct lcd_panel *panel);
panel              83 drivers/video/fbdev/omap/omapfb.h 	unsigned long	(*get_caps)	(struct lcd_panel *panel);
panel              84 drivers/video/fbdev/omap/omapfb.h 	int		(*set_bklight_level)(struct lcd_panel *panel,
panel              86 drivers/video/fbdev/omap/omapfb.h 	unsigned int	(*get_bklight_level)(struct lcd_panel *panel);
panel              87 drivers/video/fbdev/omap/omapfb.h 	unsigned int	(*get_bklight_max)  (struct lcd_panel *panel);
panel              88 drivers/video/fbdev/omap/omapfb.h 	int		(*run_test)	(struct lcd_panel *panel, int test_num);
panel             204 drivers/video/fbdev/omap/omapfb.h 	struct lcd_panel	*panel;			/* LCD panel */
panel             220 drivers/video/fbdev/omap/omapfb.h extern void omapfb_register_panel(struct lcd_panel *panel);
panel             143 drivers/video/fbdev/omap/omapfb_main.c 		struct lcd_panel *panel = fbdev->panel;
panel             145 drivers/video/fbdev/omap/omapfb_main.c 		int bpp = panel->bpp;
panel             327 drivers/video/fbdev/omap/omapfb_main.c 			if (fbdev->panel->enable)
panel             328 drivers/video/fbdev/omap/omapfb_main.c 				fbdev->panel->enable(fbdev->panel);
panel             337 drivers/video/fbdev/omap/omapfb_main.c 			if (fbdev->panel->disable)
panel             338 drivers/video/fbdev/omap/omapfb_main.c 				fbdev->panel->disable(fbdev->panel);
panel             452 drivers/video/fbdev/omap/omapfb_main.c 		if (plane->fbdev->panel->bpp == 12)
panel             476 drivers/video/fbdev/omap/omapfb_main.c 	struct lcd_panel *panel = fbdev->panel;
panel             489 drivers/video/fbdev/omap/omapfb_main.c 		xres_max = panel->x_res;
panel             491 drivers/video/fbdev/omap/omapfb_main.c 		yres_max = panel->y_res;
panel             493 drivers/video/fbdev/omap/omapfb_main.c 			var->xres = panel->x_res;
panel             494 drivers/video/fbdev/omap/omapfb_main.c 			var->yres = panel->y_res;
panel             500 drivers/video/fbdev/omap/omapfb_main.c 		xres_max = panel->y_res;
panel             502 drivers/video/fbdev/omap/omapfb_main.c 		yres_max = panel->x_res;
panel             504 drivers/video/fbdev/omap/omapfb_main.c 			var->xres = panel->y_res;
panel             505 drivers/video/fbdev/omap/omapfb_main.c 			var->yres = panel->x_res;
panel             571 drivers/video/fbdev/omap/omapfb_main.c 	var->pixclock		= 10000000 / (panel->pixel_clock / 100);
panel             572 drivers/video/fbdev/omap/omapfb_main.c 	var->left_margin	= panel->hfp;
panel             573 drivers/video/fbdev/omap/omapfb_main.c 	var->right_margin	= panel->hbp;
panel             574 drivers/video/fbdev/omap/omapfb_main.c 	var->upper_margin	= panel->vfp;
panel             575 drivers/video/fbdev/omap/omapfb_main.c 	var->lower_margin	= panel->vbp;
panel             576 drivers/video/fbdev/omap/omapfb_main.c 	var->hsync_len		= panel->hsw;
panel             577 drivers/video/fbdev/omap/omapfb_main.c 	var->vsync_len		= panel->vsw;
panel             688 drivers/video/fbdev/omap/omapfb_main.c 		xres = fbdev->panel->x_res;
panel             689 drivers/video/fbdev/omap/omapfb_main.c 		yres = fbdev->panel->y_res;
panel             693 drivers/video/fbdev/omap/omapfb_main.c 		xres = fbdev->panel->y_res;
panel             694 drivers/video/fbdev/omap/omapfb_main.c 		yres = fbdev->panel->x_res;
panel             768 drivers/video/fbdev/omap/omapfb_main.c 	struct lcd_panel *panel = fbdev->panel;
panel             772 drivers/video/fbdev/omap/omapfb_main.c 	if (pi->pos_x + pi->out_width > panel->x_res ||
panel             773 drivers/video/fbdev/omap/omapfb_main.c 	    pi->pos_y + pi->out_height > panel->y_res)
panel            1023 drivers/video/fbdev/omap/omapfb_main.c 	if (fbdev->panel->get_caps)
panel            1024 drivers/video/fbdev/omap/omapfb_main.c 		caps->ctrl |= fbdev->panel->get_caps(fbdev->panel);
panel            1170 drivers/video/fbdev/omap/omapfb_main.c 			if (!fbdev->panel->run_test) {
panel            1174 drivers/video/fbdev/omap/omapfb_main.c 			r = fbdev->panel->run_test(fbdev->panel, test_num);
panel            1310 drivers/video/fbdev/omap/omapfb_main.c 	return snprintf(buf, PAGE_SIZE, "%s\n", fbdev->panel->name);
panel            1320 drivers/video/fbdev/omap/omapfb_main.c 	if (fbdev->panel->get_bklight_level) {
panel            1322 drivers/video/fbdev/omap/omapfb_main.c 			     fbdev->panel->get_bklight_level(fbdev->panel));
panel            1335 drivers/video/fbdev/omap/omapfb_main.c 	if (fbdev->panel->set_bklight_level) {
panel            1339 drivers/video/fbdev/omap/omapfb_main.c 			r = fbdev->panel->set_bklight_level(fbdev->panel,
panel            1354 drivers/video/fbdev/omap/omapfb_main.c 	if (fbdev->panel->get_bklight_level) {
panel            1356 drivers/video/fbdev/omap/omapfb_main.c 			     fbdev->panel->get_bklight_max(fbdev->panel));
panel            1465 drivers/video/fbdev/omap/omapfb_main.c 	var->bits_per_pixel = fbdev->panel->bpp;
panel            1543 drivers/video/fbdev/omap/omapfb_main.c 		if (fbdev->panel->disable)
panel            1544 drivers/video/fbdev/omap/omapfb_main.c 			fbdev->panel->disable(fbdev->panel);
panel            1556 drivers/video/fbdev/omap/omapfb_main.c 		if (fbdev->panel->cleanup)
panel            1557 drivers/video/fbdev/omap/omapfb_main.c 			fbdev->panel->cleanup(fbdev->panel);
panel            1618 drivers/video/fbdev/omap/omapfb_main.c 				struct lcd_panel *panel)
panel            1651 drivers/video/fbdev/omap/omapfb_main.c 	fbdev->panel = panel;
panel            1668 drivers/video/fbdev/omap/omapfb_main.c 	if (fbdev->panel->init) {
panel            1669 drivers/video/fbdev/omap/omapfb_main.c 		r = fbdev->panel->init(fbdev->panel, fbdev);
panel            1674 drivers/video/fbdev/omap/omapfb_main.c 	pr_info("omapfb: configured for panel %s\n", fbdev->panel->name);
panel            1676 drivers/video/fbdev/omap/omapfb_main.c 	def_vxres = def_vxres ? def_vxres : fbdev->panel->x_res;
panel            1677 drivers/video/fbdev/omap/omapfb_main.c 	def_vyres = def_vyres ? def_vyres : fbdev->panel->y_res;
panel            1713 drivers/video/fbdev/omap/omapfb_main.c 	if (fbdev->panel->enable) {
panel            1714 drivers/video/fbdev/omap/omapfb_main.c 		r = fbdev->panel->enable(fbdev->panel);
panel            1738 drivers/video/fbdev/omap/omapfb_main.c 	panel = fbdev->panel;
panel            1739 drivers/video/fbdev/omap/omapfb_main.c 	phz = panel->pixel_clock * 1000;
panel            1740 drivers/video/fbdev/omap/omapfb_main.c 	hhz = phz * 10 / (panel->hfp + panel->x_res + panel->hbp + panel->hsw);
panel            1741 drivers/video/fbdev/omap/omapfb_main.c 	vhz = hhz / (panel->vfp + panel->y_res + panel->vbp + panel->vsw);
panel            1778 drivers/video/fbdev/omap/omapfb_main.c void omapfb_register_panel(struct lcd_panel *panel)
panel            1782 drivers/video/fbdev/omap/omapfb_main.c 	fbdev_panel = panel;
panel             131 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c 	dssdev->panel.timings = *timings;
panel             259 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c 	dssdev->panel.timings = tvc_pal_timings;
panel             120 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c 	dssdev->panel.timings = *timings;
panel             292 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c 	dssdev->panel.timings = dvic_default_timings;
panel             127 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c 	dssdev->panel.timings = *timings;
panel             264 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c 	dssdev->panel.timings = hdmic_default_timings;
panel             132 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c 	dssdev->panel.timings = *timings;
panel             129 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c 	dssdev->panel.timings = *timings;
panel             114 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c 	dssdev->panel.timings = *timings;
panel             118 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c 	dssdev->panel.timings = *timings;
panel             271 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c 	dssdev->panel.timings = ddata->videomode;
panel             380 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	*xres = dssdev->panel.timings.x_res;
panel             381 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	*yres = dssdev->panel.timings.y_res;
panel             884 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 			dssdev->panel.timings.x_res,
panel             885 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 			dssdev->panel.timings.y_res);
panel            1016 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 			dssdev->panel.timings.x_res *
panel            1017 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 			dssdev->panel.timings.y_res * 3);
panel            1185 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	dssdev->panel.timings = ddata->timings;
panel            1189 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	dssdev->panel.dsi_pix_fmt = OMAP_DSS_DSI_FMT_RGB888;
panel             203 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c 	dssdev->panel.timings = *timings;
panel             302 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c 	dssdev->panel.timings = ddata->videomode;
panel             194 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c 	dssdev->panel.timings = *timings;
panel             314 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c 	dssdev->panel.timings = ddata->videomode;
panel             160 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	dssdev->panel.timings = *timings;
panel             286 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	dssdev->panel.timings = ddata->videomode;
panel             660 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 	dssdev->panel.timings = *timings;
panel             844 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 	dssdev->panel.timings = ddata->videomode;
panel             322 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c 	dssdev->panel.timings = *timings;
panel             412 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c 	dssdev->panel.timings = ddata->videomode;
panel             423 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	dssdev->panel.timings = *timings;
panel             553 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	dssdev->panel.timings = ddata->videomode;
panel             105 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c 	struct omap_video_timings t = dssdev->panel.timings;
panel              27 drivers/video/fbdev/omap2/omapfb/dss/display.c 	*xres = dssdev->panel.timings.x_res;
panel              28 drivers/video/fbdev/omap2/omapfb/dss/display.c 	*yres = dssdev->panel.timings.y_res;
panel              47 drivers/video/fbdev/omap2/omapfb/dss/display.c 		if (dsi_get_pixel_size(dssdev->panel.dsi_pix_fmt) > 16)
panel              66 drivers/video/fbdev/omap2/omapfb/dss/display.c 	*timings = dssdev->panel.timings;
panel             639 drivers/video/fbdev/s1d13xxxfb.c 	u8 panel, display;
panel             680 drivers/video/fbdev/s1d13xxxfb.c 	panel = s1d13xxxfb_readreg(par, S1DREG_PANEL_TYPE);
panel             681 drivers/video/fbdev/s1d13xxxfb.c 	is_color = (panel & 0x04) != 0;
panel             682 drivers/video/fbdev/s1d13xxxfb.c 	is_dual = (panel & 0x02) != 0;
panel             683 drivers/video/fbdev/s1d13xxxfb.c 	is_tft = (panel & 0x01) != 0;
panel             684 drivers/video/fbdev/s1d13xxxfb.c 	lcd_bpp = s1d13xxxfb_width_tab[is_tft][(panel >> 4) & 3];
panel             461 drivers/video/fbdev/sh_mobile_lcdcfb.c 	const struct sh_mobile_lcdc_panel_cfg *panel = &ch->cfg->panel_cfg;
panel             486 drivers/video/fbdev/sh_mobile_lcdcfb.c 		if (panel->start_transfer)
panel             487 drivers/video/fbdev/sh_mobile_lcdcfb.c 			panel->start_transfer(ch, &sh_mobile_lcdc_sys_bus_ops);
panel             492 drivers/video/fbdev/sh_mobile_lcdcfb.c 		if (panel->start_transfer)
panel             493 drivers/video/fbdev/sh_mobile_lcdcfb.c 			panel->start_transfer(ch, &sh_mobile_lcdc_sys_bus_ops);
panel             508 drivers/video/fbdev/sh_mobile_lcdcfb.c 	const struct sh_mobile_lcdc_panel_cfg *panel = &ch->cfg->panel_cfg;
panel             522 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (panel->display_on)
panel             523 drivers/video/fbdev/sh_mobile_lcdcfb.c 		panel->display_on();
panel             528 drivers/video/fbdev/sh_mobile_lcdcfb.c 	const struct sh_mobile_lcdc_panel_cfg *panel = &ch->cfg->panel_cfg;
panel             530 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (panel->display_off)
panel             531 drivers/video/fbdev/sh_mobile_lcdcfb.c 		panel->display_off();
panel            1006 drivers/video/fbdev/sh_mobile_lcdcfb.c 		const struct sh_mobile_lcdc_panel_cfg *panel;
panel            1012 drivers/video/fbdev/sh_mobile_lcdcfb.c 		panel = &ch->cfg->panel_cfg;
panel            1013 drivers/video/fbdev/sh_mobile_lcdcfb.c 		if (panel->setup_sys) {
panel            1014 drivers/video/fbdev/sh_mobile_lcdcfb.c 			ret = panel->setup_sys(ch, &sh_mobile_lcdc_sys_bus_ops);
panel              88 include/acpi/acbuffer.h 	u8 panel;
panel              27 include/drm/bridge/analogix_dp.h 	struct drm_panel *panel;
panel             432 include/drm/drm_bridge.h struct drm_bridge *drm_panel_bridge_add(struct drm_panel *panel,
panel             436 include/drm/drm_bridge.h 					     struct drm_panel *panel,
panel              36 include/drm/drm_of.h 				struct drm_panel **panel,
panel              75 include/drm/drm_of.h 					      struct drm_panel **panel,
panel              69 include/drm/drm_panel.h 	int (*prepare)(struct drm_panel *panel);
panel              76 include/drm/drm_panel.h 	int (*enable)(struct drm_panel *panel);
panel              83 include/drm/drm_panel.h 	int (*disable)(struct drm_panel *panel);
panel              90 include/drm/drm_panel.h 	int (*unprepare)(struct drm_panel *panel);
panel              98 include/drm/drm_panel.h 	int (*get_modes)(struct drm_panel *panel);
panel             106 include/drm/drm_panel.h 	int (*get_timings)(struct drm_panel *panel, unsigned int num_timings,
panel             150 include/drm/drm_panel.h void drm_panel_init(struct drm_panel *panel);
panel             152 include/drm/drm_panel.h int drm_panel_add(struct drm_panel *panel);
panel             153 include/drm/drm_panel.h void drm_panel_remove(struct drm_panel *panel);
panel             155 include/drm/drm_panel.h int drm_panel_attach(struct drm_panel *panel, struct drm_connector *connector);
panel             156 include/drm/drm_panel.h void drm_panel_detach(struct drm_panel *panel);
panel             158 include/drm/drm_panel.h int drm_panel_prepare(struct drm_panel *panel);
panel             159 include/drm/drm_panel.h int drm_panel_unprepare(struct drm_panel *panel);
panel             161 include/drm/drm_panel.h int drm_panel_enable(struct drm_panel *panel);
panel             162 include/drm/drm_panel.h int drm_panel_disable(struct drm_panel *panel);
panel             164 include/drm/drm_panel.h int drm_panel_get_modes(struct drm_panel *panel);
panel             132 include/linux/amba/clcd.h 	struct clcd_panel	*panel;
panel             158 include/linux/amba/clcd.h 	if (fb->panel->cntl & CNTL_LCDDUAL)
panel             166 include/linux/amba/clcd.h 	val = fb->panel->tim2;
panel             171 include/linux/amba/clcd.h 	if (fb->panel->cntl & CNTL_LCDTFT)	  /* TFT */
panel             175 include/linux/amba/clcd.h 	else if (fb->panel->cntl & CNTL_LCDMONO8) /* STN monochrome, 8bit */
panel             182 include/linux/amba/clcd.h 	regs->tim3 = fb->panel->tim3;
panel             184 include/linux/amba/clcd.h 	val = fb->panel->cntl;
panel             188 include/linux/amba/clcd.h 	if (fb->panel->caps && fb->board->caps && var->bits_per_pixel >= 16) {
panel             202 include/linux/amba/clcd.h 		if (fb->panel->bgr_connection)
panel             271 include/linux/amba/clcd.h 	if (fb->panel->fixedtimings &&
panel              87 include/linux/platform_data/shmob_drm.h 	struct shmob_drm_panel_data panel;
panel             180 include/video/mmp_disp.h 	int (*get_modelist)(struct mmp_panel *panel,
panel             182 include/video/mmp_disp.h 	void (*set_mode)(struct mmp_panel *panel,
panel             184 include/video/mmp_disp.h 	void (*set_onoff)(struct mmp_panel *panel,
panel             219 include/video/mmp_disp.h 	struct mmp_panel *panel;
panel             309 include/video/mmp_disp.h extern void mmp_register_panel(struct mmp_panel *panel);
panel             310 include/video/mmp_disp.h extern void mmp_unregister_panel(struct mmp_panel *panel);
panel             636 include/video/omapfb_dss.h 	} panel;
panel             366 scripts/kconfig/nconf.gui.c 	PANEL *panel;
panel             426 scripts/kconfig/nconf.gui.c 	panel = new_panel(win);
panel             534 scripts/kconfig/nconf.gui.c 	del_panel(panel);
panel             565 scripts/kconfig/nconf.gui.c 	PANEL *panel;
panel             598 scripts/kconfig/nconf.gui.c 	panel = new_panel(win);
panel             661 scripts/kconfig/nconf.gui.c 	del_panel(panel);