• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/qla4xxx/

Lines Matching defs:mbox_sts

298 		 uint32_t *mbox_sts, dma_addr_t init_fw_cb_dma)
301 memset(mbox_sts, 0, sizeof(mbox_sts[0]) * MBOX_REG_COUNT);
309 if (qla4xxx_mailbox_command(ha, 6, 6, mbox_cmd, mbox_sts) !=
314 ha->host_no, __func__, mbox_sts[0]));
322 uint32_t *mbox_sts, dma_addr_t init_fw_cb_dma)
325 memset(mbox_sts, 0, sizeof(mbox_sts[0]) * MBOX_REG_COUNT);
331 if (qla4xxx_mailbox_command(ha, 5, 5, mbox_cmd, mbox_sts) !=
336 ha->host_no, __func__, mbox_sts[0]));
383 uint32_t *mbox_sts,
387 if (qla4xxx_get_ifcb(ha, mbox_cmd, mbox_sts, init_fw_cb_dma)
431 uint32_t mbox_sts[MBOX_REG_COUNT];
446 memset(&mbox_sts, 0, sizeof(mbox_sts));
448 if (qla4xxx_get_ifcb(ha, &mbox_cmd[0], &mbox_sts[0], init_fw_cb_dma) !=
477 if (qla4xxx_set_ifcb(ha, &mbox_cmd[0], &mbox_sts[0], init_fw_cb_dma)
485 if (qla4xxx_update_local_ifcb(ha, &mbox_cmd[0], &mbox_sts[0],
509 uint32_t mbox_sts[MBOX_REG_COUNT];
522 if (qla4xxx_get_ifcb(ha, &mbox_cmd[0], &mbox_sts[0], init_fw_cb_dma) !=
547 uint32_t mbox_sts[MBOX_REG_COUNT];
551 memset(&mbox_sts, 0, sizeof(mbox_sts));
555 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 4, &mbox_cmd[0], &mbox_sts[0]) !=
559 mbox_sts[0]));
562 ha->firmware_state = mbox_sts[1];
563 ha->board_id = mbox_sts[2];
564 ha->addl_fw_state = mbox_sts[3];
578 uint32_t mbox_sts[MBOX_REG_COUNT];
582 memset(&mbox_sts, 0, sizeof(mbox_sts));
586 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 3, &mbox_cmd[0], &mbox_sts[0]) !=
590 mbox_sts[0]));
623 uint32_t mbox_sts[MBOX_REG_COUNT];
632 memset(&mbox_sts, 0, sizeof(mbox_sts));
640 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 7, &mbox_cmd[0], &mbox_sts[0]) ==
644 mbox_sts[0]));
647 if (fw_ddb_index != mbox_sts[1]) {
650 mbox_sts[1]));
659 mbox_sts[0], mbox_sts[2], mbox_sts[3],
660 mbox_sts[4], mbox_sts[5],
668 mbox_sts[0], mbox_sts[2], mbox_sts[3],
669 mbox_sts[4], mbox_sts[5],
676 *num_valid_ddb_entries = mbox_sts[2];
678 *next_ddb_index = mbox_sts[3];
680 *fw_ddb_device_state = mbox_sts[4];
690 *conn_err_detail = mbox_sts[5];
692 *tcp_source_port_num = (uint16_t) (mbox_sts[6] >> 16);
694 *connection_id = (uint16_t) mbox_sts[6] & 0x00FF;
716 uint32_t mbox_sts[MBOX_REG_COUNT];
723 memset(&mbox_sts, 0, sizeof(mbox_sts));
732 &mbox_sts[0]);
734 ha->host_no, __func__, status, mbox_sts[0], mbox_sts[4]);)
748 uint32_t mbox_sts[MBOX_REG_COUNT];
754 memset(&mbox_sts, 0, sizeof(mbox_cmd));
759 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 5, &mbox_cmd[0], &mbox_sts[0]) !=
765 crash_record_size = mbox_sts[4];
780 memset(&mbox_sts, 0, sizeof(mbox_cmd));
787 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 5, &mbox_cmd[0], &mbox_sts[0]) !=
806 uint32_t mbox_sts[MBOX_REG_COUNT];
817 memset(&mbox_sts, 0, sizeof(mbox_cmd));
822 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 5, &mbox_cmd[0], &mbox_sts[0]) !=
826 event_log_size = mbox_sts[4];
838 memset(&mbox_sts, 0, sizeof(mbox_cmd));
844 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 5, &mbox_cmd[0], &mbox_sts[0]) !=
852 num_valid_entries = mbox_sts[1];
906 uint32_t mbox_sts[MBOX_REG_COUNT];
917 memset(&mbox_sts, 0, sizeof(mbox_sts));
934 &mbox_sts[0]);
935 if (mbox_sts[0] != MBOX_STS_COMMAND_COMPLETE) {
940 ha->host_no, cmd->device->id, cmd->device->lun, mbox_sts[0],
941 mbox_sts[1], mbox_sts[2], mbox_sts[3], mbox_sts[4]));
961 uint32_t mbox_sts[MBOX_REG_COUNT];
972 memset(&mbox_sts, 0, sizeof(mbox_sts));
979 qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 1, &mbox_cmd[0], &mbox_sts[0]);
980 if (mbox_sts[0] != MBOX_STS_COMMAND_COMPLETE &&
981 mbox_sts[0] != MBOX_STS_COMMAND_ERROR)
1001 uint32_t mbox_sts[MBOX_REG_COUNT];
1012 memset(&mbox_sts, 0, sizeof(mbox_sts));
1019 &mbox_sts[0]);
1020 if (mbox_sts[0] != MBOX_STS_COMMAND_COMPLETE &&
1021 mbox_sts[0] != MBOX_STS_COMMAND_ERROR)
1031 uint32_t mbox_sts[MBOX_REG_COUNT];
1034 memset(&mbox_sts, 0, sizeof(mbox_sts));
1042 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 2, &mbox_cmd[0], &mbox_sts[0]) !=
1046 __func__, mbox_sts[0], mbox_sts[1], offset, len));
1063 uint32_t mbox_sts[MBOX_REG_COUNT];
1067 memset(&mbox_sts, 0, sizeof(mbox_sts));
1071 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 5, &mbox_cmd[0], &mbox_sts[0]) !=
1074 "status %04X\n", ha->host_no, __func__, mbox_sts[0]));
1079 ha->firmware_version[0] = mbox_sts[1];
1080 ha->firmware_version[1] = mbox_sts[2];
1081 ha->patch_number = mbox_sts[3];
1082 ha->build_number = mbox_sts[4];
1091 uint32_t mbox_sts[MBOX_REG_COUNT];
1094 memset(&mbox_sts, 0, sizeof(mbox_sts));
1100 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 1, &mbox_cmd[0], &mbox_sts[0]) !=
1103 ha->host_no, __func__, mbox_sts[0]));
1112 uint32_t mbox_sts[MBOX_REG_COUNT];
1115 memset(&mbox_sts, 0, sizeof(mbox_sts));
1120 if (qla4xxx_mailbox_command(ha, MBOX_REG_COUNT, 3, &mbox_cmd[0], &mbox_sts[0]) !=
1122 if (mbox_sts[0] == MBOX_STS_COMMAND_ERROR) {
1123 *ddb_index = mbox_sts[2];
1126 ha->host_no, __func__, mbox_sts[0]));