Lines Matching full:adapt

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