/Zephyr-latest/modules/lvgl/ |
D | lvgl_fs.c | 112 uint32_t *bw) in lvgl_fs_write() argument 118 if (bw != NULL) { in lvgl_fs_write() 119 *bw = btw; in lvgl_fs_write() 123 if (bw != NULL) { in lvgl_fs_write() 124 *bw = 0U; in lvgl_fs_write() 127 if (bw != NULL) { in lvgl_fs_write() 128 *bw = err; in lvgl_fs_write()
|
/Zephyr-latest/tests/subsys/fs/fs_api/src/ |
D | test_fs.c | 110 unsigned int bw; in temp_write() local 120 bw = size; in temp_write() 121 if (file_length + bw > BUF_LEN) { in temp_write() 122 bw = BUF_LEN - file_length; in temp_write() 126 memcpy(buffer + file_length, ptr, bw); in temp_write() 127 file_length += bw; in temp_write() 130 return bw; in temp_write()
|
/Zephyr-latest/samples/drivers/video/capture/src/ |
D | check_test_pattern.h | 118 int bw = fmt.width / BARS_NUM; in is_colorbar_ok() local 125 (uint32_t *)&buf[4 * (h * fmt.width + bw / 2 + i * bw)]; in is_colorbar_ok() 132 (uint16_t *)&buf[2 * (h * fmt.width + bw / 2 + i * bw)]; in is_colorbar_ok()
|
/Zephyr-latest/tests/kernel/common/src/ |
D | bitarray.c | 982 SYS_BITARRAY_DEFINE(bw, 128); in ZTEST() 985 bw.bundles[0] = 0xFF0F0F0F; in ZTEST() 986 bw.bundles[1] = 0xF0000000; in ZTEST() 987 bw.bundles[2] = 0xFFFFFFFF; in ZTEST() 988 bw.bundles[3] = 0x0000000F; in ZTEST() 990 zassert_true(sys_bitarray_is_region_set(&bw, 40, 60)); in ZTEST() 991 zassert_false(sys_bitarray_is_region_cleared(&bw, 40, 60)); in ZTEST() 993 bw.bundles[2] = 0xFFFEEFFF; in ZTEST() 995 zassert_false(sys_bitarray_is_region_set(&bw, 40, 60)); in ZTEST() 996 zassert_false(sys_bitarray_is_region_cleared(&bw, 40, 60)); in ZTEST() [all …]
|
/Zephyr-latest/lib/os/ |
D | p4wq.c | 29 struct k_p4wq_work *bw = CONTAINER_OF(b, struct k_p4wq_work, rbnode); in rb_lessthan() local 31 if (aw->priority != bw->priority) { in rb_lessthan() 32 return aw->priority > bw->priority; in rb_lessthan() 35 if (aw->deadline != bw->deadline) { in rb_lessthan() 36 return aw->deadline - bw->deadline > 0; in rb_lessthan()
|
/Zephyr-latest/tests/net/socket/net_mgmt/src/ |
D | main.c | 95 int bw; in eth_fake_recalc_qav_delta_bandwidth() local 98 bw = eth_fake_get_total_bandwidth(ctx); in eth_fake_recalc_qav_delta_bandwidth() 101 if (bw == 0) { in eth_fake_recalc_qav_delta_bandwidth() 107 ctx->priority_queues[i].delta_bandwidth /= bw; in eth_fake_recalc_qav_delta_bandwidth() 114 int bw; in eth_fake_recalc_qav_idle_slopes() local 117 bw = eth_fake_get_total_bandwidth(ctx); in eth_fake_recalc_qav_idle_slopes() 121 (ctx->priority_queues[i].delta_bandwidth * bw) / 100; in eth_fake_recalc_qav_idle_slopes()
|
/Zephyr-latest/subsys/fs/ |
D | fat_fs.c | 211 unsigned int bw; in fatfs_write() local 225 res = f_write(zfp->filep, ptr, size, &bw); in fatfs_write() 231 res = bw; in fatfs_write() 305 unsigned int bw; in fatfs_truncate() local 309 res = f_write(zfp->filep, &c, 1, &bw); in fatfs_truncate()
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372.c | 138 enum adxl372_bandwidth bw) in adxl372_set_bandwidth() argument 144 if (bw == ADXL372_BW_LPF_DISABLED) { in adxl372_set_bandwidth() 163 ADXL372_MEASURE_BANDWIDTH_MODE(bw)); in adxl372_set_bandwidth() 752 ret = adxl372_set_bandwidth(dev, cfg->bw); in adxl372_probe() 885 .bw = DT_INST_PROP(inst, bw), \
|
D | adxl372.h | 356 enum adxl372_bandwidth bw; member
|
/Zephyr-latest/drivers/video/ |
D | video_sw_generator.c | 128 int bw = data->fmt.width / 8; in __fill_buffer_colorbar() local 133 int color_idx = data->ctrl_vflip ? 7 - w / bw : w / bw; in __fill_buffer_colorbar()
|
/Zephyr-latest/tests/net/ethernet_mgmt/src/ |
D | main.c | 126 int bw; in eth_fake_recalc_qav_delta_bandwidth() local 129 bw = eth_fake_get_total_bandwidth(ctx); in eth_fake_recalc_qav_delta_bandwidth() 132 if (bw == 0) { in eth_fake_recalc_qav_delta_bandwidth() 138 ctx->priority_queues[i].delta_bandwidth /= bw; in eth_fake_recalc_qav_delta_bandwidth() 145 int bw; in eth_fake_recalc_qav_idle_slopes() local 148 bw = eth_fake_get_total_bandwidth(ctx); in eth_fake_recalc_qav_idle_slopes() 152 (ctx->priority_queues[i].delta_bandwidth * bw) / 100; in eth_fake_recalc_qav_idle_slopes()
|
/Zephyr-latest/drivers/lora/ |
D | rylrxxx.c | 224 static uint32_t rylr_get_bandwidth_index(enum lora_signal_bandwidth bw) in rylr_get_bandwidth_index() argument 226 switch (bw) { in rylr_get_bandwidth_index()
|
/Zephyr-latest/drivers/dma/ |
D | dma_smartbond.c | 378 static bool dma_channel_update_bus_width(uint16_t bw, uint32_t *dma_ctrl_reg) in dma_channel_update_bus_width() argument 380 switch (bw) { in dma_channel_update_bus_width()
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | i2c.dtsi | 324 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>;
|