Home
last modified time | relevance | path

Searched refs:host_index (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/scsi/
Dsym53c416.c225 static int host_index = 0; variable
548 if(host_index >= MAXHOSTS) in sym53c416_setup()
559 for(i = 0; i < host_index && i >= 0; i++) in sym53c416_setup()
564 hosts[host_index].base = ints[1]; in sym53c416_setup()
565 hosts[host_index].irq = (ints[0] == 2)? ints[2] : 0; in sym53c416_setup()
566 host_index++; in sym53c416_setup()
681 for(count = 0, i = 0; i < host_index; i++) { in sym53c416_detect()
729 for(i = 0; i < host_index; i++) in sym53c416_info()
777 for(i = 0; i < host_index && scsi_id == -1; i++) in DEF_SCSI_QCMD()
/linux-3.4.99/sound/pci/asihpi/
Dhpi6205.c808 status->host_index = status->dsp_index; in outstream_host_buffer_allocate()
881 return status->size_in_bytes - (status->host_index - in outstream_get_space_available()
929 (status->host_index & (status->size_in_bytes - 1))); in outstream_write()
932 (status->host_index & (status->size_in_bytes - 1)), in outstream_write()
956 status->host_index += phm->u.d.u.data.data_size; in outstream_write()
1085 status->host_index = status->dsp_index; in instream_host_buffer_allocate()
1166 return status->dsp_index - status->host_index; in instream_get_bytes_available()
1207 (status->host_index & (status->size_in_bytes - 1))); in instream_read()
1211 (status->host_index & (status->size_in_bytes - 1)), in instream_read()
1217 status->host_index += phm->u.d.u.data.data_size; in instream_read()
Dhpi_internal.h625 u32 host_index; member
1380 u32 host_index; member
/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_sli.c94 uint32_t host_index; in lpfc_sli4_wq_put() local
99 temp_wqe = q->qe[q->host_index].wqe; in lpfc_sli4_wq_put()
102 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_wq_put()
105 if (!((q->host_index + 1) % q->entry_repost)) in lpfc_sli4_wq_put()
112 host_index = q->host_index; in lpfc_sli4_wq_put()
113 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_wq_put()
118 bf_set(lpfc_wq_doorbell_index, &doorbell, host_index); in lpfc_sli4_wq_put()
172 uint32_t host_index; in lpfc_sli4_mq_put() local
177 temp_mqe = q->qe[q->host_index].mqe; in lpfc_sli4_mq_put()
180 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
[all …]
Dlpfc_debugfs.c2025 phba->sli4_hba.sp_eq->host_index, in lpfc_idiag_queinfo_read()
2044 phba->sli4_hba.fp_eq[fcp_qidx]->host_index, in lpfc_idiag_queinfo_read()
2065 phba->sli4_hba.mbx_cq->host_index, in lpfc_idiag_queinfo_read()
2083 phba->sli4_hba.els_cq->host_index, in lpfc_idiag_queinfo_read()
2106 phba->sli4_hba.fcp_cq[fcp_qidx]->host_index, in lpfc_idiag_queinfo_read()
2128 phba->sli4_hba.mbx_wq->host_index, in lpfc_idiag_queinfo_read()
2146 phba->sli4_hba.els_wq->host_index, in lpfc_idiag_queinfo_read()
2170 phba->sli4_hba.fcp_wq[fcp_qidx]->host_index, in lpfc_idiag_queinfo_read()
2191 phba->sli4_hba.hdr_rq->host_index, in lpfc_idiag_queinfo_read()
2200 phba->sli4_hba.dat_rq->host_index, in lpfc_idiag_queinfo_read()
Dlpfc_sli4.h134 uint32_t host_index; /* The host's index for putting or getting */ member