Lines Matching defs:stmmac_desc_ops
33 struct stmmac_desc_ops { struct
35 void (*init_rx_desc)(struct dma_desc *p, int disable_rx_ic, int mode,
38 void (*init_tx_desc)(struct dma_desc *p, int mode, int end);
40 void (*prepare_tx_desc)(struct dma_desc *p, int is_fs, int len,
43 void (*prepare_tso_tx_desc)(struct dma_desc *p, int is_fs, int len1,
47 void (*set_tx_owner)(struct dma_desc *p);
48 int (*get_tx_owner)(struct dma_desc *p);
50 void (*release_tx_desc)(struct dma_desc *p, int mode);
53 void (*set_tx_ic)(struct dma_desc *p);
55 int (*get_tx_ls)(struct dma_desc *p);
57 int (*tx_status)(void *data, struct stmmac_extra_stats *x,
60 int (*get_tx_len)(struct dma_desc *p);
62 void (*set_rx_owner)(struct dma_desc *p, int disable_rx_ic);
64 int (*get_rx_frame_len)(struct dma_desc *p, int rx_coe_type);
66 int (*rx_status)(void *data, struct stmmac_extra_stats *x,
68 void (*rx_extended_status)(void *data, struct stmmac_extra_stats *x,
71 void (*enable_tx_timestamp) (struct dma_desc *p);
73 int (*get_tx_timestamp_status) (struct dma_desc *p);
75 void (*get_timestamp)(void *desc, u32 ats, u64 *ts);
77 int (*get_rx_timestamp_status)(void *desc, void *next_desc, u32 ats);
79 void (*display_ring)(void *head, unsigned int size, bool rx);
81 void (*set_mss)(struct dma_desc *p, unsigned int mss);
83 void (*get_addr)(struct dma_desc *p, unsigned int *addr);
85 void (*set_addr)(struct dma_desc *p, dma_addr_t addr);
87 void (*clear)(struct dma_desc *p);