Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/
H A Dlan9303-core.c323 mutex_lock(&chip->indirect_mutex); in lan9303_indirect_phy_read()
343 mutex_unlock(&chip->indirect_mutex); in lan9303_indirect_phy_read()
348 mutex_unlock(&chip->indirect_mutex); in lan9303_indirect_phy_read()
362 mutex_lock(&chip->indirect_mutex); in lan9303_indirect_phy_write()
377 mutex_unlock(&chip->indirect_mutex); in lan9303_indirect_phy_write()
402 mutex_lock(&chip->indirect_mutex); in lan9303_write_switch_reg()
421 mutex_unlock(&chip->indirect_mutex); in lan9303_write_switch_reg()
435 mutex_lock(&chip->indirect_mutex); in lan9303_read_switch_reg()
457 mutex_unlock(&chip->indirect_mutex); in lan9303_read_switch_reg()
1434 mutex_init(&chip->indirect_mutex); in lan9303_probe()
/openbmc/linux/include/linux/dsa/
H A Dlan9303.h28 struct mutex indirect_mutex; /* protect indexed register access */ member