Home
last modified time | relevance | path

Searched refs:panel_info (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/video/fbdev/aty/
Dradeon_monitor.c178 rinfo->panel_info.pwr_delay = 200; in radeon_get_panel_info_BIOS()
186 rinfo->panel_info.xres = BIOS_IN16(tmp + 25); in radeon_get_panel_info_BIOS()
187 rinfo->panel_info.yres = BIOS_IN16(tmp + 27); in radeon_get_panel_info_BIOS()
189 rinfo->panel_info.xres, rinfo->panel_info.yres); in radeon_get_panel_info_BIOS()
191 rinfo->panel_info.pwr_delay = BIOS_IN16(tmp + 44); in radeon_get_panel_info_BIOS()
192 pr_debug("BIOS provided panel power delay: %d\n", rinfo->panel_info.pwr_delay); in radeon_get_panel_info_BIOS()
193 if (rinfo->panel_info.pwr_delay > 2000 || rinfo->panel_info.pwr_delay <= 0) in radeon_get_panel_info_BIOS()
194 rinfo->panel_info.pwr_delay = 2000; in radeon_get_panel_info_BIOS()
199 rinfo->panel_info.ref_divider = BIOS_IN16(tmp + 46); in radeon_get_panel_info_BIOS()
200 rinfo->panel_info.post_divider = BIOS_IN8(tmp + 48); in radeon_get_panel_info_BIOS()
[all …]
Dradeon_base.c1100 radeon_msleep(rinfo->panel_info.pwr_delay); in radeon_screen_blank()
1107 msecs_to_jiffies(rinfo->panel_info.pwr_delay)); in radeon_screen_blank()
1133 msecs_to_jiffies(rinfo->panel_info.pwr_delay)); in radeon_screen_blank()
1679 if (rinfo->panel_info.xres < mode->xres) in radeonfb_set_par()
1680 mode->xres = rinfo->panel_info.xres; in radeonfb_set_par()
1681 if (rinfo->panel_info.yres < mode->yres) in radeonfb_set_par()
1682 mode->yres = rinfo->panel_info.yres; in radeonfb_set_par()
1684 hTotal = mode->xres + rinfo->panel_info.hblank; in radeonfb_set_par()
1685 hSyncStart = mode->xres + rinfo->panel_info.hOver_plus; in radeonfb_set_par()
1686 hSyncEnd = hSyncStart + rinfo->panel_info.hSync_width; in radeonfb_set_par()
[all …]
Dradeon_backlight.c80 jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay)); in radeon_bl_update_status()
109 jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay)); in radeon_bl_update_status()
Dradeonfb.h255 struct panel_info { struct
332 struct panel_info panel_info; member
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-innolux-ej030na.c35 const struct ej030na_info *panel_info; member
157 const struct ej030na_info *panel_info = priv->panel_info; in ej030na_get_modes() local
161 for (i = 0; i < panel_info->num_modes; i++) { in ej030na_get_modes()
163 &panel_info->display_modes[i]); in ej030na_get_modes()
170 if (panel_info->num_modes == 1) in ej030na_get_modes()
177 connector->display_info.width_mm = panel_info->width_mm; in ej030na_get_modes()
178 connector->display_info.height_mm = panel_info->height_mm; in ej030na_get_modes()
181 &panel_info->bus_format, 1); in ej030na_get_modes()
182 connector->display_info.bus_flags = panel_info->bus_flags; in ej030na_get_modes()
184 return panel_info->num_modes; in ej030na_get_modes()
[all …]
Dpanel-orisetech-ota5601a.c37 const struct ota5601a_panel_info *panel_info; member
195 const struct ota5601a_panel_info *panel_info = panel->panel_info; in ota5601a_get_modes() local
199 for (i = 0; i < panel_info->num_modes; i++) { in ota5601a_get_modes()
201 &panel_info->display_modes[i]); in ota5601a_get_modes()
208 if (panel_info->num_modes == 1) in ota5601a_get_modes()
215 connector->display_info.width_mm = panel_info->width_mm; in ota5601a_get_modes()
216 connector->display_info.height_mm = panel_info->height_mm; in ota5601a_get_modes()
219 &panel_info->bus_format, 1); in ota5601a_get_modes()
220 connector->display_info.bus_flags = panel_info->bus_flags; in ota5601a_get_modes()
222 return panel_info->num_modes; in ota5601a_get_modes()
[all …]
Dpanel-newvision-nv3052c.c41 const struct nv3052c_panel_info *panel_info; member
640 const struct nv3052c_reg *panel_regs = priv->panel_info->panel_regs; in nv3052c_prepare()
641 unsigned int panel_regs_len = priv->panel_info->panel_regs_len; in nv3052c_prepare()
736 const struct nv3052c_panel_info *panel_info = priv->panel_info; in nv3052c_get_modes() local
740 for (i = 0; i < panel_info->num_modes; i++) { in nv3052c_get_modes()
742 &panel_info->display_modes[i]); in nv3052c_get_modes()
749 if (panel_info->num_modes == 1) in nv3052c_get_modes()
756 connector->display_info.width_mm = panel_info->width_mm; in nv3052c_get_modes()
757 connector->display_info.height_mm = panel_info->height_mm; in nv3052c_get_modes()
760 &panel_info->bus_format, 1); in nv3052c_get_modes()
[all …]
Dpanel-auo-a030jtn01.c44 const struct a030jtn01_info *panel_info; member
141 const struct a030jtn01_info *panel_info = priv->panel_info; in a030jtn01_get_modes() local
145 for (i = 0; i < panel_info->num_modes; i++) { in a030jtn01_get_modes()
147 &panel_info->display_modes[i]); in a030jtn01_get_modes()
154 if (panel_info->num_modes == 1) in a030jtn01_get_modes()
161 connector->display_info.width_mm = panel_info->width_mm; in a030jtn01_get_modes()
162 connector->display_info.height_mm = panel_info->height_mm; in a030jtn01_get_modes()
165 &panel_info->bus_format, 1); in a030jtn01_get_modes()
166 connector->display_info.bus_flags = panel_info->bus_flags; in a030jtn01_get_modes()
168 return panel_info->num_modes; in a030jtn01_get_modes()
[all …]
Dpanel-novatek-nt39016.c60 const struct nt39016_panel_info *panel_info; member
205 const struct nt39016_panel_info *panel_info = panel->panel_info; in nt39016_get_modes() local
209 for (i = 0; i < panel_info->num_modes; i++) { in nt39016_get_modes()
211 &panel_info->display_modes[i]); in nt39016_get_modes()
218 if (panel_info->num_modes == 1) in nt39016_get_modes()
225 connector->display_info.width_mm = panel_info->width_mm; in nt39016_get_modes()
226 connector->display_info.height_mm = panel_info->height_mm; in nt39016_get_modes()
229 &panel_info->bus_format, 1); in nt39016_get_modes()
230 connector->display_info.bus_flags = panel_info->bus_flags; in nt39016_get_modes()
232 return panel_info->num_modes; in nt39016_get_modes()
[all …]
Dpanel-boe-himax8279d.c42 struct panel_info { struct
52 static inline struct panel_info *to_panel_info(struct drm_panel *panel) in to_panel_info() argument
54 return container_of(panel, struct panel_info, base); in to_panel_info()
57 static void disable_gpios(struct panel_info *pinfo) in disable_gpios()
66 struct panel_info *pinfo = to_panel_info(panel); in send_mipi_cmds()
83 struct panel_info *pinfo = to_panel_info(panel); in boe_panel_disable()
97 struct panel_info *pinfo = to_panel_info(panel); in boe_panel_unprepare()
118 struct panel_info *pinfo = to_panel_info(panel); in boe_panel_prepare()
176 struct panel_info *pinfo = to_panel_info(panel); in boe_panel_enable()
193 struct panel_info *pinfo = to_panel_info(panel); in boe_panel_get_modes()
[all …]
Dpanel-abt-y030xx067a.c126 const struct y030xx067a_info *panel_info; member
231 const struct y030xx067a_info *panel_info = priv->panel_info; in y030xx067a_get_modes() local
235 for (i = 0; i < panel_info->num_modes; i++) { in y030xx067a_get_modes()
237 &panel_info->display_modes[i]); in y030xx067a_get_modes()
244 if (panel_info->num_modes == 1) in y030xx067a_get_modes()
251 connector->display_info.width_mm = panel_info->width_mm; in y030xx067a_get_modes()
252 connector->display_info.height_mm = panel_info->height_mm; in y030xx067a_get_modes()
255 &panel_info->bus_format, 1); in y030xx067a_get_modes()
256 connector->display_info.bus_flags = panel_info->bus_flags; in y030xx067a_get_modes()
258 return panel_info->num_modes; in y030xx067a_get_modes()
[all …]
Dpanel-magnachip-d53e6ea8966.c67 const struct d53e6ea8966_panel_info *panel_info; member
238 db->panel_info->panel_init_seq(db); in d53e6ea8966_prepare()
291 const struct d53e6ea8966_panel_info *panel_info = db->panel_info; in d53e6ea8966_get_modes() local
296 for (i = 0; i < panel_info->num_modes; i++) { in d53e6ea8966_get_modes()
298 &panel_info->display_modes[i]); in d53e6ea8966_get_modes()
307 connector->display_info.width_mm = panel_info->width_mm; in d53e6ea8966_get_modes()
308 connector->display_info.height_mm = panel_info->height_mm; in d53e6ea8966_get_modes()
309 connector->display_info.bus_flags = panel_info->bus_flags; in d53e6ea8966_get_modes()
381 db->panel_info = of_device_get_match_data(dev); in d53e6ea8966_probe()
382 if (!db->panel_info) in d53e6ea8966_probe()
[all …]
Dpanel-newvision-nv3051d.c38 const struct nv3051d_panel_info *panel_info; member
325 const struct nv3051d_panel_info *panel_info = ctx->panel_info; in panel_nv3051d_get_modes() local
329 for (i = 0; i < panel_info->num_modes; i++) { in panel_nv3051d_get_modes()
331 &panel_info->display_modes[i]); in panel_nv3051d_get_modes()
338 if (panel_info->num_modes == 1) in panel_nv3051d_get_modes()
345 connector->display_info.width_mm = panel_info->width_mm; in panel_nv3051d_get_modes()
346 connector->display_info.height_mm = panel_info->height_mm; in panel_nv3051d_get_modes()
347 connector->display_info.bus_flags = panel_info->bus_flags; in panel_nv3051d_get_modes()
349 return panel_info->num_modes; in panel_nv3051d_get_modes()
370 ctx->panel_info = of_device_get_match_data(dev); in panel_nv3051d_probe()
[all …]
Dpanel-novatek-nt36523.c32 struct panel_info { struct
55 int (*init_sequence)(struct panel_info *pinfo); argument
61 static inline struct panel_info *to_panel_info(struct drm_panel *panel) in to_panel_info()
63 return container_of(panel, struct panel_info, panel); in to_panel_info()
66 static int elish_boe_init_sequence(struct panel_info *pinfo) in elish_boe_init_sequence()
286 static int elish_csot_init_sequence(struct panel_info *pinfo) in elish_csot_init_sequence()
484 static int j606f_boe_init_sequence(struct panel_info *pinfo) in j606f_boe_init_sequence()
1028 static void nt36523_reset(struct panel_info *pinfo) in nt36523_reset()
1042 struct panel_info *pinfo = to_panel_info(panel); in nt36523_prepare()
1065 struct panel_info *pinfo = to_panel_info(panel); in nt36523_disable()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_compressor.c791 struct embedded_panel_info panel_info; in dce112_compressor_construct() local
823 bp->funcs->get_embedded_panel_info(bp, &panel_info)) { in dce112_compressor_construct()
825 panel_info.lcd_timing.horizontal_addressable; in dce112_compressor_construct()
827 panel_info.lcd_timing.vertical_addressable; in dce112_compressor_construct()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c1128 struct embedded_panel_info panel_info; in get_ss_info_from_ss_info_table() local
1130 if (bios_parser_get_embedded_panel_info(&bp->base, &panel_info) in get_ss_info_from_ss_info_table()
1132 id_local = panel_info.ss_id; in get_ss_info_from_ss_info_table()
1656 struct embedded_panel_info panel_info; in get_ss_entry_number_from_ss_info_tbl() local
1658 if (bios_parser_get_embedded_panel_info(&bp->base, &panel_info) in get_ss_entry_number_from_ss_info_tbl()
1660 id_local = panel_info.ss_id; in get_ss_entry_number_from_ss_info_tbl()
/linux-6.12.1/drivers/video/fbdev/
Dbroadsheetfb.c38 struct panel_info { struct
52 static struct panel_info panel_table[] = { argument