| /linux-6.15/drivers/net/dsa/mv88e6xxx/ |
| H A D | leds.c | 98 u8 portmask; member 122 .portmask = MV88E6XXX_PORT_4, 129 .portmask = MV88E6XXX_PORT_5, 136 .portmask = MV88E6XXX_PORTS_0_3, 143 .portmask = MV88E6XXX_PORTS_0_3, 150 .portmask = MV88E6XXX_PORTS_4_5, 216 .portmask = MV88E6XXX_PORT_4, 223 .portmask = MV88E6XXX_PORT_5, 243 .portmask = MV88E6XXX_PORT_4, 250 .portmask = MV88E6XXX_PORT_5, [all …]
|
| /linux-6.15/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_vlan.c | 152 void sparx5_pgid_read_mask(struct sparx5 *spx5, int pgid, u32 portmask[3]) in sparx5_pgid_read_mask() 154 portmask[0] = spx5_rd(spx5, ANA_AC_PGID_CFG(pgid)); in sparx5_pgid_read_mask() 156 portmask[1] = spx5_rd(spx5, ANA_AC_PGID_CFG1(pgid)); in sparx5_pgid_read_mask() 157 portmask[2] = spx5_rd(spx5, ANA_AC_PGID_CFG2(pgid)); in sparx5_pgid_read_mask()
|
| H A D | sparx5_main.h | 497 void sparx5_pgid_read_mask(struct sparx5 *sparx5, int pgid, u32 portmask[3]);
|
| /linux-6.15/net/rds/ |
| H A D | cong.c | 253 void rds_cong_map_updated(struct rds_cong_map *map, uint64_t portmask) in rds_cong_map_updated() argument 264 if (portmask && !list_empty(&rds_cong_monitor)) { in rds_cong_map_updated() 271 rs->rs_cong_notify |= (rs->rs_cong_mask & portmask); in rds_cong_map_updated() 272 rs->rs_cong_mask &= ~portmask; in rds_cong_map_updated()
|
| /linux-6.15/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek.c | 851 entry.portmask = BIT(port); in hellcreek_fdb_add() 866 entry.portmask |= BIT(port); in hellcreek_fdb_add() 905 entry.portmask &= ~BIT(port); in hellcreek_fdb_del() 907 if (entry.portmask != 0x00) { in hellcreek_fdb_del() 956 if (!(entry.portmask & BIT(port))) in hellcreek_fdb_dump() 1067 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb() 1078 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb() 1089 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb() 1100 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb() 1111 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb() [all …]
|
| H A D | hellcreek.h | 268 u8 portmask; member
|
| /linux-6.15/drivers/net/ethernet/mscc/ |
| H A D | ocelot.c | 326 if (!(vlan->portmask & BIT(port))) in ocelot_port_num_untagged_vlans() 349 if (!(vlan->portmask & BIT(port))) in ocelot_port_num_tagged_vlans() 662 unsigned long portmask; in ocelot_vlan_member_add() local 666 portmask = vlan->portmask | BIT(port); in ocelot_vlan_member_add() 672 vlan->portmask = portmask; in ocelot_vlan_member_add() 689 portmask = BIT(port); in ocelot_vlan_member_add() 698 vlan->portmask = portmask; in ocelot_vlan_member_add() 710 unsigned long portmask; in ocelot_vlan_member_del() local 716 portmask = vlan->portmask & ~BIT(port); in ocelot_vlan_member_del() 722 vlan->portmask = portmask; in ocelot_vlan_member_del() [all …]
|
| /linux-6.15/drivers/net/dsa/ |
| H A D | vitesse-vsc73xx.h | 86 u8 portmask; member
|
| H A D | vitesse-vsc73xx-core.c | 1200 vsc73xx_vlan->portmask &= ~BIT(port); in vsc73xx_bridge_vlan_remove_port() 1202 if (vsc73xx_vlan->portmask) in vsc73xx_bridge_vlan_remove_port() 1217 if (!(vlan->portmask & BIT(port)) || vlan->vid == ignored_vid) in vsc73xx_bridge_vlan_summary() 1235 if ((vlan->portmask & BIT(port)) && in vsc73xx_find_first_vlan_untagged() 1676 vsc73xx_vlan->portmask |= BIT(port); in vsc73xx_port_vlan_add()
|
| H A D | lan9303-core.c | 1165 int portmask, portstate; in lan9303_port_stp_state_set() local 1191 portmask = 0x3 << (port * 2); in lan9303_port_stp_state_set() 1194 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
|
| /linux-6.15/drivers/usb/gadget/udc/ |
| H A D | bcm63xx_udc.c | 870 u32 val, portmask = BIT(udc->pd->port_no); in bcm63xx_select_phy_mode() local 883 val |= (portmask << USBH_PRIV_UTMI_CTL_HOSTB_SHIFT); in bcm63xx_select_phy_mode() 884 val |= (portmask << USBH_PRIV_UTMI_CTL_NODRIV_SHIFT); in bcm63xx_select_phy_mode() 886 val &= ~(portmask << USBH_PRIV_UTMI_CTL_HOSTB_SHIFT); in bcm63xx_select_phy_mode() 887 val &= ~(portmask << USBH_PRIV_UTMI_CTL_NODRIV_SHIFT); in bcm63xx_select_phy_mode() 910 u32 val, portmask = BIT(udc->pd->port_no); in bcm63xx_select_pullup() local 914 val &= ~(portmask << USBH_PRIV_UTMI_CTL_NODRIV_SHIFT); in bcm63xx_select_pullup() 916 val |= (portmask << USBH_PRIV_UTMI_CTL_NODRIV_SHIFT); in bcm63xx_select_pullup()
|
| /linux-6.15/drivers/net/dsa/ocelot/ |
| H A D | felix_vsc9959.c | 1728 int portmask; member 1992 vsc9959_psfp_sfidmask_set(ocelot, sfi->index, sfi->portmask); in vsc9959_psfp_sfi_list_add() 2014 sfi->portmask == tmp->portmask && in vsc9959_psfp_sfi_table_add() 2319 sfi.portmask = stream.ports; in vsc9959_psfp_filter_add() 2350 old_sfi.portmask = stream_entry->ports; in vsc9959_psfp_filter_add() 2351 sfi.portmask = stream.ports; in vsc9959_psfp_filter_add()
|
| /linux-6.15/include/soc/mscc/ |
| H A D | ocelot.h | 685 unsigned long portmask; member
|
| /linux-6.15/drivers/net/ethernet/marvell/ |
| H A D | skge.c | 111 static const u32 portmask[] = { IS_PORT_1, IS_PORT_2 }; variable 2618 hw->intr_mask |= portmask[port]; in skge_up() 2671 hw->intr_mask &= ~portmask[port]; in skge_down()
|