Searched refs:total_sg_needed (Results 1 – 1 of 1) sorted by relevance
113 u32 total_sg_needed, unsigned char init_payload) in rd_allocate_sgl_table() argument122 while (total_sg_needed) { in rd_allocate_sgl_table()125 sg_per_table = (total_sg_needed > max_sg_per_table) ? in rd_allocate_sgl_table()126 max_sg_per_table : total_sg_needed; in rd_allocate_sgl_table()131 if (sg_per_table < total_sg_needed) in rd_allocate_sgl_table()168 total_sg_needed -= sg_per_table; in rd_allocate_sgl_table()177 u32 sg_tables, total_sg_needed; in rd_build_device_space() local192 total_sg_needed = rd_dev->rd_page_count; in rd_build_device_space()194 sg_tables = (total_sg_needed / max_sg_per_table) + 1; in rd_build_device_space()202 rc = rd_allocate_sgl_table(rd_dev, sg_table, total_sg_needed, 0x00); in rd_build_device_space()[all …]