Lines Matching refs:nicpf
39 struct nicpf { struct
88 static void nic_reg_write(struct nicpf *nic, u64 offset, u64 val) in nic_reg_write()
93 static u64 nic_reg_read(struct nicpf *nic, u64 offset) in nic_reg_read()
99 static void nic_enable_mbx_intr(struct nicpf *nic) in nic_enable_mbx_intr()
119 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) in nic_clear_mbx_intr()
133 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) in nic_send_msg_to_vf()
158 static void nic_mbx_send_ready(struct nicpf *nic, int vf) in nic_mbx_send_ready()
188 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack()
200 static void nic_mbx_send_nack(struct nicpf *nic, int vf) in nic_mbx_send_nack()
211 static int nic_rcv_queue_sw_sync(struct nicpf *nic) in nic_rcv_queue_sw_sync()
231 static void nic_get_bgx_stats(struct nicpf *nic, struct bgx_stats_msg *bgx) in nic_get_bgx_stats()
253 static int nic_update_hw_frs(struct nicpf *nic, int new_frs, int vf) in nic_update_hw_frs()
284 static void nic_set_tx_pkt_pad(struct nicpf *nic, int size) in nic_set_tx_pkt_pad()
317 static void nic_set_lmac_vf_mapping(struct nicpf *nic) in nic_set_lmac_vf_mapping()
357 static void nic_get_hw_info(struct nicpf *nic) in nic_get_hw_info()
411 static void nic_init_hw(struct nicpf *nic) in nic_init_hw()
472 static void nic_config_cpi(struct nicpf *nic, struct cpi_cfg_msg *cfg) in nic_config_cpi()
550 static void nic_send_rss_size(struct nicpf *nic, int vf) in nic_send_rss_size()
565 static void nic_config_rss(struct nicpf *nic, struct rss_cfg_msg *cfg) in nic_config_rss()
611 static void nic_tx_channel_cfg(struct nicpf *nic, u8 vnic, in nic_tx_channel_cfg()
696 static void nic_send_pnicvf(struct nicpf *nic, int sqs) in nic_send_pnicvf()
706 static void nic_send_snicvf(struct nicpf *nic, struct nicvf_ptr *nicvf) in nic_send_snicvf()
720 static int nic_nxt_avail_sqs(struct nicpf *nic) in nic_nxt_avail_sqs()
735 static void nic_alloc_sqs(struct nicpf *nic, struct sqs_alloc *sqs) in nic_alloc_sqs()
760 static int nic_config_loopback(struct nicpf *nic, struct set_loopback *lbk) in nic_config_loopback()
785 static int nic_reset_stat_counters(struct nicpf *nic, in nic_reset_stat_counters()
827 static void nic_enable_tunnel_parsing(struct nicpf *nic, int vf) in nic_enable_tunnel_parsing()
846 static void nic_enable_vf(struct nicpf *nic, int vf, bool enable) in nic_enable_vf()
861 static void nic_pause_frame(struct nicpf *nic, int vf, struct pfc *cfg) in nic_pause_frame()
886 static void nic_config_timestamp(struct nicpf *nic, int vf, struct set_ptp *ptp) in nic_config_timestamp()
927 static void nic_link_status_get(struct nicpf *nic, u8 vf) in nic_link_status_get()
953 static void nic_handle_mbx_intr(struct nicpf *nic, int vf) in nic_handle_mbx_intr()
1148 struct nicpf *nic = (struct nicpf *)nic_irq; in nic_mbx_intr_handler()
1173 static void nic_free_all_interrupts(struct nicpf *nic) in nic_free_all_interrupts()
1184 static int nic_register_interrupts(struct nicpf *nic) in nic_register_interrupts()
1225 static void nic_unregister_interrupts(struct nicpf *nic) in nic_unregister_interrupts()
1232 static int nic_num_sqs_en(struct nicpf *nic, int vf_en) in nic_num_sqs_en()
1252 static int nic_sriov_init(struct pci_dev *pdev, struct nicpf *nic) in nic_sriov_init()
1294 struct nicpf *nic; in nic_probe()
1381 struct nicpf *nic = pci_get_drvdata(pdev); in nic_remove()