Lines Matching refs:vnic_dev
36 struct vnic_dev { struct
54 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, argument
63 void *svnic_dev_priv(struct vnic_dev *vdev) in svnic_dev_priv()
68 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
151 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev, in svnic_dev_get_res_count()
157 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in svnic_dev_get_res()
209 int svnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, in svnic_dev_alloc_desc_ring()
236 void svnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in svnic_dev_free_desc_ring()
247 static int _svnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _svnic_dev_cmd2()
341 static int svnic_dev_init_devcmd2(struct vnic_dev *vdev) in svnic_dev_init_devcmd2()
420 static void vnic_dev_deinit_devcmd2(struct vnic_dev *vdev) in vnic_dev_deinit_devcmd2()
433 int svnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in svnic_dev_cmd()
450 int svnic_dev_fw_info(struct vnic_dev *vdev, in svnic_dev_fw_info()
475 int svnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, in svnic_dev_spec()
508 int svnic_dev_stats_clear(struct vnic_dev *vdev) in svnic_dev_stats_clear()
516 int svnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats) in svnic_dev_stats_dump()
535 int svnic_dev_close(struct vnic_dev *vdev) in svnic_dev_close()
543 int svnic_dev_enable_wait(struct vnic_dev *vdev) in svnic_dev_enable_wait()
556 int svnic_dev_disable(struct vnic_dev *vdev) in svnic_dev_disable()
564 int svnic_dev_open(struct vnic_dev *vdev, int arg) in svnic_dev_open()
572 int svnic_dev_open_done(struct vnic_dev *vdev, int *done) in svnic_dev_open_done()
589 int svnic_dev_notify_set(struct vnic_dev *vdev, u16 intr) in svnic_dev_notify_set()
609 void svnic_dev_notify_unset(struct vnic_dev *vdev) in svnic_dev_notify_unset()
621 static int vnic_dev_notify_ready(struct vnic_dev *vdev) in vnic_dev_notify_ready()
643 int svnic_dev_init(struct vnic_dev *vdev, int arg) in svnic_dev_init()
651 int svnic_dev_link_status(struct vnic_dev *vdev) in svnic_dev_link_status()
662 u32 svnic_dev_link_down_cnt(struct vnic_dev *vdev) in svnic_dev_link_down_cnt()
670 void svnic_dev_set_intr_mode(struct vnic_dev *vdev, in svnic_dev_set_intr_mode()
676 enum vnic_dev_intr_mode svnic_dev_get_intr_mode(struct vnic_dev *vdev) in svnic_dev_get_intr_mode()
681 void svnic_dev_unregister(struct vnic_dev *vdev) in svnic_dev_unregister()
708 struct vnic_dev *svnic_dev_alloc_discover(struct vnic_dev *vdev, in svnic_dev_alloc_discover()
715 vdev = kzalloc(sizeof(struct vnic_dev), GFP_ATOMIC); in svnic_dev_alloc_discover()
737 int svnic_dev_cmd_init(struct vnic_dev *vdev, int fallback) in svnic_dev_cmd_init()