Lines Matching refs:adapt

4223 		if (ha->adapt) {
4226 sizeof (IPS_IO_CMD), ha->adapt,
4227 ha->adapt->hw_status_start);
4228 ha->adapt = NULL;
4382 ha->dummy->ccsar = cpu_to_le32(ha->adapt->hw_status_start
4393 scb->cmd.basic_io.ccsar = cpu_to_le32(ha->adapt->hw_status_start
5139 ha->adapt->p_status_start = ha->adapt->status;
5140 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS;
5141 ha->adapt->p_status_tail = ha->adapt->status;
5143 phys_status_start = ha->adapt->hw_status_start;
5151 ha->adapt->hw_status_tail = phys_status_start;
5170 ha->adapt->p_status_start = ha->adapt->status;
5171 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS;
5172 ha->adapt->p_status_tail = ha->adapt->status;
5174 phys_status_start = ha->adapt->hw_status_start;
5181 ha->adapt->hw_status_tail = phys_status_start;
5198 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) {
5199 ha->adapt->p_status_tail++;
5200 ha->adapt->hw_status_tail += sizeof (IPS_STATUS);
5202 ha->adapt->p_status_tail = ha->adapt->p_status_start;
5203 ha->adapt->hw_status_tail = ha->adapt->hw_status_start;
5206 outl(ha->adapt->hw_status_tail,
5209 return (ha->adapt->p_status_tail->value);
5226 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) {
5227 ha->adapt->p_status_tail++;
5228 ha->adapt->hw_status_tail += sizeof (IPS_STATUS);
5230 ha->adapt->p_status_tail = ha->adapt->p_status_start;
5231 ha->adapt->hw_status_tail = ha->adapt->hw_status_start;
5234 writel(ha->adapt->hw_status_tail, ha->mem_ptr + IPS_REG_SQTR);
5236 return (ha->adapt->p_status_tail->value);
6941 ha->adapt = dma_alloc_coherent(&pci_dev->dev,
6944 if (!ha->adapt) {
6946 "Unable to allocate host adapt & dummy structures\n");
6949 ha->adapt->hw_status_start = dma_address;
6950 ha->dummy = (void *) (ha->adapt + 1);