Searched refs:cnt_ptr (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/dsa/microchip/ |
D | ksz8795.c | 268 mib->cnt_ptr = 0; in ksz8_port_init_cnt() 271 while (mib->cnt_ptr < dev->info->reg_mib_cnt) { in ksz8_port_init_cnt() 272 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in ksz8_port_init_cnt() 273 &mib->counters[mib->cnt_ptr]); in ksz8_port_init_cnt() 274 ++mib->cnt_ptr; in ksz8_port_init_cnt() 281 while (mib->cnt_ptr < dev->info->mib_cnt) { in ksz8_port_init_cnt() 282 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in ksz8_port_init_cnt() 283 dropped, &mib->counters[mib->cnt_ptr]); in ksz8_port_init_cnt() 284 ++mib->cnt_ptr; in ksz8_port_init_cnt()
|
D | ksz_common.c | 2037 while (mib->cnt_ptr < dev->info->reg_mib_cnt) { in port_r_cnt() 2038 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in port_r_cnt() 2039 &mib->counters[mib->cnt_ptr]); in port_r_cnt() 2040 ++mib->cnt_ptr; in port_r_cnt() 2047 while (mib->cnt_ptr < dev->info->mib_cnt) { in port_r_cnt() 2048 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in port_r_cnt() 2049 dropped, &mib->counters[mib->cnt_ptr]); in port_r_cnt() 2050 ++mib->cnt_ptr; in port_r_cnt() 2052 mib->cnt_ptr = 0; in port_r_cnt() 2078 mib->cnt_ptr = dev->info->reg_mib_cnt; in ksz_mib_read_work() [all …]
|
D | ksz_common.h | 28 u8 cnt_ptr; member
|
/linux-6.1.9/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1064 u8 cnt_ptr; member 1814 while (mib->cnt_ptr < PORT_COUNTER_NUM) { in port_r_cnt() 1815 port_r_mib_cnt(hw, port, mib->cnt_ptr, in port_r_cnt() 1816 &mib->counter[mib->cnt_ptr]); in port_r_cnt() 1817 ++mib->cnt_ptr; in port_r_cnt() 1822 mib->cnt_ptr = 0; in port_r_cnt() 1838 mib->cnt_ptr = 0; in port_init_cnt() 1841 port_r_mib_cnt(hw, port, mib->cnt_ptr, in port_init_cnt() 1842 &mib->counter[mib->cnt_ptr]); in port_init_cnt() 1843 ++mib->cnt_ptr; in port_init_cnt() [all …]
|