Lines Matching refs:stat
167 switch (desc->stat) {
182 desc->stat = PACKET_EMPTY; /* Free descriptor */
197 desc->stat != PACKET_EMPTY) {
198 if ((desc->stat & PACKET_PORT_MASK) > card->n_ports)
203 struct port *port = &card->ports[desc->stat &
237 desc->stat = PACKET_EMPTY; /* Free descriptor */
248 u32 stat;
252 while((stat = readl(card->plx + PLX_DOORBELL_FROM_CARD)) != 0) {
254 writel(stat, card->plx + PLX_DOORBELL_FROM_CARD);
257 if (stat & (1 << (DOORBELL_FROM_CARD_TX_0 + i)))
259 if (stat & (1 << (DOORBELL_FROM_CARD_CABLE_0 + i)))
262 if (stat & (1 << DOORBELL_FROM_CARD_RX))
279 if (desc->stat != PACKET_EMPTY) {
298 desc->stat = PACKET_FULL;
304 if (get_status(port)->tx_descs[port->tx_out].stat != PACKET_EMPTY) {
408 get_status(port)->tx_descs[i].stat = PACKET_EMPTY;
453 if (desc->stat != PACKET_EMPTY) {
454 desc->stat = PACKET_EMPTY;
561 u32 ramsize, stat;
651 while ((stat = readl(card->plx + PLX_MAILBOX_0)) != 0) {
659 switch(stat & 0xC0) {
666 pci_name(pdev), stat & 0x30);
735 if ((stat = readl(card->plx + PLX_MAILBOX_5)) != 0)
740 if (!stat) {
748 ramsize = stat;