Lines Matching refs:a1
272 u64 *a1 = &vdev->args[1]; in vnic_dev_cmd1() local
282 writeq(*a1, &devcmd->args[1]); in vnic_dev_cmd1()
308 *a1 = readq(&devcmd->args[1]); in vnic_dev_cmd1()
509 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() argument
514 vdev->args[1] = *a1; in vnic_dev_cmd_no_proxy()
519 *a1 = vdev->args[1]; in vnic_dev_cmd_no_proxy()
526 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() argument
533 return vnic_dev_cmd_no_proxy(vdev, cmd, a0, a1, wait); in vnic_dev_cmd()
541 u64 a0, a1 = 0; in vnic_dev_fw_info() local
555 err = vnic_dev_cmd(vdev, CMD_MCPU_FW_INFO, &a0, &a1, wait); in vnic_dev_fw_info()
566 u64 a0, a1; in vnic_dev_spec() local
571 a1 = size; in vnic_dev_spec()
573 err = vnic_dev_cmd(vdev, CMD_DEV_SPEC, &a0, &a1, wait); in vnic_dev_spec()
598 u64 a0 = 0, a1 = 0; in vnic_dev_stats_clear() local
600 return vnic_dev_cmd(vdev, CMD_STATS_CLEAR, &a0, &a1, wait); in vnic_dev_stats_clear()
605 u64 a0, a1; in vnic_dev_stats_dump() local
617 a1 = sizeof(struct vnic_stats); in vnic_dev_stats_dump()
619 return vnic_dev_cmd(vdev, CMD_STATS_DUMP, &a0, &a1, wait); in vnic_dev_stats_dump()
624 u64 a0 = 0, a1 = 0; in vnic_dev_close() local
626 return vnic_dev_cmd(vdev, CMD_CLOSE, &a0, &a1, wait); in vnic_dev_close()
631 u64 a0 = 0, a1 = 0; in vnic_dev_enable() local
633 return vnic_dev_cmd(vdev, CMD_ENABLE, &a0, &a1, wait); in vnic_dev_enable()
638 u64 a0 = 0, a1 = 0; in vnic_dev_disable() local
640 return vnic_dev_cmd(vdev, CMD_DISABLE, &a0, &a1, wait); in vnic_dev_disable()
645 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_open() local
647 return vnic_dev_cmd(vdev, CMD_OPEN, &a0, &a1, wait); in vnic_dev_open()
652 u64 a0 = 0, a1 = 0; in vnic_dev_open_done() local
658 err = vnic_dev_cmd(vdev, CMD_OPEN_STATUS, &a0, &a1, wait); in vnic_dev_open_done()
669 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_soft_reset() local
671 return vnic_dev_cmd(vdev, CMD_SOFT_RESET, &a0, &a1, wait); in vnic_dev_soft_reset()
676 u64 a0 = 0, a1 = 0; in vnic_dev_soft_reset_done() local
682 err = vnic_dev_cmd(vdev, CMD_SOFT_RESET_STATUS, &a0, &a1, wait); in vnic_dev_soft_reset_done()
693 u64 a0 = 0, a1 = 0; in vnic_dev_hang_notify() local
695 return vnic_dev_cmd(vdev, CMD_HANG_NOTIFY, &a0, &a1, wait); in vnic_dev_hang_notify()
720 u64 a0, a1 = 0; in vnic_dev_packet_filter() local
730 err = vnic_dev_cmd(vdev, CMD_PACKET_FILTER, &a0, &a1, wait); in vnic_dev_packet_filter()
767 u64 a0, a1; in vnic_dev_notify_set() local
779 a1 = ((u64)intr << 32) & 0x0000ffff00000000ULL; in vnic_dev_notify_set()
780 a1 += sizeof(struct vnic_devcmd_notify); in vnic_dev_notify_set()
782 return vnic_dev_cmd(vdev, CMD_NOTIFY, &a0, &a1, wait); in vnic_dev_notify_set()
787 u64 a0, a1; in vnic_dev_notify_unset() local
791 a1 = 0x0000ffff00000000ULL; /* intr num = -1 to unreg for intr */ in vnic_dev_notify_unset()
792 a1 += sizeof(struct vnic_devcmd_notify); in vnic_dev_notify_unset()
794 vnic_dev_cmd(vdev, CMD_NOTIFY, &a0, &a1, wait); in vnic_dev_notify_unset()
821 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_init() local
823 return vnic_dev_cmd(vdev, CMD_INIT, &a0, &a1, wait); in vnic_dev_init()
828 u64 a0 = new_default_vlan, a1 = 0; in vnic_dev_set_default_vlan() local
832 old_vlan = vnic_dev_cmd(vdev, CMD_SET_DEFAULT_VLAN, &a0, &a1, wait); in vnic_dev_set_default_vlan()