Lines Matching refs:xgbe_prv_data

122 static inline unsigned int xgbe_get_max_frame(struct xgbe_prv_data *pdata)  in xgbe_get_max_frame()
128 xgbe_usec_to_riwt(struct xgbe_prv_data *pdata, unsigned int usec) in xgbe_usec_to_riwt()
147 xgbe_riwt_to_usec(struct xgbe_prv_data *pdata, unsigned int riwt) in xgbe_riwt_to_usec()
166 xgbe_config_pbl_val(struct xgbe_prv_data *pdata) in xgbe_config_pbl_val()
196 xgbe_config_osp_mode(struct xgbe_prv_data *pdata) in xgbe_config_osp_mode()
212 xgbe_config_rsf_mode(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_rsf_mode()
223 xgbe_config_tsf_mode(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_tsf_mode()
234 xgbe_config_rx_threshold(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_rx_threshold()
245 xgbe_config_tx_threshold(struct xgbe_prv_data *pdata, unsigned int val) in xgbe_config_tx_threshold()
256 xgbe_config_rx_coalesce(struct xgbe_prv_data *pdata) in xgbe_config_rx_coalesce()
272 xgbe_config_tx_coalesce(struct xgbe_prv_data *pdata) in xgbe_config_tx_coalesce()
278 xgbe_config_rx_buffer_size(struct xgbe_prv_data *pdata) in xgbe_config_rx_buffer_size()
292 xgbe_config_tso_mode(struct xgbe_prv_data *pdata) in xgbe_config_tso_mode()
308 xgbe_config_sph_mode(struct xgbe_prv_data *pdata) in xgbe_config_sph_mode()
341 xgbe_write_rss_reg(struct xgbe_prv_data *pdata, unsigned int type, in xgbe_write_rss_reg()
378 xgbe_write_rss_hash_key(struct xgbe_prv_data *pdata) in xgbe_write_rss_hash_key()
395 xgbe_write_rss_lookup_table(struct xgbe_prv_data *pdata) in xgbe_write_rss_lookup_table()
411 xgbe_set_rss_hash_key(struct xgbe_prv_data *pdata, const uint8_t *key) in xgbe_set_rss_hash_key()
419 xgbe_set_rss_lookup_table(struct xgbe_prv_data *pdata, const uint32_t *table) in xgbe_set_rss_lookup_table()
430 xgbe_enable_rss(struct xgbe_prv_data *pdata) in xgbe_enable_rss()
459 xgbe_disable_rss(struct xgbe_prv_data *pdata) in xgbe_disable_rss()
472 xgbe_config_rss(struct xgbe_prv_data *pdata) in xgbe_config_rss()
490 xgbe_disable_tx_flow_control(struct xgbe_prv_data *pdata) in xgbe_disable_tx_flow_control()
516 xgbe_enable_tx_flow_control(struct xgbe_prv_data *pdata) in xgbe_enable_tx_flow_control()
560 xgbe_disable_rx_flow_control(struct xgbe_prv_data *pdata) in xgbe_disable_rx_flow_control()
568 xgbe_enable_rx_flow_control(struct xgbe_prv_data *pdata) in xgbe_enable_rx_flow_control()
576 xgbe_config_tx_flow_control(struct xgbe_prv_data *pdata) in xgbe_config_tx_flow_control()
587 xgbe_config_rx_flow_control(struct xgbe_prv_data *pdata) in xgbe_config_rx_flow_control()
598 xgbe_config_flow_control(struct xgbe_prv_data *pdata) in xgbe_config_flow_control()
607 xgbe_enable_dma_interrupts(struct xgbe_prv_data *pdata) in xgbe_enable_dma_interrupts()
671 xgbe_enable_mtl_interrupts(struct xgbe_prv_data *pdata) in xgbe_enable_mtl_interrupts()
688 xgbe_enable_mac_interrupts(struct xgbe_prv_data *pdata) in xgbe_enable_mac_interrupts()
706 xgbe_set_speed(struct xgbe_prv_data *pdata, int speed) in xgbe_set_speed()
731 xgbe_enable_rx_vlan_stripping(struct xgbe_prv_data *pdata) in xgbe_enable_rx_vlan_stripping()
754 xgbe_disable_rx_vlan_stripping(struct xgbe_prv_data *pdata) in xgbe_disable_rx_vlan_stripping()
764 xgbe_enable_rx_vlan_filtering(struct xgbe_prv_data *pdata) in xgbe_enable_rx_vlan_filtering()
792 xgbe_disable_rx_vlan_filtering(struct xgbe_prv_data *pdata) in xgbe_disable_rx_vlan_filtering()
828 xgbe_update_vlan_hash_table(struct xgbe_prv_data *pdata) in xgbe_update_vlan_hash_table()
861 xgbe_set_promiscuous_mode(struct xgbe_prv_data *pdata, unsigned int enable) in xgbe_set_promiscuous_mode()
887 xgbe_set_all_multicast_mode(struct xgbe_prv_data *pdata, unsigned int enable) in xgbe_set_all_multicast_mode()
901 xgbe_set_mac_reg(struct xgbe_prv_data *pdata, char *addr, unsigned int *mac_reg) in xgbe_set_mac_reg()
931 xgbe_set_mac_addn_addrs(struct xgbe_prv_data *pdata) in xgbe_set_mac_addn_addrs()
948 xgbe_add_mac_addresses(struct xgbe_prv_data *pdata) in xgbe_add_mac_addresses()
957 xgbe_set_mac_address(struct xgbe_prv_data *pdata, uint8_t *addr) in xgbe_set_mac_address()
972 xgbe_config_rx_mode(struct xgbe_prv_data *pdata) in xgbe_config_rx_mode()
988 xgbe_clr_gpio(struct xgbe_prv_data *pdata, unsigned int gpio) in xgbe_clr_gpio()
1004 xgbe_set_gpio(struct xgbe_prv_data *pdata, unsigned int gpio) in xgbe_set_gpio()
1020 xgbe_read_mmd_regs_v2(struct xgbe_prv_data *pdata, int prtad, int mmd_reg) in xgbe_read_mmd_regs_v2()
1053 xgbe_write_mmd_regs_v2(struct xgbe_prv_data *pdata, int prtad, int mmd_reg, in xgbe_write_mmd_regs_v2()
1084 xgbe_read_mmd_regs_v1(struct xgbe_prv_data *pdata, int prtad, int mmd_reg) in xgbe_read_mmd_regs_v1()
1113 xgbe_write_mmd_regs_v1(struct xgbe_prv_data *pdata, int prtad, int mmd_reg, in xgbe_write_mmd_regs_v1()
1140 xgbe_read_mmd_regs(struct xgbe_prv_data *pdata, int prtad, int mmd_reg) in xgbe_read_mmd_regs()
1153 xgbe_write_mmd_regs(struct xgbe_prv_data *pdata, int prtad, int mmd_reg, in xgbe_write_mmd_regs()
1182 xgbe_write_ext_mii_regs(struct xgbe_prv_data *pdata, int addr, int reg, in xgbe_write_ext_mii_regs()
1210 xgbe_read_ext_mii_regs(struct xgbe_prv_data *pdata, int addr, int reg) in xgbe_read_ext_mii_regs()
1237 xgbe_set_ext_mii_mode(struct xgbe_prv_data *pdata, unsigned int port, in xgbe_set_ext_mii_mode()
1266 xgbe_disable_rx_csum(struct xgbe_prv_data *pdata) in xgbe_disable_rx_csum()
1275 xgbe_enable_rx_csum(struct xgbe_prv_data *pdata) in xgbe_enable_rx_csum()
1355 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_dev_read()
1523 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_enable_int()
1572 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_disable_int()
1620 __xgbe_exit(struct xgbe_prv_data *pdata) in __xgbe_exit()
1639 xgbe_exit(struct xgbe_prv_data *pdata) in xgbe_exit()
1656 xgbe_flush_tx_queues(struct xgbe_prv_data *pdata) in xgbe_flush_tx_queues()
1681 xgbe_config_dma_bus(struct xgbe_prv_data *pdata) in xgbe_config_dma_bus()
1710 xgbe_config_dma_cache(struct xgbe_prv_data *pdata) in xgbe_config_dma_cache()
1719 xgbe_config_mtl_mode(struct xgbe_prv_data *pdata) in xgbe_config_mtl_mode()
1738 xgbe_queue_flow_control_threshold(struct xgbe_prv_data *pdata, in xgbe_queue_flow_control_threshold()
1799 xgbe_calculate_flow_control_threshold(struct xgbe_prv_data *pdata, in xgbe_calculate_flow_control_threshold()
1815 xgbe_config_flow_control_threshold(struct xgbe_prv_data *pdata) in xgbe_config_flow_control_threshold()
1834 xgbe_get_tx_fifo_size(struct xgbe_prv_data *pdata) in xgbe_get_tx_fifo_size()
1842 xgbe_get_rx_fifo_size(struct xgbe_prv_data *pdata) in xgbe_get_rx_fifo_size()
1896 xgbe_config_tx_fifo_size(struct xgbe_prv_data *pdata) in xgbe_config_tx_fifo_size()
1918 xgbe_config_rx_fifo_size(struct xgbe_prv_data *pdata) in xgbe_config_rx_fifo_size()
1952 xgbe_config_queue_mapping(struct xgbe_prv_data *pdata) in xgbe_config_queue_mapping()
2030 xgbe_config_mac_address(struct xgbe_prv_data *pdata) in xgbe_config_mac_address()
2043 xgbe_config_jumbo_enable(struct xgbe_prv_data *pdata) in xgbe_config_jumbo_enable()
2053 xgbe_config_mac_speed(struct xgbe_prv_data *pdata) in xgbe_config_mac_speed()
2059 xgbe_config_checksum_offload(struct xgbe_prv_data *pdata) in xgbe_config_checksum_offload()
2068 xgbe_config_vlan_support(struct xgbe_prv_data *pdata) in xgbe_config_vlan_support()
2095 xgbe_mmc_read(struct xgbe_prv_data *pdata, unsigned int reg_lo) in xgbe_mmc_read()
2138 xgbe_tx_mmc_int(struct xgbe_prv_data *pdata) in xgbe_tx_mmc_int()
2217 xgbe_rx_mmc_int(struct xgbe_prv_data *pdata) in xgbe_rx_mmc_int()
2316 xgbe_read_mmc_stats(struct xgbe_prv_data *pdata) in xgbe_read_mmc_stats()
2451 xgbe_config_mmc(struct xgbe_prv_data *pdata) in xgbe_config_mmc()
2461 xgbe_txq_prepare_tx_stop(struct xgbe_prv_data *pdata, unsigned int queue) in xgbe_txq_prepare_tx_stop()
2486 xgbe_prepare_tx_stop(struct xgbe_prv_data *pdata, unsigned int queue) in xgbe_prepare_tx_stop()
2528 xgbe_enable_tx(struct xgbe_prv_data *pdata) in xgbe_enable_tx()
2550 xgbe_disable_tx(struct xgbe_prv_data *pdata) in xgbe_disable_tx()
2575 xgbe_prepare_rx_stop(struct xgbe_prv_data *pdata, unsigned int queue) in xgbe_prepare_rx_stop()
2600 xgbe_enable_rx(struct xgbe_prv_data *pdata) in xgbe_enable_rx()
2626 xgbe_disable_rx(struct xgbe_prv_data *pdata) in xgbe_disable_rx()
2653 xgbe_powerup_tx(struct xgbe_prv_data *pdata) in xgbe_powerup_tx()
2670 xgbe_powerdown_tx(struct xgbe_prv_data *pdata) in xgbe_powerdown_tx()
2691 xgbe_powerup_rx(struct xgbe_prv_data *pdata) in xgbe_powerup_rx()
2705 xgbe_powerdown_rx(struct xgbe_prv_data *pdata) in xgbe_powerdown_rx()
2719 xgbe_init(struct xgbe_prv_data *pdata) in xgbe_init()