Lines Matching refs:adapt

4314 		if (ha->adapt) {  in ips_free()
4317 sizeof (IPS_IO_CMD), ha->adapt, in ips_free()
4318 ha->adapt->hw_status_start); in ips_free()
4319 ha->adapt = NULL; in ips_free()
4474 ha->dummy->ccsar = cpu_to_le32(ha->adapt->hw_status_start in ips_init_scb()
4485 scb->cmd.basic_io.ccsar = cpu_to_le32(ha->adapt->hw_status_start in ips_init_scb()
5232 ha->adapt->p_status_start = ha->adapt->status; in ips_statinit()
5233 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS; in ips_statinit()
5234 ha->adapt->p_status_tail = ha->adapt->status; in ips_statinit()
5236 phys_status_start = ha->adapt->hw_status_start; in ips_statinit()
5244 ha->adapt->hw_status_tail = phys_status_start; in ips_statinit()
5263 ha->adapt->p_status_start = ha->adapt->status; in ips_statinit_memio()
5264 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS; in ips_statinit_memio()
5265 ha->adapt->p_status_tail = ha->adapt->status; in ips_statinit_memio()
5267 phys_status_start = ha->adapt->hw_status_start; in ips_statinit_memio()
5274 ha->adapt->hw_status_tail = phys_status_start; in ips_statinit_memio()
5291 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) { in ips_statupd_copperhead()
5292 ha->adapt->p_status_tail++; in ips_statupd_copperhead()
5293 ha->adapt->hw_status_tail += sizeof (IPS_STATUS); in ips_statupd_copperhead()
5295 ha->adapt->p_status_tail = ha->adapt->p_status_start; in ips_statupd_copperhead()
5296 ha->adapt->hw_status_tail = ha->adapt->hw_status_start; in ips_statupd_copperhead()
5299 outl(ha->adapt->hw_status_tail, in ips_statupd_copperhead()
5302 return (ha->adapt->p_status_tail->value); in ips_statupd_copperhead()
5319 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) { in ips_statupd_copperhead_memio()
5320 ha->adapt->p_status_tail++; in ips_statupd_copperhead_memio()
5321 ha->adapt->hw_status_tail += sizeof (IPS_STATUS); in ips_statupd_copperhead_memio()
5323 ha->adapt->p_status_tail = ha->adapt->p_status_start; in ips_statupd_copperhead_memio()
5324 ha->adapt->hw_status_tail = ha->adapt->hw_status_start; in ips_statupd_copperhead_memio()
5327 writel(ha->adapt->hw_status_tail, ha->mem_ptr + IPS_REG_SQTR); in ips_statupd_copperhead_memio()
5329 return (ha->adapt->p_status_tail->value); in ips_statupd_copperhead_memio()
7074 ha->adapt = pci_alloc_consistent(pci_dev, sizeof (IPS_ADAPTER) + in ips_init_phase1()
7076 if (!ha->adapt) { in ips_init_phase1()
7081 ha->adapt->hw_status_start = dma_address; in ips_init_phase1()
7082 ha->dummy = (void *) (ha->adapt + 1); in ips_init_phase1()