Searched refs:nb_out_sg (Results 1 – 2 of 2) sorted by relevance
225 int nb_out_sg; member476 dev->nb_out_sg = sg_nents_for_len(dev->out_sg, dev->total); in sahara_hw_descriptor_create()477 if (dev->nb_out_sg < 0) { in sahara_hw_descriptor_create()479 return dev->nb_out_sg; in sahara_hw_descriptor_create()481 if ((dev->nb_in_sg + dev->nb_out_sg) > SAHARA_MAX_HW_LINK) { in sahara_hw_descriptor_create()483 dev->nb_in_sg + dev->nb_out_sg); in sahara_hw_descriptor_create()493 ret = dma_map_sg(dev->device, dev->out_sg, dev->nb_out_sg, in sahara_hw_descriptor_create()495 if (ret != dev->nb_out_sg) { in sahara_hw_descriptor_create()517 for (j = i; j < dev->nb_out_sg + i; j++) { in sahara_hw_descriptor_create()520 if (j == (dev->nb_out_sg + i - 1)) { in sahara_hw_descriptor_create()[all …]
119 unsigned int nb_out_sg; member