Lines Matching defs:command

139  * The MPU_PORT command allows direct access to the 82596. With PORT access
140 * the following commands are available (p5-18). The 32-bit port command
171 #define CMD_EOL 0x8000 /* The last command of the list, stop. */
215 /* The command structure has two 'next' pointers; v_next is the address of
216 * the next command as seen by the CPU, b_next is the address of the next
217 * command as seen by the 82596. The b_next pointer, as used by the 82596
218 * always references the status field of the next command, rather than the
221 * because the 82596 expects other fields to be there, depending on command
228 unsigned short command;
291 unsigned short command;
418 dev->name, str, lp->scb.status, lp->scb.command);
428 while (--delcnt && lp->scb.command)
432 dev->name, str, lp->scb.status, lp->scb.command);
444 while (--delcnt && c->command)
466 printk(KERN_ERR "scb at %p, scb.status = %04x, .command = %04x,"
468 &lp->scb, lp->scb.status, lp->scb.command,
476 printk(KERN_ERR "cmd at %p, .status = %04x, .command = %04x, .b_next = %p\n",
477 cmd, cmd->status, cmd->command, cmd->b_next);
687 lp->scb.command = 0;
709 lp->cf_cmd.cmd.command = CmdConfigure;
714 lp->sa_cmd.cmd.command = CmdSASetup;
718 lp->tdr_cmd.cmd.command = CmdTDR;
728 lp->scb.command = RX_START;
885 switch ((ptr->command) & 0x7) {
897 tx_cmd->cmd.command = 0; /* Mark as free */
922 lp->scb.command = CUC_ABORT | RX_ABORT;
945 cmd->command |= (CMD_EOL | CMD_INTR);
957 lp->scb.command = CUC_START;
971 printk(KERN_NOTICE "%s: command unit timed out, status resetting.\n", dev->name);
1040 lp->scb.command = CUC_START | RX_START;
1069 if (tx_cmd->cmd.command) {
1081 tx_cmd->cmd.command = CMD_FLEX | CmdTx;
1205 lp->scb.command = 0;
1268 DEB(DEB_INTS,printk(KERN_DEBUG "%s: i596 interrupt completed command.\n", dev->name));
1270 DEB(DEB_INTS,printk(KERN_DEBUG "%s: i596 interrupt command unit inactive %x.\n", dev->name, status & 0x0700));
1275 DEB(DEB_STATUS,printk(KERN_DEBUG "cmd_head->status = %04x, ->command = %04x\n",
1276 lp->cmd_head->status, lp->cmd_head->command));
1280 switch ((ptr->command) & 0x7) {
1304 tx_cmd->cmd.command = 0; /* Mark free */
1327 /* Zap command so set_multicast_list() knows it is free */
1328 ptr->command = 0;
1337 ptr->command &= 0x1fff;
1361 lp->scb.command = ack_cmd;
1401 lp->scb.command = CUC_ABORT | RX_ABORT;
1471 lp->cf_cmd.cmd.command = CmdConfigure;
1491 cmd->cmd.command = CmdMulticastList;