Home
last modified time | relevance | path

Searched refs:hsr_ports (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/dsa/microchip/
H A Dksz9477.c1252 u8 data, hsr_ports = 0; in ksz9477_hsr_join() local
1258 if (dev->hsr_ports) { in ksz9477_hsr_join()
1260 hsr_ports |= BIT(hsr_dp->index); in ksz9477_hsr_join()
1262 hsr_ports |= BIT(dsa_upstream_port(ds, port)); in ksz9477_hsr_join()
1264 ksz9477_cfg_port_member(dev, hsr_dp->index, hsr_ports); in ksz9477_hsr_join()
1267 if (!dev->hsr_ports) { in ksz9477_hsr_join()
H A Dksz_common.h193 u8 hsr_ports; member
H A Dksz_common.c4295 if (hweight8(dev->hsr_ports) >= 2) { in ksz_hsr_join()
4310 dev->hsr_ports |= BIT(port); in ksz_hsr_join()
4323 dev->hsr_ports &= ~BIT(port); in ksz_hsr_leave()
4324 if (!dev->hsr_ports) in ksz_hsr_leave()