Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-pci.c204 XP_GET_BITS(reg, XP_PROP_0, PORT_ID); in xgbe_pci_probe()
249 if (!XP_GET_BITS(ma_hi, XP_MAC_ADDR_HI, VALID) || in xgbe_pci_probe()
281 pdata->tx_max_channel_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
283 pdata->rx_max_channel_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
285 pdata->tx_max_q_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
287 pdata->rx_max_q_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
301 pdata->tx_max_fifo_size = XP_GET_BITS(pdata->pp2, XP_PROP_2, in xgbe_pci_probe()
306 pdata->rx_max_fifo_size = XP_GET_BITS(pdata->pp2, XP_PROP_2, in xgbe_pci_probe()
H A Dxgbe-phy-v2.c2913 XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2916 phy_data->sfp_gpio_mask = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2919 phy_data->sfp_gpio_rx_los = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2921 phy_data->sfp_gpio_tx_fault = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2923 phy_data->sfp_gpio_mod_absent = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2925 phy_data->sfp_gpio_rate_select = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2949 mux_addr_hi = XP_GET_BITS(pdata->pp4, XP_PROP_4, MUX_ADDR_HI); in xgbe_phy_sfp_comm_setup()
2950 mux_addr_lo = XP_GET_BITS(pdata->pp4, XP_PROP_4, MUX_ADDR_LO); in xgbe_phy_sfp_comm_setup()
2956 phy_data->sfp_mux_channel = XP_GET_BITS(pdata->pp4, XP_PROP_4, in xgbe_phy_sfp_comm_setup()
3084 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup()
[all …]
H A Dxgbe-drv.c308 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_DED)) { in xgbe_ecc_isr_bh_work()
313 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_DED)) { in xgbe_ecc_isr_bh_work()
318 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_DED)) { in xgbe_ecc_isr_bh_work()
330 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_SEC)) { in xgbe_ecc_isr_bh_work()
336 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_SEC)) in xgbe_ecc_isr_bh_work()
341 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_SEC)) in xgbe_ecc_isr_bh_work()
H A Dxgbe-common.h1613 #define XP_GET_BITS(_var, _prefix, _field) \ macro