Searched refs:hw_port (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_rxtx.c | 217 u32 hw_port, dev_id; in prestera_rxtx_process_skb() local 229 hw_port = dsa.port_num; in prestera_rxtx_process_skb() 231 port = prestera_port_find_by_hwid(sdma->sw, dev_id, hw_port); in prestera_rxtx_process_skb() 234 dev_id, hw_port); in prestera_rxtx_process_skb()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | mac80211.c | 170 port = find_first_zero_bit(rtwdev->hw_port, RTW_PORT_NUM); in rtw_ops_add_interface() 175 set_bit(port, rtwdev->hw_port); in rtw_ops_add_interface() 200 clear_bit(rtwvif->port, rtwdev->hw_port); in rtw_ops_add_interface() 244 clear_bit(rtwvif->port, rtwdev->hw_port); in rtw_ops_remove_interface()
|
H A D | main.h | 2046 DECLARE_BITMAP(hw_port, RTW_PORT_NUM);
|
H A D | main.c | 650 bitmap_zero(rtwdev->hw_port, RTW_PORT_NUM); in __fw_recovery_work()
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-mem.c | 2073 struct xhci_port *hw_port = &xhci->hw_ports[i]; in xhci_add_in_port() local 2075 if (hw_port->rhub) { in xhci_add_in_port() 2078 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port() 2082 if (hw_port->rhub != rhub && in xhci_add_in_port() 2083 hw_port->hcd_portnum != DUPLICATE_ENTRY) { in xhci_add_in_port() 2084 hw_port->rhub->num_ports--; in xhci_add_in_port() 2085 hw_port->hcd_portnum = DUPLICATE_ENTRY; in xhci_add_in_port() 2089 hw_port->rhub = rhub; in xhci_add_in_port() 2090 hw_port->port_cap = port_cap; in xhci_add_in_port()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | mac80211.c | 138 rtwvif->port = rtw89_core_acquire_bit_map(rtwdev->hw_port, in rtw89_ops_add_interface() 157 rtw89_core_release_bit_map(rtwdev->hw_port, rtwvif->port); in rtw89_ops_add_interface() 189 rtw89_core_release_bit_map(rtwdev->hw_port, rtwvif->port); in rtw89_ops_remove_interface()
|
H A D | ser.c | 303 rtw89_core_release_bit_map(rtwdev->hw_port, rtwvif->port); in ser_reset_vif()
|
H A D | core.h | 4406 DECLARE_BITMAP(hw_port, RTW89_PORT_NUM);
|
/openbmc/linux/net/dsa/ |
H A D | slave.c | 2023 struct dsa_hw_port *hw_port; in dsa_bridge_mtu_normalization() local 2040 hw_port = kzalloc(sizeof(*hw_port), GFP_KERNEL); in dsa_bridge_mtu_normalization() 2041 if (!hw_port) in dsa_bridge_mtu_normalization() 2044 hw_port->dev = slave; in dsa_bridge_mtu_normalization() 2045 hw_port->old_mtu = slave->mtu; in dsa_bridge_mtu_normalization() 2047 list_add(&hw_port->list, &hw_port_list); in dsa_bridge_mtu_normalization()
|