Home
last modified time | relevance | path

Searched refs:data_bytes (Results 1 – 20 of 20) sorted by relevance

/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c94 hmm_set(frame->data, 0, frame->data_bytes); in ia_css_frame_zero()
162 if (pgnr < ((PAGE_ALIGN(me->data_bytes)) >> PAGE_SHIFT)) { in ia_css_frame_map()
167 } else if (pgnr > ((PAGE_ALIGN(me->data_bytes)) >> PAGE_SHIFT)) { in ia_css_frame_map()
174 me->data = hmm_create_from_userdata(me->data_bytes, data); in ia_css_frame_map()
232 size_t data_bytes) in ia_css_frame_set_data() argument
248 if ((mapped_data != mmgr_NULL) && (frame->data_bytes > data_bytes)) { in ia_css_frame_set_data()
485 me->data_bytes = buffer_size_bytes; in ia_css_frame_allocate_with_buffer_size()
587 frame->data_bytes = stride * CEIL_MUL2(height, 2); in frame_init_single_plane()
606 frame->data_bytes = stride * height; in frame_init_raw_single_plane()
642 frame->data_bytes = y_bytes + uv_bytes; in frame_init_nv_planes()
[all …]
/drivers/i2c/busses/
Di2c-sibyte.c32 int data_bytes = 0; in smbus_xfer() local
48 data_bytes = 1; in smbus_xfer()
60 data_bytes = 1; in smbus_xfer()
73 data_bytes = 2; in smbus_xfer()
97 if (data_bytes == 1) in smbus_xfer()
99 if (data_bytes == 2) in smbus_xfer()
/drivers/mtd/nand/raw/
Dmarvell_nand.c261 int data_bytes; member
276 .data_bytes = db, \
1067 lt->data_bytes + oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1068 memcpy(data_buf, nfc->dma_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1069 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1071 marvell_nfc_xfer_data_in_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1091 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()
1114 lt->data_bytes, true, page); in marvell_nfc_hw_ecc_hmg_read_page()
1176 memcpy(nfc->dma_buf, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1177 memcpy(nfc->dma_buf + lt->data_bytes, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
[all …]
/drivers/platform/chrome/wilco_ec/
Dmailbox.c76 u8 *data_bytes = (u8 *)data; in wilco_ec_checksum() local
81 checksum += data_bytes[i]; in wilco_ec_checksum()
/drivers/staging/media/atomisp/pci/
Datomisp_fops.c908 pgnr = DIV_ROUND_UP(frame->data_bytes, PAGE_SIZE); in frame_mmap()
1058 origin_size = raw_virt_addr->data_bytes; in atomisp_mmap()
1059 raw_virt_addr->data_bytes = new_size; in atomisp_mmap()
1069 raw_virt_addr->data_bytes = origin_size; in atomisp_mmap()
1073 raw_virt_addr->data_bytes = origin_size; in atomisp_mmap()
Dia_css_frame_public.h151 unsigned int data_bytes; /** size of image data in bytes */ member
Dsh_css_sp.c211 pipe->copy.bin.bytes_available = out_frame->data_bytes; in sh_css_sp_start_binary_copy()
Dsh_css.c4151 frame->planes.binary.size = frame->data_bytes; in ia_css_pipe_dequeue_buffer()
/drivers/infiniband/sw/siw/
Dsiw_qp_rx.c426 u32 data_bytes; /* all data bytes available */ in siw_proc_send() local
450 data_bytes = min(srx->fpdu_part_rem, srx->skb_new); in siw_proc_send()
454 while (data_bytes) { in siw_proc_send()
469 sge_bytes = min(data_bytes, sge->length - frx->sge_off); in siw_proc_send()
514 data_bytes -= rv; in siw_proc_send()
/drivers/hwtracing/intel_th/
Dmsu.c593 unsigned long data_bytes = msc_data_sz(msc_iter_bdesc(iter)); in msc_buffer_iterate() local
595 size_t tocopy = data_bytes, copied = 0; in msc_buffer_iterate()
613 tocopy = DATA_IN_PAGE - data_bytes; in msc_buffer_iterate()
614 src += data_bytes; in msc_buffer_iterate()
/drivers/scsi/esas2r/
Datioctl.h432 u32 data_bytes; member
466 u32 data_bytes; member
/drivers/scsi/qla2xxx/
Dqla_iocb.c1349 uint32_t data_bytes; in qla24xx_build_scsi_crc_2_iocbs() local
1369 data_bytes = scsi_bufflen(cmd); in qla24xx_build_scsi_crc_2_iocbs()
1370 if (!data_bytes || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_crc_2_iocbs()
1448 dif_bytes = (data_bytes / blk_size) * 8; in qla24xx_build_scsi_crc_2_iocbs()
1453 total_bytes = data_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1454 data_bytes += dif_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1461 total_bytes = data_bytes + dif_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1497 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qla24xx_build_scsi_crc_2_iocbs()
1505 if (!data_bytes || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_crc_2_iocbs()
Dqla_target.c3055 uint32_t data_bytes; in qlt_build_ctio_crc2_pkt() local
3087 data_bytes = cmd->bufflen; in qlt_build_ctio_crc2_pkt()
3088 dif_bytes = (data_bytes / cmd->blk_sz) * 8; in qlt_build_ctio_crc2_pkt()
3093 transfer_length = data_bytes; in qlt_build_ctio_crc2_pkt()
3095 data_bytes += dif_bytes; in qlt_build_ctio_crc2_pkt()
3101 transfer_length = data_bytes + dif_bytes; in qlt_build_ctio_crc2_pkt()
3217 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qlt_build_ctio_crc2_pkt()
/drivers/net/wireless/intel/iwlegacy/
Ddebug.c106 stats->data_bytes += len; in il_update_stats()
233 il->tx_stats.data_bytes); in il_dbgfs_tx_stats_read()
294 il->rx_stats.data_bytes); in il_dbgfs_rx_stats_read()
Dcommon.h1052 u64 data_bytes; member
/drivers/mtd/ubi/
Dvmt.c38 __ATTR(data_bytes, S_IRUGO, vol_attribute_show, NULL);
/drivers/gpu/drm/mediatek/
Dmtk_dp.c662 static void mtk_dp_sdp_set_data(struct mtk_dp *mtk_dp, u8 *data_bytes) in mtk_dp_sdp_set_data() argument
665 data_bytes, 0x10); in mtk_dp_sdp_set_data()
/drivers/net/wireless/ath/wil6210/
Dwmi.h1426 u8 data_bytes[]; member
2754 u8 data_bytes[]; member
/drivers/vhost/
Dscsi.c715 size_t data_bytes, struct iov_iter *data_iter) in vhost_scsi_mapal() argument
739 sgl_count = vhost_scsi_calc_sgls(data_iter, data_bytes, in vhost_scsi_mapal()
/drivers/dma/qcom/
Dgpi.c250 u8 data_bytes[8]; member