Lines Matching refs:dispc_device
284 struct dispc_device { struct
313 static void dispc_write(struct dispc_device *dispc, u16 reg, u32 val) in dispc_write() argument
318 static u32 dispc_read(struct dispc_device *dispc, u16 reg) in dispc_read()
324 void dispc_vid_write(struct dispc_device *dispc, u32 hw_plane, u16 reg, u32 val) in dispc_vid_write()
331 static u32 dispc_vid_read(struct dispc_device *dispc, u32 hw_plane, u16 reg) in dispc_vid_read()
338 static void dispc_ovr_write(struct dispc_device *dispc, u32 hw_videoport, in dispc_ovr_write()
346 static u32 dispc_ovr_read(struct dispc_device *dispc, u32 hw_videoport, u16 reg) in dispc_ovr_read()
353 static void dispc_vp_write(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_write()
361 static u32 dispc_vp_read(struct dispc_device *dispc, u32 hw_videoport, u16 reg) in dispc_vp_read()
393 static u32 REG_GET(struct dispc_device *dispc, u32 idx, u32 start, u32 end) in REG_GET()
398 static void REG_FLD_MOD(struct dispc_device *dispc, u32 idx, u32 val, in REG_FLD_MOD()
405 static u32 VID_REG_GET(struct dispc_device *dispc, u32 hw_plane, u32 idx, in VID_REG_GET()
411 static void VID_REG_FLD_MOD(struct dispc_device *dispc, u32 hw_plane, u32 idx, in VID_REG_FLD_MOD()
419 static u32 VP_REG_GET(struct dispc_device *dispc, u32 vp, u32 idx, in VP_REG_GET()
425 static void VP_REG_FLD_MOD(struct dispc_device *dispc, u32 vp, u32 idx, u32 val, in VP_REG_FLD_MOD()
433 static u32 OVR_REG_GET(struct dispc_device *dispc, u32 ovr, u32 idx, in OVR_REG_GET()
439 static void OVR_REG_FLD_MOD(struct dispc_device *dispc, u32 ovr, u32 idx, in OVR_REG_FLD_MOD()
499 static dispc_irq_t dispc_k2g_vp_read_irqstatus(struct dispc_device *dispc, in dispc_k2g_vp_read_irqstatus()
507 static void dispc_k2g_vp_write_irqstatus(struct dispc_device *dispc, in dispc_k2g_vp_write_irqstatus()
515 static dispc_irq_t dispc_k2g_vid_read_irqstatus(struct dispc_device *dispc, in dispc_k2g_vid_read_irqstatus()
523 static void dispc_k2g_vid_write_irqstatus(struct dispc_device *dispc, in dispc_k2g_vid_write_irqstatus()
531 static dispc_irq_t dispc_k2g_vp_read_irqenable(struct dispc_device *dispc, in dispc_k2g_vp_read_irqenable()
539 static void dispc_k2g_vp_set_irqenable(struct dispc_device *dispc, in dispc_k2g_vp_set_irqenable()
547 static dispc_irq_t dispc_k2g_vid_read_irqenable(struct dispc_device *dispc, in dispc_k2g_vid_read_irqenable()
555 static void dispc_k2g_vid_set_irqenable(struct dispc_device *dispc, in dispc_k2g_vid_set_irqenable()
563 static void dispc_k2g_clear_irqstatus(struct dispc_device *dispc, in dispc_k2g_clear_irqstatus()
571 dispc_irq_t dispc_k2g_read_and_clear_irqstatus(struct dispc_device *dispc) in dispc_k2g_read_and_clear_irqstatus()
587 static dispc_irq_t dispc_k2g_read_irqenable(struct dispc_device *dispc) in dispc_k2g_read_irqenable()
598 void dispc_k2g_set_irqenable(struct dispc_device *dispc, dispc_irq_t mask) in dispc_k2g_set_irqenable()
614 static dispc_irq_t dispc_k3_vp_read_irqstatus(struct dispc_device *dispc, in dispc_k3_vp_read_irqstatus()
622 static void dispc_k3_vp_write_irqstatus(struct dispc_device *dispc, in dispc_k3_vp_write_irqstatus()
630 static dispc_irq_t dispc_k3_vid_read_irqstatus(struct dispc_device *dispc, in dispc_k3_vid_read_irqstatus()
638 static void dispc_k3_vid_write_irqstatus(struct dispc_device *dispc, in dispc_k3_vid_write_irqstatus()
646 static dispc_irq_t dispc_k3_vp_read_irqenable(struct dispc_device *dispc, in dispc_k3_vp_read_irqenable()
654 static void dispc_k3_vp_set_irqenable(struct dispc_device *dispc, in dispc_k3_vp_set_irqenable()
662 static dispc_irq_t dispc_k3_vid_read_irqenable(struct dispc_device *dispc, in dispc_k3_vid_read_irqenable()
670 static void dispc_k3_vid_set_irqenable(struct dispc_device *dispc, in dispc_k3_vid_set_irqenable()
679 void dispc_k3_clear_irqstatus(struct dispc_device *dispc, dispc_irq_t clearmask) in dispc_k3_clear_irqstatus()
706 dispc_irq_t dispc_k3_read_and_clear_irqstatus(struct dispc_device *dispc) in dispc_k3_read_and_clear_irqstatus()
722 static dispc_irq_t dispc_k3_read_irqenable(struct dispc_device *dispc) in dispc_k3_read_irqenable()
736 static void dispc_k3_set_irqenable(struct dispc_device *dispc, in dispc_k3_set_irqenable()
774 dispc_irq_t dispc_read_and_clear_irqstatus(struct dispc_device *dispc) in dispc_read_and_clear_irqstatus()
788 void dispc_set_irqenable(struct dispc_device *dispc, dispc_irq_t mask) in dispc_set_irqenable()
826 struct dispc_bus_format *dispc_vp_find_bus_fmt(struct dispc_device *dispc, in dispc_vp_find_bus_fmt()
840 int dispc_vp_bus_check(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_bus_check()
864 static void dispc_oldi_tx_power(struct dispc_device *dispc, bool power) in dispc_oldi_tx_power()
883 static void dispc_set_num_datalines(struct dispc_device *dispc, in dispc_set_num_datalines()
909 static void dispc_enable_oldi(struct dispc_device *dispc, u32 hw_videoport, in dispc_enable_oldi()
946 void dispc_vp_prepare(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_prepare()
965 void dispc_vp_enable(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_enable()
1036 void dispc_vp_disable(struct dispc_device *dispc, u32 hw_videoport) in dispc_vp_disable()
1041 void dispc_vp_unprepare(struct dispc_device *dispc, u32 hw_videoport) in dispc_vp_unprepare()
1050 bool dispc_vp_go_busy(struct dispc_device *dispc, u32 hw_videoport) in dispc_vp_go_busy()
1055 void dispc_vp_go(struct dispc_device *dispc, u32 hw_videoport) in dispc_vp_go()
1101 static void dispc_vp_set_default_color(struct dispc_device *dispc, in dispc_vp_set_default_color()
1114 enum drm_mode_status dispc_vp_mode_valid(struct dispc_device *dispc, in dispc_vp_mode_valid()
1188 int dispc_vp_enable_clk(struct dispc_device *dispc, u32 hw_videoport) in dispc_vp_enable_clk()
1199 void dispc_vp_disable_clk(struct dispc_device *dispc, u32 hw_videoport) in dispc_vp_disable_clk()
1216 int dispc_vp_set_clk_rate(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_set_clk_rate()
1243 static void dispc_k2g_ovr_set_plane(struct dispc_device *dispc, in dispc_k2g_ovr_set_plane()
1252 static void dispc_am65x_ovr_set_plane(struct dispc_device *dispc, in dispc_am65x_ovr_set_plane()
1264 static void dispc_j721e_ovr_set_plane(struct dispc_device *dispc, in dispc_j721e_ovr_set_plane()
1276 void dispc_ovr_set_plane(struct dispc_device *dispc, u32 hw_plane, in dispc_ovr_set_plane()
1298 void dispc_ovr_enable_layer(struct dispc_device *dispc, in dispc_ovr_enable_layer()
1387 static void dispc_k2g_vid_write_csc(struct dispc_device *dispc, u32 hw_plane, in dispc_k2g_vid_write_csc()
1410 static void dispc_k3_vid_write_csc(struct dispc_device *dispc, u32 hw_plane, in dispc_k3_vid_write_csc()
1507 static void dispc_vid_csc_setup(struct dispc_device *dispc, u32 hw_plane, in dispc_vid_csc_setup()
1525 static void dispc_vid_csc_enable(struct dispc_device *dispc, u32 hw_plane, in dispc_vid_csc_enable()
1545 static void dispc_vid_write_fir_coefs(struct dispc_device *dispc, in dispc_vid_write_fir_coefs()
1614 static int dispc_vid_calc_scaling(struct dispc_device *dispc, in dispc_vid_calc_scaling()
1778 static void dispc_vid_set_scaling(struct dispc_device *dispc, in dispc_vid_set_scaling()
1878 static void dispc_plane_set_pixel_format(struct dispc_device *dispc, in dispc_plane_set_pixel_format()
1895 const u32 *dispc_plane_formats(struct dispc_device *dispc, unsigned int *len) in dispc_plane_formats()
1917 int dispc_plane_check(struct dispc_device *dispc, u32 hw_plane, in dispc_plane_check()
1988 int dispc_plane_setup(struct dispc_device *dispc, u32 hw_plane, in dispc_plane_setup()
2073 int dispc_plane_enable(struct dispc_device *dispc, u32 hw_plane, bool enable) in dispc_plane_enable()
2080 static u32 dispc_vid_get_fifo_size(struct dispc_device *dispc, u32 hw_plane) in dispc_vid_get_fifo_size()
2085 static void dispc_vid_set_mflag_threshold(struct dispc_device *dispc, in dispc_vid_set_mflag_threshold()
2092 static void dispc_vid_set_buf_threshold(struct dispc_device *dispc, in dispc_vid_set_buf_threshold()
2099 static void dispc_k2g_plane_init(struct dispc_device *dispc) in dispc_k2g_plane_init()
2149 static void dispc_k3_plane_init(struct dispc_device *dispc) in dispc_k3_plane_init()
2200 static void dispc_plane_init(struct dispc_device *dispc) in dispc_plane_init()
2215 static void dispc_vp_init(struct dispc_device *dispc) in dispc_vp_init()
2226 static void dispc_initial_config(struct dispc_device *dispc) in dispc_initial_config()
2240 static void dispc_k2g_vp_write_gamma_table(struct dispc_device *dispc, in dispc_k2g_vp_write_gamma_table()
2262 static void dispc_am65x_vp_write_gamma_table(struct dispc_device *dispc, in dispc_am65x_vp_write_gamma_table()
2283 static void dispc_j721e_vp_write_gamma_table(struct dispc_device *dispc, in dispc_j721e_vp_write_gamma_table()
2305 static void dispc_vp_write_gamma_table(struct dispc_device *dispc, in dispc_vp_write_gamma_table()
2329 static void dispc_vp_set_gamma(struct dispc_device *dispc, in dispc_vp_set_gamma()
2423 static void dispc_k2g_vp_write_csc(struct dispc_device *dispc, u32 hw_videoport, in dispc_k2g_vp_write_csc()
2440 static void dispc_k2g_vp_set_ctm(struct dispc_device *dispc, u32 hw_videoport, in dispc_k2g_vp_set_ctm()
2488 static void dispc_k3_vp_write_csc(struct dispc_device *dispc, u32 hw_videoport, in dispc_k3_vp_write_csc()
2506 static void dispc_k3_vp_set_ctm(struct dispc_device *dispc, u32 hw_videoport, in dispc_k3_vp_set_ctm()
2523 static void dispc_vp_set_color_mgmt(struct dispc_device *dispc, in dispc_vp_set_color_mgmt()
2551 void dispc_vp_setup(struct dispc_device *dispc, u32 hw_videoport, in dispc_vp_setup()
2558 int dispc_runtime_suspend(struct dispc_device *dispc) in dispc_runtime_suspend()
2569 int dispc_runtime_resume(struct dispc_device *dispc) in dispc_runtime_resume()
2628 struct dispc_device *dispc) in dispc_init_am65x_oldi_io_ctrl()
2643 static void dispc_init_errata(struct dispc_device *dispc) in dispc_init_errata()
2656 static void dispc_softreset(struct dispc_device *dispc) in dispc_softreset()
2674 struct dispc_device *dispc; in dispc_init()