Home
last modified time | relevance | path

Searched refs:portmask (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_vlan.c148 void sparx5_pgid_read_mask(struct sparx5 *spx5, int pgid, u32 portmask[3]) in sparx5_pgid_read_mask()
150 portmask[0] = spx5_rd(spx5, ANA_AC_PGID_CFG(pgid)); in sparx5_pgid_read_mask()
151 portmask[1] = spx5_rd(spx5, ANA_AC_PGID_CFG1(pgid)); in sparx5_pgid_read_mask()
152 portmask[2] = spx5_rd(spx5, ANA_AC_PGID_CFG2(pgid)); in sparx5_pgid_read_mask()
A Dsparx5_main.h348 void sparx5_pgid_read_mask(struct sparx5 *sparx5, int pgid, u32 portmask[3]);
/linux-6.3-rc2/net/rds/
A Dcong.c253 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.3-rc2/drivers/net/dsa/hirschmann/
A Dhellcreek.c856 entry.portmask = BIT(port); in hellcreek_fdb_add()
871 entry.portmask |= BIT(port); in hellcreek_fdb_add()
910 entry.portmask &= ~BIT(port); in hellcreek_fdb_del()
912 if (entry.portmask != 0x00) { in hellcreek_fdb_del()
961 if (!(entry.portmask & BIT(port))) in hellcreek_fdb_dump()
1072 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb()
1083 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb()
1094 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb()
1105 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb()
1116 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb()
[all …]
A Dhellcreek.h266 u8 portmask; member
/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot.c293 if (!(vlan->portmask & BIT(port))) in ocelot_port_num_untagged_vlans()
316 if (!(vlan->portmask & BIT(port))) in ocelot_port_num_tagged_vlans()
472 unsigned long portmask; in ocelot_vlan_member_add() local
476 portmask = vlan->portmask | BIT(port); in ocelot_vlan_member_add()
482 vlan->portmask = portmask; in ocelot_vlan_member_add()
499 portmask = BIT(port); in ocelot_vlan_member_add()
508 vlan->portmask = portmask; in ocelot_vlan_member_add()
520 unsigned long portmask; in ocelot_vlan_member_del() local
526 portmask = vlan->portmask & ~BIT(port); in ocelot_vlan_member_del()
532 vlan->portmask = portmask; in ocelot_vlan_member_del()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Dbcm63xx_udc.c870 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.3-rc2/drivers/net/dsa/ocelot/
A Dfelix_vsc9959.c1680 int portmask; member
1941 vsc9959_psfp_sfidmask_set(ocelot, sfi->index, sfi->portmask); in vsc9959_psfp_sfi_list_add()
1963 sfi->portmask == tmp->portmask && in vsc9959_psfp_sfi_table_add()
2268 sfi.portmask = stream.ports; in vsc9959_psfp_filter_add()
2299 old_sfi.portmask = stream_entry->ports; in vsc9959_psfp_filter_add()
2300 sfi.portmask = stream.ports; in vsc9959_psfp_filter_add()
/linux-6.3-rc2/drivers/net/dsa/
A Dlan9303-core.c1136 int portmask, portstate; in lan9303_port_stp_state_set() local
1162 portmask = 0x3 << (port * 2); in lan9303_port_stp_state_set()
1165 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
/linux-6.3-rc2/include/soc/mscc/
A Docelot.h681 unsigned long portmask; member
/linux-6.3-rc2/drivers/net/ethernet/marvell/
A Dskge.c111 static const u32 portmask[] = { IS_PORT_1, IS_PORT_2 }; variable
2619 hw->intr_mask |= portmask[port]; in skge_up()
2672 hw->intr_mask &= ~portmask[port]; in skge_down()

Completed in 52 milliseconds