Lines Matching +full:1 +full:a0

15 #define _CMD_NMASK      ((1 << _CMD_NBITS)-1)
16 #define _CMD_VTYPEMASK ((1 << _CMD_VTYPEBITS)-1)
17 #define _CMD_FLAGSMASK ((1 << _CMD_FLAGSBITS)-1)
18 #define _CMD_DIRMASK ((1 << _CMD_DIRBITS)-1)
29 #define _CMD_DIR_WRITE 1U
37 #define _CMD_FLAGS_NOWAIT 1U
43 #define _CMD_VTYPE_ENET 1U
73 * (u64)a0=paddr to struct vnic_devcmd_fw_info
79 CMD_MCPU_FW_INFO_OLD = _CMDC(_CMD_DIR_WRITE, _CMD_VTYPE_ALL, 1),
84 * (u64)a0=paddr to struct vnic_devcmd_fw_info
94 * CMD_MCPU_FW_INFO and CMD_MCPU_FW_INFO_OLD have the same enum 1
97 CMD_MCPU_FW_INFO = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 1),
100 * in: (u16)a0=offset,(u8)a1=size
101 * out: a0=value */
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)
176 * (u16)a1 & 0x0000ffff00000000=intr num (-1 for no intr)
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
433 * in: (u8) a0 = DEVCMD_OVERLAY_NVGRE : NVGRE
434 * a0 = DEVCMD_OVERLAY_VXLAN : VxLAN
464 #define IG_VLAN_REWRITE_MODE_UNTAG_DEFAULT_VLAN 1
470 STAT_BUSY = 1 << 0, /* cmd in progress */
471 STAT_ERROR = 1 << 1, /* last cmd caused error (code in a0) */
476 ERR_EINVAL = 1,
509 u32 link_state; /* link up == 1 */
537 #define FILTER_FIELD_VALID(fld) (1 << (fld - 1))
540 FILTER_FIELD_VALID(1) | \
546 FILTER_FIELD_VALID(1) | \
553 FILTER_FIELD_VALID(1) | \
556 #define FILTER_FIELD_USNIC_VLAN FILTER_FIELD_VALID(1)
569 #define FILTER_FIELD_5TUP_PROTO FILTER_FIELD_VALID(1)
578 PROTO_TCP = 1,
590 #define FILTER_FIELD_VMQ_VLAN FILTER_FIELD_VALID(1)
615 FILTER_IPV4_5TUPLE = 1,
631 CLSF_TLV_ACTION = 1,
645 CLSF_DEL = 1,
692 OVERLAY_FEATURE_NVGRE = 1,
707 #define ENIC_VXLAN_OUTER_IPV6 BIT(1)