Lines Matching refs:adapt

4226 		if (ha->adapt) {
4229 sizeof (IPS_IO_CMD), ha->adapt,
4230 ha->adapt->hw_status_start);
4231 ha->adapt = NULL;
4385 ha->dummy->ccsar = cpu_to_le32(ha->adapt->hw_status_start
4396 scb->cmd.basic_io.ccsar = cpu_to_le32(ha->adapt->hw_status_start
5142 ha->adapt->p_status_start = ha->adapt->status;
5143 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS;
5144 ha->adapt->p_status_tail = ha->adapt->status;
5146 phys_status_start = ha->adapt->hw_status_start;
5154 ha->adapt->hw_status_tail = phys_status_start;
5173 ha->adapt->p_status_start = ha->adapt->status;
5174 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS;
5175 ha->adapt->p_status_tail = ha->adapt->status;
5177 phys_status_start = ha->adapt->hw_status_start;
5184 ha->adapt->hw_status_tail = phys_status_start;
5201 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) {
5202 ha->adapt->p_status_tail++;
5203 ha->adapt->hw_status_tail += sizeof (IPS_STATUS);
5205 ha->adapt->p_status_tail = ha->adapt->p_status_start;
5206 ha->adapt->hw_status_tail = ha->adapt->hw_status_start;
5209 outl(ha->adapt->hw_status_tail,
5212 return (ha->adapt->p_status_tail->value);
5229 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) {
5230 ha->adapt->p_status_tail++;
5231 ha->adapt->hw_status_tail += sizeof (IPS_STATUS);
5233 ha->adapt->p_status_tail = ha->adapt->p_status_start;
5234 ha->adapt->hw_status_tail = ha->adapt->hw_status_start;
5237 writel(ha->adapt->hw_status_tail, ha->mem_ptr + IPS_REG_SQTR);
5239 return (ha->adapt->p_status_tail->value);
6944 ha->adapt = dma_alloc_coherent(&pci_dev->dev,
6947 if (!ha->adapt) {
6949 "Unable to allocate host adapt & dummy structures\n");
6952 ha->adapt->hw_status_start = dma_address;
6953 ha->dummy = (void *) (ha->adapt + 1);