Lines Matching refs:sync
911 int bt_has_client_preset_set(struct bt_has *has, uint8_t index, bool sync)
926 if (sync && (inst->has.features & BT_HAS_FEAT_PRESET_SYNC_SUPP) == 0) {
935 opcode = sync ? BT_HAS_OP_SET_ACTIVE_PRESET_SYNC : BT_HAS_OP_SET_ACTIVE_PRESET;
940 int bt_has_client_preset_next(struct bt_has *has, bool sync)
945 LOG_DBG("conn %p sync %d", (void *)inst->conn, sync);
951 if (sync && (inst->has.features & BT_HAS_FEAT_PRESET_SYNC_SUPP) == 0) {
960 opcode = sync ? BT_HAS_OP_SET_NEXT_PRESET_SYNC : BT_HAS_OP_SET_NEXT_PRESET;
965 int bt_has_client_preset_prev(struct bt_has *has, bool sync)
970 LOG_DBG("conn %p sync %d", (void *)inst->conn, sync);
976 if (sync && (inst->has.features & BT_HAS_FEAT_PRESET_SYNC_SUPP) == 0) {
985 opcode = sync ? BT_HAS_OP_SET_PREV_PRESET_SYNC : BT_HAS_OP_SET_PREV_PRESET;