Searched refs:msgq (Results 1 – 8 of 8) sorted by relevance
/drivers/scsi/arm/ |
D | msgqueue.c | 25 static struct msgqueue_entry *mqe_alloc(MsgQueue_t *msgq) in mqe_alloc() argument 29 if ((mq = msgq->free) != NULL) in mqe_alloc() 30 msgq->free = mq->next; in mqe_alloc() 41 static void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq) in mqe_free() argument 44 mq->next = msgq->free; in mqe_free() 45 msgq->free = mq; in mqe_free() 54 void msgqueue_initialise(MsgQueue_t *msgq) in msgqueue_initialise() argument 58 msgq->qe = NULL; in msgqueue_initialise() 59 msgq->free = &msgq->entries[0]; in msgqueue_initialise() 62 msgq->entries[i].next = &msgq->entries[i + 1]; in msgqueue_initialise() [all …]
|
D | msgqueue.h | 39 extern void msgqueue_initialise(MsgQueue_t *msgq); 46 extern void msgqueue_free(MsgQueue_t *msgq); 54 extern int msgqueue_msglength(MsgQueue_t *msgq); 63 extern struct message *msgqueue_getmsg(MsgQueue_t *msgq, int msgno); 73 extern int msgqueue_addmsg(MsgQueue_t *msgq, int length, ...); 80 extern void msgqueue_flush(MsgQueue_t *msgq);
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.c | 101 bfa_wc_down(&cmdq->msgq->init_wc); in cmdq_sm_init_wait_entry() 203 if (!bfa_nw_ioc_mbox_queue(cmdq->msgq->ioc, &cmdq->dbell_mb, in bfa_msgq_cmdq_dbell() 304 if (!bfa_nw_ioc_mbox_queue(cmdq->msgq->ioc, &cmdq->copy_mb, in bfa_msgq_cmdq_copy_rsp() 311 bfa_msgq_cmdq_attach(struct bfa_msgq_cmdq *cmdq, struct bfa_msgq *msgq) in bfa_msgq_cmdq_attach() argument 315 cmdq->msgq = msgq; in bfa_msgq_cmdq_attach() 366 bfa_wc_down(&rspq->msgq->init_wc); in rspq_sm_init_wait_entry() 413 if (!bfa_nw_ioc_is_disabled(rspq->msgq->ioc)) in rspq_sm_dbell_wait_entry() 461 if (!bfa_nw_ioc_mbox_queue(rspq->msgq->ioc, &rspq->dbell_mb, in bfa_msgq_rspq_dbell() 499 bfa_msgq_rspq_attach(struct bfa_msgq_rspq *rspq, struct bfa_msgq *msgq) in bfa_msgq_rspq_attach() argument 502 rspq->msgq = msgq; in bfa_msgq_rspq_attach() [all …]
|
D | bfa_msgq.h | 83 struct bfa_msgq *msgq; member 108 struct bfa_msgq *msgq; member 123 void bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa); 124 void bfa_msgq_attach(struct bfa_msgq *msgq, struct bfa_ioc *ioc); 125 void bfa_msgq_regisr(struct bfa_msgq *msgq, enum bfi_mclass mc, 127 void bfa_msgq_cmd_post(struct bfa_msgq *msgq, 129 void bfa_msgq_rsp_copy(struct bfa_msgq *msgq, u8 *buf, size_t buf_len);
|
D | bna_enet.c | 426 bfa_msgq_cmd_post(ðport->bna->msgq, ðport->msgq_cmd); in bna_bfi_ethport_admin_up() 443 bfa_msgq_cmd_post(ðport->bna->msgq, ðport->msgq_cmd); in bna_bfi_ethport_admin_down() 464 bfa_msgq_cmd_post(ðport->bna->msgq, ðport->msgq_cmd); in bna_bfi_ethport_lpbk_up() 481 bfa_msgq_cmd_post(ðport->bna->msgq, ðport->msgq_cmd); in bna_bfi_ethport_lpbk_down() 1179 bfa_msgq_cmd_post(&enet->bna->msgq, &enet->msgq_cmd); in bna_bfi_pause_set() 1638 bfa_msgq_cmd_post(&ioceth->bna->msgq, &ioceth->msgq_cmd); in bna_bfi_attr_get() 1737 bfa_msgq_attach(&bna->msgq, &ioceth->ioc); in bna_ioceth_init() 1738 bfa_msgq_memclaim(&bna->msgq, kva, dma); in bna_ioceth_init() 1739 bfa_msgq_regisr(&bna->msgq, BFI_MC_ENET, bna_msgq_rsp_handler, bna); in bna_ioceth_init() 1866 bfa_msgq_cmd_post(&bna->msgq, &bna->stats_mod.stats_get_cmd); in bna_bfi_stats_get()
|
D | bna_tx_rx.c | 198 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_ucast_req() 214 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_add_req() 230 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_del_req() 245 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_filter_req() 260 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rx_promisc_req() 285 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rx_vlan_filter_set() 300 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_vlan_strip_enable() 316 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rit_cfg() 336 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rss_cfg() 351 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rss_enable() [all …]
|
D | bna_types.h | 921 struct bfa_msgq msgq; member
|
/drivers/isdn/mISDN/ |
D | stack.c | 34 skb_queue_tail(&st->msgq, skb); in _queue_message() 229 skb = skb_dequeue(&st->msgq); in mISDNStackd() 234 skb = skb_dequeue(&st->msgq); in mISDNStackd() 274 if (!skb_queue_empty(&st->msgq)) in mISDNStackd() 323 skb_queue_purge(&st->msgq); in mISDNStackd() 387 skb_queue_head_init(&newst->msgq); in create_stack()
|