Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c94 struct rmnet_port *real_port; in rmnet_unregister_bridge() local
105 real_port = rmnet_get_port_rtnl(real_dev); in rmnet_unregister_bridge()
106 real_port->bridge_ep = NULL; in rmnet_unregister_bridge()
107 real_port->rmnet_mode = RMNET_EPMODE_VND; in rmnet_unregister_bridge()
194 struct rmnet_port *real_port, *bridge_port; in rmnet_dellink() local
203 real_port = rmnet_get_port_rtnl(real_dev); in rmnet_dellink()
204 bridge_dev = real_port->bridge_ep; in rmnet_dellink()
210 ep = rmnet_get_endpoint(real_port, mux_id); in rmnet_dellink()
213 rmnet_vnd_dellink(mux_id, real_port, ep); in rmnet_dellink()
/openbmc/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c127 if (!virt_dev->real_port) { in get_bw_info()
134 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_info()
136 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_info()
139 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_info()
H A Dxhci-trace.h176 __field(u8, real_port)
185 __entry->real_port = (u8) vdev->real_port;
190 __entry->fake_port, __entry->real_port, __entry->current_mel
H A Dxhci-mem.c783 if (virt_dev->real_port == 0 || in xhci_free_tt_info()
784 virt_dev->real_port > HCS_MAX_PORTS(xhci->hcs_params1)) { in xhci_free_tt_info()
789 tt_list_head = &(xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_free_tt_info()
826 &xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_alloc_tt_info()
921 if (vdev->real_port == 0 || in xhci_free_virt_devices_depth_first()
922 vdev->real_port > HCS_MAX_PORTS(xhci->hcs_params1)) { in xhci_free_virt_devices_depth_first()
927 tt_list_head = &(xhci->rh_bw[vdev->real_port - 1].tts); in xhci_free_virt_devices_depth_first()
1125 dev->real_port = port_num; in xhci_setup_addressable_virt_dev()
H A Dxhci.c2245 bw_table = &xhci->rh_bw[virt_dev->real_port - 1].bw_table; in xhci_check_tt_bw_table()
2363 virt_dev->real_port); in xhci_check_bw_table()
2376 virt_dev->real_port); in xhci_check_bw_table()
2473 unsigned int port_index = virt_dev->real_port - 1; in xhci_check_bw_table()
2667 rh_bw_info = &xhci->rh_bw[virt_dev->real_port - 1]; in xhci_update_tt_active_eps()
H A Dxhci.h771 u8 real_port; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.c1283 int real_port; in mlx4_QUERY_DEV_CAP_wrapper() local
1302 for (slave_port = 0, real_port = first_port; in mlx4_QUERY_DEV_CAP_wrapper()
1303 real_port < first_port + in mlx4_QUERY_DEV_CAP_wrapper()
1305 ++real_port, ++slave_port) { in mlx4_QUERY_DEV_CAP_wrapper()
1306 if (flags & (MLX4_DEV_CAP_FLAG_WOL_PORT1 << real_port)) in mlx4_QUERY_DEV_CAP_wrapper()
H A Dresource_tracker.c4122 int real_port; in mlx4_adjust_port() local
4129 real_port = mlx4_slave_convert_port(dev, slave, gid[5]); in mlx4_adjust_port()
4130 if (real_port < 0) in mlx4_adjust_port()
4132 gid[5] = real_port; in mlx4_adjust_port()