Home
last modified time | relevance | path

Searched refs:hw_port (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_rxtx.c217 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()
/linux/drivers/usb/host/
H A Dxhci-mem.c2129 struct xhci_port *hw_port = &xhci->hw_ports[i]; in xhci_add_in_port() local
2131 if (hw_port->rhub) { in xhci_add_in_port()
2134 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port()
2138 if (hw_port->rhub != rhub && in xhci_add_in_port()
2139 hw_port->hcd_portnum != DUPLICATE_ENTRY) { in xhci_add_in_port()
2140 hw_port->rhub->num_ports--; in xhci_add_in_port()
2141 hw_port->hcd_portnum = DUPLICATE_ENTRY; in xhci_add_in_port()
2145 hw_port->rhub = rhub; in xhci_add_in_port()
2146 hw_port->port_cap = port_cap; in xhci_add_in_port()
/linux/drivers/net/wireless/realtek/rtw88/
H A Dmac80211.c176 port = find_first_zero_bit(rtwdev->hw_port, RTW_PORT_NUM); in rtw_ops_add_interface()
181 set_bit(port, rtwdev->hw_port); in rtw_ops_add_interface()
206 clear_bit(rtwvif->port, rtwdev->hw_port); in rtw_ops_add_interface()
252 clear_bit(rtwvif->port, rtwdev->hw_port); in rtw_ops_remove_interface()
H A Dmain.h2115 DECLARE_BITMAP(hw_port, RTW_PORT_NUM);
H A Dmain.c670 bitmap_zero(rtwdev->hw_port, RTW_PORT_NUM); in __fw_recovery_work()
/linux/net/dsa/
H A Duser.c2056 struct dsa_hw_port *hw_port; in dsa_bridge_mtu_normalization() local
2073 hw_port = kzalloc_obj(*hw_port); in dsa_bridge_mtu_normalization()
2074 if (!hw_port) in dsa_bridge_mtu_normalization()
2077 hw_port->dev = user; in dsa_bridge_mtu_normalization()
2078 hw_port->old_mtu = user->mtu; in dsa_bridge_mtu_normalization()
2080 list_add(&hw_port->list, &hw_port_list); in dsa_bridge_mtu_normalization()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac80211.c190 port = rtw89_core_acquire_bit_map(rtwdev->hw_port, RTW89_PORT_NUM); in rtw89_ops_add_interface()
233 rtw89_core_release_bit_map(rtwdev->hw_port, port); in rtw89_ops_add_interface()
270 rtw89_core_release_bit_map(rtwdev->hw_port, port); in rtw89_ops_remove_interface()
H A Dser.c308 rtw89_core_release_bit_map(rtwdev->hw_port, rtwvif_link->port); in ser_reset_vif()
H A Dcore.h6193 DECLARE_BITMAP(hw_port, RTW89_PORT_NUM);