Lines Matching defs:stmmac_desc_ops

34 struct stmmac_desc_ops {  struct
36 void (*init_rx_desc)(struct dma_desc *p, int disable_rx_ic, int mode,
39 void (*init_tx_desc)(struct dma_desc *p, int mode, int end);
41 void (*prepare_tx_desc)(struct dma_desc *p, int is_fs, int len,
44 void (*prepare_tso_tx_desc)(struct dma_desc *p, int is_fs, int len1,
48 void (*set_tx_owner)(struct dma_desc *p);
49 int (*get_tx_owner)(struct dma_desc *p);
51 void (*release_tx_desc)(struct dma_desc *p, int mode);
54 void (*set_tx_ic)(struct dma_desc *p);
56 int (*get_tx_ls)(struct dma_desc *p);
58 int (*tx_status)(void *data, struct stmmac_extra_stats *x,
61 int (*get_tx_len)(struct dma_desc *p);
63 void (*set_rx_owner)(struct dma_desc *p, int disable_rx_ic);
65 int (*get_rx_frame_len)(struct dma_desc *p, int rx_coe_type);
67 int (*rx_status)(void *data, struct stmmac_extra_stats *x,
69 void (*rx_extended_status)(void *data, struct stmmac_extra_stats *x,
72 void (*enable_tx_timestamp) (struct dma_desc *p);
74 int (*get_tx_timestamp_status) (struct dma_desc *p);
76 void (*get_timestamp)(void *desc, u32 ats, u64 *ts);
78 int (*get_rx_timestamp_status)(void *desc, void *next_desc, u32 ats);
80 void (*display_ring)(void *head, unsigned int size, bool rx);
82 void (*set_mss)(struct dma_desc *p, unsigned int mss);
84 void (*get_addr)(struct dma_desc *p, unsigned int *addr);
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 int (*get_rx_header_len)(struct dma_desc *p, unsigned int *len);
93 void (*set_sec_addr)(struct dma_desc *p, dma_addr_t addr);
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);