Searched refs:chain_sg (Results 1 – 2 of 2) sorted by relevance
212 static inline void __sg_chain(struct scatterlist *chain_sg, in __sg_chain() argument218 chain_sg->offset = 0; in __sg_chain()219 chain_sg->length = 0; in __sg_chain()225 chain_sg->page_link = ((unsigned long) sgl | SG_CHAIN) & ~SG_END; in __sg_chain()
2291 struct ioaccel2_sg_element *chain_sg; in hpsa_unmap_ioaccel2_sg_chain_block() local2295 chain_sg = cp->sg; in hpsa_unmap_ioaccel2_sg_chain_block()2296 temp64 = le64_to_cpu(chain_sg->address); in hpsa_unmap_ioaccel2_sg_chain_block()2304 struct SGDescriptor *chain_sg, *chain_block; in hpsa_map_sg_chain_block() local2308 chain_sg = &c->SG[h->max_cmd_sg_entries - 1]; in hpsa_map_sg_chain_block()2310 chain_sg->Ext = cpu_to_le32(HPSA_SG_CHAIN); in hpsa_map_sg_chain_block()2311 chain_len = sizeof(*chain_sg) * in hpsa_map_sg_chain_block()2313 chain_sg->Len = cpu_to_le32(chain_len); in hpsa_map_sg_chain_block()2318 chain_sg->Addr = cpu_to_le64(0); in hpsa_map_sg_chain_block()2321 chain_sg->Addr = cpu_to_le64(temp64); in hpsa_map_sg_chain_block()[all …]