linux_dsm_epyc7002/drivers/net/dsa/mv88e6xxx
Vivien Didelot 19fb7f69da net: dsa: mv88e6xxx: introduce wait bit routine
Many portions of the driver need to wait until a given bit is set
or cleared. Some busses even have a specific implementation for this
operation. In preparation for such variant, implement a generic Wait
Bit routine that can be used by the driver core functions.

This allows us to get rid of the custom implementations we may find
in the driver. Note that for the EEPROM bits, BUSY and RUNNING bits
are independent, thus it is more efficient to wait independently for
each bit instead of waiting for their mask.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-11 21:27:15 -07:00
..
chip.c net: dsa: mv88e6xxx: introduce wait bit routine 2019-08-11 21:27:15 -07:00
chip.h net: dsa: mv88e6xxx: introduce wait bit routine 2019-08-11 21:27:15 -07:00
global1_atu.c net: dsa: mv88e6xxx: introduce wait bit routine 2019-08-11 21:27:15 -07:00
global1_vtu.c net: dsa: mv88e6xxx: introduce wait bit routine 2019-08-11 21:27:15 -07:00
global1.c net: dsa: mv88e6xxx: introduce wait bit routine 2019-08-11 21:27:15 -07:00
global1.h net: dsa: mv88e6xxx: introduce wait bit routine 2019-08-11 21:27:15 -07:00
global2_avb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
global2_scratch.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
global2.c net: dsa: mv88e6xxx: introduce wait bit routine 2019-08-11 21:27:15 -07:00
global2.h net: dsa: mv88e6xxx: introduce wait bit routine 2019-08-11 21:27:15 -07:00
hwtstamp.c net: dsa: mv88e6xxx: introduce helpers for handling chip->reg_lock 2019-06-23 11:11:11 -07:00
hwtstamp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile net: dsa: mv88e6xxx: refine SMI support 2019-05-05 21:50:22 -07:00
phy.c net: dsa: mv88e6xxx: introduce helpers for handling chip->reg_lock 2019-06-23 11:11:11 -07:00
phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
port.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-07 11:00:14 -07:00
port.h net: dsa: mv88e6xxx: add support for MV88E6220 2019-08-02 17:58:53 -07:00
ptp.c net: dsa: mv88e6xxx: add PTP support for MV88E6250 family 2019-08-02 17:58:53 -07:00
ptp.h net: dsa: mv88e6xxx: add PTP support for MV88E6250 family 2019-08-02 17:58:53 -07:00
serdes.c net: dsa: mv88e6xxx: introduce helpers for handling chip->reg_lock 2019-06-23 11:11:11 -07:00
serdes.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
smi.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-07 11:00:14 -07:00
smi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00