Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 9 of 9) sorted by relevance

/net/bluetooth/
Deir.c54 u8 eir_append_service_data(u8 *eir, u16 eir_len, u16 uuid, u8 *data, in eir_append_service_data() argument
57 eir[eir_len++] = sizeof(u8) + sizeof(uuid) + data_len; in eir_append_service_data()
59 put_unaligned_le16(uuid, &eir[eir_len]); in eir_append_service_data()
60 eir_len += sizeof(uuid); in eir_append_service_data()
70 struct bt_uuid *uuid; in create_uuid16_list() local
75 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid16_list()
78 if (uuid->size != 16) in create_uuid16_list()
81 uuid16 = get_unaligned_le16(&uuid->uuid[12]); in create_uuid16_list()
112 struct bt_uuid *uuid; in create_uuid32_list() local
117 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid32_list()
[all …]
Deir.h18 u8 eir_append_service_data(u8 *eir, u16 eir_len, u16 uuid, u8 *data,
99 void *eir_get_service_data(u8 *eir, size_t eir_len, u16 uuid, size_t *len);
Dmgmt.c2535 static u8 get_uuid_size(const u8 *uuid) in get_uuid_size() argument
2539 if (memcmp(uuid, bluetooth_base_uuid, 12)) in get_uuid_size()
2542 val = get_unaligned_le32(&uuid[12]); in get_uuid_size()
2576 struct bt_uuid *uuid; in add_uuid() local
2589 uuid = kmalloc(sizeof(*uuid), GFP_KERNEL); in add_uuid()
2590 if (!uuid) { in add_uuid()
2595 memcpy(uuid->uuid, cp->uuid, 16); in add_uuid()
2596 uuid->svc_hint = cp->svc_hint; in add_uuid()
2597 uuid->size = get_uuid_size(cp->uuid); in add_uuid()
2599 list_add_tail(&uuid->list, &hdev->uuids); in add_uuid()
[all …]
Dhci_debugfs.c176 struct bt_uuid *uuid; in uuids_show() local
179 list_for_each_entry(uuid, &hdev->uuids, list) { in uuids_show()
187 val[i] = uuid->uuid[15 - i]; in uuids_show()
Dhci_core.c1021 struct bt_uuid *uuid, *tmp; in hci_uuids_clear() local
1023 list_for_each_entry_safe(uuid, tmp, &hdev->uuids, list) { in hci_uuids_clear()
1024 list_del(&uuid->list); in hci_uuids_clear()
1025 kfree(uuid); in hci_uuids_clear()
Dhci_sync.c793 struct bt_uuid *uuid; in get_service_classes() local
796 list_for_each_entry(uuid, &hdev->uuids, list) in get_service_classes()
797 val |= uuid->svc_hint; in get_service_classes()
/net/ncsi/
Dncsi-pkt.h337 unsigned char uuid[16]; /* UUID */ member
Dinternal.h247 unsigned char uuid[16]; /* UUID */ member
Dncsi-rsp.c1066 memcpy(np->uuid, rsp->uuid, sizeof(rsp->uuid)); in ncsi_rsp_handler_gpuuid()