Lines Matching full:a1

440 	u64 *a0, u64 *a1, int wait)  in vnic_dev_cmd_proxy()  argument
450 vdev->args[3] = *a1; in vnic_dev_cmd_proxy()
467 *a1 = vdev->args[2]; in vnic_dev_cmd_proxy()
473 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() argument
478 vdev->args[1] = *a1; in vnic_dev_cmd_no_proxy()
483 *a1 = vdev->args[1]; in vnic_dev_cmd_no_proxy()
501 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() argument
508 a0, a1, wait); in vnic_dev_cmd()
511 a0, a1, wait); in vnic_dev_cmd()
514 return vnic_dev_cmd_no_proxy(vdev, cmd, a0, a1, wait); in vnic_dev_cmd()
520 u64 a0 = (u32)cmd, a1 = 0; in vnic_dev_capable() local
524 err = vnic_dev_cmd(vdev, CMD_CAPABILITY, &a0, &a1, wait); in vnic_dev_capable()
532 u64 a0, a1 = 0; in vnic_dev_fw_info() local
544 a1 = sizeof(struct vnic_devcmd_fw_info); in vnic_dev_fw_info()
549 &a0, &a1, wait); in vnic_dev_fw_info()
552 &a0, &a1, wait); in vnic_dev_fw_info()
563 u64 a0, a1; in vnic_dev_spec() local
568 a1 = size; in vnic_dev_spec()
570 err = vnic_dev_cmd(vdev, CMD_DEV_SPEC, &a0, &a1, wait); in vnic_dev_spec()
585 u64 a0, a1; in vnic_dev_stats_dump() local
598 a1 = sizeof(struct vnic_stats); in vnic_dev_stats_dump()
600 return vnic_dev_cmd(vdev, CMD_STATS_DUMP, &a0, &a1, wait); in vnic_dev_stats_dump()
605 u64 a0 = 0, a1 = 0; in vnic_dev_close() local
607 return vnic_dev_cmd(vdev, CMD_CLOSE, &a0, &a1, wait); in vnic_dev_close()
612 u64 a0 = 0, a1 = 0; in vnic_dev_enable_wait() local
616 return vnic_dev_cmd(vdev, CMD_ENABLE_WAIT, &a0, &a1, wait); in vnic_dev_enable_wait()
618 return vnic_dev_cmd(vdev, CMD_ENABLE, &a0, &a1, wait); in vnic_dev_enable_wait()
623 u64 a0 = 0, a1 = 0; in vnic_dev_disable() local
625 return vnic_dev_cmd(vdev, CMD_DISABLE, &a0, &a1, wait); in vnic_dev_disable()
630 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_open() local
632 return vnic_dev_cmd(vdev, CMD_OPEN, &a0, &a1, wait); in vnic_dev_open()
637 u64 a0 = 0, a1 = 0; in vnic_dev_open_done() local
643 err = vnic_dev_cmd(vdev, CMD_OPEN_STATUS, &a0, &a1, wait); in vnic_dev_open_done()
654 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_soft_reset() local
656 return vnic_dev_cmd(vdev, CMD_SOFT_RESET, &a0, &a1, wait); in vnic_dev_soft_reset()
661 u64 a0 = 0, a1 = 0; in vnic_dev_soft_reset_done() local
667 err = vnic_dev_cmd(vdev, CMD_SOFT_RESET_STATUS, &a0, &a1, wait); in vnic_dev_soft_reset_done()
678 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_hang_reset() local
684 &a0, &a1, wait); in vnic_dev_hang_reset()
695 u64 a0 = 0, a1 = 0; in vnic_dev_hang_reset_done() local
703 &a0, &a1, wait); in vnic_dev_hang_reset_done()
717 u64 a0, a1; in vnic_dev_hang_notify() local
719 return vnic_dev_cmd(vdev, CMD_HANG_NOTIFY, &a0, &a1, wait); in vnic_dev_hang_notify()
724 u64 a0, a1; in vnic_dev_get_mac_addr() local
731 err = vnic_dev_cmd(vdev, CMD_GET_MAC_ADDR, &a0, &a1, wait); in vnic_dev_get_mac_addr()
744 u64 a0, a1 = 0; in vnic_dev_packet_filter() local
754 err = vnic_dev_cmd(vdev, CMD_PACKET_FILTER, &a0, &a1, wait); in vnic_dev_packet_filter()
763 u64 a0 = 0, a1 = 0; in vnic_dev_add_addr() local
771 err = vnic_dev_cmd(vdev, CMD_ADDR_ADD, &a0, &a1, wait); in vnic_dev_add_addr()
780 u64 a0 = 0, a1 = 0; in vnic_dev_del_addr() local
788 err = vnic_dev_cmd(vdev, CMD_ADDR_DEL, &a0, &a1, wait); in vnic_dev_del_addr()
798 u64 a0 = ig_vlan_rewrite_mode, a1 = 0; in vnic_dev_set_ig_vlan_rewrite_mode() local
803 &a0, &a1, wait); in vnic_dev_set_ig_vlan_rewrite_mode()
811 u64 a0, a1; in vnic_dev_notify_setcmd() local
820 a1 = ((u64)intr << 32) & 0x0000ffff00000000ULL; in vnic_dev_notify_setcmd()
821 a1 += sizeof(struct vnic_devcmd_notify); in vnic_dev_notify_setcmd()
823 r = vnic_dev_cmd(vdev, CMD_NOTIFY, &a0, &a1, wait); in vnic_dev_notify_setcmd()
824 vdev->notify_sz = (r == 0) ? (u32)a1 : 0; in vnic_dev_notify_setcmd()
850 u64 a0, a1; in vnic_dev_notify_unsetcmd() local
855 a1 = 0x0000ffff00000000ULL; /* intr num = -1 to unreg for intr */ in vnic_dev_notify_unsetcmd()
856 a1 += sizeof(struct vnic_devcmd_notify); in vnic_dev_notify_unsetcmd()
858 err = vnic_dev_cmd(vdev, CMD_NOTIFY, &a0, &a1, wait); in vnic_dev_notify_unsetcmd()
900 u64 a0 = (u32)arg, a1 = 0; in vnic_dev_init() local
905 r = vnic_dev_cmd(vdev, CMD_INIT, &a0, &a1, wait); in vnic_dev_init()
907 vnic_dev_cmd(vdev, CMD_INIT_v1, &a0, &a1, wait); in vnic_dev_init()
912 vnic_dev_cmd(vdev, CMD_GET_MAC_ADDR, &a0, &a1, wait); in vnic_dev_init()
913 vnic_dev_cmd(vdev, CMD_ADDR_ADD, &a0, &a1, wait); in vnic_dev_init()
921 u64 a0 = 0, a1 = 0; in vnic_dev_deinit() local
924 return vnic_dev_cmd(vdev, CMD_DEINIT, &a0, &a1, wait); in vnic_dev_deinit()
1106 u64 a0, a1 = len; in vnic_dev_init_prov2() local
1120 ret = vnic_dev_cmd(vdev, CMD_INIT_PROV_INFO2, &a0, &a1, wait); in vnic_dev_init_prov2()
1129 u64 a0, a1 = 0; in vnic_dev_enable2() local
1134 return vnic_dev_cmd(vdev, CMD_ENABLE2, &a0, &a1, wait); in vnic_dev_enable2()
1140 u64 a0 = cmd, a1 = 0; in vnic_dev_cmd_status() local
1144 ret = vnic_dev_cmd(vdev, CMD_STATUS, &a0, &a1, wait); in vnic_dev_cmd_status()
1163 u64 a0, a1; in vnic_dev_set_mac_addr() local
1170 return vnic_dev_cmd(vdev, CMD_SET_MAC_ADDR, &a0, &a1, wait); in vnic_dev_set_mac_addr()
1190 u64 a0, a1; in vnic_dev_classifier() local
1208 a1 = tlv_size; in vnic_dev_classifier()
1224 ret = vnic_dev_cmd(vdev, CMD_ADD_FILTER, &a0, &a1, wait); in vnic_dev_classifier()
1229 ret = vnic_dev_cmd(vdev, CMD_DEL_FILTER, &a0, &a1, wait); in vnic_dev_classifier()
1238 u64 a1 = config; in vnic_dev_overlay_offload_ctrl() local
1241 return vnic_dev_cmd(vdev, CMD_OVERLAY_OFFLOAD_CTRL, &a0, &a1, wait); in vnic_dev_overlay_offload_ctrl()
1247 u64 a1 = vxlan_udp_port_number; in vnic_dev_overlay_offload_cfg() local
1251 return vnic_dev_cmd(vdev, CMD_OVERLAY_OFFLOAD_CFG, &a0, &a1, wait); in vnic_dev_overlay_offload_cfg()
1255 u64 *supported_versions, u64 *a1) in vnic_dev_get_supported_feature_ver() argument
1261 ret = vnic_dev_cmd(vdev, CMD_GET_SUPP_FEATURE_VER, &a0, a1, wait); in vnic_dev_get_supported_feature_ver()
1270 u64 a0 = CMD_NIC_CFG, a1 = 0; in vnic_dev_capable_rss_hash_type() local
1274 err = vnic_dev_cmd(vdev, CMD_CAPABILITY, &a0, &a1, wait); in vnic_dev_capable_rss_hash_type()
1281 a1 = (a1 >> NIC_CFG_RSS_HASH_TYPE_SHIFT) & in vnic_dev_capable_rss_hash_type()
1284 *rss_hash_type = (u8)a1; in vnic_dev_capable_rss_hash_type()