Searched refs:mq (Results 1 - 25 of 36) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mmc/card/
H A Dqueue.c47 struct mmc_queue *mq = d; local
48 struct request_queue *q = mq->queue;
52 down(&mq->thread_sem);
60 mq->req = req;
68 up(&mq->thread_sem);
70 down(&mq->thread_sem);
75 mq->issue_fn(mq, req);
77 up(&mq->thread_sem);
90 struct mmc_queue *mq local
113 mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, spinlock_t *lock) argument
236 mmc_cleanup_queue(struct mmc_queue *mq) argument
276 mmc_queue_suspend(struct mmc_queue *mq) argument
296 mmc_queue_resume(struct mmc_queue *mq) argument
315 mmc_queue_map_sg(struct mmc_queue *mq) argument
344 mmc_queue_bounce_pre(struct mmc_queue *mq) argument
364 mmc_queue_bounce_post(struct mmc_queue *mq) argument
[all...]
H A Dblock.c250 static int mmc_blk_issue_discard_rq(struct mmc_queue *mq, struct request *req) argument
252 struct mmc_blk_data *md = mq->data;
283 static int mmc_blk_issue_secdiscard_rq(struct mmc_queue *mq, argument
286 struct mmc_blk_data *md = mq->data;
319 static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *req) argument
321 struct mmc_blk_data *md = mq->data;
387 brq.data.sg = mq->sg;
388 brq.data.sg_len = mmc_queue_map_sg(mq);
409 mmc_queue_bounce_pre(mq);
413 mmc_queue_bounce_post(mq);
540 mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/arm/
H A Dmsgqueue.c27 struct msgqueue_entry *mq; local
29 if ((mq = msgq->free) != NULL)
30 msgq->free = mq->next;
32 return mq;
36 * Function: void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq)
39 * mq - message queue entry to free
41 static void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq) argument
43 if (mq) {
44 mq->next = msgq->free;
45 msgq->free = mq;
85 struct msgqueue_entry *mq = msgq->qe; local
103 struct msgqueue_entry *mq; local
120 struct msgqueue_entry *mq = mqe_alloc(msgq); local
153 struct msgqueue_entry *mq, *mqnext; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavutil/
H A Dthreadmessage.c48 int av_thread_message_queue_alloc(AVThreadMessageQueue **mq, argument
76 *mq = rmq;
79 *mq = NULL;
84 void av_thread_message_queue_free(AVThreadMessageQueue **mq) argument
87 if (*mq) {
88 av_fifo_freep(&(*mq)->fifo);
89 pthread_cond_destroy(&(*mq)->cond);
90 pthread_mutex_destroy(&(*mq)->lock);
91 av_freep(mq);
98 static int av_thread_message_queue_send_locked(AVThreadMessageQueue *mq, argument
114 av_thread_message_queue_recv_locked(AVThreadMessageQueue *mq, void *msg, unsigned flags) argument
132 av_thread_message_queue_send(AVThreadMessageQueue *mq, void *msg, unsigned flags) argument
148 av_thread_message_queue_recv(AVThreadMessageQueue *mq, void *msg, unsigned flags) argument
164 av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq, int err) argument
175 av_thread_message_queue_set_err_recv(AVThreadMessageQueue *mq, int err) argument
[all...]
H A Dthreadmessage.h38 * @param mq pointer to the message queue
44 int av_thread_message_queue_alloc(AVThreadMessageQueue **mq,
53 void av_thread_message_queue_free(AVThreadMessageQueue **mq);
58 int av_thread_message_queue_send(AVThreadMessageQueue *mq,
65 int av_thread_message_queue_recv(AVThreadMessageQueue *mq,
77 void av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq,
88 void av_thread_message_queue_set_err_recv(AVThreadMessageQueue *mq,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-omap/
H A Dmailbox.c93 struct omap_mbox_queue *mq = mbox->txq; local
96 spin_lock(&mq->lock);
98 if (kfifo_avail(&mq->fifo) < sizeof(msg)) {
103 len = kfifo_in(&mq->fifo, (unsigned char *)&msg, sizeof(msg));
109 spin_unlock(&mq->lock);
117 struct omap_mbox_queue *mq = mbox->txq; local
121 while (kfifo_len(&mq->fifo)) {
127 ret = kfifo_out(&mq->fifo, (unsigned char *)&msg,
140 struct omap_mbox_queue *mq = local
145 while (kfifo_len(&mq
166 struct omap_mbox_queue *mq = mbox->rxq; local
209 struct omap_mbox_queue *mq; local
240 struct omap_mbox_queue *mq; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/amso1100/
H A Dc2_cq.c92 q = &cq->mq;
138 ce = c2_mq_consume(&cq->mq);
150 c2_mq_free(&cq->mq);
151 ce = c2_mq_consume(&cq->mq);
196 c2_mq_free(&cq->mq);
230 shared = cq->mq.peer;
250 ret = !c2_mq_empty(&cq->mq);
257 static void c2_free_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq) argument
259 dma_free_coherent(&c2dev->pcidev->dev, mq->q_size * mq
263 c2_alloc_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq, int q_size, int msg_size) argument
[all...]
H A Dc2_ae.c149 struct c2_mq *mq = c2dev->qptr_array[mq_index]; local
162 wr = c2_mq_consume(mq);
318 c2_mq_free(mq);
H A Dc2_provider.h100 struct c2_mq mq; member in struct:c2_cq
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/sh/maple/
H A Dmaple.c121 void (*callback) (struct mapleq *mq),
139 struct mapleq *mq; local
142 mq = mdev->mq;
143 kmem_cache_free(maple_queue_cache, mq->recvbuf);
144 kfree(mq);
171 mdev->mq->command = command;
172 mdev->mq->length = length;
175 mdev->mq->sendbuf = sendbuf;
178 list_add_tail(&mdev->mq
120 maple_getcond_callback(struct maple_device *dev, void (*callback) (struct mapleq *mq), unsigned long interval, unsigned long function) argument
187 struct mapleq *mq; local
246 maple_build_block(struct mapleq *mq) argument
272 struct mapleq *mq, *nmq; local
632 struct mapleq *mq, *nmq; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/capi/
H A Dcapilib.c47 struct capilib_msgidqueue *mq; local
48 if ((mq = np->msgidfree) == NULL)
50 np->msgidfree = mq->next;
51 mq->msgid = msgid;
52 mq->next = NULL;
54 np->msgidlast->next = mq;
55 np->msgidlast = mq;
57 np->msgidqueue = mq;
67 struct capilib_msgidqueue *mq = *pp; local
68 *pp = mq
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/sgi-xp/
H A Dxpc_uv.c105 xpc_get_gru_mq_irq_uv(struct xpc_gru_mq_uv *mq, int cpu, char *irq_name) argument
107 int mmr_pnode = uv_blade_to_pnode(mq->mmr_blade);
110 mq->irq = uv_setup_irq(irq_name, cpu, mq->mmr_blade, mq->mmr_offset,
112 if (mq->irq < 0) {
114 -mq->irq);
115 return mq->irq;
118 mq->mmr_value = uv_read_global_mmr64(mmr_pnode, mq
138 xpc_release_gru_mq_irq_uv(struct xpc_gru_mq_uv *mq) argument
157 xpc_gru_mq_watchlist_alloc_uv(struct xpc_gru_mq_uv *mq) argument
188 xpc_gru_mq_watchlist_free_uv(struct xpc_gru_mq_uv *mq) argument
214 struct xpc_gru_mq_uv *mq; local
306 xpc_destroy_gru_mq_uv(struct xpc_gru_mq_uv *mq) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/sgi-gru/
H A Dgrukservices.c145 #define HSTATUS(mq, h) ((mq) + offsetof(struct message_queue, hstatus[h]))
554 struct message_queue *mq = p; local
558 memset(mq, 0, bytes);
559 mq->start = &mq->data;
560 mq->start2 = &mq->data + (qlines / 2 - 1) * GRU_CACHE_LINE_BYTES;
561 mq->next = &mq
839 struct message_queue *mq = mqd->mq; local
871 struct message_queue *mq = mqd->mq; local
998 void *p, *mq; local
[all...]
H A Dgrukservices.h45 void *mq; /* message queue vaddress */ member in struct:gru_message_queue_desc
46 unsigned long mq_gpa; /* global address of mq */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dmaple.h69 struct mapleq *mq; member in struct:maple_device
70 void (*callback) (struct mapleq * mq);
89 void (*callback) (struct mapleq * mq),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/mouse/
H A Dmaplemouse.c26 static void dc_mouse_callback(struct mapleq *mq) argument
29 struct maple_device *mapledev = mq->dev;
32 unsigned char *res = mq->recvbuf->buf;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Dppc32.h103 unsigned int mq; /* 601 only (not used at present) */ member in struct:pt_regs32
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/maps/
H A Dvmu-flash.c91 static void vmu_blockread(struct mapleq *mq) argument
96 mdev = mq->dev;
103 memcpy(card->blockread, mq->recvbuf->buf + 12,
193 list_del_init(&(mdev->mq->list));
194 kfree(mdev->mq->sendbuf);
195 mdev->mq->sendbuf = NULL;
285 kfree(mdev->mq->sendbuf);
286 mdev->mq->sendbuf = NULL;
287 list_del_init(&(mdev->mq->list));
509 static void vmu_queryblocks(struct mapleq *mq) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/joystick/
H A Dmaplecontrol.c26 static void dc_pad_callback(struct mapleq *mq) argument
29 struct maple_device *mapledev = mq->dev;
32 unsigned char *res = mq->recvbuf->buf;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/keyboard/
H A Dmaple_keyb.c139 static void dc_kbd_callback(struct mapleq *mq) argument
141 struct maple_device *mapledev = mq->dev;
143 unsigned long *buf = (unsigned long *)(mq->recvbuf->buf);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/sys-ppc/shared/sysdep/
H A Dptrace.h26 PPC_REG mq; /* 601 only (not used at present) */ member in struct:sys_pt_regs_s
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/modules/
H A Dppp.c604 mblk_t *mq; local
736 if ((mq = mp->b_cont) == 0
737 || mq->b_datap->db_lim - mq->b_rptr < sizeof(int)) {
738 mq = allocb(sizeof(int), BPRI_HI);
739 if (mq == 0) {
745 mp->b_cont = mq;
746 mq->b_cont = 0;
749 mq->b_wptr = mq
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/solaris/
H A Dppp.c606 mblk_t *mq; local
740 if ((mq = mp->b_cont) == 0
741 || mq->b_datap->db_lim - mq->b_rptr < sizeof(int)) {
742 mq = allocb(sizeof(int), BPRI_HI);
743 if (mq == 0) {
749 mp->b_cont = mq;
750 mq->b_cont = 0;
753 mq->b_wptr = mq
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/modules/
H A Dppp.c596 mblk_t *mq; local
728 if ((mq = mp->b_cont) == 0
729 || mq->b_datap->db_lim - mq->b_rptr < sizeof(int)) {
730 mq = allocb(sizeof(int), BPRI_HI);
731 if (mq == 0) {
737 mp->b_cont = mq;
738 mq->b_cont = 0;
741 mq->b_wptr = mq
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/solaris/
H A Dppp.c596 mblk_t *mq; local
728 if ((mq = mp->b_cont) == 0
729 || mq->b_datap->db_lim - mq->b_rptr < sizeof(int)) {
730 mq = allocb(sizeof(int), BPRI_HI);
731 if (mq == 0) {
737 mp->b_cont = mq;
738 mq->b_cont = 0;
741 mq->b_wptr = mq
[all...]

Completed in 299 milliseconds

12