Searched refs:eir (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/samples/bluetooth/handsfree_ag/src/ |
D | main.c | 221 const uint8_t *eir; in discovery_timeout_cb() local 224 size_t len = sizeof(results->eir); in discovery_timeout_cb() 242 eir = results[i].eir; in discovery_timeout_cb() 244 while ((eir[0] > 2) && (len > eir[0])) { in discovery_timeout_cb() 245 switch (eir[1]) { in discovery_timeout_cb() 248 memcpy(temp, &eir[2], eir[0] - 1); in discovery_timeout_cb() 249 temp[eir[0] - 1] = '\0'; /* Set end flag */ in discovery_timeout_cb() 253 len = len - eir[0] - 1; in discovery_timeout_cb() 254 eir = eir + eir[0] + 1; in discovery_timeout_cb()
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | br.c | 283 static bool eir_has_name(const uint8_t *eir) in eir_has_name() argument 293 if (!eir[0]) { in eir_has_name() 298 if (eir[0] > len - 1) { in eir_has_name() 302 switch (eir[1]) { in eir_has_name() 305 if (eir[0] > 1) { in eir_has_name() 314 len -= eir[0] + 1; in eir_has_name() 315 eir += eir[0] + 1; in eir_has_name() 339 if (eir_has_name(discovery_results[i].eir)) { in report_discovery_results() 462 (void)memset(result->eir, 0, sizeof(result->eir)); in bt_hci_inquiry_result_with_rssi() 496 memcpy(result->eir, evt->eir, sizeof(result->eir)); in bt_hci_extended_inquiry_result() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/shell/ |
D | bredr.c | 106 const uint8_t cod[3], const uint8_t eir[240]) in br_device_found() 120 if (!eir[0]) { in br_device_found() 125 if (eir[0] > len - 1) { in br_device_found() 129 switch (eir[1]) { in br_device_found() 132 if (eir[0] > sizeof(name) - 1) { in br_device_found() 133 memcpy(name, &eir[2], sizeof(name) - 1); in br_device_found() 135 memcpy(name, &eir[2], eir[0] - 1); in br_device_found() 143 len -= eir[0] + 1; in br_device_found() 144 eir += eir[0] + 1; in br_device_found() 163 results[i].cod, results[i].eir); in br_discovery_complete()
|
/Zephyr-latest/include/zephyr/bluetooth/classic/ |
D | classic.h | 69 uint8_t eir[240]; member
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_enc424j600.c | 451 uint16_t eir; in enc424j600_rx_thread() local 459 enc424j600_read_sfru(context->dev, ENC424J600_SFRX_EIRL, &eir); in enc424j600_rx_thread() 464 if (eir & ENC424J600_EIR_PKTIF) { in enc424j600_rx_thread() 474 } else if (eir & ENC424J600_EIR_LINKIF) { in enc424j600_rx_thread() 490 LOG_ERR("Unknown Interrupt, EIR: 0x%04x", eir); in enc424j600_rx_thread()
|
/Zephyr-latest/drivers/ethernet/nxp_enet/ |
D | eth_nxp_enet.c | 622 uint32_t eir = ENET_GetInterruptStatus(data->base); local 624 if (eir & (kENET_RxFrameInterrupt)) { 630 if (eir & kENET_TxFrameInterrupt) { 634 if (eir & ENET_EIR_MII_MASK) {
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci_types.h | 2984 uint8_t eir[240]; member
|