Searched refs:XP_GET_BITS (Results 1 – 4 of 4) sorted by relevance
/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 | 2945 XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup() 2948 phy_data->sfp_gpio_mask = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup() 2951 phy_data->sfp_gpio_rx_los = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup() 2953 phy_data->sfp_gpio_tx_fault = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup() 2955 phy_data->sfp_gpio_mod_absent = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup() 2957 phy_data->sfp_gpio_rate_select = XP_GET_BITS(pdata->pp3, XP_PROP_3, in xgbe_phy_sfp_gpio_setup() 2981 mux_addr_hi = XP_GET_BITS(pdata->pp4, XP_PROP_4, MUX_ADDR_HI); in xgbe_phy_sfp_comm_setup() 2982 mux_addr_lo = XP_GET_BITS(pdata->pp4, XP_PROP_4, MUX_ADDR_LO); in xgbe_phy_sfp_comm_setup() 2988 phy_data->sfp_mux_channel = XP_GET_BITS(pdata->pp4, XP_PROP_4, in xgbe_phy_sfp_comm_setup() 3116 phy_data->mdio_reset = XP_GET_BITS(pdata->pp3, XP_PROP_3, MDIO_RESET); in xgbe_phy_mdio_reset_setup() [all …]
|
H A D | xgbe-drv.c | 417 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_DED)) { in xgbe_ecc_isr_bh_work() 422 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_DED)) { in xgbe_ecc_isr_bh_work() 427 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_DED)) { in xgbe_ecc_isr_bh_work() 439 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_SEC)) { in xgbe_ecc_isr_bh_work() 445 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_SEC)) in xgbe_ecc_isr_bh_work() 450 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_SEC)) in xgbe_ecc_isr_bh_work()
|
H A D | xgbe-common.h | 1676 #define XP_GET_BITS(_var, _prefix, _field) \ macro
|