/linux-5.19.10/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 51 FLD_GET(dsi_read_reg(dsi, idx), start, end) 745 FLD_GET(dsi_read_reg(dsi, DSI_##fld), start, end) in _dsi_print_reset_status() 889 while (FLD_GET(dsi_read_reg(dsi, DSI_CLK_CTRL), 29, 28) != state) { in dsi_pll_power() 1229 while (FLD_GET(dsi_read_reg(dsi, DSI_COMPLEXIO_CFG1), in dsi_cio_power() 1868 if (FLD_GET(r, 15, 15)) /* VC_BUSY */ in dsi_vc_initial_config() 1971 dt = FLD_GET(val, 5, 0); in dsi_vc_flush_receive_data() 1973 u16 err = FLD_GET(val, 23, 8); in dsi_vc_flush_receive_data() 1977 FLD_GET(val, 23, 8)); in dsi_vc_flush_receive_data() 1980 FLD_GET(val, 23, 8)); in dsi_vc_flush_receive_data() 1983 FLD_GET(val, 23, 8)); in dsi_vc_flush_receive_data() [all …]
|
D | hdmi4_cec.c | 131 if (FLD_GET(temp, 7, 7) == 0) in hdmi_cec_clear_tx_fifo() 148 if (FLD_GET(temp, 1, 0) == 0) in hdmi_cec_clear_rx_fifo() 222 if (FLD_GET(temp, 4, 4) != 0) { in hdmi_cec_adap_enable()
|
D | pll.c | 338 if (FLD_GET(readl_relaxed(reg), bitnum, bitnum) == value) in wait_for_bit_change() 345 if (FLD_GET(readl_relaxed(reg), bitnum, bitnum) == value) in wait_for_bit_change()
|
D | hdmi.h | 281 FLD_GET(hdmi_read_reg(base, idx), start, end)
|
D | dss.c | 55 FLD_GET(dss_read_reg(dss, idx), start, end) 1409 pr_info("OMAP DSS rev %d.%d\n", FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0)); in dss_probe_hardware()
|
D | dispc.c | 51 FLD_GET(dispc_read_reg(dispc, idx), start, end) 1234 if (FLD_GET(val, shift, shift) == 1) in dispc_ovl_get_channel_out() 1240 switch (FLD_GET(val, 31, 30)) { in dispc_ovl_get_channel_out() 3293 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor() 3294 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor() 3360 pcd = FLD_GET(l, 7, 0); in dispc_mgr_pclk_rate() 3448 lcd = FLD_GET(l, 23, 16); in dispc_dump_clocks() 4822 FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0)); in dispc_bind()
|
D | dss.h | 66 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end)) macro
|
/linux-5.19.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 111 FLD_GET(dsi_read_reg(dsidev, idx), start, end) 1199 FLD_GET(dsi_read_reg(dsidev, DSI_##fld), start, end) in _dsi_print_reset_status() 1354 while (FLD_GET(dsi_read_reg(dsidev, DSI_CLK_CTRL), 29, 28) != state) { in dsi_pll_power() 1753 while (FLD_GET(dsi_read_reg(dsidev, DSI_COMPLEXIO_CFG1), in dsi_cio_power() 2421 if (FLD_GET(r, 15, 15)) /* VC_BUSY */ in dsi_vc_initial_config() 2563 dt = FLD_GET(val, 5, 0); in dsi_vc_flush_receive_data() 2565 u16 err = FLD_GET(val, 23, 8); in dsi_vc_flush_receive_data() 2569 FLD_GET(val, 23, 8)); in dsi_vc_flush_receive_data() 2572 FLD_GET(val, 23, 8)); in dsi_vc_flush_receive_data() 2575 FLD_GET(val, 23, 8)); in dsi_vc_flush_receive_data() [all …]
|
D | pll.c | 196 if (FLD_GET(readl_relaxed(reg), bitnum, bitnum) == value) in wait_for_bit_change() 203 if (FLD_GET(readl_relaxed(reg), bitnum, bitnum) == value) in wait_for_bit_change()
|
D | dss.c | 56 FLD_GET(dss_read_reg(idx), start, end) 1138 FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0)); in dss_bind()
|
D | dispc.c | 49 FLD_GET(dispc_read_reg(idx), start, end) 986 if (FLD_GET(val, shift, shift) == 1) in dispc_ovl_get_channel_out() 992 switch (FLD_GET(val, 31, 30)) { in dispc_ovl_get_channel_out() 3195 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor() 3196 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor() 3240 lcd = FLD_GET(l, 23, 16); in dispc_mgr_lclk_rate() 3281 pcd = FLD_GET(l, 7, 0); in dispc_mgr_pclk_rate() 3366 lcd = FLD_GET(l, 23, 16); in dispc_dump_clocks() 3989 FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0)); in dispc_bind()
|
D | hdmi.h | 262 FLD_GET(hdmi_read_reg(base, idx), start, end)
|
D | dss.h | 61 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end)) macro
|
/linux-5.19.10/drivers/gpu/drm/tidss/ |
D | tidss_dispc.c | 380 static u32 FLD_GET(u32 val, u32 start, u32 end) in FLD_GET() function 392 return FLD_GET(dispc_read(dispc, idx), start, end); in REG_GET() 405 return FLD_GET(dispc_vid_read(dispc, hw_plane, idx), start, end); in VID_REG_GET() 419 return FLD_GET(dispc_vp_read(dispc, vp, idx), start, end); in VP_REG_GET() 433 return FLD_GET(dispc_ovr_read(dispc, ovr, idx), start, end); in OVR_REG_GET()
|