SWAP16 378 drivers/net/ethernet/i825xx/lib82596.c dev->name, str, SWAP16(dma->iscp.stat)); SWAP16 395 drivers/net/ethernet/i825xx/lib82596.c SWAP16(dma->scb.status), SWAP16 396 drivers/net/ethernet/i825xx/lib82596.c SWAP16(dma->scb.command)); SWAP16 417 drivers/net/ethernet/i825xx/lib82596.c &dma->scb, SWAP16(dma->scb.status), SWAP16(dma->scb.command), SWAP16 418 drivers/net/ethernet/i825xx/lib82596.c SWAP16(dma->scb.cmd), SWAP32(dma->scb.rfd)); SWAP16 429 drivers/net/ethernet/i825xx/lib82596.c cmd, SWAP16(cmd->status), SWAP16(cmd->command), SWAP16 439 drivers/net/ethernet/i825xx/lib82596.c rfd, SWAP16(rfd->stat), SWAP16(rfd->cmd), SWAP16 441 drivers/net/ethernet/i825xx/lib82596.c SWAP16(rfd->count)); SWAP16 450 drivers/net/ethernet/i825xx/lib82596.c rbd, SWAP16(rbd->count), SWAP32(rbd->b_next), SWAP16 451 drivers/net/ethernet/i825xx/lib82596.c SWAP32(rbd->b_data), SWAP16(rbd->size)); SWAP16 485 drivers/net/ethernet/i825xx/lib82596.c rbd->size = SWAP16(PKT_BUF_SZ); SWAP16 499 drivers/net/ethernet/i825xx/lib82596.c rfd->cmd = SWAP16(CMD_FLEX); SWAP16 509 drivers/net/ethernet/i825xx/lib82596.c rfd->cmd = SWAP16(CMD_EOL|CMD_FLEX); SWAP16 542 drivers/net/ethernet/i825xx/lib82596.c dma->rfds[i].cmd = SWAP16(CMD_FLEX); SWAP16 544 drivers/net/ethernet/i825xx/lib82596.c dma->rfds[rx_ring_size-1].cmd = SWAP16(CMD_EOL|CMD_FLEX); SWAP16 604 drivers/net/ethernet/i825xx/lib82596.c dma->cf_cmd.cmd.command = SWAP16(CmdConfigure); SWAP16 610 drivers/net/ethernet/i825xx/lib82596.c dma->sa_cmd.cmd.command = SWAP16(CmdSASetup); SWAP16 615 drivers/net/ethernet/i825xx/lib82596.c dma->tdr_cmd.cmd.command = SWAP16(CmdTDR); SWAP16 626 drivers/net/ethernet/i825xx/lib82596.c dma->scb.command = SWAP16(RX_START); SWAP16 663 drivers/net/ethernet/i825xx/lib82596.c while (rfd->stat & SWAP16(STAT_C)) { /* Loop while complete frames */ SWAP16 678 drivers/net/ethernet/i825xx/lib82596.c if (rbd != NULL && (rfd->stat & SWAP16(STAT_OK))) { SWAP16 680 drivers/net/ethernet/i825xx/lib82596.c int pkt_len = SWAP16(rbd->count) & 0x3fff; SWAP16 747 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0100)) SWAP16 749 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x8000)) SWAP16 751 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0001)) SWAP16 753 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0002)) SWAP16 755 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0004)) SWAP16 757 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0008)) SWAP16 759 drivers/net/ethernet/i825xx/lib82596.c if (rfd->stat & SWAP16(0x0010)) SWAP16 765 drivers/net/ethernet/i825xx/lib82596.c if (rbd != NULL && (rbd->count & SWAP16(0x4000))) { SWAP16 775 drivers/net/ethernet/i825xx/lib82596.c rfd->cmd = SWAP16(CMD_EOL|CMD_FLEX); SWAP16 786 drivers/net/ethernet/i825xx/lib82596.c rfd->v_prev->cmd = SWAP16(CMD_FLEX); SWAP16 807 drivers/net/ethernet/i825xx/lib82596.c switch (SWAP16(ptr->command) & 0x7) { SWAP16 852 drivers/net/ethernet/i825xx/lib82596.c lp->dma->scb.command = SWAP16(CUC_ABORT | RX_ABORT); SWAP16 878 drivers/net/ethernet/i825xx/lib82596.c cmd->command |= SWAP16(CMD_EOL | CMD_INTR); SWAP16 893 drivers/net/ethernet/i825xx/lib82596.c dma->scb.command = SWAP16(CUC_START); SWAP16 958 drivers/net/ethernet/i825xx/lib82596.c lp->dma->scb.command = SWAP16(CUC_START | RX_START); SWAP16 1004 drivers/net/ethernet/i825xx/lib82596.c tx_cmd->cmd.command = SWAP16(CMD_FLEX | CmdTx); SWAP16 1010 drivers/net/ethernet/i825xx/lib82596.c tbd->size = SWAP16(EOF | length); SWAP16 1127 drivers/net/ethernet/i825xx/lib82596.c status = SWAP16(dma->scb.status); SWAP16 1159 drivers/net/ethernet/i825xx/lib82596.c if (!(lp->cmd_head->status & SWAP16(STAT_C))) SWAP16 1167 drivers/net/ethernet/i825xx/lib82596.c SWAP16(lp->cmd_head->status), SWAP16 1168 drivers/net/ethernet/i825xx/lib82596.c SWAP16(lp->cmd_head->command))); SWAP16 1172 drivers/net/ethernet/i825xx/lib82596.c switch (SWAP16(ptr->command) & 0x7) { SWAP16 1178 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(STAT_OK)) { SWAP16 1183 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(0x0020)) SWAP16 1185 drivers/net/ethernet/i825xx/lib82596.c if (!(ptr->status & SWAP16(0x0040))) SWAP16 1187 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(0x0400)) SWAP16 1189 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(0x0800)) SWAP16 1191 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(0x1000)) SWAP16 1204 drivers/net/ethernet/i825xx/lib82596.c unsigned short status = SWAP16(((struct tdr_cmd *)ptr)->status); SWAP16 1252 drivers/net/ethernet/i825xx/lib82596.c ptr->command &= SWAP16(0x1fff); SWAP16 1284 drivers/net/ethernet/i825xx/lib82596.c dma->scb.command = SWAP16(ack_cmd); SWAP16 1310 drivers/net/ethernet/i825xx/lib82596.c dev->name, SWAP16(lp->dma->scb.status))); SWAP16 1315 drivers/net/ethernet/i825xx/lib82596.c lp->dma->scb.command = SWAP16(CUC_ABORT | RX_ABORT); SWAP16 1374 drivers/net/ethernet/i825xx/lib82596.c dma->cf_cmd.cmd.command = SWAP16(CmdConfigure); SWAP16 1393 drivers/net/ethernet/i825xx/lib82596.c cmd->cmd.command = SWAP16(CmdMulticastList); SWAP16 1394 drivers/net/ethernet/i825xx/lib82596.c cmd->mc_cnt = SWAP16(netdev_mc_count(dev) * 6);