Lines Matching refs:a1
448 u64 *a0, u64 *a1, int wait) in svnic_dev_cmd() argument
454 vdev->args[1] = *a1; in svnic_dev_cmd()
459 *a1 = vdev->args[1]; in svnic_dev_cmd()
467 u64 a0, a1 = 0; in svnic_dev_fw_info() local
481 err = svnic_dev_cmd(vdev, CMD_MCPU_FW_INFO, &a0, &a1, wait); in svnic_dev_fw_info()
492 u64 a0, a1; in svnic_dev_spec() local
497 a1 = size; in svnic_dev_spec()
499 err = svnic_dev_cmd(vdev, CMD_DEV_SPEC, &a0, &a1, wait); in svnic_dev_spec()
524 u64 a0 = 0, a1 = 0; in svnic_dev_stats_clear() local
527 return svnic_dev_cmd(vdev, CMD_STATS_CLEAR, &a0, &a1, wait); in svnic_dev_stats_clear()
532 u64 a0, a1; in svnic_dev_stats_dump() local
544 a1 = sizeof(struct vnic_stats); in svnic_dev_stats_dump()
546 return svnic_dev_cmd(vdev, CMD_STATS_DUMP, &a0, &a1, wait); in svnic_dev_stats_dump()
551 u64 a0 = 0, a1 = 0; in svnic_dev_close() local
554 return svnic_dev_cmd(vdev, CMD_CLOSE, &a0, &a1, wait); in svnic_dev_close()
559 u64 a0 = 0, a1 = 0; in svnic_dev_enable_wait() local
563 err = svnic_dev_cmd(vdev, CMD_ENABLE_WAIT, &a0, &a1, wait); in svnic_dev_enable_wait()
565 return svnic_dev_cmd(vdev, CMD_ENABLE, &a0, &a1, wait); in svnic_dev_enable_wait()
572 u64 a0 = 0, a1 = 0; in svnic_dev_disable() local
575 return svnic_dev_cmd(vdev, CMD_DISABLE, &a0, &a1, wait); in svnic_dev_disable()
580 u64 a0 = (u32)arg, a1 = 0; in svnic_dev_open() local
583 return svnic_dev_cmd(vdev, CMD_OPEN, &a0, &a1, wait); in svnic_dev_open()
588 u64 a0 = 0, a1 = 0; in svnic_dev_open_done() local
594 err = svnic_dev_cmd(vdev, CMD_OPEN_STATUS, &a0, &a1, wait); in svnic_dev_open_done()
605 u64 a0, a1; in svnic_dev_notify_set() local
617 a1 = ((u64)intr << 32) & VNIC_NOTIFY_INTR_MASK; in svnic_dev_notify_set()
618 a1 += sizeof(struct vnic_devcmd_notify); in svnic_dev_notify_set()
620 return svnic_dev_cmd(vdev, CMD_NOTIFY, &a0, &a1, wait); in svnic_dev_notify_set()
625 u64 a0, a1; in svnic_dev_notify_unset() local
629 a1 = VNIC_NOTIFY_INTR_MASK; /* intr num = -1 to unreg for intr */ in svnic_dev_notify_unset()
630 a1 += sizeof(struct vnic_devcmd_notify); in svnic_dev_notify_unset()
632 svnic_dev_cmd(vdev, CMD_NOTIFY, &a0, &a1, wait); in svnic_dev_notify_unset()
659 u64 a0 = (u32)arg, a1 = 0; in svnic_dev_init() local
662 return svnic_dev_cmd(vdev, CMD_INIT, &a0, &a1, wait); in svnic_dev_init()