• Home
  • Raw
  • Download

Lines Matching refs:list

385 int vpdma_create_desc_list(struct vpdma_desc_list *list, size_t size, int type)  in vpdma_create_desc_list()  argument
389 r = vpdma_alloc_desc_buf(&list->buf, size); in vpdma_create_desc_list()
393 list->next = list->buf.addr; in vpdma_create_desc_list()
395 list->type = type; in vpdma_create_desc_list()
404 void vpdma_reset_desc_list(struct vpdma_desc_list *list) in vpdma_reset_desc_list() argument
406 list->next = list->buf.addr; in vpdma_reset_desc_list()
413 void vpdma_free_desc_list(struct vpdma_desc_list *list) in vpdma_free_desc_list() argument
415 vpdma_free_desc_buf(&list->buf); in vpdma_free_desc_list()
417 list->next = NULL; in vpdma_free_desc_list()
428 int vpdma_submit_descs(struct vpdma_data *vpdma, struct vpdma_desc_list *list) in vpdma_submit_descs() argument
438 list_size = (list->next - list->buf.addr) >> 4; in vpdma_submit_descs()
440 write_reg(vpdma, VPDMA_LIST_ADDR, (u32) list->buf.dma_addr); in vpdma_submit_descs()
444 (list->type << VPDMA_LIST_TYPE_SHFT) | in vpdma_submit_descs()
480 void vpdma_add_cfd_block(struct vpdma_desc_list *list, int client, in vpdma_add_cfd_block() argument
488 cfd = list->next; in vpdma_add_cfd_block()
489 WARN_ON((void *)(cfd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_cfd_block()
497 list->next = cfd + 1; in vpdma_add_cfd_block()
507 void vpdma_add_cfd_adb(struct vpdma_desc_list *list, int client, in vpdma_add_cfd_adb() argument
516 cfd = list->next; in vpdma_add_cfd_adb()
517 BUG_ON((void *)(cfd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_cfd_adb()
525 list->next = cfd + 1; in vpdma_add_cfd_adb()
548 void vpdma_add_sync_on_channel_ctd(struct vpdma_desc_list *list, in vpdma_add_sync_on_channel_ctd() argument
553 ctd = list->next; in vpdma_add_sync_on_channel_ctd()
554 WARN_ON((void *)(ctd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_sync_on_channel_ctd()
562 list->next = ctd + 1; in vpdma_add_sync_on_channel_ctd()
626 void vpdma_add_out_dtd(struct vpdma_desc_list *list, int width, in vpdma_add_out_dtd() argument
653 dtd = list->next; in vpdma_add_out_dtd()
654 WARN_ON((void *)(dtd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_out_dtd()
673 list->next = dtd + 1; in vpdma_add_out_dtd()
697 void vpdma_add_in_dtd(struct vpdma_desc_list *list, int width, in vpdma_add_in_dtd() argument
724 dtd = list->next; in vpdma_add_in_dtd()
725 WARN_ON((void *)(dtd + 1) > (list->buf.addr + list->buf.size)); in vpdma_add_in_dtd()
746 list->next = dtd + 1; in vpdma_add_in_dtd()