Lines Matching refs:link_tbl_ptr
975 int cryptlen, struct talitos_ptr *link_tbl_ptr) in sg_to_link_tbl() argument
980 to_talitos_ptr(link_tbl_ptr, sg_dma_address(sg)); in sg_to_link_tbl()
981 link_tbl_ptr->len = cpu_to_be16(sg_dma_len(sg)); in sg_to_link_tbl()
982 link_tbl_ptr->j_extent = 0; in sg_to_link_tbl()
983 link_tbl_ptr++; in sg_to_link_tbl()
989 link_tbl_ptr--; in sg_to_link_tbl()
990 while (be16_to_cpu(link_tbl_ptr->len) <= (-cryptlen)) { in sg_to_link_tbl()
992 cryptlen += be16_to_cpu(link_tbl_ptr->len); in sg_to_link_tbl()
993 link_tbl_ptr->len = 0; in sg_to_link_tbl()
995 link_tbl_ptr--; in sg_to_link_tbl()
997 link_tbl_ptr->len = cpu_to_be16(be16_to_cpu(link_tbl_ptr->len) in sg_to_link_tbl()
1001 link_tbl_ptr->j_extent = DESC_PTR_LNKTBL_RETURN; in sg_to_link_tbl()
1090 struct talitos_ptr *link_tbl_ptr = in ipsec_esp() local
1097 link_tbl_ptr); in ipsec_esp()
1100 link_tbl_ptr += sg_count - 1; in ipsec_esp()
1101 link_tbl_ptr->j_extent = 0; in ipsec_esp()
1103 link_tbl_ptr++; in ipsec_esp()
1104 link_tbl_ptr->j_extent = DESC_PTR_LNKTBL_RETURN; in ipsec_esp()
1105 link_tbl_ptr->len = cpu_to_be16(authsize); in ipsec_esp()
1108 to_talitos_ptr(link_tbl_ptr, edesc->dma_link_tbl + in ipsec_esp()
1505 struct talitos_ptr *link_tbl_ptr = in common_nonsnoop() local
1513 link_tbl_ptr); in common_nonsnoop()