/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | hdmi4_core.c | 55 if (REG_GET(base, HDMI_CORE_DDC_STATUS, 4, 4) == 1) { in hdmi_core_ddc_init() 127 if (REG_GET(base, HDMI_CORE_DDC_STATUS, 6, 6) == 1) { in hdmi_core_ddc_edid() 132 if (REG_GET(base, HDMI_CORE_DDC_STATUS, 5, 5) == 1) { in hdmi_core_ddc_edid() 141 if (REG_GET(base, HDMI_CORE_DDC_STATUS, 4, 4) == 0) { in hdmi_core_ddc_edid() 148 while (REG_GET(base, HDMI_CORE_DDC_STATUS, 2, 2) == 1) { in hdmi_core_ddc_edid() 156 pedid[i] = REG_GET(base, HDMI_CORE_DDC_DATA, 7, 0); in hdmi_core_ddc_edid()
|
D | hdmi.h | 271 #define REG_GET(base, idx, start, end) \ macro 278 while (val != (v = REG_GET(base_addr, idx, b2, b1))) { in hdmi_wait_for_bit_change()
|
D | dsi.c | 121 #define REG_GET(dsidev, idx, start, end) \ macro 512 if (REG_GET(dsidev, idx, bitnum, bitnum) == value) in wait_for_bit_change() 519 if (REG_GET(dsidev, idx, bitnum, bitnum) == value) in wait_for_bit_change() 1796 val = REG_GET(dsidev, DSI_GNQ, 14, 12); /* VP1_LINE_BUFFER_SIZE */ in dsi_get_line_buf_size() 2292 return REG_GET(dsidev, DSI_VC_CTRL(channel), 0, 0); in dsi_vc_is_enabled() 2303 if (REG_GET(vp_data->dsidev, DSI_VC_TE(channel), bit, bit) == 0) in dsi_packet_sent_handler_vp() 2326 if (REG_GET(dsidev, DSI_VC_TE(channel), bit, bit)) { in dsi_sync_vc_vp() 2353 if (REG_GET(l4_data->dsidev, DSI_VC_CTRL(channel), 5, 5) == 0) in dsi_packet_sent_handler_l4() 2372 if (REG_GET(dsidev, DSI_VC_CTRL(channel), 5, 5)) { in dsi_sync_vc_l4() 2527 while (REG_GET(dsidev, DSI_VC_CTRL(channel), 20, 20)) { in dsi_vc_flush_long_data() [all …]
|
D | dispc.c | 59 #define REG_GET(idx, start, end) \ macro 265 return REG_GET(rfld.reg, rfld.high, rfld.low); in mgr_fld_read() 585 return REG_GET(DISPC_CONTROL2, 6, 6) == 1; in dispc_wb_go_busy() 593 enable = REG_GET(DISPC_OVL_ATTRIBUTES(plane), 0, 0) == 1; in dispc_wb_go() 598 go = REG_GET(DISPC_CONTROL2, 6, 6) == 1; in dispc_wb_go() 1152 size = REG_GET(DISPC_OVL_FIFO_SIZE_STATUS(fifo), start, end); in dispc_init_fifos() 1232 REG_GET(DISPC_OVL_FIFO_THRESHOLD(plane), in dispc_ovl_set_fifo_threshold() 1234 REG_GET(DISPC_OVL_FIFO_THRESHOLD(plane), in dispc_ovl_set_fifo_threshold() 2836 return REG_GET(DISPC_OVL_ATTRIBUTES(plane), 0, 0); in dispc_ovl_enabled() 3693 cinfo->lck_div = REG_GET(DISPC_DIVISORo(channel), 23, 16); in dispc_mgr_get_clock_div() [all …]
|
D | hdmi5.c | 338 idlemode = REG_GET(hdmi.wp.base, HDMI_WP_SYSCONFIG, 3, 2); in read_edid() 722 REG_GET(hdmi.wp.base, HDMI_WP_SYSCONFIG, 3, 2); in hdmi_audio_register()
|
D | hdmi_wp.c | 72 if (REG_GET(wp->base, HDMI_WP_PWR_CTRL, 5, 4) == val) in hdmi_wp_set_phy_pwr()
|
D | dss.c | 65 #define REG_GET(idx, start, end) \ macro 659 return REG_GET(DSS_CONTROL, 15, 15); in dss_get_hdmi_venc_clk_source()
|
D | hdmi5_core.c | 171 stat = REG_GET(base, HDMI_CORE_IH_I2CM_STAT0, 1, 0); in hdmi_core_ddc_edid() 191 pedid[cur_addr] = REG_GET(base, HDMI_CORE_I2CM_DATAI, 7, 0); in hdmi_core_ddc_edid()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu.h | 2147 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) macro
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon.h | 2532 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) macro
|