Searched refs:cnt_mutex (Results 1 – 4 of 4) sorted by relevance
81 mutex_lock(&mib->cnt_mutex); in ksz_mib_read_work()94 mutex_unlock(&mib->cnt_mutex); in ksz_mib_read_work()164 mutex_lock(&mib->cnt_mutex); in ksz_get_ethtool_stats()171 mutex_unlock(&mib->cnt_mutex); in ksz_get_ethtool_stats()
273 mutex_lock(&p->mib.cnt_mutex); in ksz9477_freeze_mib()278 mutex_unlock(&p->mib.cnt_mutex); in ksz9477_freeze_mib()286 mutex_lock(&mib->cnt_mutex); in ksz9477_port_init_cnt()291 mutex_unlock(&mib->cnt_mutex); in ksz9477_port_init_cnt()1575 mutex_init(&dev->ports[i].mib.cnt_mutex); in ksz9477_switch_init()
22 struct mutex cnt_mutex; /* structure access */ member
1256 mutex_init(&dev->ports[i].mib.cnt_mutex); in ksz8795_switch_init()