Lines Matching defs:stmmac_desc_ops

35 struct stmmac_desc_ops {  struct
37 void (*init_rx_desc)(struct dma_desc *p, int disable_rx_ic, int mode,
40 void (*init_tx_desc)(struct dma_desc *p, int mode, int end);
42 void (*prepare_tx_desc)(struct dma_desc *p, int is_fs, int len,
45 void (*prepare_tso_tx_desc)(struct dma_desc *p, int is_fs, int len1,
49 void (*set_tx_owner)(struct dma_desc *p);
50 int (*get_tx_owner)(struct dma_desc *p);
52 void (*release_tx_desc)(struct dma_desc *p, int mode);
55 void (*set_tx_ic)(struct dma_desc *p);
57 int (*get_tx_ls)(struct dma_desc *p);
59 int (*tx_status)(void *data, struct stmmac_extra_stats *x,
62 int (*get_tx_len)(struct dma_desc *p);
64 void (*set_rx_owner)(struct dma_desc *p, int disable_rx_ic);
66 int (*get_rx_frame_len)(struct dma_desc *p, int rx_coe_type);
68 int (*rx_status)(void *data, struct stmmac_extra_stats *x,
70 void (*rx_extended_status)(void *data, struct stmmac_extra_stats *x,
73 void (*enable_tx_timestamp) (struct dma_desc *p);
75 int (*get_tx_timestamp_status) (struct dma_desc *p);
77 void (*get_timestamp)(void *desc, u32 ats, u64 *ts);
79 int (*get_rx_timestamp_status)(void *desc, void *next_desc, u32 ats);
81 void (*display_ring)(void *head, unsigned int size, bool rx,
84 void (*set_mss)(struct dma_desc *p, unsigned int mss);
86 void (*set_addr)(struct dma_desc *p, dma_addr_t addr);
88 void (*clear)(struct dma_desc *p);
90 int (*get_rx_hash)(struct dma_desc *p, u32 *hash,
92 void (*get_rx_header_len)(struct dma_desc *p, unsigned int *len);
93 void (*set_sec_addr)(struct dma_desc *p, dma_addr_t addr, bool buf2_valid);
94 void (*set_sarc)(struct dma_desc *p, u32 sarc_type);
95 void (*set_vlan_tag)(struct dma_desc *p, u16 tag, u16 inner_tag,
97 void (*set_vlan)(struct dma_desc *p, u32 type);
98 void (*set_tbs)(struct dma_edesc *p, u32 sec, u32 nsec);