Lines Matching defs:fza_private

664 struct fza_private {  struct
665 struct device *bdev; /* pointer to the bus device */
666 const char *name; /* printable device name */
667 void __iomem *mmio; /* MMIO ioremap cookie */
668 struct fza_regs __iomem *regs; /* pointer to FZA registers */
670 struct sk_buff *rx_skbuff[FZA_RING_RX_SIZE];
674 dma_addr_t rx_dma[FZA_RING_RX_SIZE];
677 struct fza_ring_cmd __iomem *ring_cmd;
681 int ring_cmd_index; /* index to the command descriptor ring
684 struct fza_ring_uns __iomem *ring_uns;
688 int ring_uns_index; /* index to the unsolicited descriptor
692 struct fza_ring_rmc_tx __iomem *ring_rmc_tx;
697 int ring_rmc_tx_size; /* number of entries in the RMC
701 int ring_rmc_tx_index; /* index to the RMC transmit descriptor
704 int ring_rmc_txd_index; /* index to the RMC transmit descriptor
709 struct fza_ring_hst_rx __iomem *ring_hst_rx;
714 int ring_hst_rx_size; /* number of entries in the host
718 int ring_hst_rx_index; /* index to the host receive descriptor
722 struct fza_ring_smt __iomem *ring_smt_tx;
727 int ring_smt_tx_size; /* number of entries in the SMT
731 int ring_smt_tx_index; /* index to the SMT transmit descriptor
735 struct fza_ring_smt __iomem *ring_smt_rx;
740 int ring_smt_rx_size; /* number of entries in the SMT
744 int ring_smt_rx_index; /* index to the SMT receive descriptor
748 struct fza_buffer_tx __iomem *buffer_tx;
752 uint state; /* adapter expected state */
754 spinlock_t lock; /* for device & private data access */
755 uint int_mask; /* interrupt source selector */
757 int cmd_done_flag; /* command completion trigger */
758 wait_queue_head_t cmd_done_wait;
760 int state_chg_flag; /* state change trigger */
761 wait_queue_head_t state_chg_wait;
763 struct timer_list reset_timer; /* RESET time-out trigger */
764 int timer_state; /* RESET trigger state */
766 int queue_active; /* whether to enable queueing */
768 struct net_device_stats stats;
770 uint irq_count_flush_tx; /* transmit flush irqs */
771 uint irq_count_uns_poll; /* unsolicited event irqs */
772 uint irq_count_smt_tx_poll; /* SMT transmit irqs */
773 uint irq_count_rx_poll; /* host receive irqs */
774 uint irq_count_tx_done; /* transmit done irqs */
775 uint irq_count_cmd_done; /* command done irqs */
776 uint irq_count_state_chg; /* state change irqs */
777 uint irq_count_link_st_chg; /* link status change irqs */
779 uint t_max; /* T_MAX */
780 uint t_req; /* T_REQ */
781 uint tvx; /* TVX */
782 uint lem_threshold; /* LEM threshold */
783 uint station_id[2]; /* station ID */
784 uint rtoken_timeout; /* restricted token timeout */
785 uint ring_purger; /* ring purger enable flag */