Lines Matching defs:HAS_CAP
69 #define HAS_CAP(_c, _x) (((_c) & (_x)) == (_x))
1675 if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SPI)) {
1692 if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SPI)) {
1699 if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_DUALIO)) {
1706 if (HAS_CAP(wrp->slave->caps, PWRAP_SLV_CAP_SECURITY)) {
1733 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_BRIDGE)) {
1750 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_INT1_EN)) {
2053 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_RESET)) {
2062 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_BRIDGE)) {
2102 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_DCM)) {
2132 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_WDT_SRC1))
2141 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_INT1_EN))