| /drivers/staging/most/i2c/ |
| A D | i2c.c | 123 int ch_idx, struct mbo *mbo) in enqueue() argument 148 mbo->processed_length = mbo->buffer_length; in enqueue() 151 mbo->complete(mbo); in enqueue() 171 struct mbo *mbo; in poison_channel() local 182 list_del(&mbo->list); in poison_channel() 186 mbo->complete(mbo); in poison_channel() 195 struct mbo *mbo; in do_rx_work() local 221 list_del(&mbo->list); in do_rx_work() 223 mbo->processed_length = min(data_size, mbo->buffer_length); in do_rx_work() 224 memcpy(mbo->virt_address, msg, mbo->processed_length); in do_rx_work() [all …]
|
| /drivers/scsi/ |
| A D | aha1542.c | 355 if (ccb[mbo].tarstat | ccb[mbo].hastat) in aha1542_interrupt() 373 ccb[mbo].hastat, ccb[mbo].idlun, mbo); in aha1542_interrupt() 399 ccb[mbo].hastat, ccb[mbo].tarstat); in aha1542_interrupt() 423 int mbo; in aha1542_queuecommand() local 471 mbo++; in aha1542_queuecommand() 476 if (mb[mbo].status || aha1542->int_cmds[mbo]) in aha1542_queuecommand() 502 memcpy(ccb[mbo].cdb, cmd->cmnd, ccb[mbo].cdblen); in aha1542_queuecommand() 511 ccb[mbo].linkptr[0] = ccb[mbo].linkptr[1] = ccb[mbo].linkptr[2] = 0; in aha1542_queuecommand() 883 mbo++; in aha1542_dev_reset() 888 if (mb[mbo].status || aha1542->int_cmds[mbo]) in aha1542_dev_reset() [all …]
|
| /drivers/most/ |
| A D | core.c | 121 struct mbo *mbo, *tmp; in flush_channel_fifos() local 154 struct mbo *mbo, *tmp; in flush_trash_fifo() local 760 static void nq_hdm_mbo(struct mbo *mbo) in nq_hdm_mbo() argument 774 struct mbo *mbo; in hdm_enqueue_thread() local 797 ret = enqueue(mbo->ifp, mbo->hdm_channel_id, mbo); in hdm_enqueue_thread() 835 static void arm_mbo(struct mbo *mbo) in arm_mbo() argument 876 struct mbo *mbo; in arm_mbo_chain() local 925 void most_submit_mbo(struct mbo *mbo) in most_submit_mbo() argument 927 if (WARN_ONCE(!mbo || !mbo->context, in most_submit_mbo() 987 struct mbo *mbo; in most_get_mbo() local [all …]
|
| A D | most_cdev.c | 55 static inline struct mbo *ch_get_mbo(struct comp_channel *c, struct mbo **mbo) in ch_get_mbo() argument 59 if (*mbo) in ch_get_mbo() 62 return *mbo; in ch_get_mbo() 83 struct mbo *mbo; in stop_channel() local 86 most_put_mbo(mbo); in stop_channel() 187 struct mbo *mbo = NULL; in comp_write() local 240 struct mbo *mbo = NULL; in comp_read() local 274 most_put_mbo(mbo); in comp_read() 351 static int comp_rx_completion(struct mbo *mbo) in comp_rx_completion() argument 355 if (!mbo) in comp_rx_completion() [all …]
|
| A D | most_usb.c | 310 struct mbo *mbo) in hdm_remove_padding() argument 342 struct mbo *mbo = urb->context; in hdm_write_completion() local 377 mbo->complete(mbo); in hdm_write_completion() 394 struct mbo *mbo = urb->context; in hdm_read_completion() local 438 mbo->complete(mbo); in hdm_read_completion() 458 struct mbo *mbo) in hdm_enqueue() argument 467 if (!mbo) in hdm_enqueue() 501 mbo); in hdm_enqueue() 512 mbo); in hdm_enqueue() 535 static void *hdm_dma_alloc(struct mbo *mbo, u32 size) in hdm_dma_alloc() argument [all …]
|
| A D | most_snd.c | 181 static bool copy_data(struct channel *channel, struct mbo *mbo) in copy_data() argument 192 frames = mbo->buffer_length / frame_bytes; in copy_data() 196 mbo->virt_address, in copy_data() 202 mbo->virt_address + fr0 * frame_bytes, in copy_data() 232 struct mbo *mbo = NULL; in playback_thread() local 241 if (!mbo) in playback_thread() 247 memset(mbo->virt_address, 0, mbo->buffer_length); in playback_thread() 249 most_submit_mbo(mbo); in playback_thread() 667 static int audio_rx_completion(struct mbo *mbo) in audio_rx_completion() argument 669 struct channel *channel = get_channel(mbo->ifp, mbo->hdm_channel_id); in audio_rx_completion() [all …]
|
| /drivers/staging/most/dim2/ |
| A D | dim2.c | 165 struct mbo *mbo; in try_start_dim_transfer() local 183 mbo = list_first_entry(head, struct mbo, list); in try_start_dim_transfer() 197 mbo->complete(mbo); in try_start_dim_transfer() 267 struct mbo *mbo; in service_done_flag() local 299 mbo = list_first_entry(head, struct mbo, list); in service_done_flag() 323 mbo->processed_length = mbo->buffer_length; in service_done_flag() 326 mbo->complete(mbo); in service_done_flag() 417 struct mbo *mbo; in complete_all_mbos() local 432 mbo->complete(mbo); in complete_all_mbos() 564 struct mbo *mbo) in enqueue() argument [all …]
|
| /drivers/staging/most/net/ |
| A D | net.c | 75 static int skb_to_mamac(const struct sk_buff *skb, struct mbo *mbo) in skb_to_mamac() argument 77 u8 *buff = mbo->virt_address; in skb_to_mamac() 127 mbo->buffer_length = mdp_len; in skb_to_mamac() 131 static int skb_to_mep(const struct sk_buff *skb, struct mbo *mbo) in skb_to_mep() argument 133 u8 *buff = mbo->virt_address; in skb_to_mep() 237 struct mbo *mbo; in most_nd_start_xmit() local 242 if (!mbo) { in most_nd_start_xmit() 254 most_put_mbo(mbo); in most_nd_start_xmit() 260 most_submit_mbo(mbo); in most_nd_start_xmit() 428 static int comp_rx_data(struct mbo *mbo) in comp_rx_data() argument [all …]
|
| /drivers/staging/most/video/ |
| A D | video.c | 120 struct mbo *mbo, *tmp; in comp_vdev_close() local 134 list_del(&mbo->list); in comp_vdev_close() 136 most_put_mbo(mbo); in comp_vdev_close() 174 struct mbo *const mbo = get_top_mbo(mdev); in comp_vdev_read() local 175 int const rem = mbo->processed_length - fh->offs; in comp_vdev_read() 178 if (copy_to_user(buf, mbo->virt_address + fh->offs, cnt)) { in comp_vdev_read() 193 list_del(&mbo->list); in comp_vdev_read() 195 most_put_mbo(mbo); in comp_vdev_read() 384 static int comp_rx_data(struct mbo *mbo) in comp_rx_data() argument 388 get_comp_dev(mbo->ifp, mbo->hdm_channel_id); in comp_rx_data() [all …]
|
| /drivers/s390/cio/ |
| A D | cmf.c | 173 [mbo] "d" (virt_to_phys(area)) in cmf_activate()
|