Lines Matching refs:xlgmac_pdata
36 static int xlgmac_disable_rx_csum(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_csum()
48 static int xlgmac_enable_rx_csum(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_csum()
60 static int xlgmac_set_mac_address(struct xlgmac_pdata *pdata, const u8 *addr) in xlgmac_set_mac_address()
74 static void xlgmac_set_mac_reg(struct xlgmac_pdata *pdata, in xlgmac_set_mac_reg()
110 static int xlgmac_enable_rx_vlan_stripping(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_vlan_stripping()
135 static int xlgmac_disable_rx_vlan_stripping(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_vlan_stripping()
147 static int xlgmac_enable_rx_vlan_filtering(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_vlan_filtering()
180 static int xlgmac_disable_rx_vlan_filtering(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_vlan_filtering()
217 static int xlgmac_update_vlan_hash_table(struct xlgmac_pdata *pdata) in xlgmac_update_vlan_hash_table()
243 static int xlgmac_set_promiscuous_mode(struct xlgmac_pdata *pdata, in xlgmac_set_promiscuous_mode()
273 static int xlgmac_set_all_multicast_mode(struct xlgmac_pdata *pdata, in xlgmac_set_all_multicast_mode()
295 static void xlgmac_set_mac_addn_addrs(struct xlgmac_pdata *pdata) in xlgmac_set_mac_addn_addrs()
328 static void xlgmac_set_mac_hash_table(struct xlgmac_pdata *pdata) in xlgmac_set_mac_hash_table()
363 static int xlgmac_add_mac_addresses(struct xlgmac_pdata *pdata) in xlgmac_add_mac_addresses()
373 static void xlgmac_config_mac_address(struct xlgmac_pdata *pdata) in xlgmac_config_mac_address()
392 static void xlgmac_config_jumbo_enable(struct xlgmac_pdata *pdata) in xlgmac_config_jumbo_enable()
405 static void xlgmac_config_checksum_offload(struct xlgmac_pdata *pdata) in xlgmac_config_checksum_offload()
413 static void xlgmac_config_vlan_support(struct xlgmac_pdata *pdata) in xlgmac_config_vlan_support()
439 static int xlgmac_config_rx_mode(struct xlgmac_pdata *pdata) in xlgmac_config_rx_mode()
455 static void xlgmac_prepare_tx_stop(struct xlgmac_pdata *pdata, in xlgmac_prepare_tx_stop()
497 static void xlgmac_enable_tx(struct xlgmac_pdata *pdata) in xlgmac_enable_tx()
531 static void xlgmac_disable_tx(struct xlgmac_pdata *pdata) in xlgmac_disable_tx()
573 static void xlgmac_prepare_rx_stop(struct xlgmac_pdata *pdata, in xlgmac_prepare_rx_stop()
602 static void xlgmac_enable_rx(struct xlgmac_pdata *pdata) in xlgmac_enable_rx()
638 static void xlgmac_disable_rx(struct xlgmac_pdata *pdata) in xlgmac_disable_rx()
679 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_tx_start_xmit()
704 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_dev_xmit()
1082 static void xlgmac_rx_desc_reset(struct xlgmac_pdata *pdata, in xlgmac_rx_desc_reset()
1141 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_rx_desc_init()
1188 static int xlgmac_disable_tx_flow_control(struct xlgmac_pdata *pdata) in xlgmac_disable_tx_flow_control()
1220 static int xlgmac_enable_tx_flow_control(struct xlgmac_pdata *pdata) in xlgmac_enable_tx_flow_control()
1256 static int xlgmac_disable_rx_flow_control(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_flow_control()
1268 static int xlgmac_enable_rx_flow_control(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_flow_control()
1280 static int xlgmac_config_tx_flow_control(struct xlgmac_pdata *pdata) in xlgmac_config_tx_flow_control()
1290 static int xlgmac_config_rx_flow_control(struct xlgmac_pdata *pdata) in xlgmac_config_rx_flow_control()
1300 static int xlgmac_config_rx_coalesce(struct xlgmac_pdata *pdata) in xlgmac_config_rx_coalesce()
1321 static void xlgmac_config_flow_control(struct xlgmac_pdata *pdata) in xlgmac_config_flow_control()
1327 static void xlgmac_config_rx_fep_enable(struct xlgmac_pdata *pdata) in xlgmac_config_rx_fep_enable()
1340 static void xlgmac_config_rx_fup_enable(struct xlgmac_pdata *pdata) in xlgmac_config_rx_fup_enable()
1353 static int xlgmac_config_tx_coalesce(struct xlgmac_pdata *pdata) in xlgmac_config_tx_coalesce()
1358 static void xlgmac_config_rx_buffer_size(struct xlgmac_pdata *pdata) in xlgmac_config_rx_buffer_size()
1377 static void xlgmac_config_tso_mode(struct xlgmac_pdata *pdata) in xlgmac_config_tso_mode()
1397 static void xlgmac_config_sph_mode(struct xlgmac_pdata *pdata) in xlgmac_config_sph_mode()
1421 static unsigned int xlgmac_usec_to_riwt(struct xlgmac_pdata *pdata, in xlgmac_usec_to_riwt()
1439 static unsigned int xlgmac_riwt_to_usec(struct xlgmac_pdata *pdata, in xlgmac_riwt_to_usec()
1457 static int xlgmac_config_rx_threshold(struct xlgmac_pdata *pdata, in xlgmac_config_rx_threshold()
1473 static void xlgmac_config_mtl_mode(struct xlgmac_pdata *pdata) in xlgmac_config_mtl_mode()
1504 static void xlgmac_config_queue_mapping(struct xlgmac_pdata *pdata) in xlgmac_config_queue_mapping()
1630 static void xlgmac_config_tx_fifo_size(struct xlgmac_pdata *pdata) in xlgmac_config_tx_fifo_size()
1652 static void xlgmac_config_rx_fifo_size(struct xlgmac_pdata *pdata) in xlgmac_config_rx_fifo_size()
1674 static void xlgmac_config_flow_control_threshold(struct xlgmac_pdata *pdata) in xlgmac_config_flow_control_threshold()
1691 static int xlgmac_config_tx_threshold(struct xlgmac_pdata *pdata, in xlgmac_config_tx_threshold()
1707 static int xlgmac_config_rsf_mode(struct xlgmac_pdata *pdata, in xlgmac_config_rsf_mode()
1723 static int xlgmac_config_tsf_mode(struct xlgmac_pdata *pdata, in xlgmac_config_tsf_mode()
1739 static int xlgmac_config_osp_mode(struct xlgmac_pdata *pdata) in xlgmac_config_osp_mode()
1760 static int xlgmac_config_pblx8(struct xlgmac_pdata *pdata) in xlgmac_config_pblx8()
1778 static int xlgmac_get_tx_pbl_val(struct xlgmac_pdata *pdata) in xlgmac_get_tx_pbl_val()
1788 static int xlgmac_config_tx_pbl_val(struct xlgmac_pdata *pdata) in xlgmac_config_tx_pbl_val()
1809 static int xlgmac_get_rx_pbl_val(struct xlgmac_pdata *pdata) in xlgmac_get_rx_pbl_val()
1819 static int xlgmac_config_rx_pbl_val(struct xlgmac_pdata *pdata) in xlgmac_config_rx_pbl_val()
1840 static u64 xlgmac_mmc_read(struct xlgmac_pdata *pdata, unsigned int reg_lo) in xlgmac_mmc_read()
1866 static void xlgmac_tx_mmc_int(struct xlgmac_pdata *pdata) in xlgmac_tx_mmc_int()
1980 static void xlgmac_rx_mmc_int(struct xlgmac_pdata *pdata) in xlgmac_rx_mmc_int()
2124 static void xlgmac_read_mmc_stats(struct xlgmac_pdata *pdata) in xlgmac_read_mmc_stats()
2265 static void xlgmac_config_mmc(struct xlgmac_pdata *pdata) in xlgmac_config_mmc()
2279 static int xlgmac_write_rss_reg(struct xlgmac_pdata *pdata, unsigned int type, in xlgmac_write_rss_reg()
2327 static int xlgmac_write_rss_hash_key(struct xlgmac_pdata *pdata) in xlgmac_write_rss_hash_key()
2343 static int xlgmac_write_rss_lookup_table(struct xlgmac_pdata *pdata) in xlgmac_write_rss_lookup_table()
2359 static int xlgmac_set_rss_hash_key(struct xlgmac_pdata *pdata, const u8 *key) in xlgmac_set_rss_hash_key()
2366 static int xlgmac_set_rss_lookup_table(struct xlgmac_pdata *pdata, in xlgmac_set_rss_lookup_table()
2384 static int xlgmac_enable_rss(struct xlgmac_pdata *pdata) in xlgmac_enable_rss()
2414 static int xlgmac_disable_rss(struct xlgmac_pdata *pdata) in xlgmac_disable_rss()
2429 static void xlgmac_config_rss(struct xlgmac_pdata *pdata) in xlgmac_config_rss()
2446 static void xlgmac_enable_dma_interrupts(struct xlgmac_pdata *pdata) in xlgmac_enable_dma_interrupts()
2511 static void xlgmac_enable_mtl_interrupts(struct xlgmac_pdata *pdata) in xlgmac_enable_mtl_interrupts()
2527 static void xlgmac_enable_mac_interrupts(struct xlgmac_pdata *pdata) in xlgmac_enable_mac_interrupts()
2549 static int xlgmac_set_xlgmii_25000_speed(struct xlgmac_pdata *pdata) in xlgmac_set_xlgmii_25000_speed()
2566 static int xlgmac_set_xlgmii_40000_speed(struct xlgmac_pdata *pdata) in xlgmac_set_xlgmii_40000_speed()
2583 static int xlgmac_set_xlgmii_50000_speed(struct xlgmac_pdata *pdata) in xlgmac_set_xlgmii_50000_speed()
2600 static int xlgmac_set_xlgmii_100000_speed(struct xlgmac_pdata *pdata) in xlgmac_set_xlgmii_100000_speed()
2617 static void xlgmac_config_mac_speed(struct xlgmac_pdata *pdata) in xlgmac_config_mac_speed()
2640 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_dev_read()
2943 static int xlgmac_flush_tx_queues(struct xlgmac_pdata *pdata) in xlgmac_flush_tx_queues()
2971 static void xlgmac_config_dma_bus(struct xlgmac_pdata *pdata) in xlgmac_config_dma_bus()
2987 static int xlgmac_hw_init(struct xlgmac_pdata *pdata) in xlgmac_hw_init()
3041 static int xlgmac_hw_exit(struct xlgmac_pdata *pdata) in xlgmac_hw_exit()