Lines Matching refs:CoppCP
1100 if ((pt->CoppCP.cmd.reset.op_code == IPS_CMD_RESET_CHANNEL) && in ips_queue_lck()
1101 (pt->CoppCP.cmd.reset.adapter_flag == 1)) { in ips_queue_lck()
1632 pt->CoppCP.cmd.flashfw.op_code == in ips_make_passthru()
1664 if (IPS_IS_TROMBONE(ha) && pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE) { in ips_flash_copperhead()
1675 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_copperhead()
1676 pt->CoppCP.cmd.flashfw.direction == IPS_ERASE_BIOS) { in ips_flash_copperhead()
1679 } else if (pt->CoppCP.cmd.flashfw.packet_num == 0) { in ips_flash_copperhead()
1686 datasize = pt->CoppCP.cmd.flashfw.total_packets * in ips_flash_copperhead()
1687 pt->CoppCP.cmd.flashfw.count; in ips_flash_copperhead()
1700 if (pt->CoppCP.cmd.flashfw.count + ha->flash_datasize > in ips_flash_copperhead()
1712 pt->CoppCP.cmd.flashfw.count); in ips_flash_copperhead()
1713 ha->flash_datasize += pt->CoppCP.cmd.flashfw.count; in ips_flash_copperhead()
1714 if (pt->CoppCP.cmd.flashfw.packet_num == in ips_flash_copperhead()
1715 pt->CoppCP.cmd.flashfw.total_packets - 1) { in ips_flash_copperhead()
1716 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE) in ips_flash_copperhead()
1718 else if (pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE) in ips_flash_copperhead()
1733 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_bios()
1734 pt->CoppCP.cmd.flashfw.direction == IPS_WRITE_BIOS) { in ips_flash_bios()
1766 } else if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_bios()
1767 pt->CoppCP.cmd.flashfw.direction == IPS_ERASE_BIOS) { in ips_flash_bios()
1837 if (pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE && in ips_flash_firmware()
1838 pt->CoppCP.cmd.flashfw.direction == IPS_WRITE_FW) { in ips_flash_firmware()
1839 memset(&pt->CoppCP.cmd, 0, sizeof (IPS_HOST_COMMAND)); in ips_flash_firmware()
1840 pt->CoppCP.cmd.flashfw.op_code = IPS_CMD_DOWNLOAD; in ips_flash_firmware()
1841 pt->CoppCP.cmd.flashfw.count = cpu_to_le32(ha->flash_datasize); in ips_flash_firmware()
1852 memcpy(&scb->cmd, &pt->CoppCP.cmd, sizeof (IPS_IOCTL_CMD)); in ips_flash_firmware()
1919 memcpy(&scb->cmd, &pt->CoppCP.cmd, sizeof (IPS_IOCTL_CMD)); in ips_usrcmd()
1920 memcpy(&scb->dcdb, &pt->CoppCP.dcdb, sizeof (IPS_DCDB_TABLE)); in ips_usrcmd()
2009 memcpy(&pt->CoppCP.dcdb, &scb->dcdb, sizeof (IPS_DCDB_TABLE)); in ips_cleanup_passthru()