Lines Matching refs:plcy
372 void mcs_sa_plcy_write(struct mcs *mcs, u64 *plcy, int sa_id, int dir) in mcs_sa_plcy_write() argument
380 mcs_reg_write(mcs, reg, plcy[reg_id]); in mcs_sa_plcy_write()
385 mcs_reg_write(mcs, reg, plcy[reg_id]); in mcs_sa_plcy_write()
414 void mcs_secy_plcy_write(struct mcs *mcs, u64 plcy, int secy_id, int dir) in mcs_secy_plcy_write() argument
423 mcs_reg_write(mcs, reg, plcy); in mcs_secy_plcy_write()
497 u64 reg, plcy = 0; in mcs_install_flowid_bypass_entry() local
518 plcy = 0x7ull; in mcs_install_flowid_bypass_entry()
520 plcy = BIT_ULL(0) | 0x3ull << 4; in mcs_install_flowid_bypass_entry()
521 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_RX); in mcs_install_flowid_bypass_entry()
524 plcy = BIT_ULL(0) | GENMASK_ULL(43, 28); in mcs_install_flowid_bypass_entry()
526 plcy = BIT_ULL(0) | GENMASK_ULL(63, 48); in mcs_install_flowid_bypass_entry()
527 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_TX); in mcs_install_flowid_bypass_entry()