Searched refs:SGV2_COMPS_MAX (Results 1 – 1 of 1) sorted by relevance
31 #define SGV2_COMPS_MAX 3 macro305 components = buf_count / SGV2_COMPS_MAX; in sgv2io_components_setup()308 sg_ptr->len0 = list[i * SGV2_COMPS_MAX + 0].size; in sgv2io_components_setup()309 sg_ptr->len1 = list[i * SGV2_COMPS_MAX + 1].size; in sgv2io_components_setup()310 sg_ptr->len2 = list[i * SGV2_COMPS_MAX + 2].size; in sgv2io_components_setup()311 sg_ptr->ptr0 = list[i * SGV2_COMPS_MAX + 0].dma_addr; in sgv2io_components_setup()312 sg_ptr->ptr1 = list[i * SGV2_COMPS_MAX + 1].dma_addr; in sgv2io_components_setup()313 sg_ptr->ptr2 = list[i * SGV2_COMPS_MAX + 2].dma_addr; in sgv2io_components_setup()314 sg_ptr->valid_segs = SGV2_COMPS_MAX; in sgv2io_components_setup()317 components = buf_count % SGV2_COMPS_MAX; in sgv2io_components_setup()[all …]