Searched refs:emac (Results 1 – 1 of 1) sorted by relevance
91 big_sur_ge *emac; /* GE driver structure */ member267 int big_sur_tx(big_sur_ge *emac, u8 *buffer, unsigned long byte_cnt) in big_sur_tx() argument271 if ( (!emac->started) && (emac->polled) && in big_sur_tx()272 (emac->dma_sg) ) in big_sur_tx()276 int_status = BIG_SUR_GE_READ(emac->base_address + XIIF_V123B_IISR_OFFSET); in big_sur_tx()285 if ((BIG_SUR_GE_GET_COUNT(&emac->send_fifo) * sizeof(unsigned long)) < byte_cnt) { in big_sur_tx()290 if (emac->has_dma == 0) { in big_sur_tx()292 if (packet_fifo_write(&emac->send_fifo, buffer, byte_cnt) == -1) { in big_sur_tx()298 BIG_SUR_GE_WRITE(emac->base_address + 0x1FF4, (byte_cnt & 0xff00)); in big_sur_tx()301 BIG_SUR_GE_WRITE(emac->base_address + 0x1FF8, (byte_cnt & 0x00ff)); in big_sur_tx()[all …]