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()
149 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count()
155 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res()
206 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in vnic_dev_alloc_desc_ring()
234 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in vnic_dev_free_desc_ring()
245 static int vnic_dev_cmd1(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) in vnic_dev_cmd1()
307 static int vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in vnic_dev_cmd2()
402 static int vnic_dev_init_devcmd1(struct vnic_dev *vdev) in vnic_dev_init_devcmd1()
413 static int vnic_dev_init_devcmd2(struct vnic_dev *vdev) in vnic_dev_init_devcmd2()
485 static void vnic_dev_deinit_devcmd2(struct vnic_dev *vdev) in vnic_dev_deinit_devcmd2()
496 static int vnic_dev_cmd_no_proxy(struct vnic_dev *vdev, in vnic_dev_cmd_no_proxy()
513 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in vnic_dev_cmd()
526 int vnic_dev_fw_info(struct vnic_dev *vdev, in vnic_dev_fw_info()
551 int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, unsigned int size, in vnic_dev_spec()
584 int vnic_dev_stats_clear(struct vnic_dev *vdev) in vnic_dev_stats_clear()
591 int vnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats) in vnic_dev_stats_dump()
610 int vnic_dev_close(struct vnic_dev *vdev) in vnic_dev_close()
617 int vnic_dev_enable(struct vnic_dev *vdev) in vnic_dev_enable()
624 int vnic_dev_disable(struct vnic_dev *vdev) in vnic_dev_disable()
631 int vnic_dev_open(struct vnic_dev *vdev, int arg) in vnic_dev_open()
638 int vnic_dev_open_done(struct vnic_dev *vdev, int *done) in vnic_dev_open_done()
655 int vnic_dev_soft_reset(struct vnic_dev *vdev, int arg) in vnic_dev_soft_reset()
662 int vnic_dev_soft_reset_done(struct vnic_dev *vdev, int *done) in vnic_dev_soft_reset_done()
679 int vnic_dev_hang_notify(struct vnic_dev *vdev) in vnic_dev_hang_notify()
686 int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr) in vnic_dev_mac_addr()
705 void vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, in vnic_dev_packet_filter()
723 void vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr) in vnic_dev_add_addr()
738 void vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr) in vnic_dev_del_addr()
753 int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr) in vnic_dev_notify_set()
773 void vnic_dev_notify_unset(struct vnic_dev *vdev) in vnic_dev_notify_unset()
785 static int vnic_dev_notify_ready(struct vnic_dev *vdev) in vnic_dev_notify_ready()
807 int vnic_dev_init(struct vnic_dev *vdev, int arg) in vnic_dev_init()
814 u16 vnic_dev_set_default_vlan(struct vnic_dev *vdev, u16 new_default_vlan) in vnic_dev_set_default_vlan()
824 int vnic_dev_link_status(struct vnic_dev *vdev) in vnic_dev_link_status()
835 u32 vnic_dev_port_speed(struct vnic_dev *vdev) in vnic_dev_port_speed()
843 u32 vnic_dev_msg_lvl(struct vnic_dev *vdev) in vnic_dev_msg_lvl()
851 u32 vnic_dev_mtu(struct vnic_dev *vdev) in vnic_dev_mtu()
859 u32 vnic_dev_link_down_cnt(struct vnic_dev *vdev) in vnic_dev_link_down_cnt()
867 void vnic_dev_set_intr_mode(struct vnic_dev *vdev, in vnic_dev_set_intr_mode()
874 struct vnic_dev *vdev) in vnic_dev_get_intr_mode()
879 void vnic_dev_unregister(struct vnic_dev *vdev) in vnic_dev_unregister()
906 struct vnic_dev *vnic_dev_register(struct vnic_dev *vdev, in vnic_dev_register()
910 vdev = kzalloc(sizeof(struct vnic_dev), GFP_KERNEL); in vnic_dev_register()
928 int vnic_dev_cmd_init(struct vnic_dev *vdev) in vnic_dev_cmd_init()