Searched refs:bsize (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.7.0/tests/subsys/fs/ext2/src/ |
D | testfs_ext_specific.c | 131 uint32_t bsize = sbuf.f_bsize; in writing_test() local 132 uint32_t available_blocks = calculate_blocks(freeb, bsize / sizeof(uint32_t)); in writing_test() 134 uint32_t bytes_to_write = bsize * available_blocks; in writing_test() 137 available_blocks, bsize, bytes_to_write); in writing_test() 169 uint32_t bsize = sbuf.f_bsize; in ZTEST() local 171 uint32_t bytes_to_write = bsize * 13; in ZTEST() 173 TC_PRINT("Block size: %d\nBytes_to_write: %d\n", bsize, bytes_to_write); in ZTEST() 181 uint32_t sizes[] = {12 * bsize, 0}; in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/usb/device/ |
D | usb_transfer.c | 30 size_t bsize; member 88 if (!trans->bsize) { in usb_transfer_work() 102 ret = usb_write(ep, trans->buffer, trans->bsize, &bytes); in usb_transfer_work() 111 trans->bsize -= bytes; in usb_transfer_work() 114 ret = usb_dc_ep_read_wait(ep, trans->buffer, trans->bsize, in usb_transfer_work() 124 trans->bsize -= bytes; in usb_transfer_work() 128 if (!bytes || (bytes % usb_dc_ep_mps(ep)) || !trans->bsize) { in usb_transfer_work() 240 trans->bsize = dlen; in usb_transfer()
|
/Zephyr-Core-3.7.0/drivers/dma/ |
D | dma_nxp_edma.h | 203 uint32_t bsize; member 361 (chan->stat.read_position + bytes) % chan->bsize; in edma_chan_cyclic_consume() 367 chan->stat.free = chan->bsize; in edma_chan_cyclic_consume() 369 chan->stat.free = chan->bsize - in edma_chan_cyclic_consume() 373 chan->stat.pending_length = chan->bsize - chan->stat.free; in edma_chan_cyclic_consume() 400 (chan->stat.write_position + bytes) % chan->bsize; in edma_chan_cyclic_produce() 406 chan->stat.pending_length = chan->bsize; in edma_chan_cyclic_produce() 408 chan->stat.pending_length = chan->bsize - in edma_chan_cyclic_produce() 412 chan->stat.free = chan->bsize - chan->stat.pending_length; in edma_chan_cyclic_produce()
|
D | dma_nxp_edma.c | 41 update_size = chan->bsize; in edma_isr() 44 update_size = chan->bsize / 2; in edma_isr() 46 update_size = chan->bsize; in edma_isr() 241 chan->bsize = dma_cfg->head_block->block_size; in edma_config() 257 chan->stat.pending_length = chan->bsize; in edma_config() 262 chan->stat.free = chan->bsize; in edma_config() 377 stat->free = chan->bsize; in edma_get_status() 380 stat->free = (biter - citer) * (chan->bsize / biter); in edma_get_status() 381 stat->pending_length = chan->bsize - stat->free; in edma_get_status()
|
/Zephyr-Core-3.7.0/samples/subsys/video/capture/src/ |
D | main.c | 82 size_t bsize; in main() local 148 bsize = fmt.pitch * fmt.height; in main() 156 buffers[i] = video_buffer_aligned_alloc(bsize, CONFIG_VIDEO_BUFFER_POOL_ALIGN); in main()
|
/Zephyr-Core-3.7.0/include/zephyr/sd/ |
D | sdio.h | 61 int sdio_set_block_size(struct sdio_func *func, uint16_t bsize);
|
/Zephyr-Core-3.7.0/subsys/sd/ |
D | sdio.c | 756 int sdio_set_block_size(struct sdio_func *func, uint16_t bsize) in sdio_set_block_size() argument 761 if (func->cis.max_blk_size < bsize) { in sdio_set_block_size() 765 reg = (bsize >> (i * 8)); in sdio_set_block_size() 772 func->block_size = bsize; in sdio_set_block_size()
|
/Zephyr-Core-3.7.0/samples/subsys/usb/mass/ |
D | README.rst | 102 /NAND:: bsize = 512 ; frsize = 1024 ; blocks = 2028 ; bfree = 1901 149 /SD:: bsize = 512 ; frsize = 32768 ; blocks = 119776 ; bfree = 119773 187 /lfs: bsize = 16 ; frsize = 4096 ; blocks = 16 ; bfree = 13
|