Lines Matching defs:happy_meal

401 struct happy_meal {  struct
407 void (*write_txd)(struct happy_meal_txd *, u32, u32); argument
408 void (*write_rxd)(struct happy_meal_rxd *, u32, u32); argument
412 void *happy_dev;
413 struct device *dma_dev;
415 spinlock_t happy_lock;
417 struct sk_buff *rx_skbs[RX_RING_SIZE];
418 struct sk_buff *tx_skbs[TX_RING_SIZE];
420 int rx_new, tx_new, rx_old, tx_old;
423 u32 (*read32)(void __iomem *);
424 void (*write32)(void __iomem *, u32);
427 void __iomem *etxregs; /* External transmitter regs */
428 void __iomem *erxregs; /* External receiver regs */
429 void __iomem *bigmacregs; /* BIGMAC core regs */
430 void __iomem *tcvregs; /* MIF transceiver regs */
432 dma_addr_t hblock_dvma; /* DVMA visible address happy block */
433 unsigned int happy_flags; /* Driver state flags */
434 int irq;
435 enum happy_transceiver tcvr_type; /* Kind of transceiver in use */
436 unsigned int happy_bursts; /* Get your mind out of the gutter */
437 unsigned int paddr; /* PHY address for transceiver */
438 unsigned short hm_revision; /* Happy meal revision */
439 unsigned short sw_bmcr; /* SW copy of BMCR */
440 unsigned short sw_bmsr; /* SW copy of BMSR */
441 unsigned short sw_physid1; /* SW copy of PHYSID1 */
442 unsigned short sw_physid2; /* SW copy of PHYSID2 */
443 unsigned short sw_advertise; /* SW copy of ADVERTISE */
444 unsigned short sw_lpa; /* SW copy of LPA */
445 unsigned short sw_expansion; /* SW copy of EXPANSION */
446 unsigned short sw_csconfig; /* SW copy of CSCONFIG */
447 unsigned int auto_speed; /* Auto-nego link speed */
448 unsigned int forced_speed; /* Force mode link speed */
449 unsigned int poll_data; /* MIF poll data */
450 unsigned int poll_flag; /* MIF poll flag */
451 unsigned int linkcheck; /* Have we checked the link yet? */
452 unsigned int lnkup; /* Is the link up as far as we know? */
453 unsigned int lnkdown; /* Trying to force the link down? */
454 unsigned int lnkcnt; /* Counter for link-up attempts. */
455 struct timer_list happy_timer; /* To watch the link when coming up. */
456 enum happy_timer_state timer_state; /* State of the auto-neg timer. */
457 unsigned int timer_ticks; /* Number of clicks at each state. */
482 struct net_device *happy_meals[4]; argument