Home
last modified time | relevance | path

Searched refs:real_port (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c89 struct rmnet_port *real_port; in rmnet_unregister_bridge() local
100 real_port = rmnet_get_port_rtnl(real_dev); in rmnet_unregister_bridge()
101 real_port->bridge_ep = NULL; in rmnet_unregister_bridge()
102 real_port->rmnet_mode = RMNET_EPMODE_VND; in rmnet_unregister_bridge()
188 struct rmnet_port *real_port, *bridge_port; in rmnet_dellink() local
197 real_port = rmnet_get_port_rtnl(real_dev); in rmnet_dellink()
198 bridge_dev = real_port->bridge_ep; in rmnet_dellink()
204 ep = rmnet_get_endpoint(real_port, mux_id); in rmnet_dellink()
207 rmnet_vnd_dellink(mux_id, real_port, ep); in rmnet_dellink()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-trace.h181 __field(u8, real_port)
190 __entry->real_port = (u8) vdev->real_port;
193 TP_printk("vdev %p ctx %llx | %llx fake_port %d real_port %d current_mel %d",
195 __entry->fake_port, __entry->real_port, __entry->current_mel
H A Dxhci-mtk-sch.c72 * @real_port value is defined as follow according to xHCI spec:
87 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_index()
89 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_index()
92 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_index()
H A Dxhci-mem.c825 * it may not have the real_port set correctly. in xhci_free_tt_info()
827 if (virt_dev->real_port == 0 || in xhci_free_tt_info()
828 virt_dev->real_port > HCS_MAX_PORTS(xhci->hcs_params1)) { in xhci_free_tt_info()
833 tt_list_head = &(xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_free_tt_info()
870 &xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_alloc_tt_info()
965 if (vdev->real_port == 0 || in xhci_free_virt_devices_depth_first()
966 vdev->real_port > HCS_MAX_PORTS(xhci->hcs_params1)) { in xhci_free_virt_devices_depth_first()
967 xhci_dbg(xhci, "Bad vdev->real_port.\n"); in xhci_free_virt_devices_depth_first()
971 tt_list_head = &(xhci->rh_bw[vdev->real_port - 1].tts); in xhci_free_virt_devices_depth_first()
1175 dev->real_port in xhci_setup_addressable_virt_dev()
[all...]
H A Dxhci.c2257 bw_table = &xhci->rh_bw[virt_dev->real_port - 1].bw_table; in xhci_check_tt_bw_table()
2375 virt_dev->real_port); in xhci_check_bw_table()
2388 virt_dev->real_port); in xhci_check_bw_table()
2485 unsigned int port_index = virt_dev->real_port - 1; in xhci_check_bw_table()
2685 rh_bw_info = &xhci->rh_bw[virt_dev->real_port - 1]; in xhci_update_tt_active_eps()
H A Dxhci.h1023 u8 real_port; member
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-trace.h176 __field(u8, real_port)
185 __entry->real_port = (u8) vdev->real_port;
188 TP_printk("vdev %p ctx %llx | %llx fake_port %d real_port %d current_mel %d",
190 __entry->fake_port, __entry->real_port, __entry->current_mel
H A Dxhci-mtk-sch.c113 * @real_port value is defined as follow according to xHCI spec:
127 if (!virt_dev->real_port) { in get_bw_info()
128 WARN_ONCE(1, "%s invalid real_port\n", dev_name(&udev->dev)); 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-mem.c781 * it may not have the real_port set correctly. in xhci_free_tt_info()
783 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()
923 xhci_dbg(xhci, "Bad vdev->real_port.\n"); 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 in xhci_setup_addressable_virt_dev()
[all...]
H A Dxhci.c2235 bw_table = &xhci->rh_bw[virt_dev->real_port - 1].bw_table; in xhci_check_tt_bw_table()
2353 virt_dev->real_port); in xhci_check_bw_table()
2366 virt_dev->real_port); in xhci_check_bw_table()
2463 unsigned int port_index = virt_dev->real_port - 1; in xhci_check_bw_table()
2657 rh_bw_info = &xhci->rh_bw[virt_dev->real_port - 1]; in xhci_update_tt_active_eps()
H A Dxhci.h1024 u8 real_port; member
/kernel/linux/linux-5.10/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.c4121 int real_port; in mlx4_adjust_port() local
4128 real_port = mlx4_slave_convert_port(dev, slave, gid[5]); in mlx4_adjust_port()
4129 if (real_port < 0) in mlx4_adjust_port()
4131 gid[5] = real_port; in mlx4_adjust_port()
/kernel/linux/linux-6.6/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()

Completed in 59 milliseconds