Home
last modified time | relevance | path

Searched refs:txgbe (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/wangxun/txgbe/
A Dtxgbe_irq.c84 static int txgbe_request_link_irq(struct txgbe *txgbe) in txgbe_request_link_irq() argument
108 struct txgbe *txgbe = d->host_data; in txgbe_misc_irq_domain_map() local
125 struct txgbe *txgbe = data; in txgbe_misc_irq_handle() local
163 struct txgbe *txgbe = data; in txgbe_misc_irq_thread_fn() local
202 void txgbe_free_misc_irq(struct txgbe *txgbe) in txgbe_free_misc_irq() argument
208 free_irq(txgbe->gpio_irq, txgbe); in txgbe_free_misc_irq()
210 free_irq(txgbe->link_irq, txgbe); in txgbe_free_misc_irq()
211 free_irq(txgbe->misc.irq, txgbe); in txgbe_free_misc_irq()
216 int txgbe_setup_misc_irq(struct txgbe *txgbe) in txgbe_setup_misc_irq() argument
267 free_irq(txgbe->link_irq, txgbe); in txgbe_setup_misc_irq()
[all …]
A Dtxgbe_phy.c27 static int txgbe_swnodes_register(struct txgbe *txgbe) in txgbe_swnodes_register() argument
126 static int txgbe_mdio_pcs_init(struct txgbe *txgbe) in txgbe_mdio_pcs_init() argument
167 struct txgbe *txgbe = wx->priv; in txgbe_phylink_mac_select() local
268 static int txgbe_phylink_init(struct txgbe *txgbe) in txgbe_phylink_init() argument
314 struct txgbe *txgbe = data; in txgbe_link_irq_handler() local
381 static int txgbe_gpio_init(struct txgbe *txgbe) in txgbe_gpio_init() argument
473 static int txgbe_i2c_register(struct txgbe *txgbe) in txgbe_i2c_register() argument
505 static int txgbe_sfp_register(struct txgbe *txgbe) in txgbe_sfp_register() argument
524 static int txgbe_ext_phy_init(struct txgbe *txgbe) in txgbe_ext_phy_init() argument
575 int txgbe_init_phy(struct txgbe *txgbe) in txgbe_init_phy() argument
[all …]
A Dtxgbe_ethtool.c19 struct txgbe *txgbe = wx->priv; in txgbe_get_link_ksettings() local
108 static int txgbe_get_ethtool_fdir_entry(struct txgbe *txgbe, in txgbe_get_ethtool_fdir_entry() argument
173 static int txgbe_get_ethtool_fdir_all(struct txgbe *txgbe, in txgbe_get_ethtool_fdir_all() argument
201 struct txgbe *txgbe = wx->priv; in txgbe_get_rxnfc() local
267 static bool txgbe_match_ethtool_fdir_entry(struct txgbe *txgbe, in txgbe_match_ethtool_fdir_entry() argument
285 static int txgbe_update_ethtool_fdir_entry(struct txgbe *txgbe, in txgbe_update_ethtool_fdir_entry() argument
291 struct wx *wx = txgbe->wx; in txgbe_update_ethtool_fdir_entry()
348 static int txgbe_add_ethtool_fdir_entry(struct txgbe *txgbe, in txgbe_add_ethtool_fdir_entry() argument
355 struct wx *wx = txgbe->wx; in txgbe_add_ethtool_fdir_entry()
505 static int txgbe_del_ethtool_fdir_entry(struct txgbe *txgbe, in txgbe_del_ethtool_fdir_entry() argument
[all …]
A Dtxgbe_aml.c34 struct txgbe *txgbe = data; in txgbe_gpio_irq_handler_aml() local
35 struct wx *wx = txgbe->wx; in txgbe_gpio_irq_handler_aml()
111 struct txgbe *txgbe = wx->priv; in txgbe_get_link_capabilities() local
170 struct txgbe *txgbe = wx->priv; in txgbe_sfp_to_linkmodes() local
195 txgbe->link_port = PORT_FIBRE; in txgbe_sfp_to_linkmodes()
198 linkmode_copy(txgbe->sfp_support, modes); in txgbe_sfp_to_linkmodes()
199 phy_interface_and(txgbe->sfp_interfaces, in txgbe_sfp_to_linkmodes()
245 struct txgbe *txgbe = wx->priv; in txgbe_setup_link() local
248 linkmode_zero(txgbe->sfp_support); in txgbe_setup_link()
351 int txgbe_phylink_init_aml(struct txgbe *txgbe) in txgbe_phylink_init_aml() argument
[all …]
A Dtxgbe_phy.h8 int txgbe_init_phy(struct txgbe *txgbe);
9 void txgbe_remove_phy(struct txgbe *txgbe);
A Dtxgbe_irq.h6 void txgbe_free_misc_irq(struct txgbe *txgbe);
7 int txgbe_setup_misc_irq(struct txgbe *txgbe);
A Dtxgbe_fdir.c575 struct txgbe *txgbe = wx->priv; in txgbe_fdir_filter_restore() local
580 spin_lock(&txgbe->fdir_perfect_lock); in txgbe_fdir_filter_restore()
582 if (!hlist_empty(&txgbe->fdir_filter_list)) in txgbe_fdir_filter_restore()
583 ret = txgbe_fdir_set_input_mask(wx, &txgbe->fdir_mask); in txgbe_fdir_filter_restore()
589 &txgbe->fdir_filter_list, fdir_node) { in txgbe_fdir_filter_restore()
615 spin_unlock(&txgbe->fdir_perfect_lock); in txgbe_fdir_filter_restore()
635 struct txgbe *txgbe = wx->priv; in txgbe_fdir_filter_exit() local
638 spin_lock(&txgbe->fdir_perfect_lock); in txgbe_fdir_filter_exit()
641 &txgbe->fdir_filter_list, fdir_node) { in txgbe_fdir_filter_exit()
645 txgbe->fdir_filter_count = 0; in txgbe_fdir_filter_exit()
[all …]
A Dtxgbe_main.c435 static void txgbe_init_fdir(struct txgbe *txgbe) in txgbe_init_fdir() argument
437 txgbe->fdir_filter_count = 0; in txgbe_init_fdir()
696 struct txgbe *txgbe; in txgbe_probe() local
879 txgbe = devm_kzalloc(&pdev->dev, sizeof(*txgbe), GFP_KERNEL); in txgbe_probe()
880 if (!txgbe) { in txgbe_probe()
885 txgbe->wx = wx; in txgbe_probe()
886 wx->priv = txgbe; in txgbe_probe()
888 txgbe_init_fdir(txgbe); in txgbe_probe()
919 txgbe_remove_phy(txgbe); in txgbe_probe()
949 struct txgbe *txgbe = wx->priv; in txgbe_remove() local
[all …]
A DMakefile7 obj-$(CONFIG_TXGBE) += txgbe.o
9 txgbe-objs := txgbe_main.o \
A Dtxgbe_aml.h13 int txgbe_phylink_init_aml(struct txgbe *txgbe);
A Dtxgbe_type.h431 struct txgbe { struct
/drivers/net/ethernet/wangxun/
A DMakefile7 obj-$(CONFIG_TXGBE) += txgbe/
A DKconfig62 <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
65 will be called txgbe.

Completed in 22 milliseconds