Searched refs:ncmd (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/sys/dev/liquidio/base/
H A Dlio_ctrl.c81 uddsize = (uint32_t)(nctrl->ncmd.s.more * 8);
96 memcpy(data, &nctrl->ncmd, OCTEON_CMD_SIZE);
128 (nctrl->ncmd.s.cmd != LIO_CMD_RX_CTL)) {
131 __func__, nctrl->ncmd.s.cmd);
146 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval);
H A Dlio_ctrl.h54 union octeon_cmd ncmd; member in struct:lio_ctrl_pkt
/freebsd-11-stable/sys/dev/liquidio/
H A Dlio_ioctl.c76 nctrl.ncmd.cmd64 = 0;
77 nctrl.ncmd.s.cmd = LIO_CMD_CHANGE_DEVFLAGS;
78 nctrl.ncmd.s.param1 = lio_get_new_flags(ifp);
346 union octeon_cmd *ncmd; local
369 ncmd = (union octeon_cmd *)sc->virtdptr;
374 ncmd->cmd64 = 0;
375 ncmd->s.cmd = LIO_CMD_CHANGE_MTU;
376 ncmd->s.param1 = new_mtu;
378 lio_swap_8B_data((uint64_t *)ncmd, (OCTEON_CMD_SIZE >> 3));
436 nctrl.ncmd
[all...]
H A Dlio_core.c56 nctrl.ncmd.cmd64 = 0;
57 nctrl.ncmd.s.cmd = cmd;
58 nctrl.ncmd.s.param1 = param1;
88 switch (nctrl->ncmd.s.cmd) {
95 if (nctrl->ncmd.s.param1) {
97 int vfidx = nctrl->ncmd.s.param1 - 1;
98 bool mac_is_admin_assigned = nctrl->ncmd.s.param2;
135 if (nctrl->ncmd.s.param1)
143 nctrl->ncmd.s.param1);
148 nctrl->ncmd
[all...]
H A Dlio_main.c1633 nctrl.ncmd.cmd64 = 0;
1634 nctrl.ncmd.s.cmd = command;
1635 nctrl.ncmd.s.param1 = rx_cmd;
2023 union octeon_cmd *ncmd; local
2035 ncmd = (union octeon_cmd *)sc->virtdptr;
2040 ncmd->cmd64 = 0;
2041 ncmd->s.cmd = LIO_CMD_RX_CTL;
2042 ncmd->s.param1 = start_stop;
2044 lio_swap_8B_data((uint64_t *)ncmd, (OCTEON_CMD_SIZE >> 3));
2086 nctrl.ncmd
[all...]
H A Dlio_sysctl.c117 nctrl.ncmd.cmd64 = 0;
118 nctrl.ncmd.s.cmd = LIO_CMD_QUEUE_COUNT_CTL;
119 nctrl.ncmd.s.param1 = num_queues;
120 nctrl.ncmd.s.param2 = num_queues;
697 nctrl.ncmd.cmd64 = 0;
698 nctrl.ncmd.s.cmd = LIO_CMD_SET_FLOW_CTL;
706 nctrl.ncmd.s.param1 = 1;
709 nctrl.ncmd.s.param1 = 0;
714 nctrl.ncmd.s.param2 = 1;
717 nctrl.ncmd
[all...]
/freebsd-11-stable/usr.sbin/spi/
H A Dspi.c69 int ncmd; /* bytes to skip for incoming data */ member in struct:spi_options
183 opt.ncmd = 0;
304 if ((opt.count != 0 || opt.ncmd != 0) && fdir == DIR_NONE) {
451 popt->ncmd = ctr; /* record num bytes in '-C' argument */
527 int ch, ch2, ch3, ncmd, lsb, err; local
532 ncmd = popt->ncmd; /* num command bytes (can be zero) */
534 if (ncmd == 0 && popt->count == 0)
547 pdata = malloc(cbdata + ncmd + 1);
555 if (popt->pcmd && ncmd >
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dma.setp.c158 int ncmd; local
166 for (ncmd = 0; cmd = cmds[ncmd]; ncmd++) {
169 cmd1 = cmds[ncmd+1];
170 cmd2 = cmds[ncmd+2];
179 ncmd++;
183 ncmd++;
189 ncmd += 2;
199 ncmd
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dmain.c141 int ncmd; local
181 ncmd = 0;
386 cmdarg[ncmd++] = optarg;
387 if (ncmd >= cmdsize)
712 for (i = 0; i < ncmd; i++)
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfs_ioctl_compat.c1066 unsigned long ncmd;
1071 ncmd = _IOWR('Z', request, struct zfs_iocparm);
1075 return (ioctl(fd, ncmd, &zp));
1077 ncmd = _IOWR('Z', request, struct zfs_iocparm);
1081 return (ioctl(fd, ncmd, &zp));
1083 ncmd = _IOWR('Z', request, struct zfs_iocparm);
1087 return (ioctl(fd, ncmd, &zp));
1089 ncmd = _IOWR('Z', request, struct zfs_iocparm);
1093 return (ioctl(fd, ncmd, &zp));
1095 ncmd
[all...]
/freebsd-11-stable/bin/sh/
H A Deval.c861 for (argp = cmd->ncmd.args ; argp ; argp = argp->narg.next) {
871 expredir(cmd->ncmd.redirect);
1001 cmd->ncmd.redirect == NULL &&
1054 redirect(cmd->ncmd.redirect, REDIR_PUSH);
1102 redirect(cmd->ncmd.redirect, mode);
1154 redirect(cmd->ncmd.redirect, 0);
1199 if (n && n->type == NCMD && n->ncmd.args)
1200 if (goodname(n->ncmd.args->narg.text))
1201 find_command(n->ncmd.args->narg.text, &entry, 0,
H A Dshow.c130 for (np = cmd->ncmd.args ; np ; np = np->narg.next) {
136 for (np = cmd->ncmd.redirect ; np ; np = np->nfile.next) {
H A Dparser.c688 n = (union node *)stalloc(sizeof (struct ncmd));
690 n->ncmd.args = args;
691 n->ncmd.redirect = redir;
H A Djobs.c1453 for (np = n->ncmd.args ; np ; np = np->narg.next) {
1458 for (np = n->ncmd.redirect ; np ; np = np->nfile.next) {
/freebsd-11-stable/sys/dev/mly/
H A Dmly.c1748 int i, ncmd; local
1751 ncmd = 4;
1753 ncmd = min(MLY_MAX_COMMANDS, sc->mly_controllerinfo->maximum_parallel_commands);
1765 ncmd * sizeof(union mly_command_packet),
1769 for (i = 0; i < ncmd; i++) {
/freebsd-11-stable/sys/net/
H A Drtsock.c1316 int ncmd; local
1325 ncmd = cmd == RTM_ADD ? RTM_NEWADDR : RTM_DELADDR;
1333 if ((m = rtsock_msg_mbuf(ncmd, &info)) == NULL)
/freebsd-11-stable/sys/dev/mlx/
H A Dmlx.c239 int error, ncmd; local
261 ncmd = 2;
263 ncmd = sc->mlx_enq2->me_max_commands;
265 segsize = sizeof(struct mlx_sgentry) * MLX_NSEG * ncmd;

Completed in 123 milliseconds