Searched refs:fifo_bytes (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367_stream.c | 203 uint16_t fifo_bytes = 0; in adxl367_process_fifo_samples_cb() local 207 fifo_bytes = fifo_packet_cnt; in adxl367_process_fifo_samples_cb() 213 fifo_bytes = fifo_bits / 8; in adxl367_process_fifo_samples_cb() 225 fifo_bytes = fifo_bits / 8; in adxl367_process_fifo_samples_cb() 227 LOG_ERR("fifo_bytes error: %d", fifo_bytes); in adxl367_process_fifo_samples_cb() 240 fifo_bytes = fifo_packet_cnt * 2; in adxl367_process_fifo_samples_cb() 255 const size_t ideal_read_size = sizeof(struct adxl367_fifo_data) + fifo_bytes; in adxl367_process_fifo_samples_cb() 330 uint32_t read_len = MIN(fifo_bytes, buf_avail); in adxl367_process_fifo_samples_cb()
|
/Zephyr-latest/drivers/sensor/adi/adxl345/ |
D | adxl345_stream.c | 128 uint16_t fifo_bytes = fifo_samples * SAMPLE_SIZE; in adxl345_process_fifo_samples_cb() local 140 const size_t ideal_read_size = sizeof(struct adxl345_fifo_data) + fifo_bytes; in adxl345_process_fifo_samples_cb() 169 uint32_t read_len = MIN(fifo_bytes, buf_avail); in adxl345_process_fifo_samples_cb() 171 if (buf_avail < fifo_bytes) { in adxl345_process_fifo_samples_cb()
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_smartbond.c | 547 int fifo_bytes; in handle_ep0_rx() local 552 fifo_bytes = GET_BIT(rxs0, USB_USB_RXS0_REG_USB_RCOUNT); in handle_ep0_rx() 581 read_rx_fifo(ep0_out_state, fifo_bytes); in handle_ep0_rx() 635 int fifo_bytes; in handle_epx_rx_ev() local 680 fifo_bytes = GET_BIT(rxs, USB_USB_RXS1_REG_USB_RXCOUNT); in handle_epx_rx_ev() 686 if (fifo_bytes > 0) { in handle_epx_rx_ev() 687 fifo_bytes = read_rx_fifo(ep_state, fifo_bytes); in handle_epx_rx_ev() 705 } while (fifo_bytes > FIFO_READ_THRESHOLD); in handle_epx_rx_ev()
|
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | adxl362_stream.c | 160 uint16_t fifo_bytes = fifo_samples * 2 /*sample size*/; in adxl362_process_fifo_samples_cb() local 172 const size_t ideal_read_size = sizeof(struct adxl362_fifo_data) + fifo_bytes; in adxl362_process_fifo_samples_cb() 199 uint32_t read_len = MIN(fifo_bytes, buf_avail); in adxl362_process_fifo_samples_cb()
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372_stream.c | 183 uint16_t fifo_bytes = fifo_samples * 2 /*sample size*/; in adxl372_process_fifo_samples_cb() local 195 const size_t ideal_read_size = sizeof(struct adxl372_fifo_data) + fifo_bytes; in adxl372_process_fifo_samples_cb() 244 uint32_t read_len = MIN(fifo_bytes, buf_avail); in adxl372_process_fifo_samples_cb()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_smartbond.c | 477 int fifo_bytes; in handle_ep0_rx() local 485 fifo_bytes = GET_BIT(rxs0, USB_USB_RXS0_REG_USB_RCOUNT); in handle_ep0_rx() 514 fifo_bytes); in handle_ep0_rx() 917 int fifo_bytes; in handle_epx_rx_ev() local 966 fifo_bytes = GET_BIT(rxs, USB_USB_RXS1_REG_USB_RXCOUNT); in handle_epx_rx_ev() 972 if (fifo_bytes > 0) { in handle_epx_rx_ev() 973 fifo_bytes = read_rx_fifo(ep_state, in handle_epx_rx_ev() 975 fifo_bytes); in handle_epx_rx_ev() 1007 } while (fifo_bytes > config->fifo_read_threshold); in handle_epx_rx_ev()
|