Searched refs:VAL_SH (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | netcp_xgbepcsr.c | 29 #define VAL_SH(v, s) (v << s) macro 294 reg_rmw(sig_detect_reg, VAL_SH(2, 1), MASK_WID_SH(2, 1)); in netcp_xgbe_serdes_reset_cdr() 296 reg_rmw(sig_detect_reg, VAL_SH(0, 1), MASK_WID_SH(2, 1)); in netcp_xgbe_serdes_reset_cdr() 337 reg_rmw(sig_detect_reg, VAL_SH(3, 1), in netcp_xgbe_check_link_status() 378 reg_rmw(pcsr_base + 0x08 + (i * 0x80), VAL_SH(0x19, 0), in netcp_xgbe_check_link_status() 381 reg_rmw(pcsr_base + 0x08 + (i * 0x80), VAL_SH(0x00, 0), in netcp_xgbe_check_link_status()
|