Lines Matching refs:HAS_CAP
77 #define HAS_CAP(_c, _x) (((_c) & (_x)) == (_x))
1408 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB))
1464 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB))
1475 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB))
1535 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) {
2079 if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SPI)) {
2096 if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SPI)) {
2103 if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_DUALIO)) {
2110 if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SECURITY)) {
2137 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_BRIDGE)) {
2154 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_INT1_EN)) {
2500 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_RESET)) {
2509 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_BRIDGE)) {
2569 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_DCM)) {
2586 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB))
2588 else if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB_MT8186))
2600 if (!HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB))
2608 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_WDT_SRC1))
2611 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB))
2621 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_INT1_EN))