Lines Matching refs:vnic_dev
50 struct vnic_dev { struct
68 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
77 void *svnic_dev_priv(struct vnic_dev *vdev) in svnic_dev_priv()
82 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
165 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev, in svnic_dev_get_res_count()
171 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in svnic_dev_get_res()
223 int svnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in svnic_dev_alloc_desc_ring()
250 void svnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in svnic_dev_free_desc_ring()
261 static int _svnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _svnic_dev_cmd2()
355 static int svnic_dev_init_devcmd2(struct vnic_dev *vdev) in svnic_dev_init_devcmd2()
434 static void vnic_dev_deinit_devcmd2(struct vnic_dev *vdev) in vnic_dev_deinit_devcmd2()
447 int svnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in svnic_dev_cmd()
464 int svnic_dev_fw_info(struct vnic_dev *vdev, in svnic_dev_fw_info()
489 int svnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, in svnic_dev_spec()
522 int svnic_dev_stats_clear(struct vnic_dev *vdev) in svnic_dev_stats_clear()
530 int svnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats) in svnic_dev_stats_dump()
549 int svnic_dev_close(struct vnic_dev *vdev) in svnic_dev_close()
557 int svnic_dev_enable_wait(struct vnic_dev *vdev) in svnic_dev_enable_wait()
570 int svnic_dev_disable(struct vnic_dev *vdev) in svnic_dev_disable()
578 int svnic_dev_open(struct vnic_dev *vdev, int arg) in svnic_dev_open()
586 int svnic_dev_open_done(struct vnic_dev *vdev, int *done) in svnic_dev_open_done()
603 int svnic_dev_notify_set(struct vnic_dev *vdev, u16 intr) in svnic_dev_notify_set()
623 void svnic_dev_notify_unset(struct vnic_dev *vdev) in svnic_dev_notify_unset()
635 static int vnic_dev_notify_ready(struct vnic_dev *vdev) in vnic_dev_notify_ready()
657 int svnic_dev_init(struct vnic_dev *vdev, int arg) in svnic_dev_init()
665 int svnic_dev_link_status(struct vnic_dev *vdev) in svnic_dev_link_status()
676 u32 svnic_dev_link_down_cnt(struct vnic_dev *vdev) in svnic_dev_link_down_cnt()
684 void svnic_dev_set_intr_mode(struct vnic_dev *vdev, in svnic_dev_set_intr_mode()
690 enum vnic_dev_intr_mode svnic_dev_get_intr_mode(struct vnic_dev *vdev) in svnic_dev_get_intr_mode()
695 void svnic_dev_unregister(struct vnic_dev *vdev) in svnic_dev_unregister()
722 struct vnic_dev *svnic_dev_alloc_discover(struct vnic_dev *vdev, in svnic_dev_alloc_discover()
729 vdev = kzalloc(sizeof(struct vnic_dev), GFP_ATOMIC); in svnic_dev_alloc_discover()
751 int svnic_dev_cmd_init(struct vnic_dev *vdev, int fallback) in svnic_dev_cmd_init()