Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/micrel/
Dksz884x.c1005 #define PORT_COUNTER_NUM 0x20 macro
1006 #define TOTAL_PORT_COUNTER_NUM (PORT_COUNTER_NUM + 2)
1720 ctrl_addr = addr + PORT_COUNTER_NUM * port; in port_r_mib_cnt()
1804 if (mib->mib_start < PORT_COUNTER_NUM) in port_r_cnt()
1805 while (mib->cnt_ptr < PORT_COUNTER_NUM) { in port_r_cnt()
1810 if (hw->mib_cnt > PORT_COUNTER_NUM) in port_r_cnt()
1812 &mib->counter[PORT_COUNTER_NUM]); in port_r_cnt()
1830 if (mib->mib_start < PORT_COUNTER_NUM) in port_init_cnt()
1835 } while (mib->cnt_ptr < PORT_COUNTER_NUM); in port_init_cnt()
1836 if (hw->mib_cnt > PORT_COUNTER_NUM) in port_init_cnt()
[all …]