Lines Matching defs:sxgbe_desc_ops

157 struct sxgbe_desc_ops {  struct
159 void (*init_tx_desc)(struct sxgbe_tx_norm_desc *p);
162 void (*tx_desc_enable_tse)(struct sxgbe_tx_norm_desc *p, u8 is_tse,
167 void (*prepare_tx_desc)(struct sxgbe_tx_norm_desc *p, u8 is_fd,
171 void (*tx_vlanctl_desc)(struct sxgbe_tx_norm_desc *p, int vlan_ctl);
174 void (*set_tx_owner)(struct sxgbe_tx_norm_desc *p);
177 int (*get_tx_owner)(struct sxgbe_tx_norm_desc *p);
180 void (*close_tx_desc)(struct sxgbe_tx_norm_desc *p);
183 void (*release_tx_desc)(struct sxgbe_tx_norm_desc *p);
188 void (*clear_tx_ic)(struct sxgbe_tx_norm_desc *p);
191 int (*get_tx_ls)(struct sxgbe_tx_norm_desc *p);
194 int (*get_tx_len)(struct sxgbe_tx_norm_desc *p);
197 void (*tx_enable_tstamp)(struct sxgbe_tx_norm_desc *p);
200 int (*get_tx_timestamp_status)(struct sxgbe_tx_norm_desc *p);
203 void (*tx_ctxt_desc_set_ctxt)(struct sxgbe_tx_ctxt_desc *p);
206 void (*tx_ctxt_desc_set_owner)(struct sxgbe_tx_ctxt_desc *p);
209 int (*get_tx_ctxt_owner)(struct sxgbe_tx_ctxt_desc *p);
212 void (*tx_ctxt_desc_set_mss)(struct sxgbe_tx_ctxt_desc *p, u16 mss);
215 int (*tx_ctxt_desc_get_mss)(struct sxgbe_tx_ctxt_desc *p);
218 void (*tx_ctxt_desc_set_tcmssv)(struct sxgbe_tx_ctxt_desc *p);
221 void (*tx_ctxt_desc_reset_ostc)(struct sxgbe_tx_ctxt_desc *p);
224 void (*tx_ctxt_desc_set_ivlantag)(struct sxgbe_tx_ctxt_desc *p,
229 int (*tx_ctxt_desc_get_ivlantag)(struct sxgbe_tx_ctxt_desc *p);
232 void (*tx_ctxt_desc_set_vlantag)(struct sxgbe_tx_ctxt_desc *p,
236 int (*tx_ctxt_desc_get_vlantag)(struct sxgbe_tx_ctxt_desc *p);
239 void (*tx_ctxt_set_tstamp)(struct sxgbe_tx_ctxt_desc *p,
243 void (*close_tx_ctxt_desc)(struct sxgbe_tx_ctxt_desc *p);
246 int (*get_tx_ctxt_cde)(struct sxgbe_tx_ctxt_desc *p);
249 void (*init_rx_desc)(struct sxgbe_rx_norm_desc *p, int disable_rx_ic,
253 int (*get_rx_owner)(struct sxgbe_rx_norm_desc *p);
256 void (*set_rx_owner)(struct sxgbe_rx_norm_desc *p);
259 void (*set_rx_int_on_com)(struct sxgbe_rx_norm_desc *p);
262 int (*get_rx_frame_len)(struct sxgbe_rx_norm_desc *p);
265 int (*get_rx_fd_status)(struct sxgbe_rx_norm_desc *p);
291 const struct sxgbe_desc_ops *sxgbe_get_desc_ops(void); argument