Lines Matching refs:stat
183 switch (desc->stat) {
198 desc->stat = PACKET_EMPTY; /* Free descriptor */
212 desc->stat != PACKET_EMPTY) {
213 if ((desc->stat & PACKET_PORT_MASK) > card->n_ports) {
218 struct port *port = &card->ports[desc->stat &
252 desc->stat = PACKET_EMPTY; /* Free descriptor */
261 u32 stat;
264 while ((stat = readl(card->plx + PLX_DOORBELL_FROM_CARD)) != 0) {
266 writel(stat, card->plx + PLX_DOORBELL_FROM_CARD);
269 if (stat & (1 << (DOORBELL_FROM_CARD_TX_0 + i)))
271 if (stat & (1 << (DOORBELL_FROM_CARD_CABLE_0 + i)))
274 if (stat & (1 << DOORBELL_FROM_CARD_RX))
289 if (desc->stat != PACKET_EMPTY) {
308 desc->stat = PACKET_FULL;
314 if (get_status(port)->tx_descs[port->tx_out].stat != PACKET_EMPTY) {
411 get_status(port)->tx_descs[i].stat = PACKET_EMPTY;
454 if (desc->stat != PACKET_EMPTY) {
455 desc->stat = PACKET_EMPTY;
553 u32 ramsize, stat;
651 while ((stat = readl(card->plx + PLX_MAILBOX_0)) != 0) {
659 switch (stat & 0xC0) {
666 pci_name(pdev), stat & 0x30);
735 stat = readl(card->plx + PLX_MAILBOX_5);
736 if (stat)
741 if (!stat) {
749 ramsize = stat;