Lines Matching refs:cb_err

136 	int cb_err = err;  in vcp_vol_ctlr_read_vol_state_cb()  local
141 if (cb_err) { in vcp_vol_ctlr_read_vol_state_cb()
142 LOG_DBG("err: %d", cb_err); in vcp_vol_ctlr_read_vol_state_cb()
153 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vcp_vol_ctlr_read_vol_state_cb()
157 vcp_vol_ctlr_state_changed(vol_ctlr, cb_err); in vcp_vol_ctlr_read_vol_state_cb()
166 int cb_err = err; in vcp_vol_ctlr_read_vol_flag_cb() local
171 if (cb_err) { in vcp_vol_ctlr_read_vol_flag_cb()
172 LOG_DBG("err: %d", cb_err); in vcp_vol_ctlr_read_vol_flag_cb()
180 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vcp_vol_ctlr_read_vol_flag_cb()
184 vcp_vol_ctlr_vol_flags_changed(vol_ctlr, cb_err); in vcp_vol_ctlr_read_vol_flag_cb()
243 int cb_err = 0; in internal_read_vol_state_cb() local
252 cb_err = BT_ATT_ERR_UNLIKELY; in internal_read_vol_state_cb()
270 cb_err = BT_ATT_ERR_UNLIKELY; in internal_read_vol_state_cb()
275 cb_err = BT_ATT_ERR_UNLIKELY; in internal_read_vol_state_cb()
279 if (cb_err) { in internal_read_vol_state_cb()
282 vcs_cp_notify_app(vol_ctlr, opcode, cb_err); in internal_read_vol_state_cb()
293 int cb_err = err; in vcp_vol_ctlr_write_vcs_cp_cb() local
304 if (cb_err == BT_VCP_ERR_INVALID_COUNTER && in vcp_vol_ctlr_write_vcs_cp_cb()
306 cb_err = BT_ATT_ERR_UNLIKELY; in vcp_vol_ctlr_write_vcs_cp_cb()
313 cb_err = bt_gatt_read(conn, &vol_ctlr->read_params); in vcp_vol_ctlr_write_vcs_cp_cb()
314 if (cb_err) { in vcp_vol_ctlr_write_vcs_cp_cb()
315 LOG_WRN("Could not read Volume state: %d", cb_err); in vcp_vol_ctlr_write_vcs_cp_cb()