Searched refs:nb_in_sg (Results 1 – 2 of 2) sorted by relevance
223 int nb_in_sg; member471 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, dev->total); in sahara_hw_descriptor_create()472 if (dev->nb_in_sg < 0) { in sahara_hw_descriptor_create()474 return dev->nb_in_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()487 ret = dma_map_sg(dev->device, dev->in_sg, dev->nb_in_sg, in sahara_hw_descriptor_create()489 if (ret != dev->nb_in_sg) { in sahara_hw_descriptor_create()503 for (i = 0; i < dev->nb_in_sg; i++) { in sahara_hw_descriptor_create()506 if (i == (dev->nb_in_sg - 1)) { in sahara_hw_descriptor_create()[all …]
116 unsigned int nb_in_sg; member