Searched refs:portmask (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/net/rds/ |
| 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-v5.15/drivers/net/dsa/hirschmann/ |
| D | hellcreek.c | 713 "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()
|
| D | hellcreek.h | 259 u8 portmask; member
|
| /Linux-v5.15/drivers/usb/gadget/udc/ |
| 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-v5.15/drivers/net/dsa/ |
| D | lan9303-core.c | 1134 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-v5.15/drivers/net/ethernet/marvell/ |
| D | skge.c | 112 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()
|