Lines Matching refs:nicvf
320 static inline u64 nicvf_iova_to_phys(struct nicvf *nic, dma_addr_t dma_addr) in nicvf_iova_to_phys()
328 void nicvf_unmap_sndq_buffers(struct nicvf *nic, struct snd_queue *sq,
330 void nicvf_config_vlan_stripping(struct nicvf *nic,
332 int nicvf_set_qset_resources(struct nicvf *nic);
333 int nicvf_config_data_transfer(struct nicvf *nic, bool enable);
334 void nicvf_qset_config(struct nicvf *nic, bool enable);
335 void nicvf_cmp_queue_config(struct nicvf *nic, struct queue_set *qs,
338 void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx);
339 void nicvf_sq_disable(struct nicvf *nic, int qidx);
343 int nicvf_sq_append_skb(struct nicvf *nic, struct snd_queue *sq,
345 int nicvf_xdp_sq_append_pkt(struct nicvf *nic, struct snd_queue *sq,
347 void nicvf_xdp_sq_doorbell(struct nicvf *nic, struct snd_queue *sq, int sq_num);
349 struct sk_buff *nicvf_get_rcv_skb(struct nicvf *nic,
354 void nicvf_enable_intr(struct nicvf *nic, int int_type, int q_idx);
355 void nicvf_disable_intr(struct nicvf *nic, int int_type, int q_idx);
356 void nicvf_clear_intr(struct nicvf *nic, int int_type, int q_idx);
357 int nicvf_is_intr_enabled(struct nicvf *nic, int int_type, int q_idx);
360 void nicvf_reg_write(struct nicvf *nic, u64 offset, u64 val);
361 u64 nicvf_reg_read(struct nicvf *nic, u64 offset);
362 void nicvf_queue_reg_write(struct nicvf *nic, u64 offset,
364 u64 nicvf_queue_reg_read(struct nicvf *nic,
368 void nicvf_update_rq_stats(struct nicvf *nic, int rq_idx);
369 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx);
370 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx);
371 int nicvf_check_cqe_tx_errs(struct nicvf *nic, struct cqe_send_t *cqe_tx);