Searched refs:xlgmac_pdata (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac.h | 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); [all …]
|
H A D | dwc-xlgmac-hw.c | 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() [all …]
|
H A D | dwc-xlgmac-net.c | 43 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_maybe_stop_tx_queue() 114 static void xlgmac_prep_tx_pkt(struct xlgmac_pdata *pdata, in xlgmac_prep_tx_pkt() 207 static void xlgmac_enable_rx_tx_ints(struct xlgmac_pdata *pdata) in xlgmac_enable_rx_tx_ints() 229 static void xlgmac_disable_rx_tx_ints(struct xlgmac_pdata *pdata) in xlgmac_disable_rx_tx_ints() 254 struct xlgmac_pdata *pdata = data; in xlgmac_isr() 364 struct xlgmac_pdata *pdata = channel->pdata; in xlgmac_tx_timer() 384 static void xlgmac_init_timers(struct xlgmac_pdata *pdata) in xlgmac_init_timers() 398 static void xlgmac_stop_timers(struct xlgmac_pdata *pdata) in xlgmac_stop_timers() 412 static void xlgmac_napi_enable(struct xlgmac_pdata *pdata, unsigned int add) in xlgmac_napi_enable() 435 static void xlgmac_napi_disable(struct xlgmac_pdata *pdata, unsigned int del) in xlgmac_napi_disable() [all …]
|
H A D | dwc-xlgmac-ethtool.c | 33 offsetof(struct xlgmac_pdata, stats.var), \ 101 struct xlgmac_pdata *pdata = netdev_priv(netdev); in xlgmac_ethtool_get_drvinfo() 125 struct xlgmac_pdata *pdata = netdev_priv(netdev); in xlgmac_ethtool_get_msglevel() 133 struct xlgmac_pdata *pdata = netdev_priv(netdev); in xlgmac_ethtool_set_msglevel() 141 struct xlgmac_pdata *pdata = netdev_priv(netdev); in xlgmac_ethtool_get_channels() 155 struct xlgmac_pdata *pdata = netdev_priv(netdev); in xlgmac_ethtool_get_coalesce() 170 struct xlgmac_pdata *pdata = netdev_priv(netdev); in xlgmac_ethtool_set_coalesce() 239 struct xlgmac_pdata *pdata = netdev_priv(netdev); in xlgmac_ethtool_get_ethtool_stats()
|
H A D | dwc-xlgmac-desc.c | 21 static void xlgmac_unmap_desc_data(struct xlgmac_pdata *pdata, in xlgmac_unmap_desc_data() 74 static void xlgmac_free_ring(struct xlgmac_pdata *pdata, in xlgmac_free_ring() 125 static int xlgmac_init_ring(struct xlgmac_pdata *pdata, in xlgmac_init_ring() 158 static void xlgmac_free_rings(struct xlgmac_pdata *pdata) in xlgmac_free_rings() 173 static int xlgmac_alloc_rings(struct xlgmac_pdata *pdata) in xlgmac_alloc_rings() 213 static void xlgmac_free_channels(struct xlgmac_pdata *pdata) in xlgmac_free_channels() 230 static int xlgmac_alloc_channels(struct xlgmac_pdata *pdata) in xlgmac_alloc_channels() 303 static void xlgmac_free_channels_and_rings(struct xlgmac_pdata *pdata) in xlgmac_free_channels_and_rings() 310 static int xlgmac_alloc_channels_and_rings(struct xlgmac_pdata *pdata) in xlgmac_alloc_channels_and_rings() 330 static int xlgmac_alloc_pages(struct xlgmac_pdata *pdata, in xlgmac_alloc_pages() [all …]
|
H A D | dwc-xlgmac-common.c | 32 static void xlgmac_read_mac_addr(struct xlgmac_pdata *pdata) in xlgmac_read_mac_addr() 40 static void xlgmac_default_config(struct xlgmac_pdata *pdata) in xlgmac_default_config() 59 static void xlgmac_init_all_ops(struct xlgmac_pdata *pdata) in xlgmac_init_all_ops() 65 static int xlgmac_init(struct xlgmac_pdata *pdata) in xlgmac_init() 228 struct xlgmac_pdata *pdata; in xlgmac_drv_probe() 232 netdev = alloc_etherdev_mq(sizeof(struct xlgmac_pdata), in xlgmac_drv_probe() 282 void xlgmac_dump_tx_desc(struct xlgmac_pdata *pdata, in xlgmac_dump_tx_desc() 309 void xlgmac_dump_rx_desc(struct xlgmac_pdata *pdata, in xlgmac_dump_rx_desc() 357 void xlgmac_get_all_hw_features(struct xlgmac_pdata *pdata) in xlgmac_get_all_hw_features() 512 void xlgmac_print_all_hw_features(struct xlgmac_pdata *pdata) in xlgmac_print_all_hw_features()
|