Lines Matching refs:a1

260 	u64 *a1 = &vdev->args[1];  in vnic_dev_cmd1()  local
270 writeq(*a1, &devcmd->args[1]); in vnic_dev_cmd1()
296 *a1 = readq(&devcmd->args[1]); in vnic_dev_cmd1()
497 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() argument
502 vdev->args[1] = *a1; in vnic_dev_cmd_no_proxy()
507 *a1 = vdev->args[1]; in vnic_dev_cmd_no_proxy()
514 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() argument
521 return vnic_dev_cmd_no_proxy(vdev, cmd, a0, a1, wait); in vnic_dev_cmd()
529 u64 a0, a1 = 0; in vnic_dev_fw_info() local
543 err = vnic_dev_cmd(vdev, CMD_MCPU_FW_INFO, &a0, &a1, wait); in vnic_dev_fw_info()
554 u64 a0, a1; in vnic_dev_spec() local
559 a1 = size; in vnic_dev_spec()
561 err = vnic_dev_cmd(vdev, CMD_DEV_SPEC, &a0, &a1, wait); in vnic_dev_spec()
586 u64 a0 = 0, a1 = 0; in vnic_dev_stats_clear() local
588 return vnic_dev_cmd(vdev, CMD_STATS_CLEAR, &a0, &a1, wait); in vnic_dev_stats_clear()
593 u64 a0, a1; in vnic_dev_stats_dump() local
605 a1 = sizeof(struct vnic_stats); in vnic_dev_stats_dump()
607 return vnic_dev_cmd(vdev, CMD_STATS_DUMP, &a0, &a1, wait); in vnic_dev_stats_dump()
612 u64 a0 = 0, a1 = 0; in vnic_dev_close() local
614 return vnic_dev_cmd(vdev, CMD_CLOSE, &a0, &a1, wait); in vnic_dev_close()
619 u64 a0 = 0, a1 = 0; in vnic_dev_enable() local
621 return vnic_dev_cmd(vdev, CMD_ENABLE, &a0, &a1, wait); in vnic_dev_enable()
626 u64 a0 = 0, a1 = 0; in vnic_dev_disable() local
628 return vnic_dev_cmd(vdev, CMD_DISABLE, &a0, &a1, wait); in vnic_dev_disable()
633 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_open() local
635 return vnic_dev_cmd(vdev, CMD_OPEN, &a0, &a1, wait); in vnic_dev_open()
640 u64 a0 = 0, a1 = 0; in vnic_dev_open_done() local
646 err = vnic_dev_cmd(vdev, CMD_OPEN_STATUS, &a0, &a1, wait); in vnic_dev_open_done()
657 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_soft_reset() local
659 return vnic_dev_cmd(vdev, CMD_SOFT_RESET, &a0, &a1, wait); in vnic_dev_soft_reset()
664 u64 a0 = 0, a1 = 0; in vnic_dev_soft_reset_done() local
670 err = vnic_dev_cmd(vdev, CMD_SOFT_RESET_STATUS, &a0, &a1, wait); in vnic_dev_soft_reset_done()
681 u64 a0 = 0, a1 = 0; in vnic_dev_hang_notify() local
683 return vnic_dev_cmd(vdev, CMD_HANG_NOTIFY, &a0, &a1, wait); in vnic_dev_hang_notify()
708 u64 a0, a1 = 0; in vnic_dev_packet_filter() local
718 err = vnic_dev_cmd(vdev, CMD_PACKET_FILTER, &a0, &a1, wait); in vnic_dev_packet_filter()
755 u64 a0, a1; in vnic_dev_notify_set() local
767 a1 = ((u64)intr << 32) & 0x0000ffff00000000ULL; in vnic_dev_notify_set()
768 a1 += sizeof(struct vnic_devcmd_notify); in vnic_dev_notify_set()
770 return vnic_dev_cmd(vdev, CMD_NOTIFY, &a0, &a1, wait); in vnic_dev_notify_set()
775 u64 a0, a1; in vnic_dev_notify_unset() local
779 a1 = 0x0000ffff00000000ULL; /* intr num = -1 to unreg for intr */ in vnic_dev_notify_unset()
780 a1 += sizeof(struct vnic_devcmd_notify); in vnic_dev_notify_unset()
782 vnic_dev_cmd(vdev, CMD_NOTIFY, &a0, &a1, wait); in vnic_dev_notify_unset()
809 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_init() local
811 return vnic_dev_cmd(vdev, CMD_INIT, &a0, &a1, wait); in vnic_dev_init()
816 u64 a0 = new_default_vlan, a1 = 0; in vnic_dev_set_default_vlan() local
820 old_vlan = vnic_dev_cmd(vdev, CMD_SET_DEFAULT_VLAN, &a0, &a1, wait); in vnic_dev_set_default_vlan()