Lines Matching refs:xgbe_prv_data
120 static inline unsigned int xgbe_get_max_frame(struct xgbe_prv_data *pdata) in xgbe_get_max_frame()
126 xgbe_usec_to_riwt(struct xgbe_prv_data *pdata, unsigned int usec) in xgbe_usec_to_riwt()
145 xgbe_riwt_to_usec(struct xgbe_prv_data *pdata, unsigned int riwt) in xgbe_riwt_to_usec()
164 xgbe_config_pbl_val(struct xgbe_prv_data *pdata) in xgbe_config_pbl_val()
194 xgbe_config_osp_mode(struct xgbe_prv_data *pdata) in xgbe_config_osp_mode()
210 xgbe_config_rsf_mode(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_rsf_mode()
221 xgbe_config_tsf_mode(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_tsf_mode()
232 xgbe_config_rx_threshold(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_rx_threshold()
243 xgbe_config_tx_threshold(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_tx_threshold()
254 xgbe_config_rx_coalesce(struct xgbe_prv_data *pdata) in xgbe_config_rx_coalesce()
270 xgbe_config_tx_coalesce(struct xgbe_prv_data *pdata) in xgbe_config_tx_coalesce()
276 xgbe_config_rx_buffer_size(struct xgbe_prv_data *pdata) in xgbe_config_rx_buffer_size()
290 xgbe_config_tso_mode(struct xgbe_prv_data *pdata) in xgbe_config_tso_mode()
306 xgbe_config_sph_mode(struct xgbe_prv_data *pdata) in xgbe_config_sph_mode()
339 xgbe_write_rss_reg(struct xgbe_prv_data *pdata, unsigned int type, in xgbe_write_rss_reg()
376 xgbe_write_rss_hash_key(struct xgbe_prv_data *pdata) in xgbe_write_rss_hash_key()
393 xgbe_write_rss_lookup_table(struct xgbe_prv_data *pdata) in xgbe_write_rss_lookup_table()
409 xgbe_set_rss_hash_key(struct xgbe_prv_data *pdata, const uint8_t *key) in xgbe_set_rss_hash_key()
417 xgbe_set_rss_lookup_table(struct xgbe_prv_data *pdata, const uint32_t *table) in xgbe_set_rss_lookup_table()
428 xgbe_enable_rss(struct xgbe_prv_data *pdata) in xgbe_enable_rss()
457 xgbe_disable_rss(struct xgbe_prv_data *pdata) in xgbe_disable_rss()
470 xgbe_config_rss(struct xgbe_prv_data *pdata) in xgbe_config_rss()
488 xgbe_disable_tx_flow_control(struct xgbe_prv_data *pdata) in xgbe_disable_tx_flow_control()
514 xgbe_enable_tx_flow_control(struct xgbe_prv_data *pdata) in xgbe_enable_tx_flow_control()
558 xgbe_disable_rx_flow_control(struct xgbe_prv_data *pdata) in xgbe_disable_rx_flow_control()
566 xgbe_enable_rx_flow_control(struct xgbe_prv_data *pdata) in xgbe_enable_rx_flow_control()
574 xgbe_config_tx_flow_control(struct xgbe_prv_data *pdata) in xgbe_config_tx_flow_control()
585 xgbe_config_rx_flow_control(struct xgbe_prv_data *pdata) in xgbe_config_rx_flow_control()
596 xgbe_config_flow_control(struct xgbe_prv_data *pdata) in xgbe_config_flow_control()
605 xgbe_enable_dma_interrupts(struct xgbe_prv_data *pdata) in xgbe_enable_dma_interrupts()
669 xgbe_enable_mtl_interrupts(struct xgbe_prv_data *pdata) in xgbe_enable_mtl_interrupts()
686 xgbe_enable_mac_interrupts(struct xgbe_prv_data *pdata) in xgbe_enable_mac_interrupts()
704 xgbe_set_speed(struct xgbe_prv_data *pdata, int speed) in xgbe_set_speed()
729 xgbe_enable_rx_vlan_stripping(struct xgbe_prv_data *pdata) in xgbe_enable_rx_vlan_stripping()
752 xgbe_disable_rx_vlan_stripping(struct xgbe_prv_data *pdata) in xgbe_disable_rx_vlan_stripping()
762 xgbe_enable_rx_vlan_filtering(struct xgbe_prv_data *pdata) in xgbe_enable_rx_vlan_filtering()
790 xgbe_disable_rx_vlan_filtering(struct xgbe_prv_data *pdata) in xgbe_disable_rx_vlan_filtering()
826 xgbe_update_vlan_hash_table(struct xgbe_prv_data *pdata) in xgbe_update_vlan_hash_table()
859 xgbe_set_promiscuous_mode(struct xgbe_prv_data *pdata, unsigned int enable) in xgbe_set_promiscuous_mode()
885 xgbe_set_all_multicast_mode(struct xgbe_prv_data *pdata, unsigned int enable) in xgbe_set_all_multicast_mode()
899 xgbe_set_mac_reg(struct xgbe_prv_data *pdata, char *addr, unsigned int *mac_reg) in xgbe_set_mac_reg()
929 xgbe_set_mac_addn_addrs(struct xgbe_prv_data *pdata) in xgbe_set_mac_addn_addrs()
946 xgbe_add_mac_addresses(struct xgbe_prv_data *pdata) in xgbe_add_mac_addresses()
955 xgbe_set_mac_address(struct xgbe_prv_data *pdata, uint8_t *addr) in xgbe_set_mac_address()
970 xgbe_config_rx_mode(struct xgbe_prv_data *pdata) in xgbe_config_rx_mode()
986 xgbe_clr_gpio(struct xgbe_prv_data *pdata, unsigned int gpio) in xgbe_clr_gpio()
1002 xgbe_set_gpio(struct xgbe_prv_data *pdata, unsigned int gpio) in xgbe_set_gpio()
1018 xgbe_read_mmd_regs_v2(struct xgbe_prv_data *pdata, int prtad, int mmd_reg) in xgbe_read_mmd_regs_v2()
1051 xgbe_write_mmd_regs_v2(struct xgbe_prv_data *pdata, int prtad, int mmd_reg, in xgbe_write_mmd_regs_v2()
1082 xgbe_read_mmd_regs_v1(struct xgbe_prv_data *pdata, int prtad, int mmd_reg) in xgbe_read_mmd_regs_v1()
1111 xgbe_write_mmd_regs_v1(struct xgbe_prv_data *pdata, int prtad, int mmd_reg, in xgbe_write_mmd_regs_v1()
1138 xgbe_read_mmd_regs(struct xgbe_prv_data *pdata, int prtad, int mmd_reg) in xgbe_read_mmd_regs()
1151 xgbe_write_mmd_regs(struct xgbe_prv_data *pdata, int prtad, int mmd_reg, in xgbe_write_mmd_regs()
1180 xgbe_write_ext_mii_regs(struct xgbe_prv_data *pdata, int addr, int reg, in xgbe_write_ext_mii_regs()
1208 xgbe_read_ext_mii_regs(struct xgbe_prv_data *pdata, int addr, int reg) in xgbe_read_ext_mii_regs()
1235 xgbe_set_ext_mii_mode(struct xgbe_prv_data *pdata, unsigned int port, in xgbe_set_ext_mii_mode()
1264 xgbe_disable_rx_csum(struct xgbe_prv_data *pdata) in xgbe_disable_rx_csum()
1273 xgbe_enable_rx_csum(struct xgbe_prv_data *pdata) in xgbe_enable_rx_csum()
1353 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_dev_read()
1521 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_enable_int()
1570 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_disable_int()
1618 __xgbe_exit(struct xgbe_prv_data *pdata) in __xgbe_exit()
1637 xgbe_exit(struct xgbe_prv_data *pdata) in xgbe_exit()
1654 xgbe_flush_tx_queues(struct xgbe_prv_data *pdata) in xgbe_flush_tx_queues()
1679 xgbe_config_dma_bus(struct xgbe_prv_data *pdata) in xgbe_config_dma_bus()
1708 xgbe_config_dma_cache(struct xgbe_prv_data *pdata) in xgbe_config_dma_cache()
1717 xgbe_config_mtl_mode(struct xgbe_prv_data *pdata) in xgbe_config_mtl_mode()
1736 xgbe_queue_flow_control_threshold(struct xgbe_prv_data *pdata, in xgbe_queue_flow_control_threshold()
1797 xgbe_calculate_flow_control_threshold(struct xgbe_prv_data *pdata, in xgbe_calculate_flow_control_threshold()
1813 xgbe_config_flow_control_threshold(struct xgbe_prv_data *pdata) in xgbe_config_flow_control_threshold()
1832 xgbe_get_tx_fifo_size(struct xgbe_prv_data *pdata) in xgbe_get_tx_fifo_size()
1840 xgbe_get_rx_fifo_size(struct xgbe_prv_data *pdata) in xgbe_get_rx_fifo_size()
1894 xgbe_config_tx_fifo_size(struct xgbe_prv_data *pdata) in xgbe_config_tx_fifo_size()
1916 xgbe_config_rx_fifo_size(struct xgbe_prv_data *pdata) in xgbe_config_rx_fifo_size()
1950 xgbe_config_queue_mapping(struct xgbe_prv_data *pdata) in xgbe_config_queue_mapping()
2028 xgbe_config_mac_address(struct xgbe_prv_data *pdata) in xgbe_config_mac_address()
2041 xgbe_config_jumbo_enable(struct xgbe_prv_data *pdata) in xgbe_config_jumbo_enable()
2051 xgbe_config_mac_speed(struct xgbe_prv_data *pdata) in xgbe_config_mac_speed()
2057 xgbe_config_checksum_offload(struct xgbe_prv_data *pdata) in xgbe_config_checksum_offload()
2066 xgbe_config_vlan_support(struct xgbe_prv_data *pdata) in xgbe_config_vlan_support()
2093 xgbe_mmc_read(struct xgbe_prv_data *pdata, unsigned int reg_lo) in xgbe_mmc_read()
2136 xgbe_tx_mmc_int(struct xgbe_prv_data *pdata) in xgbe_tx_mmc_int()
2215 xgbe_rx_mmc_int(struct xgbe_prv_data *pdata) in xgbe_rx_mmc_int()
2314 xgbe_read_mmc_stats(struct xgbe_prv_data *pdata) in xgbe_read_mmc_stats()
2449 xgbe_config_mmc(struct xgbe_prv_data *pdata) in xgbe_config_mmc()
2459 xgbe_txq_prepare_tx_stop(struct xgbe_prv_data *pdata, unsigned int queue) in xgbe_txq_prepare_tx_stop()
2484 xgbe_prepare_tx_stop(struct xgbe_prv_data *pdata, unsigned int queue) in xgbe_prepare_tx_stop()
2526 xgbe_enable_tx(struct xgbe_prv_data *pdata) in xgbe_enable_tx()
2548 xgbe_disable_tx(struct xgbe_prv_data *pdata) in xgbe_disable_tx()
2573 xgbe_prepare_rx_stop(struct xgbe_prv_data *pdata, unsigned int queue) in xgbe_prepare_rx_stop()
2598 xgbe_enable_rx(struct xgbe_prv_data *pdata) in xgbe_enable_rx()
2624 xgbe_disable_rx(struct xgbe_prv_data *pdata) in xgbe_disable_rx()
2651 xgbe_powerup_tx(struct xgbe_prv_data *pdata) in xgbe_powerup_tx()
2668 xgbe_powerdown_tx(struct xgbe_prv_data *pdata) in xgbe_powerdown_tx()
2689 xgbe_powerup_rx(struct xgbe_prv_data *pdata) in xgbe_powerup_rx()
2703 xgbe_powerdown_rx(struct xgbe_prv_data *pdata) in xgbe_powerdown_rx()
2717 xgbe_init(struct xgbe_prv_data *pdata) in xgbe_init()