Home
last modified time | relevance | path

Searched refs:txgbe (Results 1 – 8 of 8) 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_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()
159 struct txgbe *txgbe = wx->priv; in txgbe_get_link_capabilities() local
161 if (test_bit(PHY_INTERFACE_MODE_XLGMII, txgbe->link_interfaces)) in txgbe_get_link_capabilities()
163 else if (test_bit(PHY_INTERFACE_MODE_25GBASER, txgbe->link_interfaces)) in txgbe_get_link_capabilities()
165 else if (test_bit(PHY_INTERFACE_MODE_10GBASER, txgbe->link_interfaces)) in txgbe_get_link_capabilities()
170 *autoneg = phylink_test(txgbe->advertising, Autoneg); in txgbe_get_link_capabilities()
206 struct txgbe *txgbe = wx->priv; in txgbe_sfp_to_linkmodes() local
209 txgbe->link_port = PORT_DA; in txgbe_sfp_to_linkmodes()
223 txgbe->link_port = PORT_DA; in txgbe_sfp_to_linkmodes()
[all …]
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_main.c469 static void txgbe_init_fdir(struct txgbe *txgbe) in txgbe_init_fdir() argument
471 txgbe->fdir_filter_count = 0; in txgbe_init_fdir()
472 spin_lock_init(&txgbe->fdir_perfect_lock); in txgbe_init_fdir()
732 struct txgbe *txgbe; in txgbe_probe() local
921 txgbe = devm_kzalloc(&pdev->dev, sizeof(*txgbe), GFP_KERNEL); in txgbe_probe()
922 if (!txgbe) { in txgbe_probe()
927 txgbe->wx = wx; in txgbe_probe()
928 wx->priv = txgbe; in txgbe_probe()
930 txgbe_init_fdir(txgbe); in txgbe_probe()
932 err = txgbe_init_phy(txgbe); in txgbe_probe()
[all …]
H A Dtxgbe_type.h459 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.rst61 wangxun/txgbe