Searched refs:hsr_ports (Results 1 – 3 of 3) sorted by relevance
1252 u8 data, hsr_ports = 0; in ksz9477_hsr_join() local1258 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()
193 u8 hsr_ports; member
4295 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()