/drivers/net/team/ |
H A D | team_mode_random.c | 21 int port_index; local 23 port_index = prandom_u32_max(team->en_port_count); 24 port = team_get_port_by_index_rcu(team, port_index);
|
H A D | team_mode_roundrobin.c | 31 int port_index; local 33 port_index = team_num_to_port_index(team, 35 port = team_get_port_by_index_rcu(team, port_index);
|
H A D | team_mode_loadbalance.c | 115 int port_index = team_num_to_port_index(team, hash); local 117 return team_get_port_by_index_rcu(team, port_index);
|
/drivers/scsi/isci/ |
H A D | port_config.c | 249 u8 port_index; local 256 for (port_index = 0; port_index < SCI_MAX_PORTS; port_index++) { 257 phy_mask = ihost->oem_parameters.ports[port_index].phy_mask; 279 port_agent->phy_valid_port_range[phy_index].min_index = port_index; 282 if (phy_index != port_index) { 307 port_agent->phy_valid_port_range[phy_index].min_index = port_index; 310 sci_port_add_phy(&ihost->ports[port_index], 437 u8 port_index; local 487 u8 port_index; local [all...] |
H A D | port.h | 204 u8 port_index,
|
/drivers/usb/host/ |
H A D | xhci-hub.c | 1105 int max_ports, port_index; local 1124 port_index = max_ports; 1126 while (port_index--) { 1131 t1 = readl(port_array[port_index]); 1135 xhci_dbg(xhci, "port %d not suspended\n", port_index); 1137 port_index + 1); 1145 set_bit(port_index, &bus_state->bus_suspended); 1164 writel(t2, port_array[port_index]); 1175 int max_ports, port_index; local 1198 port_index [all...] |
H A D | xhci-mem.c | 2168 int i, j, port_index; local 2272 port_index = 0; 2279 xhci->usb2_ports[port_index] = 2285 xhci->usb2_ports[port_index]); 2286 port_index++; 2287 if (port_index == xhci->num_usb2_ports) 2297 port_index = 0; 2300 xhci->usb3_ports[port_index] = 2306 xhci->usb3_ports[port_index]); 2307 port_index [all...] |
H A D | u132-hcd.c | 2649 static int u132_roothub_portreset(struct u132 *u132, int port_index) argument 2664 roothub.portstatus[port_index], &portstat); 2677 roothub.portstatus[port_index], 2685 retval = u132_write_pcimem(u132, roothub.portstatus[port_index], 2705 int port_index = wIndex - 1; local 2706 struct u132_port *port = &u132->port[port_index]; 2711 roothub.portstatus[port_index], RH_PS_PSS); 2717 roothub.portstatus[port_index], RH_PS_PPS); 2722 retval = u132_roothub_portreset(u132, port_index); 2738 int port_index local [all...] |
H A D | xhci.c | 858 int port_index; local 866 port_index = xhci->num_usb3_ports; 868 while (port_index--) { 869 t1 = readl(port_array[port_index]); 873 writel(t2, port_array[port_index]); 877 port_index = xhci->num_usb2_ports; 879 while (port_index--) { 880 t1 = readl(port_array[port_index]); 884 writel(t2, port_array[port_index]); 2323 unsigned int port_index local [all...] |
/drivers/w1/masters/ |
H A D | matrox_w1.c | 81 void __iomem *port_index; member in struct:matrox_device 110 writeb(reg, dev->port_index); 119 writeb(reg, dev->port_index); 193 dev->port_index = dev->base_addr + MATROX_PORT_INDEX_OFFSET;
|
/drivers/infiniband/core/ |
H A D | device.c | 229 u8 port_index; local 244 for (port_index = 0; port_index < num_ports; ++port_index) { 245 ret = ib_query_port(device, port_index + start_port(device), 249 device->pkey_tbl_len[port_index] = tprops->pkey_tbl_len; 250 device->gid_tbl_len[port_index] = tprops->gid_tbl_len;
|
/drivers/infiniband/hw/mlx4/ |
H A D | alias_GUID.c | 76 int port_index = port_num - 1; local 97 memcpy(&dev->sriov.demux[port_index].guid_cache[slave_id], 205 u8 port_index ; local 214 port_index = cb_ctx->port - 1; 215 rec = &dev->sriov.alias_guid.ports_guid[port_index]. 235 rec = &dev->sriov.alias_guid.ports_guid[port_index]. 301 queue_delayed_work(dev->sriov.alias_guid.ports_guid[port_index].wq, 302 &dev->sriov.alias_guid.ports_guid[port_index].
|
/drivers/firewire/ |
H A D | core-topology.c | 102 static int get_port_type(u32 *sid, int port_index) argument 106 index = (port_index + 5) / 8; 107 shift = 16 - ((port_index + 5) & 7) * 2;
|
H A D | ohci.c | 1782 static int get_status_for_port(struct fw_ohci *ohci, int port_index) argument 1787 reg = write_phy_reg(ohci, 7, port_index);
|
/drivers/staging/octeon/ |
H A D | ethernet.c | 713 int port_index; local 715 for (port_index = 0, 718 port_index++, port++) { 732 port_index);
|
/drivers/target/ |
H A D | target_core_stat.c | 791 DEV_STAT_SCSI_TGT_PORT_ATTR_RO(port_index); variable
|