Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.h3376 int nvram_lock_cnt; member
H A Dtg3.c3135 if (tp->nvram_lock_cnt == 0) { in tg3_nvram_lock()
3147 tp->nvram_lock_cnt++; in tg3_nvram_lock()
3156 if (tp->nvram_lock_cnt > 0) in tg3_nvram_unlock()
3157 tp->nvram_lock_cnt--; in tg3_nvram_unlock()
3158 if (tp->nvram_lock_cnt == 0) in tg3_nvram_unlock()
9072 tp->nvram_lock_cnt = 0; in tg3_chip_reset()