Lines Matching refs:flashfw

1736 			    pt->CoppCP.cmd.flashfw.op_code ==
1768 if (IPS_IS_TROMBONE(ha) && pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE) {
1779 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE &&
1780 pt->CoppCP.cmd.flashfw.direction == IPS_ERASE_BIOS) {
1783 } else if (pt->CoppCP.cmd.flashfw.packet_num == 0) {
1790 datasize = pt->CoppCP.cmd.flashfw.total_packets *
1791 pt->CoppCP.cmd.flashfw.count;
1804 if (pt->CoppCP.cmd.flashfw.count + ha->flash_datasize >
1816 pt->CoppCP.cmd.flashfw.count);
1817 ha->flash_datasize += pt->CoppCP.cmd.flashfw.count;
1818 if (pt->CoppCP.cmd.flashfw.packet_num ==
1819 pt->CoppCP.cmd.flashfw.total_packets - 1) {
1820 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE)
1822 else if (pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE)
1837 if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE &&
1838 pt->CoppCP.cmd.flashfw.direction == IPS_WRITE_BIOS) {
1870 } else if (pt->CoppCP.cmd.flashfw.type == IPS_BIOS_IMAGE &&
1871 pt->CoppCP.cmd.flashfw.direction == IPS_ERASE_BIOS) {
1941 if (pt->CoppCP.cmd.flashfw.type == IPS_FW_IMAGE &&
1942 pt->CoppCP.cmd.flashfw.direction == IPS_WRITE_FW) {
1944 pt->CoppCP.cmd.flashfw.op_code = IPS_CMD_DOWNLOAD;
1945 pt->CoppCP.cmd.flashfw.count = cpu_to_le32(ha->flash_datasize);
1975 scb->cmd.flashfw.command_id = IPS_COMMAND_ID(ha, scb);
1976 scb->cmd.flashfw.buffer_addr = cpu_to_le32(scb->data_busaddr);
2120 (scb->cmd.flashfw.op_code == IPS_CMD_DOWNLOAD ||
2121 scb->cmd.flashfw.op_code == IPS_CMD_RW_BIOSFW))
2522 scb->cmd.flashfw.op_code = IPS_CMD_RW_BIOSFW;
2523 scb->cmd.flashfw.command_id = IPS_COMMAND_ID(ha, scb);
2524 scb->cmd.flashfw.type = 1;
2525 scb->cmd.flashfw.direction = 0;
2526 scb->cmd.flashfw.count = cpu_to_le32(0x800);
2527 scb->cmd.flashfw.total_packets = 1;
2528 scb->cmd.flashfw.packet_num = 0;
2530 scb->cmd.flashfw.buffer_addr = ha->ioctl_busaddr;