12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /*
- * Copyright (c) 2020 The Linux Foundation. All rights reserved.
- *
- * Permission to use, copy, modify, and/or distribute this software for
- * any purpose with or without fee is hereby granted, provided that the
- * above copyright notice and this permission notice appear in all
- * copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
- * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
- * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
- * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
- * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
- /**
- * DOC: This file contains centralized cfg definitions of CFR component
- */
- #ifndef __CFR_CONFIG_H
- #define __CFR_CONFIG_H
- /*
- * <ini>
- * cfr_disable - Bitmap denoting the PDEVs for which CFR needs to be
- * disabled
- * @Min: 0
- * @Max: Bitmap with no. of set bits equal to total no. of PDEVs in the SOC
- * @Default: 0
- *
- * This ini is used to disable CFR feature for PDEV.
- *
- * Related: None
- *
- * Supported Feature: CFR
- *
- * Usage: External
- *
- * </ini>
- */
- #define CFG_CFR_DISABLE\
- CFG_INI_UINT("cfr_disable", \
- 0, \
- 0x7, \
- 0, \
- CFG_VALUE_OR_DEFAULT, \
- "cfr disable bitmap")
- #define CFG_CFR_ALL \
- CFG(CFG_CFR_DISABLE)
- #endif /* __CFR_CONFIG_H */
|