Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dxhci-mtk-sch.c56 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_index()
58 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_index()
61 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_index()
Dxhci-trace.h182 __field(u8, real_port)
191 __entry->real_port = (u8) vdev->real_port;
196 __entry->fake_port, __entry->real_port, __entry->current_mel
Dxhci-mem.c813 if (virt_dev->real_port == 0 || in xhci_free_tt_info()
814 virt_dev->real_port > HCS_MAX_PORTS(xhci->hcs_params1)) { in xhci_free_tt_info()
819 tt_list_head = &(xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_free_tt_info()
856 &xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_alloc_tt_info()
947 if (vdev->real_port == 0 || in xhci_free_virt_devices_depth_first()
948 vdev->real_port > HCS_MAX_PORTS(xhci->hcs_params1)) { in xhci_free_virt_devices_depth_first()
953 tt_list_head = &(xhci->rh_bw[vdev->real_port - 1].tts); in xhci_free_virt_devices_depth_first()
1153 dev->real_port = port_num; in xhci_setup_addressable_virt_dev()
Dxhci.c2152 bw_table = &xhci->rh_bw[virt_dev->real_port - 1].bw_table; in xhci_check_tt_bw_table()
2270 virt_dev->real_port); in xhci_check_bw_table()
2283 virt_dev->real_port); in xhci_check_bw_table()
2380 unsigned int port_index = virt_dev->real_port - 1; in xhci_check_bw_table()
2580 rh_bw_info = &xhci->rh_bw[virt_dev->real_port - 1]; in xhci_update_tt_active_eps()
Dxhci.h1002 u8 real_port; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dfw.c1277 int real_port; in mlx4_QUERY_DEV_CAP_wrapper() local
1296 for (slave_port = 0, real_port = first_port; in mlx4_QUERY_DEV_CAP_wrapper()
1297 real_port < first_port + in mlx4_QUERY_DEV_CAP_wrapper()
1299 ++real_port, ++slave_port) { in mlx4_QUERY_DEV_CAP_wrapper()
1300 if (flags & (MLX4_DEV_CAP_FLAG_WOL_PORT1 << real_port)) in mlx4_QUERY_DEV_CAP_wrapper()
Dresource_tracker.c4111 int real_port; in mlx4_adjust_port() local
4118 real_port = mlx4_slave_convert_port(dev, slave, gid[5]); in mlx4_adjust_port()
4119 if (real_port < 0) in mlx4_adjust_port()
4121 gid[5] = real_port; in mlx4_adjust_port()