Lines Matching refs:CoppCP
1074 if ((pt->CoppCP.cmd.reset.op_code == IPS_CMD_RESET_CHANNEL) && in ips_queue_lck()
1075 (pt->CoppCP.cmd.reset.adapter_flag == 1)) { in ips_queue_lck()
1611 pt->CoppCP.cmd.flashfw.op_code == in ips_make_passthru()
1643 if (IPS_IS_TROMBONE(ha) && pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE) { in ips_flash_copperhead()
1654 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_copperhead()
1655 pt->CoppCP.cmd.flashfw.direction == IPS_ERASE_BIOS) { in ips_flash_copperhead()
1658 } else if (pt->CoppCP.cmd.flashfw.packet_num == 0) { in ips_flash_copperhead()
1665 datasize = pt->CoppCP.cmd.flashfw.total_packets * in ips_flash_copperhead()
1666 pt->CoppCP.cmd.flashfw.count; in ips_flash_copperhead()
1678 if (pt->CoppCP.cmd.flashfw.count + ha->flash_datasize > in ips_flash_copperhead()
1690 pt->CoppCP.cmd.flashfw.count); in ips_flash_copperhead()
1691 ha->flash_datasize += pt->CoppCP.cmd.flashfw.count; in ips_flash_copperhead()
1692 if (pt->CoppCP.cmd.flashfw.packet_num == in ips_flash_copperhead()
1693 pt->CoppCP.cmd.flashfw.total_packets - 1) { in ips_flash_copperhead()
1694 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE) in ips_flash_copperhead()
1696 else if (pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE) in ips_flash_copperhead()
1711 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_bios()
1712 pt->CoppCP.cmd.flashfw.direction == IPS_WRITE_BIOS) { in ips_flash_bios()
1744 } else if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE && in ips_flash_bios()
1745 pt->CoppCP.cmd.flashfw.direction == IPS_ERASE_BIOS) { in ips_flash_bios()
1815 if (pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE && in ips_flash_firmware()
1816 pt->CoppCP.cmd.flashfw.direction == IPS_WRITE_FW) { in ips_flash_firmware()
1817 memset(&pt->CoppCP.cmd, 0, sizeof (IPS_HOST_COMMAND)); in ips_flash_firmware()
1818 pt->CoppCP.cmd.flashfw.op_code = IPS_CMD_DOWNLOAD; in ips_flash_firmware()
1819 pt->CoppCP.cmd.flashfw.count = cpu_to_le32(ha->flash_datasize); in ips_flash_firmware()
1830 memcpy(&scb->cmd, &pt->CoppCP.cmd, sizeof (IPS_IOCTL_CMD)); in ips_flash_firmware()
1897 memcpy(&scb->cmd, &pt->CoppCP.cmd, sizeof (IPS_IOCTL_CMD)); in ips_usrcmd()
1898 memcpy(&scb->dcdb, &pt->CoppCP.dcdb, sizeof (IPS_DCDB_TABLE)); in ips_usrcmd()
1987 memcpy(&pt->CoppCP.dcdb, &scb->dcdb, sizeof (IPS_DCDB_TABLE)); in ips_cleanup_passthru()