Searched refs:XP_GET_BITS (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-pci.c | 331 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()
|
H A D | xgbe-phy-v2.c | 2960 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() 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() 3145 XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_mdio_reset_setup() 3147 phy_data->mdio_reset_gpio = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_mdio_reset_setup() 3150 phy_data->mdio_reset_gpio = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_mdio_reset_setup() 3253 if (!XP_GET_BITS(pdata->pp0, XP_PROP_0, PORT_SPEEDS)) in xgbe_phy_port_enabled() [all …]
|
H A D | xgbe-drv.c | 417 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()
|
H A D | xgbe-common.h | 1676 #define XP_GET_BITS(_var, _prefix, _field) \ macro
|