Lines Matching refs:location
116 notify(inst, NOTIFY_LOCATION, BT_UUID_VOCS_LOCATION, &inst->location, in notify_work_handler()
117 sizeof(inst->location)); in notify_work_handler()
144 if (len != sizeof(inst->location)) { in write_location()
155 if (new_location != inst->location) { in write_location()
156 inst->location = new_location; in write_location()
160 if (inst->cb && inst->cb->location) { in write_location()
161 inst->cb->location(&inst->vocs, 0, inst->location); in write_location()
174 LOG_DBG("0x%08x", inst->location); in read_location()
175 return bt_gatt_attr_read(conn, attr, buf, len, offset, &inst->location, in read_location()
176 sizeof(inst->location)); in read_location()
422 inst->location = param->location; in bt_vocs_register()
509 if (srv->cb && srv->cb->location) { in bt_vocs_location_get()
510 srv->cb->location(inst, 0, srv->location); in bt_vocs_location_get()
518 int bt_vocs_location_set(struct bt_vocs *inst, uint32_t location) in bt_vocs_location_set() argument
528 return bt_vocs_client_location_set(cli, location); in bt_vocs_location_set()
532 return vocs_write(srv, write_location, &location, sizeof(location)); in bt_vocs_location_set()