Lines Matching refs:vnic_dev
42 struct vnic_dev { struct
61 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
70 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv()
75 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
153 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count()
159 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res()
210 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in vnic_dev_alloc_desc_ring()
238 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in vnic_dev_free_desc_ring()
249 static int vnic_dev_cmd1(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) in vnic_dev_cmd1()
311 static int vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in vnic_dev_cmd2()
406 static int vnic_dev_init_devcmd1(struct vnic_dev *vdev) in vnic_dev_init_devcmd1()
417 static int vnic_dev_init_devcmd2(struct vnic_dev *vdev) in vnic_dev_init_devcmd2()
489 static void vnic_dev_deinit_devcmd2(struct vnic_dev *vdev) in vnic_dev_deinit_devcmd2()
500 static int vnic_dev_cmd_no_proxy(struct vnic_dev *vdev, in vnic_dev_cmd_no_proxy()
517 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in vnic_dev_cmd()
530 int vnic_dev_fw_info(struct vnic_dev *vdev, in vnic_dev_fw_info()
555 int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, unsigned int size, in vnic_dev_spec()
588 int vnic_dev_stats_clear(struct vnic_dev *vdev) in vnic_dev_stats_clear()
595 int vnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats) in vnic_dev_stats_dump()
614 int vnic_dev_close(struct vnic_dev *vdev) in vnic_dev_close()
621 int vnic_dev_enable(struct vnic_dev *vdev) in vnic_dev_enable()
628 int vnic_dev_disable(struct vnic_dev *vdev) in vnic_dev_disable()
635 int vnic_dev_open(struct vnic_dev *vdev, int arg) in vnic_dev_open()
642 int vnic_dev_open_done(struct vnic_dev *vdev, int *done) in vnic_dev_open_done()
659 int vnic_dev_soft_reset(struct vnic_dev *vdev, int arg) in vnic_dev_soft_reset()
666 int vnic_dev_soft_reset_done(struct vnic_dev *vdev, int *done) in vnic_dev_soft_reset_done()
683 int vnic_dev_hang_notify(struct vnic_dev *vdev) in vnic_dev_hang_notify()
690 int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr) in vnic_dev_mac_addr()
709 void vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, in vnic_dev_packet_filter()
727 void vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr) in vnic_dev_add_addr()
742 void vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr) in vnic_dev_del_addr()
757 int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr) in vnic_dev_notify_set()
777 void vnic_dev_notify_unset(struct vnic_dev *vdev) in vnic_dev_notify_unset()
789 static int vnic_dev_notify_ready(struct vnic_dev *vdev) in vnic_dev_notify_ready()
811 int vnic_dev_init(struct vnic_dev *vdev, int arg) in vnic_dev_init()
818 u16 vnic_dev_set_default_vlan(struct vnic_dev *vdev, u16 new_default_vlan) in vnic_dev_set_default_vlan()
828 int vnic_dev_link_status(struct vnic_dev *vdev) in vnic_dev_link_status()
839 u32 vnic_dev_port_speed(struct vnic_dev *vdev) in vnic_dev_port_speed()
847 u32 vnic_dev_msg_lvl(struct vnic_dev *vdev) in vnic_dev_msg_lvl()
855 u32 vnic_dev_mtu(struct vnic_dev *vdev) in vnic_dev_mtu()
863 u32 vnic_dev_link_down_cnt(struct vnic_dev *vdev) in vnic_dev_link_down_cnt()
871 void vnic_dev_set_intr_mode(struct vnic_dev *vdev, in vnic_dev_set_intr_mode()
878 struct vnic_dev *vdev) in vnic_dev_get_intr_mode()
883 void vnic_dev_unregister(struct vnic_dev *vdev) in vnic_dev_unregister()
910 struct vnic_dev *vnic_dev_register(struct vnic_dev *vdev, in vnic_dev_register()
914 vdev = kzalloc(sizeof(struct vnic_dev), GFP_KERNEL); in vnic_dev_register()
932 int vnic_dev_cmd_init(struct vnic_dev *vdev) in vnic_dev_cmd_init()