Lines Matching refs:os
50 struct efct *efct = hw->os;
66 efc_log_debug(hw->os, "set dump location cmd failed\n");
73 efc_log_debug(hw->os, "Dump size %x\n", hw->dump_size);
85 struct efct *efct = hw->os;
88 efc_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
170 struct efct *efct = hw->os;
183 efc_log_info(hw->os, "Link Up, NPORT, speed is %d\n",
193 efc_log_info(hw->os, "Link Up, LOOP, speed is %d\n",
203 efc_log_debug(hw->os, "READ_TOPOLOGY failed\n");
205 efc_log_info(hw->os, "%s(%#x), speed is %d\n",
211 efc_log_info(hw->os, "Link down\n");
221 efc_log_debug(hw->os, "unhandled link status %#x\n",
230 efct_hw_setup(struct efct_hw *hw, void *os, struct pci_dev *pdev)
246 hw->os = os;
258 efc_log_err(hw->os, "failed to allocate mailbox buffer pool\n");
266 efc_log_err(hw->os, "failed to allocate mbox request pool\n");
278 if (sli_setup(&hw->sli, hw->os, pdev, ((struct efct *)os)->reg)) {
279 efc_log_err(hw->os, "SLI setup failed\n");
321 efc_log_info(hw->os,
401 efc_log_err(hw->os, "unhandled io type %#x for XRI 0x%x\n",
415 efc_log_debug(hw->os, "aborting xri=%#x tag=%#x\n",
440 efc_log_debug(hw->os, "%s%#x tag=%#x\n",
448 efc_log_debug(hw->os, "%s%#x tag=%#x rc=%d\n",
487 struct efct *efct = hw->os;
541 efc_log_err(hw->os, "can't allocate request tag\n");
554 efc_log_err(hw->os,
567 efc_log_err(hw->os, "dma_alloc fail %d\n", i);
612 struct efct *efct = hw->os;
652 efc_log_err(hw->os, "SGL post failed, rc=%d\n", rc);
710 efc_log_warn(hw->os, "set FDT hint %d failed: %d\n",
713 efc_log_info(hw->os, "Set FTD transfer hint to %d\n",
726 efc_log_info(hw->os, "using REG_FCFI standard\n");
768 efc_log_err(hw->os, "FCFI registration failed\n");
804 efc_log_debug(hw->os, "Issue reg_fcfi_mrq count:%d policy:%d mode:%d\n",
811 efc_log_err(hw->os, "sli_cmd_reg_fcfi_mrq() failed\n");
820 efc_log_err(hw->os, "FCFI MRQ reg failed. cmd=%x status=%x\n",
874 efc_log_err(hw->os, "efct_hw_command returns %d\n", rc);
876 efc_log_debug(hw->os, "SLI Port Health Check is enabled\n");
901 efc_log_err(hw->os, "command found on cmd list\n");
906 efc_log_err(hw->os, "command found on pending list\n");
932 efc_log_debug(hw->os, "rmvd %d items from io_wait_free list\n",
943 efc_log_debug(hw->os, "rmvd %d items from io_inuse list\n",
954 efc_log_debug(hw->os, "rmvd %d items from io_free list\n",
962 efc_log_err(hw->os, "SLI failed to initialize\n");
969 efc_log_err(hw->os, "Enable port Health check fail\n");
988 efc_log_debug(hw->os, "Max CQs %d, hash size = %d\n",
992 efc_log_debug(hw->os, "Max RQs %d, hash size = %d\n",
996 efc_log_debug(hw->os, "Max WQs %d, hash size = %d\n",
1010 efc_log_err(hw->os, "rx_allocate failed\n");
1016 efc_log_err(hw->os, "WARNING - error posting RQ buffers\n");
1023 efc_log_err(hw->os, "config rq failed %d\n", rc);
1029 efc_log_err(hw->os, "REG_FCFI_MRQ FCFI reg failed\n");
1035 efc_log_err(hw->os, "REG_FCFI_MRQ MRQ reg failed\n");
1047 efc_log_err(hw->os, "efct_hw_reqtag_pool_alloc failed\n");
1053 efc_log_err(hw->os, "IO allocation failure\n");
1059 efc_log_err(hw->os, "IO initialization failure\n");
1065 dma->virt = dma_alloc_coherent(&hw->os->pci->dev, dma->size, &dma->phys,
1111 efc_log_err(hw->os, "alloc for send_frame_io failed\n");
1132 efc_log_err(hw->os, "p is NULL\n");
1139 efc_log_err(hw->os, "kstrtoint failed\n");
1176 struct efct *efct = hw->os;
1197 efc_log_err(hw->os, "DMA allocation failed\n");
1210 struct efct *efct = hw->os;
1229 struct efct *efct = hw->os;
1251 efc_log_debug(hw->os,
1266 efc_log_debug(hw->os,
1365 efc_log_debug(hw->os,
1386 efc_log_crit(hw->os, "Chip in an error state - reset needed\n");
1387 efc_log_crit(hw->os, "status=%#x error1=%#x error2=%#x\n",
1416 efc_log_err(hw->os, "Can't send command, HW state=%d\n",
1464 efc_log_err(hw->os, "no command context\n");
1520 efc_log_debug(hw->os, "hung command %08x\n",
1539 (*ctx->callback)(hw->os->efcport, status, mqe,
1593 efc_log_err(hw->os, "WQ not assigned for cpu:%d\n",
1697 efc_log_err(hw->os, "bad parameter hw=%p io=%p\n", hw, io);
1749 efc_log_err(hw->os, "unsupported IO type %#x\n", type);
1784 efc_log_err(hw->os,
1791 efc_log_err(hw->os,
1893 efc_log_err(hw->os, "HW IO already freed\n");
1937 efc_log_err(hw->os, "bad parameter hw=%p io=%p\n",
1943 efc_log_err(hw->os, "cannot send IO abort, HW state=%d\n",
1951 efc_log_debug(hw->os,
1959 efc_log_debug(hw->os, "io_to_abort xri=0x%x not active on WQ\n",
1973 efc_log_debug(hw->os,
1999 efc_log_err(hw->os, "can't allocate request tag\n");
2127 efc_log_err(hw->os, "WQCB is already freed\n");
2144 efc_log_err(hw->os, "wqcb for instance %d is null\n",
2241 efc_log_err(hw->os, "bad CQ_ID %#06x\n", cq_id);
2372 efc_log_err(hw->os, "bad WQ_ID %#06x\n", wq_id);
2389 efc_log_debug(hw->os, "unhandled ctype=%#x rid=%#x\n",
2419 efc_log_err(hw->os, "reque xri failed, status = %d\n",
2426 efc_log_err(hw->os, "invalid request tag: x%x\n", rid);
2431 efc_log_err(hw->os, "wqcb callback is NULL\n");
2449 efc_log_err(hw->os, "xabt io lookup failed rid=%#x\n", rid);
2454 efc_log_debug(hw->os, "xabt io not busy rid=%#x\n", rid);
2577 efc_log_err(hw->os,
2584 efc_log_err(hw->os, "HIO allocation failed\n");
2609 efc_log_err(hw->os, "XMIT_BLS_RSP64 WQE error\n");
2626 efc_log_err(hw->os,
2714 efc_log_debug(hw->os,
2769 efc_log_err(hw->os, "REQ WQE error\n");
2783 efc_log_err(hw->os, "RSP WQE error\n");
2797 efc_log_err(hw->os, "GEN WQE error\n");
2811 efc_log_err(hw->os, "XMIT SEQ WQE error\n");
2817 efc_log_err(hw->os, "bad SRRS type %#x\n", io->io_type);
2835 efc_log_err(hw->os,
2858 efc_log_err(hw->os, "cannot send IO, HW state=%d\n", hw->state);
2894 efc_log_err(hw->os, "TRECEIVE WQE error\n");
2914 efc_log_err(hw->os, "TSEND WQE error\n");
2933 efc_log_err(hw->os, "TRSP WQE error\n");
2940 efc_log_err(hw->os, "unsupported IO type %#x\n", type);
2959 efc_log_err(hw->os,
2988 efc_log_err(hw->os, "can't allocate request tag\n");
3005 efc_log_err(hw->os, "sli_send_frame_wqe failed: %d\n", rc);
3012 efc_log_err(hw->os, "efct_hw_wq_write failed: %d\n", rc);
3204 efc_log_debug(hw->os, "READ_HOST_STATS failed\n");
3250 efc_log_err(hw->os, "COMMON_NOP format failure\n");
3258 efc_log_err(hw->os, "COMMON_NOP command failure, rc=%d\n", rc);
3324 efc_log_debug(hw->os, "COMMON_WRITE_OBJECT failed\n");
3356 efc_log_err(hw->os, "CONFIG_LINK failed\n");
3368 efc_log_err(hw->os, "INIT_LINK failed\n");
3377 efc_log_err(hw->os, "DOWN_LINK failed\n");
3381 efc_log_debug(hw->os, "unhandled control %#x\n", ctrl);
3395 struct efct *efct = hw->os;
3412 efc_log_debug(hw->os,
3415 efc_log_debug(hw->os,
3511 efc_log_debug(hw->os, "issuing function level reset\n");
3513 efc_log_err(hw->os, "sli_reset failed\n");
3518 efc_log_debug(hw->os, "issuing firmware reset\n");
3520 efc_log_err(hw->os, "sli_soft_reset failed\n");
3527 efc_log_debug(hw->os, "issuing function level reset\n");
3529 efc_log_err(hw->os, "sli_reset failed\n");
3534 efc_log_err(hw->os, "unknown type - no reset performed\n");
3550 efc_log_debug(hw->os,
3567 efc_log_debug(hw->os,
3570 efc_log_err(hw->os,