/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vlan.c | 148 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()
|
H A D | sparx5_main.h | 350 void sparx5_pgid_read_mask(struct sparx5 *sparx5, int pgid, u32 portmask[3]);
|
/openbmc/u-boot/drivers/ddr/altera/ |
H A D | sdram_gen5.c | 21 u32 portmask; member 134 (prule->portmask << 3) | (prule->result << 13), in sdram_set_rule() 170 prule->portmask = (data >> 3) & 0x3FF; in sdram_get_rule() 196 rule.portmask = 0x3FF; in sdram_set_protection_config() 226 debug(" portmask %x\n", rule.portmask); in sdram_dump_protection_config()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek.c | 725 entry->portmask, entry->is_obt, entry->pass_blocked, in __hellcreek_fdb_add() 734 meta |= entry->portmask << HR_FDBWRM0_PORTMASK_SHIFT; in __hellcreek_fdb_add() 786 entry->portmask = (meta & HR_FDBMDRD_PORTMASK_MASK) >> in hellcreek_populate_fdb_entry() 855 entry.portmask = BIT(port); in hellcreek_fdb_add() 870 entry.portmask |= BIT(port); in hellcreek_fdb_add() 909 entry.portmask &= ~BIT(port); in hellcreek_fdb_del() 911 if (entry.portmask != 0x00) { in hellcreek_fdb_del() 960 if (!(entry.portmask & BIT(port))) in hellcreek_fdb_dump() 1071 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb() 1082 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb() [all …]
|
H A D | hellcreek.h | 266 u8 portmask; member
|
/openbmc/linux/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() 374 if (vlan->portmask & BIT(port) && vlan->untagged & BIT(port)) in ocelot_port_find_native_vlan() 505 unsigned long portmask; in ocelot_vlan_member_add() local 509 portmask = vlan->portmask | BIT(port); in ocelot_vlan_member_add() 511 err = ocelot_vlant_set_mask(ocelot, vid, portmask); in ocelot_vlan_member_add() 515 vlan->portmask = portmask; in ocelot_vlan_member_add() 532 portmask = BIT(port); in ocelot_vlan_member_add() 534 err = ocelot_vlant_set_mask(ocelot, vid, portmask); in ocelot_vlan_member_add() 541 vlan->portmask = portmask; in ocelot_vlan_member_add() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 1725 int portmask; member 1986 vsc9959_psfp_sfidmask_set(ocelot, sfi->index, sfi->portmask); in vsc9959_psfp_sfi_list_add() 2008 sfi->portmask == tmp->portmask && in vsc9959_psfp_sfi_table_add() 2313 sfi.portmask = stream.ports; in vsc9959_psfp_filter_add() 2344 old_sfi.portmask = stream_entry->ports; in vsc9959_psfp_filter_add() 2345 sfi.portmask = stream.ports; in vsc9959_psfp_filter_add()
|
/openbmc/linux/drivers/net/dsa/ |
H A D | lan9303-core.c | 1166 int portmask, portstate; in lan9303_port_stp_state_set() local 1192 portmask = 0x3 << (port * 2); in lan9303_port_stp_state_set() 1195 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot.h | 685 unsigned long portmask; member
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | skge.c | 111 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()
|