Home
last modified time | relevance | path

Searched refs:dma_desc_cnt (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c3114 u32 count, dma_desc_cnt; in goya_get_dma_desc_list_size() local
3118 dma_desc_cnt = 0; in goya_get_dma_desc_list_size()
3146 dma_desc_cnt++; in goya_get_dma_desc_list_size()
3149 return dma_desc_cnt * sizeof(struct packet_lin_dma); in goya_get_dma_desc_list_size()
3579 u32 count, dma_desc_cnt; in goya_patch_dma_packet() local
3637 dma_desc_cnt = 0; in goya_patch_dma_packet()
3665 if (likely(dma_desc_cnt)) in goya_patch_dma_packet()
3682 dma_desc_cnt++; in goya_patch_dma_packet()
3686 if (!dma_desc_cnt) { in goya_patch_dma_packet()
3696 *new_dma_pkt_size = dma_desc_cnt * sizeof(struct packet_lin_dma); in goya_patch_dma_packet()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c3626 u32 count, dma_desc_cnt; in gaudi_get_dma_desc_list_size() local
3630 dma_desc_cnt = 0; in gaudi_get_dma_desc_list_size()
3658 dma_desc_cnt++; in gaudi_get_dma_desc_list_size()
3661 return dma_desc_cnt * sizeof(struct packet_lin_dma); in gaudi_get_dma_desc_list_size()
3911 u32 count, dma_desc_cnt, user_wrcomp_en_mask, ctl; in gaudi_patch_dma_packet() local
3959 dma_desc_cnt = 0; in gaudi_patch_dma_packet()
3987 if (likely(dma_desc_cnt)) in gaudi_patch_dma_packet()
4003 dma_desc_cnt++; in gaudi_patch_dma_packet()
4007 if (!dma_desc_cnt) { in gaudi_patch_dma_packet()
4017 *new_dma_pkt_size = dma_desc_cnt * sizeof(struct packet_lin_dma); in gaudi_patch_dma_packet()