Lines Matching defs:hp_flags
415 /* Host private flags (hp_flags) */
438 #define IS_GEN_I(hpriv) ((hpriv)->hp_flags & MV_HP_GEN_I)
439 #define IS_GEN_II(hpriv) ((hpriv)->hp_flags & MV_HP_GEN_II)
440 #define IS_GEN_IIE(hpriv) ((hpriv)->hp_flags & MV_HP_GEN_IIE)
441 #define IS_PCIE(hpriv) ((hpriv)->hp_flags & MV_HP_PCIE)
442 #define IS_SOC(hpriv) ((hpriv)->hp_flags & MV_HP_FLAG_SOC)
538 u32 hp_flags;
1380 if (hpriv->hp_flags & MV_HP_FIX_LP_PHY_CTL) {
1567 if (hpriv->hp_flags & MV_HP_QUIRK_LED_BLINK_EN)
1569 hpriv->hp_flags |= MV_HP_QUIRK_LED_BLINK_EN;
1583 if (!(hpriv->hp_flags & MV_HP_QUIRK_LED_BLINK_EN))
1595 hpriv->hp_flags &= ~MV_HP_QUIRK_LED_BLINK_EN;
1645 if (hpriv->hp_flags & MV_HP_CUT_THROUGH)
1726 if (hpriv->hp_flags & MV_HP_ERRATA_60X1C0)
3007 int using_msi = hpriv->hp_flags & MV_HP_FLAG_MSI;
3135 int fix_apm_sq = (hpriv->hp_flags & MV_HP_ERRATA_50XXB0);
3346 u32 hp_flags = hpriv->hp_flags;
3348 hp_flags & (MV_HP_ERRATA_60X1B2 | MV_HP_ERRATA_60X1C0);
3350 hp_flags & (MV_HP_ERRATA_60X1B2 | MV_HP_ERRATA_60X1C0);
3773 u32 hp_flags = hpriv->hp_flags;
3778 hp_flags |= MV_HP_GEN_I;
3782 hp_flags |= MV_HP_ERRATA_50XXB0;
3785 hp_flags |= MV_HP_ERRATA_50XXB2;
3790 hp_flags |= MV_HP_ERRATA_50XXB2;
3798 hp_flags |= MV_HP_GEN_I;
3802 hp_flags |= MV_HP_ERRATA_50XXB0;
3805 hp_flags |= MV_HP_ERRATA_50XXB2;
3810 hp_flags |= MV_HP_ERRATA_50XXB2;
3818 hp_flags |= MV_HP_GEN_II;
3823 hp_flags |= MV_HP_ERRATA_60X1B2;
3826 hp_flags |= MV_HP_ERRATA_60X1C0;
3831 hp_flags |= MV_HP_ERRATA_60X1B2;
3837 hp_flags |= MV_HP_PCIE | MV_HP_CUT_THROUGH;
3870 hp_flags |= MV_HP_GEN_IIE;
3872 hp_flags |= MV_HP_CUT_THROUGH;
3876 hp_flags |= MV_HP_ERRATA_60X1C0;
3881 hp_flags |= MV_HP_ERRATA_60X1C0;
3890 hp_flags |= MV_HP_FLAG_SOC | MV_HP_GEN_IIE |
3899 hpriv->hp_flags = hp_flags;
3900 if (hp_flags & MV_HP_PCIE) {
4181 hpriv->hp_flags |= MV_HP_FIX_LP_PHY_CTL;
4361 scc_s, (MV_HP_FLAG_MSI & hpriv->hp_flags) ? "MSI" : "INTx");
4433 hpriv->hp_flags |= MV_HP_FLAG_MSI;