Home
last modified time | relevance | path

Searched refs:SET_REG_BITS (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmac.c33 SET_REG_BITS(&mc2, INTF_MODE, 1); in xge_mac_set_speed()
34 SET_REG_BITS(&intf_ctrl, HD_MODE, 0); in xge_mac_set_speed()
35 SET_REG_BITS(&icm0, CFG_MACMODE, 0); in xge_mac_set_speed()
36 SET_REG_BITS(&icm2, CFG_WAITASYNCRD, 500); in xge_mac_set_speed()
40 SET_REG_BITS(&mc2, INTF_MODE, 1); in xge_mac_set_speed()
41 SET_REG_BITS(&intf_ctrl, HD_MODE, 1); in xge_mac_set_speed()
42 SET_REG_BITS(&icm0, CFG_MACMODE, 1); in xge_mac_set_speed()
43 SET_REG_BITS(&icm2, CFG_WAITASYNCRD, 80); in xge_mac_set_speed()
47 SET_REG_BITS(&mc2, INTF_MODE, 2); in xge_mac_set_speed()
48 SET_REG_BITS(&intf_ctrl, HD_MODE, 2); in xge_mac_set_speed()
[all …]
H A Dmdio.c18 SET_REG_BITS(&val, PHY_ADDR, phy_id); in xge_mdio_write()
19 SET_REG_BITS(&val, REG_ADDR, reg); in xge_mdio_write()
42 SET_REG_BITS(&val, PHY_ADDR, phy_id); in xge_mdio_read()
43 SET_REG_BITS(&val, REG_ADDR, reg); in xge_mdio_read()
H A Dmac.h75 #define SET_REG_BITS(var, field, val) \ macro