Lines Matching refs:port_num
383 int port_num; member
1265 return rdl(mp, MIB_COUNTERS(mp->port_num) + offset); in mib_read()
1802 int off = UNICAST_TABLE(mp->port_num) + i; in mv643xx_eth_program_unicast_filter()
1849 int port_num; in mv643xx_eth_program_multicast_filter() local
1853 port_num = mp->port_num; in mv643xx_eth_program_multicast_filter()
1856 wrl(mp, SPECIAL_MCAST_TABLE(port_num) + i, accept); in mv643xx_eth_program_multicast_filter()
1857 wrl(mp, OTHER_MCAST_TABLE(port_num) + i, accept); in mv643xx_eth_program_multicast_filter()
1887 wrl(mp, SPECIAL_MCAST_TABLE(mp->port_num) + i, mc_spec[i >> 2]); in mv643xx_eth_program_multicast_filter()
1888 wrl(mp, OTHER_MCAST_TABLE(mp->port_num) + i, mc_other[i >> 2]); in mv643xx_eth_program_multicast_filter()
2887 int addr_shift = 5 * mp->port_num; in phy_addr_set()
2902 return (data >> (5 * mp->port_num)) & 0x1f; in phy_addr_get()
3067 mp->port_num = pd->port_number; in mv643xx_eth_probe()
3165 wrl(mp, WINDOW_PROTECT(mp->port_num), mp->shared->win_protect); in mv643xx_eth_probe()
3179 mp->port_num, dev->dev_addr); in mv643xx_eth_probe()