Lines Matching refs:xlgmac_pdata
133 struct xlgmac_pdata;
360 struct xlgmac_pdata *pdata;
383 int (*alloc_channels_and_rings)(struct xlgmac_pdata *pdata);
384 void (*free_channels_and_rings)(struct xlgmac_pdata *pdata);
387 int (*map_rx_buffer)(struct xlgmac_pdata *pdata,
390 void (*unmap_desc_data)(struct xlgmac_pdata *pdata,
392 void (*tx_desc_init)(struct xlgmac_pdata *pdata);
393 void (*rx_desc_init)(struct xlgmac_pdata *pdata);
397 int (*init)(struct xlgmac_pdata *pdata);
398 int (*exit)(struct xlgmac_pdata *pdata);
402 void (*enable_tx)(struct xlgmac_pdata *pdata);
403 void (*disable_tx)(struct xlgmac_pdata *pdata);
404 void (*enable_rx)(struct xlgmac_pdata *pdata);
405 void (*disable_rx)(struct xlgmac_pdata *pdata);
414 int (*set_mac_address)(struct xlgmac_pdata *pdata, const u8 *addr);
415 int (*config_rx_mode)(struct xlgmac_pdata *pdata);
416 int (*enable_rx_csum)(struct xlgmac_pdata *pdata);
417 int (*disable_rx_csum)(struct xlgmac_pdata *pdata);
420 int (*set_xlgmii_25000_speed)(struct xlgmac_pdata *pdata);
421 int (*set_xlgmii_40000_speed)(struct xlgmac_pdata *pdata);
422 int (*set_xlgmii_50000_speed)(struct xlgmac_pdata *pdata);
423 int (*set_xlgmii_100000_speed)(struct xlgmac_pdata *pdata);
429 void (*rx_desc_reset)(struct xlgmac_pdata *pdata,
438 int (*config_tx_flow_control)(struct xlgmac_pdata *pdata);
439 int (*config_rx_flow_control)(struct xlgmac_pdata *pdata);
442 int (*enable_rx_vlan_stripping)(struct xlgmac_pdata *pdata);
443 int (*disable_rx_vlan_stripping)(struct xlgmac_pdata *pdata);
444 int (*enable_rx_vlan_filtering)(struct xlgmac_pdata *pdata);
445 int (*disable_rx_vlan_filtering)(struct xlgmac_pdata *pdata);
446 int (*update_vlan_hash_table)(struct xlgmac_pdata *pdata);
449 int (*config_rx_coalesce)(struct xlgmac_pdata *pdata);
450 int (*config_tx_coalesce)(struct xlgmac_pdata *pdata);
451 unsigned int (*usec_to_riwt)(struct xlgmac_pdata *pdata,
453 unsigned int (*riwt_to_usec)(struct xlgmac_pdata *pdata,
457 int (*config_rx_threshold)(struct xlgmac_pdata *pdata,
459 int (*config_tx_threshold)(struct xlgmac_pdata *pdata,
463 int (*config_rsf_mode)(struct xlgmac_pdata *pdata,
465 int (*config_tsf_mode)(struct xlgmac_pdata *pdata,
469 int (*config_osp_mode)(struct xlgmac_pdata *pdata);
472 int (*config_rx_pbl_val)(struct xlgmac_pdata *pdata);
473 int (*get_rx_pbl_val)(struct xlgmac_pdata *pdata);
474 int (*config_tx_pbl_val)(struct xlgmac_pdata *pdata);
475 int (*get_tx_pbl_val)(struct xlgmac_pdata *pdata);
476 int (*config_pblx8)(struct xlgmac_pdata *pdata);
479 void (*rx_mmc_int)(struct xlgmac_pdata *pdata);
480 void (*tx_mmc_int)(struct xlgmac_pdata *pdata);
481 void (*read_mmc_stats)(struct xlgmac_pdata *pdata);
484 int (*enable_rss)(struct xlgmac_pdata *pdata);
485 int (*disable_rss)(struct xlgmac_pdata *pdata);
486 int (*set_rss_hash_key)(struct xlgmac_pdata *pdata,
488 int (*set_rss_lookup_table)(struct xlgmac_pdata *pdata,
543 struct xlgmac_pdata { struct
637 void xlgmac_dump_tx_desc(struct xlgmac_pdata *pdata, argument
642 void xlgmac_dump_rx_desc(struct xlgmac_pdata *pdata,
647 void xlgmac_get_all_hw_features(struct xlgmac_pdata *pdata);
648 void xlgmac_print_all_hw_features(struct xlgmac_pdata *pdata);