Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/xgbe/
Dxgbe-pci.c331 if (!XP_GET_BITS(ma_hi, XP_MAC_ADDR_HI, VALID) || in xgbe_pci_probe()
363 pdata->tx_max_channel_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
365 pdata->rx_max_channel_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
367 pdata->tx_max_q_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
369 pdata->rx_max_q_count = XP_GET_BITS(pdata->pp1, XP_PROP_1, in xgbe_pci_probe()
383 pdata->tx_max_fifo_size = XP_GET_BITS(pdata->pp2, XP_PROP_2, in xgbe_pci_probe()
388 pdata->rx_max_fifo_size = XP_GET_BITS(pdata->pp2, XP_PROP_2, in xgbe_pci_probe()
Dxgbe-phy-v2.c2960 XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2963 phy_data->sfp_gpio_mask = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2966 phy_data->sfp_gpio_rx_los = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2968 phy_data->sfp_gpio_tx_fault = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2970 phy_data->sfp_gpio_mod_absent = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2972 phy_data->sfp_gpio_rate_select = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup()
2996 mux_addr_hi = XP_GET_BITS(pdata->pp4, XP_PROP_4, MUX_ADDR_HI); in xgbe_phy_sfp_comm_setup()
2997 mux_addr_lo = XP_GET_BITS(pdata->pp4, XP_PROP_4, MUX_ADDR_LO); in xgbe_phy_sfp_comm_setup()
3003 phy_data->sfp_mux_channel = XP_GET_BITS(pdata->pp4, XP_PROP_4, in xgbe_phy_sfp_comm_setup()
3131 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup()
[all …]
Dxgbe-drv.c417 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_DED)) { in xgbe_ecc_isr_task()
422 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_DED)) { in xgbe_ecc_isr_task()
427 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_DED)) { in xgbe_ecc_isr_task()
439 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_SEC)) { in xgbe_ecc_isr_task()
445 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_SEC)) in xgbe_ecc_isr_task()
450 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_SEC)) in xgbe_ecc_isr_task()
Dxgbe-common.h1676 #define XP_GET_BITS(_var, _prefix, _field) \ macro