Home
last modified time | relevance | path

Searched refs:bytes_used (Results 1 – 9 of 9) sorted by relevance

/drivers/iio/buffer/
Dindustrialio-buffer-dmaengine.c57 block->bytes_used -= result->residue; in iio_dmaengine_buffer_block_done()
69 block->bytes_used = min(block->size, dmaengine_buffer->max_size); in iio_dmaengine_buffer_submit_block()
70 block->bytes_used = round_down(block->bytes_used, in iio_dmaengine_buffer_submit_block()
74 block->phys_addr, block->bytes_used, DMA_DEV_TO_MEM, in iio_dmaengine_buffer_submit_block()
Dindustrialio-buffer-dma.c246 block->bytes_used = 0; in iio_dma_buffer_block_list_abort()
506 if (n > block->bytes_used - queue->fileio.pos) in iio_dma_buffer_read()
507 n = block->bytes_used - queue->fileio.pos; in iio_dma_buffer_read()
516 if (queue->fileio.pos == block->bytes_used) { in iio_dma_buffer_read()
/drivers/media/usb/cx231xx/
Dcx231xx-video.c332 u32 bytes_used = 0; in cx231xx_isoc_copy() local
337 &bytes_used);/* bytes used to get SAV/EAV */ in cx231xx_isoc_copy()
339 bytes_parsed += bytes_used; in cx231xx_isoc_copy()
411 u32 bytes_used = 0; in cx231xx_bulk_copy() local
416 &bytes_used);/* bytes used to get SAV/EAV */ in cx231xx_bulk_copy()
418 bytes_parsed += bytes_used; in cx231xx_bulk_copy()
442 u32 bytes_used; in cx231xx_find_boundary_SAV_EAV() local
456 &bytes_used); in cx231xx_find_boundary_SAV_EAV()
461 *p_bytes_used = bytes_used - 4; in cx231xx_find_boundary_SAV_EAV()
Dcx231xx-vbi.c125 u32 bytes_used = 0; in cx231xx_isoc_vbi_copy() local
130 &bytes_used); /* bytes used to get SAV/EAV */ in cx231xx_isoc_vbi_copy()
132 bytes_parsed += bytes_used; in cx231xx_isoc_vbi_copy()
/drivers/macintosh/
Dwindfarm_mpu.h23 u8 bytes_used; /* 0x01 - Bytes used in eeprom (160 ?) */ member
/drivers/media/pci/cx18/
Dcx18-mailbox.c172 offset = vb_buf->bytes_used; in cx18_mdl_send_to_videobuf()
180 vb_buf->bytes_used += buf->bytesused; in cx18_mdl_send_to_videobuf()
185 if (vb_buf->bytes_used >= s->vb_bytes_per_frame) { in cx18_mdl_send_to_videobuf()
187 vb_buf->bytes_used = 0; in cx18_mdl_send_to_videobuf()
Dcx18-driver.h412 u32 bytes_used; member
Dcx18-streams.c114 buf->bytes_used = 0; in cx18_prepare_buffer()
/drivers/usb/gadget/udc/
Dgr_udc.c480 u16 bytes_used; /* Bytes accommodated for */ in gr_setup_out_desc_list() local
485 bytes_used = 0; in gr_setup_out_desc_list()
487 dma_addr_t start = req->req.dma + bytes_used; in gr_setup_out_desc_list()
501 bytes_used += size; in gr_setup_out_desc_list()
533 u16 bytes_used; /* Bytes in req accommodated for */ in gr_setup_in_desc_list() local
538 bytes_used = 0; in gr_setup_in_desc_list()
540 dma_addr_t start = req->req.dma + bytes_used; in gr_setup_in_desc_list()
548 bytes_used += size; in gr_setup_in_desc_list()