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");
1140 efc_log_err(hw->os, "kstrtoint failed\n");
1177 struct efct *efct = hw->os;
1198 efc_log_err(hw->os, "DMA allocation failed\n");
1211 struct efct *efct = hw->os;
1230 struct efct *efct = hw->os;
1252 efc_log_debug(hw->os,
1267 efc_log_debug(hw->os,
1366 efc_log_debug(hw->os,
1387 efc_log_crit(hw->os, "Chip in an error state - reset needed\n");
1388 efc_log_crit(hw->os, "status=%#x error1=%#x error2=%#x\n",
1417 efc_log_err(hw->os, "Can't send command, HW state=%d\n",
1465 efc_log_err(hw->os, "no command context\n");
1521 efc_log_debug(hw->os, "hung command %08x\n",
1540 (*ctx->callback)(hw->os->efcport, status, mqe,
1594 efc_log_err(hw->os, "WQ not assigned for cpu:%d\n",
1698 efc_log_err(hw->os, "bad parameter hw=%p io=%p\n", hw, io);
1750 efc_log_err(hw->os, "unsupported IO type %#x\n", type);
1785 efc_log_err(hw->os,
1792 efc_log_err(hw->os,
1894 efc_log_err(hw->os, "HW IO already freed\n");
1938 efc_log_err(hw->os, "bad parameter hw=%p io=%p\n",
1944 efc_log_err(hw->os, "cannot send IO abort, HW state=%d\n",
1952 efc_log_debug(hw->os,
1960 efc_log_debug(hw->os, "io_to_abort xri=0x%x not active on WQ\n",
1974 efc_log_debug(hw->os,
2000 efc_log_err(hw->os, "can't allocate request tag\n");
2128 efc_log_err(hw->os, "WQCB is already freed\n");
2145 efc_log_err(hw->os, "wqcb for instance %d is null\n",
2242 efc_log_err(hw->os, "bad CQ_ID %#06x\n", cq_id);
2373 efc_log_err(hw->os, "bad WQ_ID %#06x\n", wq_id);
2390 efc_log_debug(hw->os, "unhandled ctype=%#x rid=%#x\n",
2420 efc_log_err(hw->os, "reque xri failed, status = %d\n",
2427 efc_log_err(hw->os, "invalid request tag: x%x\n", rid);
2432 efc_log_err(hw->os, "wqcb callback is NULL\n");
2450 efc_log_err(hw->os, "xabt io lookup failed rid=%#x\n", rid);
2455 efc_log_debug(hw->os, "xabt io not busy rid=%#x\n", rid);
2578 efc_log_err(hw->os,
2585 efc_log_err(hw->os, "HIO allocation failed\n");
2610 efc_log_err(hw->os, "XMIT_BLS_RSP64 WQE error\n");
2627 efc_log_err(hw->os,
2715 efc_log_debug(hw->os,
2770 efc_log_err(hw->os, "REQ WQE error\n");
2784 efc_log_err(hw->os, "RSP WQE error\n");
2798 efc_log_err(hw->os, "GEN WQE error\n");
2812 efc_log_err(hw->os, "XMIT SEQ WQE error\n");
2818 efc_log_err(hw->os, "bad SRRS type %#x\n", io->io_type);
2836 efc_log_err(hw->os,
2859 efc_log_err(hw->os, "cannot send IO, HW state=%d\n", hw->state);
2895 efc_log_err(hw->os, "TRECEIVE WQE error\n");
2915 efc_log_err(hw->os, "TSEND WQE error\n");
2934 efc_log_err(hw->os, "TRSP WQE error\n");
2941 efc_log_err(hw->os, "unsupported IO type %#x\n", type);
2960 efc_log_err(hw->os,
2989 efc_log_err(hw->os, "can't allocate request tag\n");
3006 efc_log_err(hw->os, "sli_send_frame_wqe failed: %d\n", rc);
3013 efc_log_err(hw->os, "efct_hw_wq_write failed: %d\n", rc);
3205 efc_log_debug(hw->os, "READ_HOST_STATS failed\n");
3251 efc_log_err(hw->os, "COMMON_NOP format failure\n");
3259 efc_log_err(hw->os, "COMMON_NOP command failure, rc=%d\n", rc);
3325 efc_log_debug(hw->os, "COMMON_WRITE_OBJECT failed\n");
3357 efc_log_err(hw->os, "CONFIG_LINK failed\n");
3369 efc_log_err(hw->os, "INIT_LINK failed\n");
3378 efc_log_err(hw->os, "DOWN_LINK failed\n");
3382 efc_log_debug(hw->os, "unhandled control %#x\n", ctrl);
3396 struct efct *efct = hw->os;
3413 efc_log_debug(hw->os,
3416 efc_log_debug(hw->os,
3512 efc_log_debug(hw->os, "issuing function level reset\n");
3514 efc_log_err(hw->os, "sli_reset failed\n");
3519 efc_log_debug(hw->os, "issuing firmware reset\n");
3521 efc_log_err(hw->os, "sli_soft_reset failed\n");
3528 efc_log_debug(hw->os, "issuing function level reset\n");
3530 efc_log_err(hw->os, "sli_reset failed\n");
3535 efc_log_err(hw->os, "unknown type - no reset performed\n");
3551 efc_log_debug(hw->os,
3568 efc_log_debug(hw->os,
3571 efc_log_err(hw->os,