Lines Matching defs:nic
18 static int nicvf_poll_reg(struct nicvf *nic, int qidx, in nicvf_poll_reg()
39 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem()
58 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem()
69 static void *nicvf_rb_ptr_to_pkt(struct nicvf *nic, uintptr_t rb_ptr) in nicvf_rb_ptr_to_pkt()
74 static int nicvf_init_rbdr(struct nicvf *nic, struct rbdr *rbdr, in nicvf_init_rbdr()
121 static void nicvf_free_rbdr(struct nicvf *nic, struct rbdr *rbdr) in nicvf_free_rbdr()
141 void nicvf_refill_rbdr(struct nicvf *nic) in nicvf_refill_rbdr()
179 static int nicvf_init_cmp_queue(struct nicvf *nic, in nicvf_init_cmp_queue()
198 static void nicvf_free_cmp_queue(struct nicvf *nic, struct cmp_queue *cq) in nicvf_free_cmp_queue()
208 static int nicvf_init_snd_queue(struct nicvf *nic, in nicvf_init_snd_queue()
228 static void nicvf_free_snd_queue(struct nicvf *nic, struct snd_queue *sq) in nicvf_free_snd_queue()
241 static void nicvf_reclaim_snd_queue(struct nicvf *nic, in nicvf_reclaim_snd_queue()
253 static void nicvf_reclaim_rcv_queue(struct nicvf *nic, in nicvf_reclaim_rcv_queue()
263 static void nicvf_reclaim_cmp_queue(struct nicvf *nic, in nicvf_reclaim_cmp_queue()
274 static void nicvf_reclaim_rbdr(struct nicvf *nic, in nicvf_reclaim_rbdr()
324 static void nicvf_rcv_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_rcv_queue_config()
382 void nicvf_cmp_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_cmp_queue_config()
424 static void nicvf_snd_queue_config(struct nicvf *nic, struct queue_set *qs, in nicvf_snd_queue_config()
474 static void nicvf_rbdr_config(struct nicvf *nic, struct queue_set *qs, in nicvf_rbdr_config()
513 void nicvf_qset_config(struct nicvf *nic, bool enable) in nicvf_qset_config()
546 static void nicvf_free_resources(struct nicvf *nic) in nicvf_free_resources()
564 static int nicvf_alloc_resources(struct nicvf *nic) in nicvf_alloc_resources()
594 int nicvf_set_qset_resources(struct nicvf *nic) in nicvf_set_qset_resources()
620 int nicvf_config_data_transfer(struct nicvf *nic, bool enable) in nicvf_config_data_transfer()
687 void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx) in nicvf_sq_enable()
698 void nicvf_sq_disable(struct nicvf *nic, int qidx) in nicvf_sq_disable()
711 struct nicvf *nic = dev_get_priv(dev); in nicvf_sq_free_used_descs() local
727 static int nicvf_sq_subdesc_required(struct nicvf *nic) in nicvf_sq_subdesc_required()
738 nicvf_sq_add_hdr_subdesc(struct nicvf *nic, struct snd_queue *sq, int qentry, in nicvf_sq_add_hdr_subdesc()
780 int nicvf_sq_append_pkt(struct nicvf *nic, void *pkt, size_t pkt_size) in nicvf_sq_append_pkt()
829 void *nicvf_get_rcv_pkt(struct nicvf *nic, void *cq_desc, size_t *pkt_len) in nicvf_get_rcv_pkt()
901 void nicvf_clear_intr(struct nicvf *nic, int int_type, int q_idx) in nicvf_clear_intr()
935 void nicvf_update_rq_stats(struct nicvf *nic, int rq_idx) in nicvf_update_rq_stats()
948 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx) in nicvf_update_sq_stats()
962 int nicvf_check_cqe_rx_errs(struct nicvf *nic, in nicvf_check_cqe_rx_errs()
1086 int nicvf_check_cqe_tx_errs(struct nicvf *nic, in nicvf_check_cqe_tx_errs()