• Home
  • Raw
  • Download

Lines Matching refs:adapt

4239 		if (ha->adapt) {  in ips_free()
4242 sizeof (IPS_IO_CMD), ha->adapt, in ips_free()
4243 ha->adapt->hw_status_start); in ips_free()
4244 ha->adapt = NULL; in ips_free()
4399 ha->dummy->ccsar = cpu_to_le32(ha->adapt->hw_status_start in ips_init_scb()
4410 scb->cmd.basic_io.ccsar = cpu_to_le32(ha->adapt->hw_status_start in ips_init_scb()
5157 ha->adapt->p_status_start = ha->adapt->status; in ips_statinit()
5158 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS; in ips_statinit()
5159 ha->adapt->p_status_tail = ha->adapt->status; in ips_statinit()
5161 phys_status_start = ha->adapt->hw_status_start; in ips_statinit()
5169 ha->adapt->hw_status_tail = phys_status_start; in ips_statinit()
5188 ha->adapt->p_status_start = ha->adapt->status; in ips_statinit_memio()
5189 ha->adapt->p_status_end = ha->adapt->status + IPS_MAX_CMDS; in ips_statinit_memio()
5190 ha->adapt->p_status_tail = ha->adapt->status; in ips_statinit_memio()
5192 phys_status_start = ha->adapt->hw_status_start; in ips_statinit_memio()
5199 ha->adapt->hw_status_tail = phys_status_start; in ips_statinit_memio()
5216 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) { in ips_statupd_copperhead()
5217 ha->adapt->p_status_tail++; in ips_statupd_copperhead()
5218 ha->adapt->hw_status_tail += sizeof (IPS_STATUS); in ips_statupd_copperhead()
5220 ha->adapt->p_status_tail = ha->adapt->p_status_start; in ips_statupd_copperhead()
5221 ha->adapt->hw_status_tail = ha->adapt->hw_status_start; in ips_statupd_copperhead()
5224 outl(ha->adapt->hw_status_tail, in ips_statupd_copperhead()
5227 return (ha->adapt->p_status_tail->value); in ips_statupd_copperhead()
5244 if (ha->adapt->p_status_tail != ha->adapt->p_status_end) { in ips_statupd_copperhead_memio()
5245 ha->adapt->p_status_tail++; in ips_statupd_copperhead_memio()
5246 ha->adapt->hw_status_tail += sizeof (IPS_STATUS); in ips_statupd_copperhead_memio()
5248 ha->adapt->p_status_tail = ha->adapt->p_status_start; in ips_statupd_copperhead_memio()
5249 ha->adapt->hw_status_tail = ha->adapt->hw_status_start; in ips_statupd_copperhead_memio()
5252 writel(ha->adapt->hw_status_tail, ha->mem_ptr + IPS_REG_SQTR); in ips_statupd_copperhead_memio()
5254 return (ha->adapt->p_status_tail->value); in ips_statupd_copperhead_memio()
7004 ha->adapt = pci_alloc_consistent(pci_dev, sizeof (IPS_ADAPTER) + in ips_init_phase1()
7006 if (!ha->adapt) { in ips_init_phase1()
7011 ha->adapt->hw_status_start = dma_address; in ips_init_phase1()
7012 ha->dummy = (void *) (ha->adapt + 1); in ips_init_phase1()