Lines Matching +full:2 +full:a0

13 #define _CMD_DIRBITS	2
30 #define _CMD_DIR_READ 2U
44 #define _CMD_VTYPE_FC 2U
73 * (u64)a0=paddr to struct vnic_devcmd_fw_info
84 * (u64)a0=paddr to struct vnic_devcmd_fw_info
100 * in: (u16)a0=offset,(u8)a1=size
101 * out: a0=value */
102 CMD_DEV_SPEC = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 2),
107 /* stats dump in mem: (u64)a0=paddr to stats area,
111 /* set Rx packet filter: (u32)a0=filters (see CMD_PFILTER_*) */
114 /* set Rx packet filter for all: (u32)a0=filters (see CMD_PFILTER_*) */
120 /* MAC address in (u48)a0 */
124 /* add addr from (u48)a0 */
128 /* del addr from (u48)a0 */
132 /* add VLAN id in (u16)a0 */
135 /* del VLAN id in (u16)a0 */
139 * in: (u32)a0
142 * out: (u64) a0 = 1 if a1 is valid
149 * in: (u32)a0
152 * out: (u64) a0 = 1 if a1 is valid
159 /* union vnic_rss_key in mem: (u64)a0=paddr, (u16)a1=len */
162 /* union vnic_rss_cpu in mem: (u64)a0=paddr, (u16)a1=len */
169 * out: a0=0 reset complete, a0=1 reset in progress */
174 * (u64)a0=paddr to notify (set paddr=0 to unset)
182 /* UNDI API: (u64)a0=paddr to s_PXENV_UNDI_ struct,
186 /* initiate open sequence (u32)a0=flags (see CMD_OPENF_*) */
190 * out: a0=0 open complete, a0=1 open in progress */
196 /* initialize virtual link: (u32)a0=flags (see CMD_INITF_*) */
201 * (u64)a0=paddr of vnic_devcmd_provinfo
215 * (u64)a0=paddr
220 * out: a0=0 init complete, a0=1 init in progress
221 * if a0=0, a1=errno */
224 /* INT13 API: (u64)a0=paddr to vnic_int13_params struct
228 /* logical uplink enable/disable: (u64)a0: 0/1=disable/enable */
234 /* initialize virtual link: (u32)a0=flags (see CMD_INITF_*) */
238 * in: (u32)a0=cmd
239 * out: (u32)a0=errno, 0:valid cmd, a1=supported VNIC_STF_* bits */
243 * in: (u64)a0=paddr of arg
248 * in: (u16)a0=interrupt number to assert
256 * out: a0=0 reset complete, a0=1 reset in progress */
261 * in: (u32)a0=new vlan rewrite mode
262 * out: (u32)a0=old vlan rewrite mode */
266 * in: (u16)a0=bdf of target vnic
269 * out: (u32)a0=status of proxied cmd
274 * As for BY_BDF except a0 is index of hvnlink subordinate vnic
282 * in: (u64)a0=phsical address of buffer passed in from caller.
283 * (u16)a1=size of buffer specified in a0.
284 * out: (u64)a0=phsical address of buffer passed in from caller.
289 /* INT13 API: (u64)a0=paddr to vnic_int13_params struct
295 * in: (u16)a0=new default vlan
296 * (u16)a1=zero for overriding vlan with param a0,
298 * out: (u16)a0=old default vlan
305 * (u64)a0=paddr of vnic_devcmd_provinfo
311 * (u32)a0=0 ==> standby
320 * a0 = command for which status is being queried.
332 * a0 = ERR_ENOTSUPPORTED - status for command in a0 is
335 * a0 = status of the devcmd specified in a0 as follows.
336 * ERR_SUCCESS - command in a0 completed successfully
337 * ERR_EINPROGRESS - command in a0 is still in progress
354 * out: (u32)a0 = multiplier
363 * (u48)a0 = mac addr
368 * (u64)a0=paddr of vnic_devcmd_provinfo
374 * in: (u64) a0 = host result buffer physical address
380 * in: (u64) a0= filter address
382 * out: (u32) a0=filter identifier
387 * in: (u32) a0=filter identifier
392 * in: (u32) a0=Queue Pair number
398 * in: (u32) a0=Queue Pair number
404 * in: (u32) a0=Queue Pair number
411 * in: (u32) a0=Queue Pair number
417 * in: (u64) a0 = feature (driver requests for the supported versions
419 * out: (u64) a0 = bitmap of all supported versions for that feature
424 * in: (u8) a0 = OVERLAY_FEATURE_NVGRE : NVGRE
425 * a0 = OVERLAY_FEATURE_VXLAN : VxLAN
428 * a1 = OVERLAY_OFFLOAD_ENABLE_V2 : Enable with version 2
433 * in: (u8) a0 = DEVCMD_OVERLAY_NVGRE : NVGRE
434 * a0 = DEVCMD_OVERLAY_VXLAN : VxLAN
443 * in: (u64) a0 = RQ selection (VNIC_RQ_ALL for all RQs)
450 * out: (u32) a0 = errno, 0:valid cmd
454 * bit 2: 64 bytes
484 #define IG_VLAN_REWRITE_MODE_PRIORITY_TAG_DEFAULT_VLAN 2
490 STAT_ERROR = 1 << 1, /* last cmd caused error (code in a0) */
496 ERR_EFAULT = 2,
560 FILTER_FIELD_VALID(2) | \
566 FILTER_FIELD_VALID(2) | \
573 FILTER_FIELD_VALID(2))
576 #define FILTER_FIELD_USNIC_ETHTYPE FILTER_FIELD_VALID(2)
589 #define FILTER_FIELD_5TUP_SRC_AD FILTER_FIELD_VALID(2)
610 #define FILTER_FIELD_VMQ_MAC FILTER_FIELD_VALID(2)
635 FILTER_MAC_VLAN = 2,
680 /* Make sizeof(vnic_devcmd) a power-of-2 for I/O BAR. */
727 #define ENIC_VXLAN_MULTI_WQ BIT(2)