Lines Matching refs:sc_rec
320 struct aq_mss_egress_sc_record sc_rec = { 0 }; in aq_set_txsc() local
343 sc_rec.protect = secy->protect_frames; in aq_set_txsc()
345 sc_rec.tci |= BIT(1); in aq_set_txsc()
347 sc_rec.tci |= BIT(2); in aq_set_txsc()
349 sc_rec.tci |= BIT(3); in aq_set_txsc()
351 sc_rec.tci |= BIT(4); in aq_set_txsc()
356 sc_rec.tci |= BIT(0); in aq_set_txsc()
358 sc_rec.an_roll = 0; in aq_set_txsc()
362 sc_rec.sak_len = 0; in aq_set_txsc()
365 sc_rec.sak_len = 1; in aq_set_txsc()
368 sc_rec.sak_len = 2; in aq_set_txsc()
375 sc_rec.curr_an = secy->tx_sc.encoding_sa; in aq_set_txsc()
376 sc_rec.valid = 1; in aq_set_txsc()
377 sc_rec.fresh = 1; in aq_set_txsc()
379 return aq_mss_set_egress_sc_record(hw, &sc_rec, sc_idx); in aq_set_txsc()
497 struct aq_mss_egress_sc_record sc_rec = { 0 }; in aq_clear_txsc() local
514 sc_rec.fresh = 1; in aq_clear_txsc()
515 ret = aq_mss_set_egress_sc_record(hw, &sc_rec, in aq_clear_txsc()