Lines Matching refs:vdev
176 u32 port_speed = vnic_dev_port_speed(fnic->vdev);
203 ret = vnic_dev_stats_dump(fnic->vdev, &fnic->stats);
315 ret = vnic_dev_stats_clear(fnic->vdev);
379 switch (vnic_dev_get_intr_mode(fnic->vdev)) {
381 err = vnic_dev_notify_set(fnic->vdev, FNIC_INTX_NOTIFY);
384 err = vnic_dev_notify_set(fnic->vdev, -1);
387 err = vnic_dev_notify_set(fnic->vdev, FNIC_MSIX_ERR_NOTIFY);
393 vnic_dev_get_intr_mode(fnic->vdev));
419 switch (vnic_dev_get_intr_mode(fnic->vdev)) {
433 static int fnic_dev_wait(struct vnic_dev *vdev,
442 err = start(vdev, arg);
449 err = finished(vdev, &done);
465 vnic_dev_disable(fnic->vdev);
531 old_vlan = vnic_dev_set_default_vlan(fnic->vdev, vlan_id);
642 fnic->vdev = vnic_dev_register(NULL, fnic, pdev, &fnic->bar0);
643 if (!fnic->vdev) {
651 err = fnic_dev_wait(fnic->vdev, vnic_dev_open,
659 err = vnic_dev_init(fnic->vdev, 0);
666 err = vnic_dev_mac_addr(fnic->vdev, fnic->ctlr.ctl_src_addr);
764 vnic_dev_packet_filter(fnic->vdev, 1, 1, 0, 0, 0);
765 vnic_dev_add_addr(fnic->vdev, FIP_ALL_ENODE_MACS);
766 vnic_dev_add_addr(fnic->vdev, fnic->ctlr.ctl_src_addr);
800 if (vnic_dev_get_intr_mode(fnic->vdev) == VNIC_DEV_INTR_MODE_MSI)
887 vnic_dev_enable(fnic->vdev);
911 vnic_dev_notify_unset(fnic->vdev);
923 vnic_dev_close(fnic->vdev);
925 vnic_dev_unregister(fnic->vdev);
955 if (vnic_dev_get_intr_mode(fnic->vdev) == VNIC_DEV_INTR_MODE_MSI)
1005 vnic_dev_notify_unset(fnic->vdev);
1009 vnic_dev_close(fnic->vdev);
1010 vnic_dev_unregister(fnic->vdev);