Lines Matching defs:phys_vec
40 struct phys_vec *phys_vec, size_t nr_ranges,
48 unsigned int added = DIV_ROUND_UP(phys_vec[i].len, MAX_SG_ENT_SZ);
83 * @phys_vec: [in] array of physical vectors
84 * @nr_ranges: [in] number of entries in phys_vec array
85 * @size: [in] total size of phys_vec
102 struct phys_vec *phys_vec,
144 nents = calc_sg_nents(dma->state, phys_vec, nr_ranges, size);
156 phys_vec[i].paddr);
159 phys_vec[i].paddr, mapped_len,
160 phys_vec[i].len, dir,
165 mapped_len += phys_vec[i].len;
167 addr = dma_map_phys(attach->dev, phys_vec[i].paddr,
168 phys_vec[i].len, dir,
176 sgl = fill_sg_entry(sgl, phys_vec[i].len, addr);