Searched refs:SET_REG_BITS (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/ |
D | mac.c | 45 SET_REG_BITS(&mc2, INTF_MODE, 1); in xge_mac_set_speed() 46 SET_REG_BITS(&intf_ctrl, HD_MODE, 0); in xge_mac_set_speed() 47 SET_REG_BITS(&icm0, CFG_MACMODE, 0); in xge_mac_set_speed() 48 SET_REG_BITS(&icm2, CFG_WAITASYNCRD, 500); in xge_mac_set_speed() 52 SET_REG_BITS(&mc2, INTF_MODE, 1); in xge_mac_set_speed() 53 SET_REG_BITS(&intf_ctrl, HD_MODE, 1); in xge_mac_set_speed() 54 SET_REG_BITS(&icm0, CFG_MACMODE, 1); in xge_mac_set_speed() 55 SET_REG_BITS(&icm2, CFG_WAITASYNCRD, 80); in xge_mac_set_speed() 59 SET_REG_BITS(&mc2, INTF_MODE, 2); in xge_mac_set_speed() 60 SET_REG_BITS(&intf_ctrl, HD_MODE, 2); in xge_mac_set_speed() [all …]
|
D | mdio.c | 30 SET_REG_BITS(&val, PHY_ADDR, phy_id); in xge_mdio_write() 31 SET_REG_BITS(&val, REG_ADDR, reg); in xge_mdio_write() 54 SET_REG_BITS(&val, PHY_ADDR, phy_id); in xge_mdio_read() 55 SET_REG_BITS(&val, REG_ADDR, reg); in xge_mdio_read()
|
D | mac.h | 87 #define SET_REG_BITS(var, field, val) \ macro
|