Lines Matching defs:nic

21 void nicvf_reg_write(struct nicvf *nic, u64 offset, u64 val)  in nicvf_reg_write()
26 u64 nicvf_reg_read(struct nicvf *nic, u64 offset) in nicvf_reg_read()
31 void nicvf_queue_reg_write(struct nicvf *nic, u64 offset, in nicvf_queue_reg_write()
39 u64 nicvf_queue_reg_read(struct nicvf *nic, u64 offset, u64 qidx) in nicvf_queue_reg_read()
49 static void nicvf_write_to_mbx(struct nicvf *nic, union nic_mbx *mbx) in nicvf_write_to_mbx()
57 int nicvf_send_msg_to_pf(struct nicvf *nic, union nic_mbx *mbx) in nicvf_send_msg_to_pf()
92 static int nicvf_check_pf_ready(struct nicvf *nic) in nicvf_check_pf_ready()
105 static void nicvf_handle_mbx_intr(struct nicvf *nic) in nicvf_handle_mbx_intr()
165 static int nicvf_hw_set_mac_addr(struct nicvf *nic, struct udevice *dev) in nicvf_hw_set_mac_addr()
177 static void nicvf_config_cpi(struct nicvf *nic) in nicvf_config_cpi()
189 static int nicvf_init_resources(struct nicvf *nic) in nicvf_init_resources()
208 static void nicvf_snd_pkt_handler(struct nicvf *nic, in nicvf_snd_pkt_handler()
227 static int nicvf_rcv_pkt_handler(struct nicvf *nic, in nicvf_rcv_pkt_handler()
254 int nicvf_cq_handler(struct nicvf *nic, void **ppkt, int *pkt_len) in nicvf_cq_handler()
318 void nicvf_handle_qs_err(struct nicvf *nic) in nicvf_handle_qs_err()
340 struct nicvf *nic = dev_get_priv(dev); in nicvf_free_pkt() local
350 struct nicvf *nic = dev_get_priv(dev); in nicvf_xmit() local
375 struct nicvf *nic = dev_get_priv(dev); in nicvf_recv() local
404 struct nicvf *nic = dev_get_priv(dev); in nicvf_stop() local
421 struct nicvf *nic = dev_get_priv(dev); in nicvf_open() local
449 struct nicvf *nic = dev_get_priv(dev); in nicvf_write_hwaddr() local