Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_decoder.c89 uint32_t *fit, uint16_t max_count, void *data_out) in adxl345_decode_stream() argument
119 while (count < max_count && buffer < buffer_end) { in adxl345_decode_stream()
209 uint16_t max_count, void *data_out) in adxl345_decode_sample() argument
233 uint32_t *fit, uint16_t max_count, void *data_out) in adxl345_decoder_decode() argument
239 return adxl345_decode_stream(buffer, chan_spec, fit, max_count, data_out); in adxl345_decoder_decode()
243 return adxl345_decode_sample(data, chan_spec, fit, max_count, data_out); in adxl345_decoder_decode()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_decoder.c36 uint32_t *fit, uint16_t max_count, void *data_out) in adxl372_decode_stream() argument
65 while (count < max_count && buffer < buffer_end) { in adxl372_decode_stream()
223 uint16_t max_count, void *data_out) in adxl372_decode_sample() argument
256 uint32_t *fit, uint16_t max_count, void *data_out) in adxl372_decoder_decode() argument
262 return adxl372_decode_stream(buffer, chan_spec, fit, max_count, data_out); in adxl372_decoder_decode()
266 return adxl372_decode_sample(data, chan_spec, fit, max_count, data_out); in adxl372_decoder_decode()
/Zephyr-latest/drivers/watchdog/
Dwdt_wwdgt_gd32.c84 uint32_t max_count = gd32_wwdgt_calc_ticks(dev, win->max, shift); in gd32_wwdgt_calc_window() local
86 if (max_count <= WWDGT_COUNTER_MAX) { in gd32_wwdgt_calc_window()
87 *counter = max_count; in gd32_wwdgt_calc_window()
90 *wval = max_count; in gd32_wwdgt_calc_window()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_decoder.c68 uint32_t *fit, uint16_t max_count, void *data_out) in adxl362_decode_stream() argument
96 while (count < max_count && buffer < buffer_end) { in adxl362_decode_stream()
286 struct sensor_chan_spec chan_spec, uint32_t *fit, uint16_t max_count, void *data_out) in adxl362_decode_sample() argument
322 uint32_t *fit, uint16_t max_count, void *data_out) in adxl362_decoder_decode() argument
328 return adxl362_decode_stream(buffer, chan_spec, fit, max_count, data_out); in adxl362_decoder_decode()
332 return adxl362_decode_sample(data, chan_spec, fit, max_count, data_out); in adxl362_decoder_decode()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_decoder.c421 uint32_t *fit, uint16_t max_count, void *data_out, in adxl367_decode_12b_stream() argument
432 while (count < max_count && buffer < buffer_end) { in adxl367_decode_12b_stream()
504 uint32_t *fit, uint16_t max_count, void *data_out) in adxl367_decode_stream() argument
527 count = adxl367_decode_12b_stream(buffer, chan_spec, fit, max_count, in adxl367_decode_stream()
535 while (count < max_count && buffer < buffer_end) { in adxl367_decode_stream()
686 struct sensor_chan_spec chan_spec, uint32_t *fit, uint16_t max_count, void *data_out) in adxl367_decode_sample() argument
722 uint32_t *fit, uint16_t max_count, void *data_out) in adxl367_decoder_decode() argument
728 return adxl367_decode_stream(buffer, chan_spec, fit, max_count, data_out); in adxl367_decoder_decode()
732 return adxl367_decode_sample(data, chan_spec, fit, max_count, data_out); in adxl367_decoder_decode()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dsemaphore.c24 osSemaphoreId_t osSemaphoreNew(uint32_t max_count, uint32_t initial_count, in osSemaphoreNew() argument
44 k_sem_init(&semaphore->z_semaphore, initial_count, max_count); in osSemaphoreNew()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_decoder.c256 uint32_t *fit, uint16_t max_count, void *data_out) in lsm6dsv16x_decode_fifo() argument
308 while (count < max_count && buffer < buffer_end) { in lsm6dsv16x_decode_fifo()
547 uint32_t *fit, uint16_t max_count, void *data_out) in lsm6dsv16x_decode_sample() argument
555 if (max_count == 0 || chan_spec.chan_idx != 0) { in lsm6dsv16x_decode_sample()
635 uint32_t *fit, uint16_t max_count, void *data_out) in lsm6dsv16x_decoder_decode() argument
642 return lsm6dsv16x_decode_fifo(buffer, chan_spec, fit, max_count, data_out); in lsm6dsv16x_decoder_decode()
646 return lsm6dsv16x_decode_sample(buffer, chan_spec, fit, max_count, data_out); in lsm6dsv16x_decoder_decode()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_decoder.c349 uint32_t *fit, uint16_t max_count, void *data_out) in icm42688_fifo_decode() argument
365 while (count < max_count && buffer < buffer_end) { in icm42688_fifo_decode()
454 uint32_t *fit, uint16_t max_count, void *data_out) in icm42688_one_shot_decode() argument
468 if (max_count == 0 || chan_spec.chan_idx != 0) { in icm42688_one_shot_decode()
572 uint32_t *fit, uint16_t max_count, void *data_out) in icm42688_decoder_decode() argument
578 return icm42688_fifo_decode(buffer, chan_spec, fit, max_count, data_out); in icm42688_decoder_decode()
580 return icm42688_one_shot_decode(buffer, chan_spec, fit, max_count, data_out); in icm42688_decoder_decode()
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_decoder.c54 uint32_t *fit, uint16_t max_count, void *data_out) in akm09918c_decoder_decode() argument
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx.c588 uint32_t *fit, uint16_t max_count, void *data_out) in bma4xx_one_shot_decode() argument
597 if (max_count == 0 || ch.chan_idx != 0) { in bma4xx_one_shot_decode()
655 uint32_t *fit, uint16_t max_count, in bma4xx_decoder_decode() argument
665 return bma4xx_one_shot_decode(buffer, ch, fit, max_count, data_out); in bma4xx_decoder_decode()
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280_decoder.c57 uint32_t *fit, uint16_t max_count, void *data_out) in bme280_decoder_decode() argument
/Zephyr-latest/drivers/sensor/ams/tsl2591/
Dtsl2591.c121 uint16_t max_count = data->atime == 100 ? TSL2591_MAX_ADC_100 : TSL2591_MAX_ADC; in tsl2591_sample_fetch() local
123 (data->vis_count >= max_count); in tsl2591_sample_fetch()
125 (data->ir_count >= max_count); in tsl2591_sample_fetch()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dhas.h268 int bt_has_client_presets_read(struct bt_has *has, uint8_t index, uint8_t max_count);
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Ddfu_cli.h351 uint8_t max_count);
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/
Dmmc56x3_decoder.c68 uint32_t *fit, uint16_t max_count, void *data_out) in mmc56x3_decoder_decode() argument
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h526 uint16_t max_count, void *data_out);
588 static inline int sensor_decode(struct sensor_decode_context *ctx, void *out, uint16_t max_count) in sensor_decode() argument
590 return ctx->decoder->decode(ctx->buffer, ctx->channel, &ctx->fit, max_count, out); in sensor_decode()
/Zephyr-latest/drivers/sensor/
Ddefault_rtio_sensor.c466 uint32_t *fit, uint16_t max_count, void *data_out) in decode() argument
473 if (*fit != 0 || max_count < 1) { in decode()
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_cli.c327 uint8_t idx, uint8_t max_count, in info_get() argument
333 net_buf_simple_add_u8(&buf, max_count); in info_get()
1173 uint8_t max_count) in bt_mesh_dfu_cli_imgs_get() argument
1189 cli->req.img_cnt = max_count; in bt_mesh_dfu_cli_imgs_get()
/Zephyr-latest/include/zephyr/portability/
Dcmsis_os2.h607 osSemaphoreId_t osSemaphoreNew(uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t …
/Zephyr-latest/drivers/spi/
Dspi_xec_qmspi_ldma.c118 static int xec_qmspi_spin_yield(int *counter, int max_count) in xec_qmspi_spin_yield() argument
122 if (*counter > max_count) { in xec_qmspi_spin_yield()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c4249 uint8_t max_count; in dfu_info_get() local
4262 max_count = cp->limit; in dfu_info_get()
4265 max_count); in dfu_info_get()