Lines Matching +full:1 +full:a0

14 #define _CMD_NMASK      ((1 << _CMD_NBITS)-1)
15 #define _CMD_VTYPEMASK ((1 << _CMD_VTYPEBITS)-1)
16 #define _CMD_FLAGSMASK ((1 << _CMD_FLAGSBITS)-1)
17 #define _CMD_DIRMASK ((1 << _CMD_DIRBITS)-1)
28 #define _CMD_DIR_WRITE 1U
36 #define _CMD_FLAGS_NOWAIT 1U
42 #define _CMD_VTYPE_ENET 1U
69 /* mcpu fw info in mem: (u64)a0=paddr to struct vnic_devcmd_fw_info */
70 CMD_MCPU_FW_INFO = _CMDC(_CMD_DIR_WRITE, _CMD_VTYPE_ALL, 1),
73 * in: (u16)a0=offset,(u8)a1=size
74 * out: a0=value */
80 /* stats dump in mem: (u64)a0=paddr to stats area,
84 /* set Rx packet filter: (u32)a0=filters (see CMD_PFILTER_*) */
90 /* MAC address in (u48)a0 */
94 /* disable/enable promisc mode: (u8)a0=0/1 */
98 /* disable/enable all-multi mode: (u8)a0=0/1 */
102 /* add addr from (u48)a0 */
106 /* del addr from (u48)a0 */
110 /* add VLAN id in (u16)a0 */
113 /* del VLAN id in (u16)a0 */
116 /* nic_cfg in (u32)a0 */
119 /* union vnic_rss_key in mem: (u64)a0=paddr, (u16)a1=len */
122 /* union vnic_rss_cpu in mem: (u64)a0=paddr, (u16)a1=len */
129 * out: a0=0 reset complete, a0=1 reset in progress */
134 * (u64)a0=paddr to notify (set paddr=0 to unset)
136 * (u16)a1 & 0x0000ffff00000000=intr num (-1 for no intr)
142 /* UNDI API: (u64)a0=paddr to s_PXENV_UNDI_ struct,
146 /* initiate open sequence (u32)a0=flags (see CMD_OPENF_*) */
150 * out: a0=0 open complete, a0=1 open in progress */
156 /* initialize virtual link: (u32)a0=flags (see CMD_INITF_*) */
160 * (u64)a0=paddr of vnic_devcmd_provinfo
171 /* stats dump all vnics on uplink in mem: (u64)a0=paddr (u32)a1=uif */
175 * out: a0=0 init complete, a0=1 init in progress
176 * if a0=0, a1=errno */
179 /* INT13 API: (u64)a0=paddr to vnic_int13_params struct
183 /* logical uplink enable/disable: (u64)a0: 0/1=disable/enable */
190 * in: (u32)a0=cmd
191 * out: (u32)a0=errno, 0:valid cmd, a1=supported VNIC_STF_* bits */
195 * in: (u64)a0=paddr of arg
200 * in: (u16)a0=interrupt number to assert
208 * out: a0=0 reset complete, a0=1 reset in progress */
213 * in: (u32)a0=new vlan rewrite mode
214 * out: (u32)a0=old vlan rewrite mode */
218 * in: (u16)a0=bdf of target vnic
221 * out: (u32)a0=status of proxied cmd
226 * As for BY_BDF except a0 is index of hvnlink subordinate vnic
234 * in: (u64)a0=phsical address of buffer passed in from caller.
235 * (u16)a1=size of buffer specified in a0.
236 * out: (u64)a0=phsical address of buffer passed in from caller.
242 * INT13 API: (u64)a0=paddr to vnic_int13_params struct
249 * in: (u16)a0=new default vlan
250 * (u16)a1=zero for overriding vlan with param a0,
252 * out: (u16)a0=old default vlan
259 * (u64)a0=paddr of vnic_devcmd_provinfo
265 * (u32)a0=0 ==> standby
274 * a0 = command for which status is being queried.
286 * a0 = ERR_ENOTSUPPORTED - status for command in a0 is
289 * a0 = status of the devcmd specified in a0 as follows.
290 * ERR_SUCCESS - command in a0 completed successfully
291 * ERR_EINPROGRESS - command in a0 is still in progress
308 * out: (u32)a0 = multiplier
316 * in: (u64)a0=paddr of the param or param itself
323 * in: (u32)a0=cmd tag
325 * out: (u32)a0=cmd status
336 * in: (u32)a0=Direction of Migration
338 * 1=> Migrate to MQ
346 * (u64)a0=paddr to notify (set paddr=0 to unset)
348 * (u16)a1 & 0x0000ffff00000000=intr num (-1 for no intr)
357 * (u48)a0=mac addr
362 * (u64)a0=paddr of vnic_devcmd_provinfo
369 * in: (u64) a0=host result buffer physical address
392 STAT_BUSY = 1 << 0, /* cmd in progress */
393 STAT_ERROR = 1 << 1, /* last cmd caused error (code in a0) */
398 ERR_EINVAL = 1,
419 u32 link_state; /* link up == 1 */
484 u8 color; /* 0 or 1 as with completion queues */
490 #define DEVCMD2_RESULTS_SIZE_MAX ((1 << 16) - 1)