Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c3302 u64 len, len_next; in goya_get_dma_desc_list_size() local
3316 len_next = sg_dma_len(sg_next_iter); in goya_get_dma_desc_list_size()
3319 if (len_next == 0) in goya_get_dma_desc_list_size()
3323 (len + len_next <= DMA_MAX_TRANSFER_SIZE)) { in goya_get_dma_desc_list_size()
3324 len += len_next; in goya_get_dma_desc_list_size()
3766 u64 len, len_next; in goya_patch_dma_packet() local
3834 len_next = sg_dma_len(sg_next_iter); in goya_patch_dma_packet()
3837 if (len_next == 0) in goya_patch_dma_packet()
3841 (len + len_next <= DMA_MAX_TRANSFER_SIZE)) { in goya_patch_dma_packet()
3842 len += len_next; in goya_patch_dma_packet()
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c4848 u64 len, len_next; in gaudi_get_dma_desc_list_size() local
4862 len_next = sg_dma_len(sg_next_iter); in gaudi_get_dma_desc_list_size()
4865 if (len_next == 0) in gaudi_get_dma_desc_list_size()
4869 (len + len_next <= DMA_MAX_TRANSFER_SIZE)) { in gaudi_get_dma_desc_list_size()
4870 len += len_next; in gaudi_get_dma_desc_list_size()
5135 u64 len, len_next; in gaudi_patch_dma_packet() local
5193 len_next = sg_dma_len(sg_next_iter); in gaudi_patch_dma_packet()
5196 if (len_next == 0) in gaudi_patch_dma_packet()
5200 (len + len_next <= DMA_MAX_TRANSFER_SIZE)) { in gaudi_patch_dma_packet()
5201 len += len_next; in gaudi_patch_dma_packet()