Searched refs:sgt (Results 1 – 2 of 2) sorted by relevance
913 nsp32_sgtable *sgt = data->cur_lunt->sglun->sgt; in nsp32_setup_sg_table() local921 if (sgt == NULL) { in nsp32_setup_sg_table()934 sgt[i].addr = cpu_to_le32(sg_dma_address(sgl)); in nsp32_setup_sg_table()935 sgt[i].len = cpu_to_le32(sg_dma_len(sgl)); in nsp32_setup_sg_table()938 if (le32_to_cpu(sgt[i].len) > 0x10000) { in nsp32_setup_sg_table()940 "can't transfer over 64KB at a time, size=0x%lx", le32_to_cpu(sgt[i].len)); in nsp32_setup_sg_table()946 le32_to_cpu(sgt[i].addr), in nsp32_setup_sg_table()947 le32_to_cpu(sgt[i].len )); in nsp32_setup_sg_table()951 l = le32_to_cpu(sgt[num-1].len); in nsp32_setup_sg_table()952 sgt[num-1].len = cpu_to_le32(l | SGTEND); in nsp32_setup_sg_table()[all …]
468 nsp32_sgtable sgt[NSP32_SG_SIZE+1]; /* SG table */ member