Lines Matching defs:stmmac_dma_ops

166 struct stmmac_dma_ops {  struct
168 int (*reset)(void __iomem *ioaddr);
169 void (*init)(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg,
171 void (*init_chan)(void __iomem *ioaddr,
173 void (*init_rx_chan)(void __iomem *ioaddr,
176 void (*init_tx_chan)(void __iomem *ioaddr,
180 void (*axi)(void __iomem *ioaddr, struct stmmac_axi *axi);
182 void (*dump_regs)(void __iomem *ioaddr, u32 *reg_space);
183 void (*dma_rx_mode)(void __iomem *ioaddr, int mode, u32 channel,
185 void (*dma_tx_mode)(void __iomem *ioaddr, int mode, u32 channel,
188 void (*dma_diagnostic_fr) (void *data, struct stmmac_extra_stats *x,
190 void (*enable_dma_transmission) (void __iomem *ioaddr);
191 void (*enable_dma_irq)(void __iomem *ioaddr, u32 chan,
193 void (*disable_dma_irq)(void __iomem *ioaddr, u32 chan,
195 void (*start_tx)(void __iomem *ioaddr, u32 chan);
196 void (*stop_tx)(void __iomem *ioaddr, u32 chan);
197 void (*start_rx)(void __iomem *ioaddr, u32 chan);
198 void (*stop_rx)(void __iomem *ioaddr, u32 chan);
199 int (*dma_interrupt) (void __iomem *ioaddr,
202 int (*get_hw_feature)(void __iomem *ioaddr,
205 void (*rx_watchdog)(void __iomem *ioaddr, u32 riwt, u32 queue);
206 void (*set_tx_ring_len)(void __iomem *ioaddr, u32 len, u32 chan);
207 void (*set_rx_ring_len)(void __iomem *ioaddr, u32 len, u32 chan);
208 void (*set_rx_tail_ptr)(void __iomem *ioaddr, u32 tail_ptr, u32 chan);
209 void (*set_tx_tail_ptr)(void __iomem *ioaddr, u32 tail_ptr, u32 chan);
210 void (*enable_tso)(void __iomem *ioaddr, bool en, u32 chan);
211 void (*qmode)(void __iomem *ioaddr, u32 channel, u8 qmode);
212 void (*set_bfsize)(void __iomem *ioaddr, int bfsize, u32 chan);
213 void (*enable_sph)(void __iomem *ioaddr, bool en, u32 chan);
214 int (*enable_tbs)(void __iomem *ioaddr, bool en, u32 chan);