Home
last modified time | relevance | path

Searched refs:XP_GET_BITS (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-pci.c321 if (!XP_GET_BITS(ma_hi, XP_MAC_ADDR_HI, VALID) || in xgbe_pci_probe()
353 pdata->tx_max_channel_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
355 pdata->rx_max_channel_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
357 pdata->tx_max_q_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
359 pdata->rx_max_q_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
373 pdata->tx_max_fifo_size = XP_GET_BITS(pdata->pp2, XP_PROP_2, in xgbe_pci_probe()
378 pdata->rx_max_fifo_size = XP_GET_BITS(pdata->pp2, XP_PROP_2, in xgbe_pci_probe()
Dxgbe-phy-v2.c2586 XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2589 phy_data->sfp_gpio_mask = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2592 phy_data->sfp_gpio_rx_los = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2594 phy_data->sfp_gpio_tx_fault = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2596 phy_data->sfp_gpio_mod_absent = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2598 phy_data->sfp_gpio_rate_select = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2622 mux_addr_hi = XP_GET_BITS(pdata->pp4, XP_PROP_4, MUX_ADDR_HI); in xgbe_phy_sfp_comm_setup()
2623 mux_addr_lo = XP_GET_BITS(pdata->pp4, XP_PROP_4, MUX_ADDR_LO); in xgbe_phy_sfp_comm_setup()
2629 phy_data->sfp_mux_channel = XP_GET_BITS(pdata->pp4, XP_PROP_4, in xgbe_phy_sfp_comm_setup()
2757 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup()
[all …]
Dxgbe-drv.c418 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_DED)) { in xgbe_ecc_isr_task()
423 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_DED)) { in xgbe_ecc_isr_task()
428 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_DED)) { in xgbe_ecc_isr_task()
440 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_SEC)) { in xgbe_ecc_isr_task()
446 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_SEC)) in xgbe_ecc_isr_task()
451 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_SEC)) in xgbe_ecc_isr_task()
Dxgbe-common.h1616 #define XP_GET_BITS(_var, _prefix, _field) \ macro