• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/lpfc/

Lines Matching refs:mq

9939  * @mq: The queue structure to use to create the mailbox queue.
9951 lpfc_mq_create_fb_init(struct lpfc_hba *phba, struct lpfc_queue *mq,
9965 mq->page_count);
9969 switch (mq->entry_count) {
9987 list_for_each_entry(dmabuf, &mq->page_list, list) {
9998 * @mq: The queue structure to use to create the mailbox queue.
10002 * This function creates a mailbox queue, as detailed in @mq, on a port,
10017 lpfc_mq_create(struct lpfc_hba *phba, struct lpfc_queue *mq,
10043 mq->page_count);
10053 switch (mq->entry_count) {
10057 mq->entry_count);
10058 if (mq->entry_count < 16)
10078 list_for_each_entry(dmabuf, &mq->page_list, list) {
10087 mq->queue_id = bf_get(lpfc_mbx_mq_create_q_id,
10094 lpfc_mq_create_fb_init(phba, mq, mbox, cq);
10098 mq->queue_id = bf_get(lpfc_mbx_mq_create_q_id,
10113 if (mq->queue_id == 0xFFFF) {
10117 mq->type = LPFC_MQ;
10118 mq->subtype = subtype;
10119 mq->host_index = 0;
10120 mq->hba_index = 0;
10122 /* link the mq onto the parent cq child list */
10123 list_add_tail(&mq->list, &cq->child_list);
10507 * This function destroys a queue, as detailed in @mq by sending an mailbox
10510 * The @mq struct is used to get the queue ID of the queue to destroy.
10516 lpfc_mq_destroy(struct lpfc_hba *phba, struct lpfc_queue *mq)
10523 if (!mq)
10525 mbox = mempool_alloc(mq->phba->mbox_mem_pool, GFP_KERNEL);
10534 mq->queue_id);
10535 mbox->vport = mq->phba->pport;
10537 rc = lpfc_sli_issue_mbox(mq->phba, mbox, MBX_POLL);
10550 /* Remove mq from any list */
10551 list_del_init(&mq->list);
10552 mempool_free(mbox, mq->phba->mbox_mem_pool);