Lines Matching defs:sport_device
67 struct sport_device { struct
68 int dma_rx_chan;
69 int dma_tx_chan;
70 int err_irq;
71 struct sport_register *regs;
73 unsigned char *rx_buf;
74 unsigned char *tx_buf;
75 unsigned int rx_fragsize;
76 unsigned int tx_fragsize;
77 unsigned int rx_frags;
78 unsigned int tx_frags;
79 unsigned int wdsize;
82 void *dummy_buf;
83 unsigned int dummy_count;
86 struct dmasg *dma_rx_desc;
87 struct dmasg *dma_tx_desc;
88 unsigned int rx_desc_bytes;
89 unsigned int tx_desc_bytes;
91 unsigned int rx_run:1; /* rx is running */
92 unsigned int tx_run:1; /* tx is running */
94 struct dmasg *dummy_rx_desc;
95 struct dmasg *dummy_tx_desc;
97 struct dmasg *curr_rx_desc;
98 struct dmasg *curr_tx_desc;
100 int rx_curr_frag;
101 int tx_curr_frag;
103 unsigned int rcr1;
104 unsigned int rcr2;
105 int rx_tdm_count;
107 unsigned int tcr1;
108 unsigned int tcr2;
132 extern struct sport_device *sport_handle; argument