Lines Matching refs:pos

282 	int32_t pos = 0;  in mcc_track_position_cb()  local
286 } else if ((!data) || (length != sizeof(pos))) { in mcc_track_position_cb()
290 pos = sys_get_le32((uint8_t *)data); in mcc_track_position_cb()
291 LOG_DBG("Track position: %d", pos); in mcc_track_position_cb()
292 LOG_HEXDUMP_DBG(data, sizeof(pos), "Track position"); in mcc_track_position_cb()
296 mcc_cb->read_track_position(conn, cb_err, pos); in mcc_track_position_cb()
319 int32_t pos = 0; in mcs_write_track_position_cb() local
324 } else if (!params->data || params->length != sizeof(pos)) { in mcs_write_track_position_cb()
328 pos = sys_get_le32((uint8_t *)params->data); in mcs_write_track_position_cb()
329 LOG_DBG("Track position: %d", pos); in mcs_write_track_position_cb()
330 LOG_HEXDUMP_DBG(params->data, sizeof(pos), "Track position in callback"); in mcs_write_track_position_cb()
334 mcc_cb->set_track_position(conn, cb_err, pos); in mcs_write_track_position_cb()
2380 int bt_mcc_set_track_position(struct bt_conn *conn, int32_t pos) in bt_mcc_set_track_position() argument
2406 (void)memcpy(mcs_inst->write_buf, &pos, sizeof(pos)); in bt_mcc_set_track_position()
2410 mcs_inst->write_params.length = sizeof(pos); in bt_mcc_set_track_position()
2414 LOG_HEXDUMP_DBG(mcs_inst->write_params.data, sizeof(pos), "Track position sent"); in bt_mcc_set_track_position()
3364 int32_t pos; member
3407 track_segs->segs[i].pos = (int32_t)net_buf_simple_pull_le32(&tmp_buf); in decode_track_segments()
3447 LOG_DBG("\t-Position\t:%d", track_segments.segs[i].pos); in on_track_segments_content()