Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/goya/
Dgoya.c3301 u32 count, dma_desc_cnt; in goya_get_dma_desc_list_size() local
3305 dma_desc_cnt = 0; in goya_get_dma_desc_list_size()
3332 dma_desc_cnt++; in goya_get_dma_desc_list_size()
3335 return dma_desc_cnt * sizeof(struct packet_lin_dma); in goya_get_dma_desc_list_size()
3765 u32 count, dma_desc_cnt; in goya_patch_dma_packet() local
3823 dma_desc_cnt = 0; in goya_patch_dma_packet()
3851 if (likely(dma_desc_cnt)) in goya_patch_dma_packet()
3868 dma_desc_cnt++; in goya_patch_dma_packet()
3872 if (!dma_desc_cnt) { in goya_patch_dma_packet()
3882 *new_dma_pkt_size = dma_desc_cnt * sizeof(struct packet_lin_dma); in goya_patch_dma_packet()
/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi.c4847 u32 count, dma_desc_cnt; in gaudi_get_dma_desc_list_size() local
4851 dma_desc_cnt = 0; in gaudi_get_dma_desc_list_size()
4878 dma_desc_cnt++; in gaudi_get_dma_desc_list_size()
4881 return dma_desc_cnt * sizeof(struct packet_lin_dma); in gaudi_get_dma_desc_list_size()
5134 u32 count, dma_desc_cnt, user_wrcomp_en_mask, ctl; in gaudi_patch_dma_packet() local
5182 dma_desc_cnt = 0; in gaudi_patch_dma_packet()
5210 if (likely(dma_desc_cnt)) in gaudi_patch_dma_packet()
5226 dma_desc_cnt++; in gaudi_patch_dma_packet()
5230 if (!dma_desc_cnt) { in gaudi_patch_dma_packet()
5240 *new_dma_pkt_size = dma_desc_cnt * sizeof(struct packet_lin_dma); in gaudi_patch_dma_packet()