Lines Matching refs:adapt

4208 		if (ha->adapt) {
4211 sizeof (IPS_IO_CMD), ha->adapt,
4212 ha->adapt->hw_status_start);
4213 ha->adapt = NULL;
4367 ha->dummy->ccsar = cpu_to_le32(ha->adapt->hw_status_start
4378 scb->cmd.basic_io.ccsar = cpu_to_le32(ha->adapt->hw_status_start
5124 ha->adapt->p_status_start = ha->adapt->status;
5125 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS;
5126 ha->adapt->p_status_tail = ha->adapt->status;
5128 phys_status_start = ha->adapt->hw_status_start;
5136 ha->adapt->hw_status_tail = phys_status_start;
5155 ha->adapt->p_status_start = ha->adapt->status;
5156 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS;
5157 ha->adapt->p_status_tail = ha->adapt->status;
5159 phys_status_start = ha->adapt->hw_status_start;
5166 ha->adapt->hw_status_tail = phys_status_start;
5183 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) {
5184 ha->adapt->p_status_tail++;
5185 ha->adapt->hw_status_tail += sizeof (IPS_STATUS);
5187 ha->adapt->p_status_tail = ha->adapt->p_status_start;
5188 ha->adapt->hw_status_tail = ha->adapt->hw_status_start;
5191 outl(ha->adapt->hw_status_tail,
5194 return (ha->adapt->p_status_tail->value);
5211 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) {
5212 ha->adapt->p_status_tail++;
5213 ha->adapt->hw_status_tail += sizeof (IPS_STATUS);
5215 ha->adapt->p_status_tail = ha->adapt->p_status_start;
5216 ha->adapt->hw_status_tail = ha->adapt->hw_status_start;
5219 writel(ha->adapt->hw_status_tail, ha->mem_ptr + IPS_REG_SQTR);
5221 return (ha->adapt->p_status_tail->value);
6926 ha->adapt = dma_alloc_coherent(&pci_dev->dev,
6929 if (!ha->adapt) {
6931 "Unable to allocate host adapt & dummy structures\n");
6934 ha->adapt->hw_status_start = dma_address;
6935 ha->dummy = (void *) (ha->adapt + 1);