Searched refs:BSG_MBOX_SIZE (Results 1 – 3 of 3) sorted by relevance
121 #define BSG_MBOX_SIZE 4096 /* mailbox command plus extended data */ macro
2805 dmabuf->virt = dma_alloc_coherent(&pcidev->dev, BSG_MBOX_SIZE, in lpfc_bsg_dma_page_alloc()2833 dma_free_coherent(&pcidev->dev, BSG_MBOX_SIZE, in lpfc_bsg_dma_page_free()4747 if (job->reply_payload.payload_len > BSG_MBOX_SIZE || in lpfc_bsg_issue_mbox()4748 job->request_payload.payload_len > BSG_MBOX_SIZE) { in lpfc_bsg_issue_mbox()4766 if ((mbox_req->inExtWLen > BSG_MBOX_SIZE/sizeof(uint32_t)) || in lpfc_bsg_issue_mbox()4767 (mbox_req->outExtWLen > BSG_MBOX_SIZE/sizeof(uint32_t))) { in lpfc_bsg_issue_mbox()4855 (transmit_length > BSG_MBOX_SIZE - sizeof(MAILBOX_t))) { in lpfc_bsg_issue_mbox()4878 if (receive_length > BSG_MBOX_SIZE - sizeof(MAILBOX_t)) { in lpfc_bsg_issue_mbox()4918 BSG_MBOX_SIZE - sizeof(MAILBOX_t)) { in lpfc_bsg_issue_mbox()4943 BSG_MBOX_SIZE - sizeof(MAILBOX_t))) { in lpfc_bsg_issue_mbox()
4921 if (mbx_word_cnt > (BSG_MBOX_SIZE)/4) in lpfc_idiag_mbxacc_write()