Lines Matching refs:secy_id
414 void mcs_secy_plcy_write(struct mcs *mcs, u64 plcy, int secy_id, int dir) in mcs_secy_plcy_write() argument
419 reg = MCSX_CPM_RX_SLAVE_SECY_PLCY_MEM_0X(secy_id); in mcs_secy_plcy_write()
421 reg = MCSX_CPM_TX_SLAVE_SECY_PLCY_MEMX(secy_id); in mcs_secy_plcy_write()
426 mcs_reg_write(mcs, MCSX_CPM_RX_SLAVE_SECY_PLCY_MEM_1X(secy_id), 0x0ull); in mcs_secy_plcy_write()
491 int flow_id, secy_id, reg_id; in mcs_install_flowid_bypass_entry() local
506 secy_id = mcs->hw->secy_entries - MCS_RSRC_RSVD_CNT; in mcs_install_flowid_bypass_entry()
512 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_RX); in mcs_install_flowid_bypass_entry()
518 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_TX); in mcs_install_flowid_bypass_entry()
521 map.secy = secy_id; in mcs_install_flowid_bypass_entry()
525 map.sc = secy_id; in mcs_install_flowid_bypass_entry()
534 void mcs_clear_secy_plcy(struct mcs *mcs, int secy_id, int dir) in mcs_clear_secy_plcy() argument
545 mcs_secy_plcy_write(mcs, 0, secy_id, dir); in mcs_clear_secy_plcy()
549 if (map->flowid2secy_map[flow_id] != secy_id) in mcs_clear_secy_plcy()
761 int mcs_alloc_all_rsrc(struct mcs *mcs, u8 *flow_id, u8 *secy_id, in mcs_alloc_all_rsrc() argument
780 *secy_id = id; in mcs_alloc_all_rsrc()