Symbol: mbo
drivers/most/core.c
100
static void most_free_mbo_coherent(struct mbo *mbo)
drivers/most/core.c
1013
mbo = list_pop_mbo(&c->fifo);
drivers/most/core.c
1017
mbo->num_buffers_ptr = num_buffers_ptr;
drivers/most/core.c
1018
mbo->buffer_length = c->cfg.buffer_size;
drivers/most/core.c
1019
return mbo;
drivers/most/core.c
102
struct most_channel *c = mbo->context;
drivers/most/core.c
1027
void most_put_mbo(struct mbo *mbo)
drivers/most/core.c
1029
struct most_channel *c = mbo->context;
drivers/most/core.c
1032
arm_mbo(mbo);
drivers/most/core.c
1035
nq_hdm_mbo(mbo);
drivers/most/core.c
1050
static void most_read_completion(struct mbo *mbo)
drivers/most/core.c
1052
struct most_channel *c = mbo->context;
drivers/most/core.c
1054
if (unlikely(c->is_poisoned || (mbo->status == MBO_E_CLOSE))) {
drivers/most/core.c
1055
trash_mbo(mbo);
drivers/most/core.c
1059
if (mbo->status == MBO_E_INVAL) {
drivers/most/core.c
106
c->iface->dma_free(mbo, coherent_buf_size);
drivers/most/core.c
1060
nq_hdm_mbo(mbo);
drivers/most/core.c
1069
c->pipe0.comp->rx_completion(mbo) == 0)
drivers/most/core.c
1073
c->pipe1.comp->rx_completion(mbo) == 0)
drivers/most/core.c
1076
most_put_mbo(mbo);
drivers/most/core.c
108
kfree(mbo->virt_address);
drivers/most/core.c
109
kfree(mbo);
drivers/most/core.c
121
struct mbo *mbo, *tmp;
drivers/most/core.c
127
list_for_each_entry_safe(mbo, tmp, &c->fifo, list) {
drivers/most/core.c
128
list_del(&mbo->list);
drivers/most/core.c
130
most_free_mbo_coherent(mbo);
drivers/most/core.c
136
list_for_each_entry_safe(mbo, tmp, &c->halt_fifo, list) {
drivers/most/core.c
137
list_del(&mbo->list);
drivers/most/core.c
139
most_free_mbo_coherent(mbo);
drivers/most/core.c
154
struct mbo *mbo, *tmp;
drivers/most/core.c
158
list_for_each_entry_safe(mbo, tmp, &c->trash_fifo, list) {
drivers/most/core.c
159
list_del(&mbo->list);
drivers/most/core.c
161
most_free_mbo_coherent(mbo);
drivers/most/core.c
736
static inline void trash_mbo(struct mbo *mbo)
drivers/most/core.c
739
struct most_channel *c = mbo->context;
drivers/most/core.c
742
list_add(&mbo->list, &c->trash_fifo);
drivers/most/core.c
760
static void nq_hdm_mbo(struct mbo *mbo)
drivers/most/core.c
763
struct most_channel *c = mbo->context;
drivers/most/core.c
766
list_add_tail(&mbo->list, &c->halt_fifo);
drivers/most/core.c
774
struct mbo *mbo;
drivers/most/core.c
791
mbo = list_pop_mbo(&c->halt_fifo);
drivers/most/core.c
795
mbo->buffer_length = c->cfg.buffer_size;
drivers/most/core.c
797
ret = enqueue(mbo->ifp, mbo->hdm_channel_id, mbo);
drivers/most/core.c
802
nq_hdm_mbo(mbo);
drivers/most/core.c
835
static void arm_mbo(struct mbo *mbo)
drivers/most/core.c
840
c = mbo->context;
drivers/most/core.c
843
trash_mbo(mbo);
drivers/most/core.c
848
++*mbo->num_buffers_ptr;
drivers/most/core.c
849
list_add_tail(&mbo->list, &c->fifo);
drivers/most/core.c
873
void (*compl)(struct mbo *))
drivers/most/core.c
876
struct mbo *mbo;
drivers/most/core.c
883
mbo = kzalloc_obj(*mbo);
drivers/most/core.c
884
if (!mbo)
drivers/most/core.c
887
mbo->context = c;
drivers/most/core.c
888
mbo->ifp = c->iface;
drivers/most/core.c
889
mbo->hdm_channel_id = c->channel_id;
drivers/most/core.c
891
mbo->virt_address =
drivers/most/core.c
892
c->iface->dma_alloc(mbo, coherent_buf_size);
drivers/most/core.c
894
mbo->virt_address =
drivers/most/core.c
897
if (!mbo->virt_address)
drivers/most/core.c
900
mbo->complete = compl;
drivers/most/core.c
901
mbo->num_buffers_ptr = &dummy_num_buffers;
drivers/most/core.c
903
nq_hdm_mbo(mbo);
drivers/most/core.c
907
list_add_tail(&mbo->list, &c->fifo);
drivers/most/core.c
91
struct mbo *_mbo = list_first_entry(ptr, struct mbo, list); \
drivers/most/core.c
914
kfree(mbo);
drivers/most/core.c
925
void most_submit_mbo(struct mbo *mbo)
drivers/most/core.c
927
if (WARN_ONCE(!mbo || !mbo->context,
drivers/most/core.c
931
nq_hdm_mbo(mbo);
drivers/most/core.c
942
static void most_write_completion(struct mbo *mbo)
drivers/most/core.c
946
c = mbo->context;
drivers/most/core.c
947
if (unlikely(c->is_poisoned || (mbo->status == MBO_E_CLOSE)))
drivers/most/core.c
948
trash_mbo(mbo);
drivers/most/core.c
950
arm_mbo(mbo);
drivers/most/core.c
984
struct mbo *most_get_mbo(struct most_interface *iface, int id,
drivers/most/core.c
987
struct mbo *mbo;
drivers/most/most_cdev.c
187
struct mbo *mbo = NULL;
drivers/most/most_cdev.c
191
while (c->dev && !ch_get_mbo(c, &mbo)) {
drivers/most/most_cdev.c
207
left = copy_from_user(mbo->virt_address + c->mbo_offs, buf, to_copy);
drivers/most/most_cdev.c
218
mbo->buffer_length = c->mbo_offs;
drivers/most/most_cdev.c
220
most_submit_mbo(mbo);
drivers/most/most_cdev.c
240
struct mbo *mbo = NULL;
drivers/most/most_cdev.c
244
while (c->dev && !kfifo_peek(&c->fifo, &mbo)) {
drivers/most/most_cdev.c
263
mbo->processed_length - c->mbo_offs);
drivers/most/most_cdev.c
266
mbo->virt_address + c->mbo_offs,
drivers/most/most_cdev.c
272
if (c->mbo_offs >= mbo->processed_length) {
drivers/most/most_cdev.c
274
most_put_mbo(mbo);
drivers/most/most_cdev.c
351
static int comp_rx_completion(struct mbo *mbo)
drivers/most/most_cdev.c
355
if (!mbo)
drivers/most/most_cdev.c
358
c = get_channel(mbo->ifp, mbo->hdm_channel_id);
drivers/most/most_cdev.c
367
kfifo_in(&c->fifo, &mbo, 1);
drivers/most/most_cdev.c
41
DECLARE_KFIFO_PTR(fifo, typeof(struct mbo *));
drivers/most/most_cdev.c
55
static inline struct mbo *ch_get_mbo(struct comp_channel *c, struct mbo **mbo)
drivers/most/most_cdev.c
57
if (!kfifo_peek(&c->fifo, mbo)) {
drivers/most/most_cdev.c
58
*mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc);
drivers/most/most_cdev.c
59
if (*mbo)
drivers/most/most_cdev.c
60
kfifo_in(&c->fifo, mbo, 1);
drivers/most/most_cdev.c
62
return *mbo;
drivers/most/most_cdev.c
83
struct mbo *mbo;
drivers/most/most_cdev.c
85
while (kfifo_out((struct kfifo *)&c->fifo, &mbo, 1))
drivers/most/most_cdev.c
86
most_put_mbo(mbo);
drivers/most/most_snd.c
181
static bool copy_data(struct channel *channel, struct mbo *mbo)
drivers/most/most_snd.c
190
frames = mbo->processed_length / frame_bytes;
drivers/most/most_snd.c
192
frames = mbo->buffer_length / frame_bytes;
drivers/most/most_snd.c
196
mbo->virt_address,
drivers/most/most_snd.c
202
mbo->virt_address + fr0 * frame_bytes,
drivers/most/most_snd.c
232
struct mbo *mbo = NULL;
drivers/most/most_snd.c
239
(mbo = most_get_mbo(channel->iface, channel->id,
drivers/most/most_snd.c
241
if (!mbo)
drivers/most/most_snd.c
245
period_elapsed = copy_data(channel, mbo);
drivers/most/most_snd.c
247
memset(mbo->virt_address, 0, mbo->buffer_length);
drivers/most/most_snd.c
249
most_submit_mbo(mbo);
drivers/most/most_snd.c
667
static int audio_rx_completion(struct mbo *mbo)
drivers/most/most_snd.c
669
struct channel *channel = get_channel(mbo->ifp, mbo->hdm_channel_id);
drivers/most/most_snd.c
675
period_elapsed = copy_data(channel, mbo);
drivers/most/most_snd.c
676
most_put_mbo(mbo);
drivers/most/most_usb.c
276
static int hdm_add_padding(struct most_dev *mdev, int channel, struct mbo *mbo)
drivers/most/most_usb.c
284
num_frames = mbo->buffer_length / frame_size;
drivers/most/most_usb.c
293
memmove(mbo->virt_address + j * USB_MTU,
drivers/most/most_usb.c
294
mbo->virt_address + j * frame_size,
drivers/most/most_usb.c
296
mbo->buffer_length = num_frames * USB_MTU;
drivers/most/most_usb.c
310
struct mbo *mbo)
drivers/most/most_usb.c
318
num_frames = mbo->processed_length / USB_MTU;
drivers/most/most_usb.c
321
memmove(mbo->virt_address + frame_size * j,
drivers/most/most_usb.c
322
mbo->virt_address + USB_MTU * j,
drivers/most/most_usb.c
325
mbo->processed_length = frame_size * num_frames;
drivers/most/most_usb.c
342
struct mbo *mbo = urb->context;
drivers/most/most_usb.c
343
struct most_dev *mdev = to_mdev(mbo->ifp);
drivers/most/most_usb.c
344
unsigned int channel = mbo->hdm_channel_id;
drivers/most/most_usb.c
350
mbo->processed_length = 0;
drivers/most/most_usb.c
351
mbo->status = MBO_E_INVAL;
drivers/most/most_usb.c
356
mbo->processed_length = urb->actual_length;
drivers/most/most_usb.c
357
mbo->status = MBO_SUCCESS;
drivers/most/most_usb.c
369
mbo->status = MBO_E_CLOSE;
drivers/most/most_usb.c
376
if (likely(mbo->complete))
drivers/most/most_usb.c
377
mbo->complete(mbo);
drivers/most/most_usb.c
394
struct mbo *mbo = urb->context;
drivers/most/most_usb.c
395
struct most_dev *mdev = to_mdev(mbo->ifp);
drivers/most/most_usb.c
396
unsigned int channel = mbo->hdm_channel_id;
drivers/most/most_usb.c
403
mbo->processed_length = 0;
drivers/most/most_usb.c
404
mbo->status = MBO_E_INVAL;
drivers/most/most_usb.c
409
mbo->processed_length = urb->actual_length;
drivers/most/most_usb.c
410
mbo->status = MBO_SUCCESS;
drivers/most/most_usb.c
412
hdm_remove_padding(mdev, channel, mbo)) {
drivers/most/most_usb.c
413
mbo->processed_length = 0;
drivers/most/most_usb.c
414
mbo->status = MBO_E_INVAL;
drivers/most/most_usb.c
426
mbo->status = MBO_E_CLOSE;
drivers/most/most_usb.c
437
if (likely(mbo->complete))
drivers/most/most_usb.c
438
mbo->complete(mbo);
drivers/most/most_usb.c
458
struct mbo *mbo)
drivers/most/most_usb.c
467
if (!mbo)
drivers/most/most_usb.c
485
hdm_add_padding(mdev, channel, mbo)) {
drivers/most/most_usb.c
490
urb->transfer_dma = mbo->bus_address;
drivers/most/most_usb.c
491
virt_address = mbo->virt_address;
drivers/most/most_usb.c
492
length = mbo->buffer_length;
drivers/most/most_usb.c
501
mbo);
drivers/most/most_usb.c
512
mbo);
drivers/most/most_usb.c
535
static void *hdm_dma_alloc(struct mbo *mbo, u32 size)
drivers/most/most_usb.c
537
struct most_dev *mdev = to_mdev(mbo->ifp);
drivers/most/most_usb.c
540
&mbo->bus_address);
drivers/most/most_usb.c
543
static void hdm_dma_free(struct mbo *mbo, u32 size)
drivers/most/most_usb.c
545
struct most_dev *mdev = to_mdev(mbo->ifp);
drivers/most/most_usb.c
547
usb_free_coherent(mdev->usb_device, size, mbo->virt_address,
drivers/most/most_usb.c
548
mbo->bus_address);
drivers/s390/cio/cmf.c
172
[mbo] "d" (virt_to_phys(area))
drivers/scsi/aha1542.c
282
int errstatus, mbi, mbo, mbistatus;
drivers/scsi/aha1542.c
349
mbo = (scsi2int(mb[mbi].ccbptr) - (unsigned long)aha1542->ccb_handle) / sizeof(struct ccb);
drivers/scsi/aha1542.c
355
if (ccb[mbo].tarstat | ccb[mbo].hastat)
drivers/scsi/aha1542.c
357
ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status);
drivers/scsi/aha1542.c
364
shost_printk(KERN_DEBUG, sh, "...done %d %d\n", mbo, mbi);
drivers/scsi/aha1542.c
367
tmp_cmd = aha1542->int_cmds[mbo];
drivers/scsi/aha1542.c
372
shost_printk(KERN_WARNING, sh, "tarstat=%x, hastat=%x idlun=%x ccb#=%d\n", ccb[mbo].tarstat,
drivers/scsi/aha1542.c
373
ccb[mbo].hastat, ccb[mbo].idlun, mbo);
drivers/scsi/aha1542.c
382
if (ccb[mbo].tarstat == 2)
drivers/scsi/aha1542.c
383
memcpy(tmp_cmd->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen],
drivers/scsi/aha1542.c
392
errstatus = makecode(ccb[mbo].hastat, ccb[mbo].tarstat);
drivers/scsi/aha1542.c
399
ccb[mbo].hastat, ccb[mbo].tarstat);
drivers/scsi/aha1542.c
400
if (ccb[mbo].tarstat == 2)
drivers/scsi/aha1542.c
401
print_hex_dump_bytes("sense: ", DUMP_PREFIX_NONE, &ccb[mbo].cdb[ccb[mbo].cdblen], 12);
drivers/scsi/aha1542.c
406
aha1542->int_cmds[mbo] = NULL; /* This effectively frees up the mailbox slot, as
drivers/scsi/aha1542.c
424
int mbo;
drivers/scsi/aha1542.c
465
mbo = aha1542->aha1542_last_mbo_used + 1;
drivers/scsi/aha1542.c
466
if (mbo >= AHA1542_MAILBOXES)
drivers/scsi/aha1542.c
467
mbo = 0;
drivers/scsi/aha1542.c
470
if (mb[mbo].status == 0 && aha1542->int_cmds[mbo] == NULL)
drivers/scsi/aha1542.c
472
mbo++;
drivers/scsi/aha1542.c
473
if (mbo >= AHA1542_MAILBOXES)
drivers/scsi/aha1542.c
474
mbo = 0;
drivers/scsi/aha1542.c
475
} while (mbo != aha1542->aha1542_last_mbo_used);
drivers/scsi/aha1542.c
477
if (mb[mbo].status || aha1542->int_cmds[mbo])
drivers/scsi/aha1542.c
480
aha1542->int_cmds[mbo] = cmd; /* This will effectively prevent someone else from
drivers/scsi/aha1542.c
484
aha1542->aha1542_last_mbo_used = mbo;
drivers/scsi/aha1542.c
487
shost_printk(KERN_DEBUG, sh, "Sending command (%d)...", mbo);
drivers/scsi/aha1542.c
491
any2scsi(mb[mbo].ccbptr, aha1542->ccb_handle + mbo * sizeof(*ccb));
drivers/scsi/aha1542.c
493
memset(&ccb[mbo], 0, sizeof(struct ccb));
drivers/scsi/aha1542.c
495
ccb[mbo].cdblen = cmd->cmd_len;
drivers/scsi/aha1542.c
503
memcpy(ccb[mbo].cdb, cmd->cmnd, ccb[mbo].cdblen);
drivers/scsi/aha1542.c
504
ccb[mbo].op = 0; /* SCSI Initiator Command */
drivers/scsi/aha1542.c
505
any2scsi(ccb[mbo].datalen, bufflen);
drivers/scsi/aha1542.c
507
any2scsi(ccb[mbo].dataptr, acmd->data_buffer_handle);
drivers/scsi/aha1542.c
509
any2scsi(ccb[mbo].dataptr, 0);
drivers/scsi/aha1542.c
510
ccb[mbo].idlun = (target & 7) << 5 | direction | (lun & 7); /*SCSI Target Id */
drivers/scsi/aha1542.c
511
ccb[mbo].rsalen = 16;
drivers/scsi/aha1542.c
512
ccb[mbo].linkptr[0] = ccb[mbo].linkptr[1] = ccb[mbo].linkptr[2] = 0;
drivers/scsi/aha1542.c
513
ccb[mbo].commlinkid = 0;
drivers/scsi/aha1542.c
516
print_hex_dump_bytes("sending: ", DUMP_PREFIX_NONE, &ccb[mbo], sizeof(ccb[mbo]) - 10);
drivers/scsi/aha1542.c
519
mb[mbo].status = 1;
drivers/scsi/aha1542.c
873
int mbo;
drivers/scsi/aha1542.c
877
mbo = aha1542->aha1542_last_mbo_used + 1;
drivers/scsi/aha1542.c
878
if (mbo >= AHA1542_MAILBOXES)
drivers/scsi/aha1542.c
879
mbo = 0;
drivers/scsi/aha1542.c
882
if (mb[mbo].status == 0 && aha1542->int_cmds[mbo] == NULL)
drivers/scsi/aha1542.c
884
mbo++;
drivers/scsi/aha1542.c
885
if (mbo >= AHA1542_MAILBOXES)
drivers/scsi/aha1542.c
886
mbo = 0;
drivers/scsi/aha1542.c
887
} while (mbo != aha1542->aha1542_last_mbo_used);
drivers/scsi/aha1542.c
889
if (mb[mbo].status || aha1542->int_cmds[mbo])
drivers/scsi/aha1542.c
892
aha1542->int_cmds[mbo] = cmd; /* This will effectively
drivers/scsi/aha1542.c
897
aha1542->aha1542_last_mbo_used = mbo;
drivers/scsi/aha1542.c
900
any2scsi(mb[mbo].ccbptr, aha1542->ccb_handle + mbo * sizeof(*ccb));
drivers/scsi/aha1542.c
902
memset(&ccb[mbo], 0, sizeof(struct ccb));
drivers/scsi/aha1542.c
904
ccb[mbo].op = 0x81; /* BUS DEVICE RESET */
drivers/scsi/aha1542.c
906
ccb[mbo].idlun = (target & 7) << 5 | (lun & 7); /*SCSI Target Id */
drivers/scsi/aha1542.c
908
ccb[mbo].linkptr[0] = ccb[mbo].linkptr[1] = ccb[mbo].linkptr[2] = 0;
drivers/scsi/aha1542.c
909
ccb[mbo].commlinkid = 0;
drivers/staging/most/dim2/dim2.c
167
struct mbo *mbo;
drivers/staging/most/dim2/dim2.c
185
mbo = list_first_entry(head, struct mbo, list);
drivers/staging/most/dim2/dim2.c
186
buf_size = mbo->buffer_length;
drivers/staging/most/dim2/dim2.c
193
BUG_ON(mbo->bus_address == 0);
drivers/staging/most/dim2/dim2.c
194
if (!dim_enqueue_buffer(&hdm_ch->ch, mbo->bus_address, buf_size)) {
drivers/staging/most/dim2/dim2.c
197
mbo->processed_length = 0;
drivers/staging/most/dim2/dim2.c
198
mbo->status = MBO_E_INVAL;
drivers/staging/most/dim2/dim2.c
199
mbo->complete(mbo);
drivers/staging/most/dim2/dim2.c
245
static void retrieve_netinfo(struct dim2_hdm *dev, struct mbo *mbo)
drivers/staging/most/dim2/dim2.c
247
u8 *data = mbo->virt_address;
drivers/staging/most/dim2/dim2.c
269
struct mbo *mbo;
drivers/staging/most/dim2/dim2.c
301
mbo = list_first_entry(head, struct mbo, list);
drivers/staging/most/dim2/dim2.c
305
data = mbo->virt_address;
drivers/staging/most/dim2/dim2.c
310
retrieve_netinfo(dev, mbo);
drivers/staging/most/dim2/dim2.c
313
list_add_tail(&mbo->list, &hdm_ch->pending_list);
drivers/staging/most/dim2/dim2.c
321
mbo->processed_length =
drivers/staging/most/dim2/dim2.c
323
mbo->buffer_length);
drivers/staging/most/dim2/dim2.c
325
mbo->processed_length = mbo->buffer_length;
drivers/staging/most/dim2/dim2.c
327
mbo->status = MBO_SUCCESS;
drivers/staging/most/dim2/dim2.c
328
mbo->complete(mbo);
drivers/staging/most/dim2/dim2.c
419
struct mbo *mbo;
drivers/staging/most/dim2/dim2.c
428
mbo = list_first_entry(head, struct mbo, list);
drivers/staging/most/dim2/dim2.c
432
mbo->processed_length = 0;
drivers/staging/most/dim2/dim2.c
433
mbo->status = MBO_E_CLOSE;
drivers/staging/most/dim2/dim2.c
434
mbo->complete(mbo);
drivers/staging/most/dim2/dim2.c
566
struct mbo *mbo)
drivers/staging/most/dim2/dim2.c
577
if (mbo->bus_address == 0)
drivers/staging/most/dim2/dim2.c
581
list_add_tail(&mbo->list, &hdm_ch->pending_list);
drivers/staging/most/dim2/dim2.c
603
struct mbo *mbo;
drivers/staging/most/dim2/dim2.c
615
mbo = most_get_mbo(&dev->most_iface, dev->atx_idx, NULL);
drivers/staging/most/dim2/dim2.c
616
if (!mbo)
drivers/staging/most/dim2/dim2.c
619
mbo->buffer_length = 5;
drivers/staging/most/dim2/dim2.c
621
data = mbo->virt_address;
drivers/staging/most/dim2/dim2.c
629
most_submit_mbo(mbo);
drivers/staging/most/dim2/dim2.c
672
static void *dma_alloc(struct mbo *mbo, u32 size)
drivers/staging/most/dim2/dim2.c
674
struct device *dev = mbo->ifp->driver_dev;
drivers/staging/most/dim2/dim2.c
676
return dma_alloc_coherent(dev, size, &mbo->bus_address, GFP_KERNEL);
drivers/staging/most/dim2/dim2.c
679
static void dma_free(struct mbo *mbo, u32 size)
drivers/staging/most/dim2/dim2.c
681
struct device *dev = mbo->ifp->driver_dev;
drivers/staging/most/dim2/dim2.c
683
dma_free_coherent(dev, size, mbo->virt_address, mbo->bus_address);
drivers/staging/most/net/net.c
127
mbo->buffer_length = mdp_len;
drivers/staging/most/net/net.c
131
static int skb_to_mep(const struct sk_buff *skb, struct mbo *mbo)
drivers/staging/most/net/net.c
133
u8 *buff = mbo->virt_address;
drivers/staging/most/net/net.c
141
if (mbo->buffer_length < mep_len) {
drivers/staging/most/net/net.c
143
mbo->buffer_length, mep_len);
drivers/staging/most/net/net.c
158
mbo->buffer_length = mep_len;
drivers/staging/most/net/net.c
237
struct mbo *mbo;
drivers/staging/most/net/net.c
240
mbo = most_get_mbo(nd->iface, nd->tx.ch_id, &comp);
drivers/staging/most/net/net.c
242
if (!mbo) {
drivers/staging/most/net/net.c
249
ret = skb_to_mamac(skb, mbo);
drivers/staging/most/net/net.c
251
ret = skb_to_mep(skb, mbo);
drivers/staging/most/net/net.c
254
most_put_mbo(mbo);
drivers/staging/most/net/net.c
260
most_submit_mbo(mbo);
drivers/staging/most/net/net.c
428
static int comp_rx_data(struct mbo *mbo)
drivers/staging/most/net/net.c
432
char *buf = mbo->virt_address;
drivers/staging/most/net/net.c
433
u32 len = mbo->processed_length;
drivers/staging/most/net/net.c
439
nd = get_net_dev_hold(mbo->ifp);
drivers/staging/most/net/net.c
443
if (nd->rx.ch_id != mbo->hdm_channel_id) {
drivers/staging/most/net/net.c
503
most_put_mbo(mbo);
drivers/staging/most/net/net.c
75
static int skb_to_mamac(const struct sk_buff *skb, struct mbo *mbo)
drivers/staging/most/net/net.c
77
u8 *buff = mbo->virt_address;
drivers/staging/most/net/net.c
89
if (mbo->buffer_length < mdp_len) {
drivers/staging/most/net/net.c
91
mbo->buffer_length, mdp_len);
drivers/staging/most/video/video.c
123
struct mbo *mbo, *tmp;
drivers/staging/most/video/video.c
140
list_for_each_entry_safe(mbo, tmp, &free_list, list) {
drivers/staging/most/video/video.c
141
list_del_init(&mbo->list);
drivers/staging/most/video/video.c
142
most_put_mbo(mbo);
drivers/staging/most/video/video.c
179
struct mbo *const mbo = get_top_mbo(mdev);
drivers/staging/most/video/video.c
180
int const rem = mbo->processed_length - fh->offs;
drivers/staging/most/video/video.c
183
if (copy_to_user(buf, mbo->virt_address + fh->offs, cnt)) {
drivers/staging/most/video/video.c
198
list_del(&mbo->list);
drivers/staging/most/video/video.c
200
most_put_mbo(mbo);
drivers/staging/most/video/video.c
389
static int comp_rx_data(struct mbo *mbo)
drivers/staging/most/video/video.c
393
get_comp_dev(mbo->ifp, mbo->hdm_channel_id);
drivers/staging/most/video/video.c
404
list_add_tail(&mbo->list, &mdev->pending_mbos);
drivers/staging/most/video/video.c
68
static inline struct mbo *get_top_mbo(struct most_video_dev *mdev)
drivers/staging/most/video/video.c
70
return list_first_entry(&mdev->pending_mbos, struct mbo, list);
include/linux/most.h
188
void (*complete)(struct mbo *mbo);
include/linux/most.h
239
void *(*dma_alloc)(struct mbo *mbo, u32 size);
include/linux/most.h
240
void (*dma_free)(struct mbo *mbo, u32 size);
include/linux/most.h
244
struct mbo *mbo);
include/linux/most.h
272
int (*rx_completion)(struct mbo *mbo);
include/linux/most.h
293
void most_submit_mbo(struct mbo *mbo);
include/linux/most.h
313
struct mbo *most_get_mbo(struct most_interface *iface, int channel_idx,
include/linux/most.h
315
void most_put_mbo(struct mbo *mbo);