Lines Matching refs:CoppCP
1092 if ((pt->CoppCP.cmd.reset.op_code == IPS_CMD_RESET_CHANNEL) && in ips_queue_lck()
1093 (pt->CoppCP.cmd.reset.adapter_flag == 1)) { in ips_queue_lck()
1630 pt->CoppCP.cmd.flashfw.op_code == in ips_make_passthru()
1662 if (IPS_IS_TROMBONE(ha) && pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE) { in ips_flash_copperhead()
1673 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_copperhead()
1674 pt->CoppCP.cmd.flashfw.direction == IPS_ERASE_BIOS) { in ips_flash_copperhead()
1677 } else if (pt->CoppCP.cmd.flashfw.packet_num == 0) { in ips_flash_copperhead()
1684 datasize = pt->CoppCP.cmd.flashfw.total_packets * in ips_flash_copperhead()
1685 pt->CoppCP.cmd.flashfw.count; in ips_flash_copperhead()
1697 if (pt->CoppCP.cmd.flashfw.count + ha->flash_datasize > in ips_flash_copperhead()
1709 pt->CoppCP.cmd.flashfw.count); in ips_flash_copperhead()
1710 ha->flash_datasize += pt->CoppCP.cmd.flashfw.count; in ips_flash_copperhead()
1711 if (pt->CoppCP.cmd.flashfw.packet_num == in ips_flash_copperhead()
1712 pt->CoppCP.cmd.flashfw.total_packets - 1) { in ips_flash_copperhead()
1713 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE) in ips_flash_copperhead()
1715 else if (pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE) in ips_flash_copperhead()
1730 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_bios()
1731 pt->CoppCP.cmd.flashfw.direction == IPS_WRITE_BIOS) { in ips_flash_bios()
1763 } else if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_bios()
1764 pt->CoppCP.cmd.flashfw.direction == IPS_ERASE_BIOS) { in ips_flash_bios()
1834 if (pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE && in ips_flash_firmware()
1835 pt->CoppCP.cmd.flashfw.direction == IPS_WRITE_FW) { in ips_flash_firmware()
1836 memset(&pt->CoppCP.cmd, 0, sizeof (IPS_HOST_COMMAND)); in ips_flash_firmware()
1837 pt->CoppCP.cmd.flashfw.op_code = IPS_CMD_DOWNLOAD; in ips_flash_firmware()
1838 pt->CoppCP.cmd.flashfw.count = cpu_to_le32(ha->flash_datasize); in ips_flash_firmware()
1849 memcpy(&scb->cmd, &pt->CoppCP.cmd, sizeof (IPS_IOCTL_CMD)); in ips_flash_firmware()
1916 memcpy(&scb->cmd, &pt->CoppCP.cmd, sizeof (IPS_IOCTL_CMD)); in ips_usrcmd()
1917 memcpy(&scb->dcdb, &pt->CoppCP.dcdb, sizeof (IPS_DCDB_TABLE)); in ips_usrcmd()
2006 memcpy(&pt->CoppCP.dcdb, &scb->dcdb, sizeof (IPS_DCDB_TABLE)); in ips_cleanup_passthru()