Home
last modified time | relevance | path

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

/linux/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/drivers/net/ethernet/mscc/
A Docelot.c191 if (!(vlan->portmask & BIT(port))) in ocelot_port_num_untagged_vlans()
207 if (!(vlan->portmask & BIT(port))) in ocelot_port_num_tagged_vlans()
330 unsigned long portmask; in ocelot_vlan_member_add() local
334 portmask = vlan->portmask | BIT(port); in ocelot_vlan_member_add()
340 vlan->portmask = portmask; in ocelot_vlan_member_add()
357 portmask = BIT(port); in ocelot_vlan_member_add()
366 vlan->portmask = portmask; in ocelot_vlan_member_add()
378 unsigned long portmask; in ocelot_vlan_member_del() local
384 portmask = vlan->portmask & ~BIT(port); in ocelot_vlan_member_del()
390 vlan->portmask = portmask; in ocelot_vlan_member_del()
[all …]
/linux/drivers/net/dsa/hirschmann/
A Dhellcreek.c713 "OBT=%d, REPRIO_EN=%d, PRIO=%d\n", entry->mac, entry->portmask, in __hellcreek_fdb_add()
722 meta |= entry->portmask << HR_FDBWRM0_PORTMASK_SHIFT; in __hellcreek_fdb_add()
772 entry->portmask = (meta & HR_FDBMDRD_PORTMASK_MASK) >> in hellcreek_populate_fdb_entry()
840 entry.portmask = BIT(port); in hellcreek_fdb_add()
855 entry.portmask |= BIT(port); in hellcreek_fdb_add()
893 entry.portmask &= ~BIT(port); in hellcreek_fdb_del()
895 if (entry.portmask != 0x00) { in hellcreek_fdb_del()
944 if (!(entry.portmask & BIT(port))) in hellcreek_fdb_dump()
1055 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb()
1066 .portmask = 0x03, /* Management ports */ in hellcreek_setup_fdb()
A Dhellcreek.h259 u8 portmask; member
/linux/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/drivers/net/dsa/
A Dlan9303-core.c1134 int portmask, portstate; in lan9303_port_stp_state_set() local
1160 portmask = 0x3 << (port * 2); in lan9303_port_stp_state_set()
1163 chip->swe_port_state = (chip->swe_port_state & ~portmask) | portstate; in lan9303_port_stp_state_set()
/linux/include/soc/mscc/
A Docelot.h568 unsigned long portmask; member
/linux/drivers/net/ethernet/marvell/
A Dskge.c112 static const u32 portmask[] = { IS_PORT_1, IS_PORT_2 }; variable
2616 hw->intr_mask |= portmask[port]; in skge_up()
2669 hw->intr_mask &= ~portmask[port]; in skge_down()

Completed in 37 milliseconds