Lines Matching refs:index
115 * be used as an index.
127 * be used as an index into an array
259 u32 index = SCU_GET_COMPLETION_INDEX(ent);
260 struct isci_request *ireq = ihost->reqs[index];
265 ISCI_TAG_SEQ(ireq->io_tag) == ihost->io_request_sequence[index])
274 u32 index;
278 index = SCU_GET_COMPLETION_INDEX(ent);
283 ireq = ihost->reqs[index];
293 idev = ihost->device_table[index];
309 u32 index;
333 index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent);
334 iphy = &ihost->phys[index];
338 index = SCU_GET_COMPLETION_INDEX(ent);
340 if (index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) {
345 index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent);
346 iphy = &ihost->phys[index];
349 if (index < ihost->remote_node_entries)
350 idev = ihost->device_table[index];
373 u32 index;
375 index = SCU_GET_COMPLETION_INDEX(ent);
403 ireq = ihost->reqs[index];
411 ireq = ihost->reqs[index];
426 idev = ihost->device_table[index];
451 index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent);
452 iphy = &ihost->phys[index];
459 if (index < ihost->remote_node_entries) {
460 idev = ihost->device_table[index];
472 index);
753 u32 index;
789 for (index = 0; index < SCU_MAX_COMPLETION_QUEUE_ENTRIES; index++) {
794 ihost->completion_queue[index] = 0x80000000;
992 u16 index;
1004 for (index = 0; index < ihost->task_context_entries; index++)
1005 isci_tci_free(ihost, index);
1030 for (index = 0; index < ihost->logical_port_entries; index++) {
1031 struct isci_port *iport = &ihost->ports[index];
1205 u32 index;
1211 for (index = 0; index < SCI_MAX_PHYS; index++) {
1212 phy_status = sci_phy_stop(&ihost->phys[index]);
1222 ihost->phys[index].phy_index, phy_status);
1471 u32 index;
1475 for (index = 0; index < ihost->logical_port_entries; index++) {
1476 struct isci_port *iport = &ihost->ports[index];
1498 u32 index;
1504 for (index = 0; index < ihost->remote_node_entries; index++) {
1505 if (ihost->device_table[index] != NULL) {
1507 device_status = sci_remote_device_stop(ihost->device_table[index], 0);
1516 ihost->device_table[index], device_status);
2425 u32 index;
2427 for (index = 0; index < ihost->remote_node_entries; index++) {
2428 if ((ihost->device_table[index] != NULL) &&
2429 (ihost->device_table[index]->sm.current_state_id == SCI_DEV_STOPPING))
2482 * This method allocates remote node index and the reserves the remote node
2484 * node index available.
2493 * node index available.