Lines Matching defs:mcs
27 void mcs_get_tx_secy_stats(struct mcs *mcs, struct mcs_secy_stats *stats, int id) in mcs_get_tx_secy_stats()
71 void mcs_get_rx_secy_stats(struct mcs *mcs, struct mcs_secy_stats *stats, int id) in mcs_get_rx_secy_stats()
132 void mcs_get_flowid_stats(struct mcs *mcs, struct mcs_flowid_stats *stats, in mcs_get_flowid_stats()
145 void mcs_get_port_stats(struct mcs *mcs, struct mcs_port_stats *stats, in mcs_get_port_stats()
172 void mcs_get_sa_stats(struct mcs *mcs, struct mcs_sa_stats *stats, int id, int dir) in mcs_get_sa_stats()
200 void mcs_get_sc_stats(struct mcs *mcs, struct mcs_sc_stats *stats, in mcs_get_sc_stats()
252 void mcs_clear_stats(struct mcs *mcs, u8 type, u8 id, int dir) in mcs_clear_stats()
292 int mcs_clear_all_stats(struct mcs *mcs, u16 pcifunc, int dir) in mcs_clear_all_stats()
332 void mcs_pn_table_write(struct mcs *mcs, u8 pn_id, u64 next_pn, u8 dir) in mcs_pn_table_write()
343 void cn10kb_mcs_tx_sa_mem_map_write(struct mcs *mcs, struct mcs_tx_sc_sa_map *map) in cn10kb_mcs_tx_sa_mem_map_write()
362 void cn10kb_mcs_rx_sa_mem_map_write(struct mcs *mcs, struct mcs_rx_sc_sa_map *map) in cn10kb_mcs_rx_sa_mem_map_write()
372 void mcs_sa_plcy_write(struct mcs *mcs, u64 *plcy, int sa_id, int dir) in mcs_sa_plcy_write()
390 void mcs_ena_dis_sc_cam_entry(struct mcs *mcs, int sc_id, int ena) in mcs_ena_dis_sc_cam_entry()
406 void mcs_rx_sc_cam_write(struct mcs *mcs, u64 sci, u64 secy, int sc_id) in mcs_rx_sc_cam_write()
414 void mcs_secy_plcy_write(struct mcs *mcs, u64 plcy, int secy_id, int dir) in mcs_secy_plcy_write()
429 void cn10kb_mcs_flowid_secy_map(struct mcs *mcs, struct secy_mem_map *map, int dir) in cn10kb_mcs_flowid_secy_map()
444 void mcs_ena_dis_flowid_entry(struct mcs *mcs, int flow_id, int dir, int ena) in mcs_ena_dis_flowid_entry()
467 void mcs_flowid_entry_write(struct mcs *mcs, u64 *data, u64 *mask, int flow_id, int dir) in mcs_flowid_entry_write()
493 int mcs_install_flowid_bypass_entry(struct mcs *mcs) in mcs_install_flowid_bypass_entry()
544 void mcs_clear_secy_plcy(struct mcs *mcs, int secy_id, int dir) in mcs_clear_secy_plcy()
582 int mcs_free_ctrlpktrule(struct mcs *mcs, struct mcs_free_ctrl_pkt_rule_req *req) in mcs_free_ctrlpktrule()
612 int mcs_ctrlpktrule_write(struct mcs *mcs, struct mcs_ctrl_pkt_rule_write_req *req) in mcs_ctrlpktrule_write()
712 int mcs_free_all_rsrc(struct mcs *mcs, int dir, u16 pcifunc) in mcs_free_all_rsrc()
771 int mcs_alloc_all_rsrc(struct mcs *mcs, u8 *flow_id, u8 *secy_id, in mcs_alloc_all_rsrc()
810 static void cn10kb_mcs_tx_pn_wrapped_handler(struct mcs *mcs) in cn10kb_mcs_tx_pn_wrapped_handler()
837 static void cn10kb_mcs_tx_pn_thresh_reached_handler(struct mcs *mcs) in cn10kb_mcs_tx_pn_thresh_reached_handler()
876 static void mcs_rx_pn_thresh_reached_handler(struct mcs *mcs) in mcs_rx_pn_thresh_reached_handler()
901 static void mcs_rx_misc_intr_handler(struct mcs *mcs, u64 intr) in mcs_rx_misc_intr_handler()
924 static void mcs_tx_misc_intr_handler(struct mcs *mcs, u64 intr) in mcs_tx_misc_intr_handler()
939 void cn10kb_mcs_bbe_intr_handler(struct mcs *mcs, u64 intr, in cn10kb_mcs_bbe_intr_handler()
964 void cn10kb_mcs_pab_intr_handler(struct mcs *mcs, u64 intr, in cn10kb_mcs_pab_intr_handler()
980 struct mcs *mcs = (struct mcs *)mcs_irq; in mcs_ip_intr_handler() local
1075 static void *alloc_mem(struct mcs *mcs, int n) in alloc_mem()
1080 static int mcs_alloc_struct_mem(struct mcs *mcs, struct mcs_rsrc_map *res) in mcs_alloc_struct_mem()
1137 static int mcs_register_interrupts(struct mcs *mcs) in mcs_register_interrupts()
1194 struct mcs *mcs; in mcs_get_blkcnt() local
1233 void mcs_set_port_cfg(struct mcs *mcs, struct mcs_port_cfg_set_req *req) in mcs_set_port_cfg()
1264 void mcs_get_port_cfg(struct mcs *mcs, struct mcs_port_cfg_get_req *req, in mcs_get_port_cfg()
1288 void mcs_get_custom_tag_cfg(struct mcs *mcs, struct mcs_custom_tag_cfg_get_req *req, in mcs_get_custom_tag_cfg()
1320 void mcs_reset_port(struct mcs *mcs, u8 port_id, u8 reset) in mcs_reset_port()
1328 void mcs_set_lmac_mode(struct mcs *mcs, int lmac_id, u8 mode) in mcs_set_lmac_mode()
1339 void mcs_pn_threshold_set(struct mcs *mcs, struct mcs_set_pn_threshold *pn) in mcs_pn_threshold_set()
1351 void cn10kb_mcs_parser_cfg(struct mcs *mcs) in cn10kb_mcs_parser_cfg()
1376 static void mcs_lmac_init(struct mcs *mcs, int lmac_id) in mcs_lmac_init()
1396 struct mcs *mcs; in mcs_set_lmac_channels() local
1414 static int mcs_x2p_calibration(struct mcs *mcs) in mcs_x2p_calibration()
1450 static void mcs_set_external_bypass(struct mcs *mcs, bool bypass) in mcs_set_external_bypass()
1464 static void mcs_global_cfg(struct mcs *mcs) in mcs_global_cfg()
1483 void cn10kb_mcs_set_hw_capabilities(struct mcs *mcs) in cn10kb_mcs_set_hw_capabilities()
1511 struct mcs *mcs; in mcs_probe() local
1601 struct mcs *mcs = pci_get_drvdata(pdev); in mcs_remove() local