Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_irq.c84 static int txgbe_request_link_irq(struct txgbe *txgbe) in txgbe_request_link_irq() argument
86 txgbe->link_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_LINK); in txgbe_request_link_irq()
87 return request_threaded_irq(txgbe->link_irq, NULL, in txgbe_request_link_irq()
89 IRQF_ONESHOT, "txgbe-link-irq", txgbe); in txgbe_request_link_irq()
92 static int txgbe_request_gpio_irq(struct txgbe *txgbe) in txgbe_request_gpio_irq() argument
94 txgbe->gpio_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_GPIO); in txgbe_request_gpio_irq()
95 return request_threaded_irq(txgbe->gpio_irq, NULL, in txgbe_request_gpio_irq()
97 IRQF_ONESHOT, "txgbe-gpio-irq", txgbe); in txgbe_request_gpio_irq()
108 struct txgbe *txgbe = d->host_data; in txgbe_misc_irq_domain_map() local
110 irq_set_chip_data(irq, txgbe); in txgbe_misc_irq_domain_map()
[all …]
H A Dtxgbe_phy.c27 static int txgbe_swnodes_register(struct txgbe *txgbe) in txgbe_swnodes_register() argument
29 struct txgbe_nodes *nodes = &txgbe->nodes; in txgbe_swnodes_register()
30 struct pci_dev *pdev = txgbe->wx->pdev; in txgbe_swnodes_register()
126 static int txgbe_mdio_pcs_init(struct txgbe *txgbe) in txgbe_mdio_pcs_init() argument
134 wx = txgbe->wx; in txgbe_mdio_pcs_init()
158 txgbe->pcs = pcs; in txgbe_mdio_pcs_init()
167 struct txgbe *txgbe in txgbe_phylink_mac_select() local
268 txgbe_phylink_init(struct txgbe * txgbe) txgbe_phylink_init() argument
314 struct txgbe *txgbe = data; txgbe_link_irq_handler() local
381 txgbe_gpio_init(struct txgbe * txgbe) txgbe_gpio_init() argument
421 txgbe_clock_register(struct txgbe * txgbe) txgbe_clock_register() argument
473 txgbe_i2c_register(struct txgbe * txgbe) txgbe_i2c_register() argument
505 txgbe_sfp_register(struct txgbe * txgbe) txgbe_sfp_register() argument
524 txgbe_ext_phy_init(struct txgbe * txgbe) txgbe_ext_phy_init() argument
575 txgbe_init_phy(struct txgbe * txgbe) txgbe_init_phy() argument
651 txgbe_remove_phy(struct txgbe * txgbe) txgbe_remove_phy() argument
[all...]
H A Dtxgbe_aml.c39 struct txgbe *txgbe = data; in txgbe_gpio_irq_handler_aml() local
40 struct wx *wx = txgbe->wx; in txgbe_gpio_irq_handler_aml()
157 struct txgbe *txgbe = wx->priv; in txgbe_get_link_capabilities() local
159 if (test_bit(PHY_INTERFACE_MODE_XLGMII, txgbe->link_interfaces)) in txgbe_get_link_capabilities()
161 else if (test_bit(PHY_INTERFACE_MODE_25GBASER, txgbe->link_interfaces)) in txgbe_get_link_capabilities()
163 else if (test_bit(PHY_INTERFACE_MODE_10GBASER, txgbe->link_interfaces)) in txgbe_get_link_capabilities()
168 *autoneg = phylink_test(txgbe->advertising, Autoneg); in txgbe_get_link_capabilities()
208 struct txgbe *txgbe = wx->priv; in txgbe_sfp_to_linkmodes() local
211 txgbe->link_port = PORT_DA; in txgbe_sfp_to_linkmodes()
225 txgbe->link_port = PORT_DA; in txgbe_sfp_to_linkmodes()
[all …]
H A Dtxgbe_phy.h8 int txgbe_init_phy(struct txgbe *txgbe);
9 void txgbe_remove_phy(struct txgbe *txgbe);
H A Dtxgbe_irq.h6 void txgbe_free_misc_irq(struct txgbe *txgbe);
7 int txgbe_setup_misc_irq(struct txgbe *txgbe);
H 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 …]
H A Dtxgbe_main.c29 char txgbe_driver_name[] = "txgbe";
435 static void txgbe_init_fdir(struct txgbe *txgbe) in txgbe_init_fdir()
437 txgbe->fdir_filter_count = 0; in txgbe_init_fdir()
438 spin_lock_init(&txgbe->fdir_perfect_lock); in txgbe_init_fdir()
692 struct txgbe *txgbe; in txgbe_probe()
877 txgbe = devm_kzalloc(&pdev->dev, sizeof(*txgbe), GFP_KERNEL); in txgbe_probe()
878 if (!txgbe) { in txgbe_probe()
434 txgbe_init_fdir(struct txgbe * txgbe) txgbe_init_fdir() argument
695 struct txgbe *txgbe; txgbe_probe() local
950 struct txgbe *txgbe = wx->priv; txgbe_remove() local
[all...]
H A DMakefile7 obj-$(CONFIG_TXGBE) += txgbe.o
9 txgbe-objs := txgbe_main.o \
H A Dtxgbe_aml.h16 int txgbe_phylink_init_aml(struct txgbe *txgbe);
H A Dtxgbe_type.h456 struct txgbe { struct
/linux/drivers/net/ethernet/wangxun/
H A DMakefile7 obj-$(CONFIG_TXGBE) += txgbe/
H A DKconfig62 <file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
65 will be called txgbe.
/linux/Documentation/networking/device_drivers/ethernet/
H A Dindex.rst62 wangxun/txgbe