Lines Matching refs:sa_rec
246 struct aq_mss_egress_sa_record sa_rec; in aq_get_txsa_next_pn() local
249 ret = aq_mss_get_egress_sa_record(hw, &sa_rec, sa_idx); in aq_get_txsa_next_pn()
251 *pn = sa_rec.next_pn; in aq_get_txsa_next_pn()
258 struct aq_mss_ingress_sa_record sa_rec; in aq_get_rxsa_next_pn() local
261 ret = aq_mss_get_ingress_sa_record(hw, &sa_rec, sa_idx); in aq_get_rxsa_next_pn()
263 *pn = (!sa_rec.sat_nextpn) ? sa_rec.next_pn : 0; in aq_get_rxsa_next_pn()
550 struct aq_mss_egress_sa_record sa_rec; in aq_update_txsa() local
554 memset(&sa_rec, 0, sizeof(sa_rec)); in aq_update_txsa()
555 sa_rec.valid = tx_sa->active; in aq_update_txsa()
556 sa_rec.fresh = 1; in aq_update_txsa()
557 sa_rec.next_pn = next_pn; in aq_update_txsa()
559 ret = aq_mss_set_egress_sa_record(hw, &sa_rec, sa_idx); in aq_update_txsa()
637 struct aq_mss_egress_sa_record sa_rec; in aq_clear_txsa() local
639 memset(&sa_rec, 0, sizeof(sa_rec)); in aq_clear_txsa()
640 sa_rec.fresh = 1; in aq_clear_txsa()
642 ret = aq_mss_set_egress_sa_record(hw, &sa_rec, sa_idx); in aq_clear_txsa()