Home
last modified time | relevance | path

Searched refs:eir (Results 1 – 5 of 5) sorted by relevance

/net/bluetooth/
Dhci_request.h121 static inline u16 eir_append_data(u8 *eir, u16 eir_len, u8 type, in eir_append_data() argument
124 eir[eir_len++] = sizeof(type) + data_len; in eir_append_data()
125 eir[eir_len++] = type; in eir_append_data()
126 memcpy(&eir[eir_len], data, data_len); in eir_append_data()
132 static inline u16 eir_append_le16(u8 *eir, u16 eir_len, u8 type, u16 data) in eir_append_le16() argument
134 eir[eir_len++] = sizeof(type) + sizeof(data); in eir_append_le16()
135 eir[eir_len++] = type; in eir_append_le16()
136 put_unaligned_le16(data, &eir[eir_len]); in eir_append_le16()
Dmgmt.c1000 static u16 append_eir_data_to_buf(struct hci_dev *hdev, u8 *eir) in append_eir_data_to_buf() argument
1006 eir_len = eir_append_data(eir, eir_len, EIR_CLASS_OF_DEV, in append_eir_data_to_buf()
1010 eir_len = eir_append_le16(eir, eir_len, EIR_APPEARANCE, in append_eir_data_to_buf()
1014 eir_len = eir_append_data(eir, eir_len, EIR_NAME_COMPLETE, in append_eir_data_to_buf()
1018 eir_len = eir_append_data(eir, eir_len, EIR_NAME_SHORT, in append_eir_data_to_buf()
1046 eir_len = append_eir_data_to_buf(hdev, rp->eir); in read_ext_controller_info()
1072 eir_len = append_eir_data_to_buf(hdev, ev->eir); in ext_info_changed()
6098 eir_len = eir_append_data(mgmt_rp->eir, 0, EIR_CLASS_OF_DEV, in read_local_oob_ext_data_complete()
6102 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
6104 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
[all …]
Dhci_core.c459 memset(hdev->eir, 0, sizeof(hdev->eir)); in hci_init2_req()
1792 memset(hdev->eir, 0, sizeof(hdev->eir)); in hci_dev_do_close()
Dhci_request.c649 if (memcmp(cp.data, hdev->eir, sizeof(cp.data)) == 0) in __hci_req_update_eir()
652 memcpy(hdev->eir, cp.data, sizeof(cp.data)); in __hci_req_update_eir()
Dhci_event.c4308 static inline size_t eir_get_length(u8 *eir, size_t eir_len) in eir_get_length() argument
4313 u8 field_len = eir[0]; in eir_get_length()
4319 eir += field_len + 1; in eir_get_length()