Home
last modified time | relevance | path

Searched refs:status1 (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_trigger.c24 uint8_t status1; in adxl345_thread_cb() local
28 if (adxl345_get_status(dev, &status1, NULL) < 0) { in adxl345_thread_cb()
33 ADXL345_STATUS_DATA_RDY(status1)) { in adxl345_thread_cb()
93 uint8_t int_mask, int_en, status1; in adxl345_trigger_set() local
124 ret = adxl345_get_status(dev, &status1, NULL); in adxl345_trigger_set()
Dadxl345_stream.c159 hdr->int_status = data->status1; in adxl345_process_fifo_samples_cb()
241 uint8_t status1 = data->status1; in adxl345_process_status1_cb() local
271 && FIELD_GET(ADXL345_INT_MAP_WATERMARK_MSK, status1)) { in adxl345_process_status1_cb()
325 rx_data->int_status = status1; in adxl345_process_status1_cb()
373 rtio_sqe_prep_read(read_status_reg, data->iodev, RTIO_PRIO_NORM, &data->status1, 1, NULL); in adxl345_stream_irq_handler()
Dadxl345.c129 uint8_t *status1, in adxl345_get_status() argument
137 *status1 = buf[0]; in adxl345_get_status()
283 uint8_t axis_data[6], status1; in adxl345_read_sample() local
287 adxl345_get_status(dev, &status1, NULL); in adxl345_read_sample()
288 } while (!(ADXL345_STATUS_DATA_RDY(status1))); in adxl345_read_sample()
Dadxl345.h180 uint8_t status1; member
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_trigger.c24 uint8_t status1, status2; in adxl372_thread_cb() local
28 if (adxl372_get_status(dev, &status1, &status2, NULL) < 0) { in adxl372_thread_cb()
47 ADXL372_STATUS_1_DATA_RDY(status1)) { in adxl372_thread_cb()
108 uint8_t int_mask, int_en, status1, status2; in adxl372_trigger_set() local
145 ret = adxl372_get_status(dev, &status1, &status2, NULL); /* Clear status */ in adxl372_trigger_set()
Dadxl372_stream.c215 hdr->int_status = data->status1; in adxl372_process_fifo_samples_cb()
301 uint8_t status1 = data->status1; in adxl372_process_status1_cb() local
337 FIELD_GET(ADXL372_INT1_MAP_FIFO_FULL_MSK, status1)) { in adxl372_process_status1_cb()
394 rx_data->int_status = status1; in adxl372_process_status1_cb()
441 rtio_sqe_prep_read(read_status_reg, data->iodev, RTIO_PRIO_NORM, &data->status1, 1, NULL); in adxl372_stream_irq_handler()
Dadxl372.c390 uint8_t *status1, in adxl372_get_status() argument
417 *status1 = buf[0]; in adxl372_get_status()
526 uint8_t status1; in adxl372_get_accel_data() local
531 adxl372_get_status(dev, &status1, NULL, NULL); in adxl372_get_accel_data()
532 } while (!(ADXL372_STATUS_1_DATA_RDY(status1))); in adxl372_get_accel_data()
Dadxl372.h336 uint8_t status1; member
404 uint8_t *status1, uint8_t *status2, uint16_t *fifo_entries);
/Zephyr-latest/tests/net/lib/dns_resolve/src/
Dmain.c586 int status1; member
597 if (status != expected->status1 && status != expected->status2) { in dns_result_cb()
599 DBG("Expected status1 %d\n", expected->status1); in dns_result_cb()
612 .status1 = DNS_EAI_INPROGRESS, in ZTEST()
641 .status1 = DNS_EAI_INPROGRESS, in ZTEST()
668 int status1; member
679 if (status != expected->status1 && status != expected->status2) { in dns_result_numeric_cb()
681 DBG("Expected status1 %d\n", expected->status1); in dns_result_numeric_cb()
712 .status1 = DNS_EAI_INPROGRESS, in ZTEST()
740 .status1 = DNS_EAI_INPROGRESS, in ZTEST()
/Zephyr-latest/drivers/ethernet/
Deth_adin2111.c656 uint32_t status1; in adin2111_offload_thread() local
681 ret = eth_adin2111_reg_read(dev, ADIN2111_STATUS1, &status1); in adin2111_offload_thread()
692 if (is_adin2111 && (status1 & ADIN2111_STATUS1_PHYINT)) { in adin2111_offload_thread()
697 if (status1 & ADIN2111_STATUS1_P1_RX_RDY) { in adin2111_offload_thread()
703 if (is_adin2111 && (status1 & ADIN2111_STATUS1_P2_RX_RDY)) { in adin2111_offload_thread()
717 if (status1 & ADIN2111_STATUS1_P1_RX_RDY) { in adin2111_offload_thread()
725 &status1); in adin2111_offload_thread()
729 } while (!!(status1 & ADIN2111_STATUS1_P1_RX_RDY)); in adin2111_offload_thread()
733 if (is_adin2111 && (status1 & ADIN2111_STATUS1_P2_RX_RDY)) { in adin2111_offload_thread()
741 &status1); in adin2111_offload_thread()
[all …]