Lines Matching defs:stmmac_desc_ops
36 struct stmmac_desc_ops { struct
38 void (*init_rx_desc)(struct dma_desc *p, int disable_rx_ic, int mode,
41 void (*init_tx_desc)(struct dma_desc *p, int mode, int end);
43 void (*prepare_tx_desc)(struct dma_desc *p, int is_fs, int len,
46 void (*prepare_tso_tx_desc)(struct dma_desc *p, int is_fs, int len1,
50 void (*set_tx_owner)(struct dma_desc *p);
51 int (*get_tx_owner)(struct dma_desc *p);
53 void (*release_tx_desc)(struct dma_desc *p, int mode);
56 void (*set_tx_ic)(struct dma_desc *p);
58 int (*get_tx_ls)(struct dma_desc *p);
60 int (*tx_status)(struct stmmac_extra_stats *x,
63 int (*get_tx_len)(struct dma_desc *p);
65 void (*set_rx_owner)(struct dma_desc *p, int disable_rx_ic);
67 int (*get_rx_frame_len)(struct dma_desc *p, int rx_coe_type);
69 int (*rx_status)(struct stmmac_extra_stats *x,
71 void (*rx_extended_status)(struct stmmac_extra_stats *x,
74 void (*enable_tx_timestamp) (struct dma_desc *p);
76 int (*get_tx_timestamp_status) (struct dma_desc *p);
78 void (*get_timestamp)(void *desc, u32 ats, u64 *ts);
80 int (*get_rx_timestamp_status)(void *desc, void *next_desc, u32 ats);
82 void (*display_ring)(void *head, unsigned int size, bool rx,
85 void (*set_mss)(struct dma_desc *p, unsigned int mss);
87 void (*set_addr)(struct dma_desc *p, dma_addr_t addr);
89 void (*clear)(struct dma_desc *p);
91 int (*get_rx_hash)(struct dma_desc *p, u32 *hash,
93 void (*get_rx_header_len)(struct dma_desc *p, unsigned int *len);
94 void (*set_sec_addr)(struct dma_desc *p, dma_addr_t addr, bool buf2_valid);
95 void (*set_sarc)(struct dma_desc *p, u32 sarc_type);
96 void (*set_vlan_tag)(struct dma_desc *p, u16 tag, u16 inner_tag,
98 void (*set_vlan)(struct dma_desc *p, u32 type);
99 void (*set_tbs)(struct dma_edesc *p, u32 sec, u32 nsec);