Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/dsa/microchip/
Dksz8.c430 mib->cnt_ptr = 0; in ksz8_port_init_cnt()
433 while (mib->cnt_ptr < dev->info->reg_mib_cnt) { in ksz8_port_init_cnt()
434 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in ksz8_port_init_cnt()
435 &mib->counters[mib->cnt_ptr]); in ksz8_port_init_cnt()
436 ++mib->cnt_ptr; in ksz8_port_init_cnt()
443 while (mib->cnt_ptr < dev->info->mib_cnt) { in ksz8_port_init_cnt()
444 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in ksz8_port_init_cnt()
445 dropped, &mib->counters[mib->cnt_ptr]); in ksz8_port_init_cnt()
446 ++mib->cnt_ptr; in ksz8_port_init_cnt()
Dksz_common.c2626 while (mib->cnt_ptr < dev->info->reg_mib_cnt) { in port_r_cnt()
2627 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in port_r_cnt()
2628 &mib->counters[mib->cnt_ptr]); in port_r_cnt()
2629 ++mib->cnt_ptr; in port_r_cnt()
2636 while (mib->cnt_ptr < dev->info->mib_cnt) { in port_r_cnt()
2637 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in port_r_cnt()
2638 dropped, &mib->counters[mib->cnt_ptr]); in port_r_cnt()
2639 ++mib->cnt_ptr; in port_r_cnt()
2641 mib->cnt_ptr = 0; in port_r_cnt()
2667 mib->cnt_ptr = dev->info->reg_mib_cnt; in ksz_mib_read_work()
[all …]
Dksz_common.h44 u8 cnt_ptr; member
/linux-6.12.1/drivers/net/ethernet/micrel/
Dksz884x.c1064 u8 cnt_ptr; member
1805 while (mib->cnt_ptr < PORT_COUNTER_NUM) { in port_r_cnt()
1806 port_r_mib_cnt(hw, port, mib->cnt_ptr, in port_r_cnt()
1807 &mib->counter[mib->cnt_ptr]); in port_r_cnt()
1808 ++mib->cnt_ptr; in port_r_cnt()
1813 mib->cnt_ptr = 0; in port_r_cnt()
1829 mib->cnt_ptr = 0; in port_init_cnt()
1832 port_r_mib_cnt(hw, port, mib->cnt_ptr, in port_init_cnt()
1833 &mib->counter[mib->cnt_ptr]); in port_init_cnt()
1834 ++mib->cnt_ptr; in port_init_cnt()
[all …]