/linux-6.3-rc2/drivers/staging/most/i2c/ |
A D | i2c.c | 120 int ch_idx, struct mbo *mbo) in enqueue() argument 145 mbo->processed_length = mbo->buffer_length; in enqueue() 148 mbo->complete(mbo); in enqueue() 168 struct mbo *mbo; in poison_channel() local 179 list_del(&mbo->list); in poison_channel() 183 mbo->complete(mbo); in poison_channel() 192 struct mbo *mbo; in do_rx_work() local 218 list_del(&mbo->list); in do_rx_work() 220 mbo->processed_length = min(data_size, mbo->buffer_length); in do_rx_work() 221 memcpy(mbo->virt_address, msg, mbo->processed_length); in do_rx_work() [all …]
|
/linux-6.3-rc2/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() 511 ccb[mbo].linkptr[0] = ccb[mbo].linkptr[1] = ccb[mbo].linkptr[2] = 0; in aha1542_queuecommand() 871 int mbo; in aha1542_dev_reset() local 882 mbo++; in aha1542_dev_reset() 887 if (mb[mbo].status || aha1542->int_cmds[mbo]) in aha1542_dev_reset() [all …]
|
/linux-6.3-rc2/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 …]
|
/linux-6.3-rc2/include/linux/ |
A D | most.h | 176 struct mbo { struct 188 void (*complete)(struct mbo *mbo); argument 239 void *(*dma_alloc)(struct mbo *mbo, u32 size); 240 void (*dma_free)(struct mbo *mbo, u32 size); 244 struct mbo *mbo); 272 int (*rx_completion)(struct mbo *mbo); 293 void most_submit_mbo(struct mbo *mbo); 313 struct mbo *most_get_mbo(struct most_interface *iface, int channel_idx, 315 void most_put_mbo(struct mbo *mbo);
|
/linux-6.3-rc2/drivers/staging/most/dim2/ |
A D | dim2.c | 162 struct mbo *mbo; in try_start_dim_transfer() local 180 mbo = list_first_entry(head, struct mbo, list); in try_start_dim_transfer() 194 mbo->complete(mbo); in try_start_dim_transfer() 264 struct mbo *mbo; in service_done_flag() local 296 mbo = list_first_entry(head, struct mbo, list); in service_done_flag() 320 mbo->processed_length = mbo->buffer_length; in service_done_flag() 323 mbo->complete(mbo); in service_done_flag() 414 struct mbo *mbo; in complete_all_mbos() local 429 mbo->complete(mbo); in complete_all_mbos() 561 struct mbo *mbo) in enqueue() argument [all …]
|
/linux-6.3-rc2/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 …]
|
/linux-6.3-rc2/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() 385 static int comp_rx_data(struct mbo *mbo) in comp_rx_data() argument 389 get_comp_dev(mbo->ifp, mbo->hdm_channel_id); in comp_rx_data() [all …]
|
/linux-6.3-rc2/drivers/s390/cio/ |
A D | cmf.c | 172 : [r1] "d" ((unsigned long)onoff), [mbo] "d" (area) in cmf_activate()
|