vpanel 233 drivers/gpu/drm/panel/panel-arm-versatile.c struct versatile_panel *vpanel = to_versatile_panel(panel); vpanel 236 drivers/gpu/drm/panel/panel-arm-versatile.c if (vpanel->ib2_map) { vpanel 237 drivers/gpu/drm/panel/panel-arm-versatile.c dev_dbg(vpanel->dev, "disable IB2 display\n"); vpanel 238 drivers/gpu/drm/panel/panel-arm-versatile.c regmap_update_bits(vpanel->ib2_map, vpanel 249 drivers/gpu/drm/panel/panel-arm-versatile.c struct versatile_panel *vpanel = to_versatile_panel(panel); vpanel 252 drivers/gpu/drm/panel/panel-arm-versatile.c if (vpanel->ib2_map) { vpanel 253 drivers/gpu/drm/panel/panel-arm-versatile.c dev_dbg(vpanel->dev, "enable IB2 display\n"); vpanel 254 drivers/gpu/drm/panel/panel-arm-versatile.c regmap_update_bits(vpanel->ib2_map, vpanel 266 drivers/gpu/drm/panel/panel-arm-versatile.c struct versatile_panel *vpanel = to_versatile_panel(panel); vpanel 269 drivers/gpu/drm/panel/panel-arm-versatile.c connector->display_info.width_mm = vpanel->panel_type->width_mm; vpanel 270 drivers/gpu/drm/panel/panel-arm-versatile.c connector->display_info.height_mm = vpanel->panel_type->height_mm; vpanel 271 drivers/gpu/drm/panel/panel-arm-versatile.c connector->display_info.bus_flags = vpanel->panel_type->bus_flags; vpanel 273 drivers/gpu/drm/panel/panel-arm-versatile.c mode = drm_mode_duplicate(panel->drm, &vpanel->panel_type->mode); vpanel 277 drivers/gpu/drm/panel/panel-arm-versatile.c mode->width_mm = vpanel->panel_type->width_mm; vpanel 278 drivers/gpu/drm/panel/panel-arm-versatile.c mode->height_mm = vpanel->panel_type->height_mm; vpanel 293 drivers/gpu/drm/panel/panel-arm-versatile.c struct versatile_panel *vpanel; vpanel 311 drivers/gpu/drm/panel/panel-arm-versatile.c vpanel = devm_kzalloc(dev, sizeof(*vpanel), GFP_KERNEL); vpanel 312 drivers/gpu/drm/panel/panel-arm-versatile.c if (!vpanel) vpanel 328 drivers/gpu/drm/panel/panel-arm-versatile.c vpanel->panel_type = pt; vpanel 339 drivers/gpu/drm/panel/panel-arm-versatile.c dev_info(dev, "detected: %s\n", vpanel->panel_type->name); vpanel 340 drivers/gpu/drm/panel/panel-arm-versatile.c vpanel->dev = dev; vpanel 341 drivers/gpu/drm/panel/panel-arm-versatile.c vpanel->map = map; vpanel 344 drivers/gpu/drm/panel/panel-arm-versatile.c if (vpanel->panel_type->ib2) { vpanel 345 drivers/gpu/drm/panel/panel-arm-versatile.c vpanel->ib2_map = syscon_regmap_lookup_by_compatible( vpanel 347 drivers/gpu/drm/panel/panel-arm-versatile.c if (IS_ERR(vpanel->ib2_map)) vpanel 348 drivers/gpu/drm/panel/panel-arm-versatile.c vpanel->ib2_map = NULL; vpanel 353 drivers/gpu/drm/panel/panel-arm-versatile.c drm_panel_init(&vpanel->panel); vpanel 354 drivers/gpu/drm/panel/panel-arm-versatile.c vpanel->panel.dev = dev; vpanel 355 drivers/gpu/drm/panel/panel-arm-versatile.c vpanel->panel.funcs = &versatile_panel_drm_funcs; vpanel 357 drivers/gpu/drm/panel/panel-arm-versatile.c return drm_panel_add(&vpanel->panel);