Searched refs:intf_ctrl (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/apm/xgene-v2/ |
A D | mac.c | 21 u32 intf_ctrl, rgmii; in xge_mac_set_speed() local 28 intf_ctrl = xge_rd_csr(pdata, INTERFACE_CONTROL); in xge_mac_set_speed() 34 SET_REG_BITS(&intf_ctrl, HD_MODE, 0); in xge_mac_set_speed() 41 SET_REG_BITS(&intf_ctrl, HD_MODE, 1); in xge_mac_set_speed() 48 SET_REG_BITS(&intf_ctrl, HD_MODE, 2); in xge_mac_set_speed() 59 xge_wr_csr(pdata, INTERFACE_CONTROL, intf_ctrl); in xge_mac_set_speed()
|
/linux-6.3-rc2/drivers/video/fbdev/mmp/hw/ |
A D | mmp_ctrl.c | 265 tmp = readl_relaxed(ctrl_regs(path) + intf_ctrl(path->id)) & 0x1; in path_set_mode() 270 writel_relaxed(tmp, ctrl_regs(path) + intf_ctrl(path->id)); in path_set_mode()
|
A D | mmp_ctrl.h | 123 #define intf_ctrl(id) ((id) ? (((id) & 1) ? LCD_TVIF_CTRL : \ macro
|
Completed in 12 milliseconds