Lines Matching refs:index

113  * be used as an index.
125 * be used as an index into an array
257 u32 index = SCU_GET_COMPLETION_INDEX(ent);
258 struct isci_request *ireq = ihost->reqs[index];
263 ISCI_TAG_SEQ(ireq->io_tag) == ihost->io_request_sequence[index])
272 u32 index;
276 index = SCU_GET_COMPLETION_INDEX(ent);
281 ireq = ihost->reqs[index];
291 idev = ihost->device_table[index];
307 u32 index;
331 index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent);
332 iphy = &ihost->phys[index];
336 index = SCU_GET_COMPLETION_INDEX(ent);
338 if (index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) {
343 index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent);
344 iphy = &ihost->phys[index];
347 if (index < ihost->remote_node_entries)
348 idev = ihost->device_table[index];
371 u32 index;
373 index = SCU_GET_COMPLETION_INDEX(ent);
401 ireq = ihost->reqs[index];
409 ireq = ihost->reqs[index];
424 idev = ihost->device_table[index];
449 index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent);
450 iphy = &ihost->phys[index];
457 if (index < ihost->remote_node_entries) {
458 idev = ihost->device_table[index];
470 index);
751 u32 index;
787 for (index = 0; index < SCU_MAX_COMPLETION_QUEUE_ENTRIES; index++) {
792 ihost->completion_queue[index] = 0x80000000;
990 u16 index;
1002 for (index = 0; index < ihost->task_context_entries; index++)
1003 isci_tci_free(ihost, index);
1028 for (index = 0; index < ihost->logical_port_entries; index++) {
1029 struct isci_port *iport = &ihost->ports[index];
1203 u32 index;
1209 for (index = 0; index < SCI_MAX_PHYS; index++) {
1210 phy_status = sci_phy_stop(&ihost->phys[index]);
1220 ihost->phys[index].phy_index, phy_status);
1469 u32 index;
1473 for (index = 0; index < ihost->logical_port_entries; index++) {
1474 struct isci_port *iport = &ihost->ports[index];
1496 u32 index;
1502 for (index = 0; index < ihost->remote_node_entries; index++) {
1503 if (ihost->device_table[index] != NULL) {
1505 device_status = sci_remote_device_stop(ihost->device_table[index], 0);
1514 ihost->device_table[index], device_status);
2423 u32 index;
2425 for (index = 0; index < ihost->remote_node_entries; index++) {
2426 if ((ihost->device_table[index] != NULL) &&
2427 (ihost->device_table[index]->sm.current_state_id == SCI_DEV_STOPPING))
2481 * This method allocates remote node index and the reserves the remote node
2483 * node index available.
2492 * node index available.