Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c102 hmm_set(frame->data, 0, frame->data_bytes); in ia_css_frame_zero()
172 if (pgnr < ((PAGE_ALIGN(me->data_bytes)) >> PAGE_SHIFT)) { in ia_css_frame_map()
177 } else if (pgnr > ((PAGE_ALIGN(me->data_bytes)) >> PAGE_SHIFT)) { in ia_css_frame_map()
184 me->data = hmm_alloc(me->data_bytes, HMM_BO_USER, 0, data, in ia_css_frame_map()
246 size_t data_bytes) in ia_css_frame_set_data() argument
262 if ((mapped_data != mmgr_NULL) && (frame->data_bytes > data_bytes)) { in ia_css_frame_set_data()
549 me->data_bytes = buffer_size_bytes; in ia_css_frame_allocate_with_buffer_size()
647 frame->data_bytes = stride * CEIL_MUL2(height, 2); in frame_init_single_plane()
666 frame->data_bytes = stride * height; in frame_init_raw_single_plane()
680 frame->data_bytes = 8388608; /* 8*1024*1024 */ in frame_init_mipi_plane()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_inode_item.c157 size_t data_bytes; in xfs_inode_item_format_data_fork() local
172 data_bytes = xfs_iextents_copy(ip, p, XFS_DATA_FORK); in xfs_inode_item_format_data_fork()
173 xlog_finish_iovec(lv, *vecp, data_bytes); in xfs_inode_item_format_data_fork()
175 ASSERT(data_bytes <= ip->i_df.if_bytes); in xfs_inode_item_format_data_fork()
177 ilf->ilf_dsize = data_bytes; in xfs_inode_item_format_data_fork()
211 data_bytes = roundup(ip->i_df.if_bytes, 4); in xfs_inode_item_format_data_fork()
215 ip->i_df.if_u1.if_data, data_bytes); in xfs_inode_item_format_data_fork()
216 ilf->ilf_dsize = (unsigned)data_bytes; in xfs_inode_item_format_data_fork()
242 size_t data_bytes; in xfs_inode_item_format_attr_fork() local
258 data_bytes = xfs_iextents_copy(ip, p, XFS_ATTR_FORK); in xfs_inode_item_format_attr_fork()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dmarvell_nand.c261 int data_bytes; member
276 .data_bytes = db, \
1061 lt->data_bytes + oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1062 memcpy(data_buf, nfc->dma_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1063 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1065 marvell_nfc_xfer_data_in_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1085 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()
1108 lt->data_bytes, true, page); in marvell_nfc_hw_ecc_hmg_read_page()
1169 memcpy(nfc->dma_buf, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1170 memcpy(nfc->dma_buf + lt->data_bytes, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dtraps_misaligned.c235 u8 data_bytes[8]; member
312 val.data_bytes[i] = load_u8((void *)(addr + i)); in handle_misaligned_load()
365 store_u8((void *)(addr + i), val.data_bytes[i]); in handle_misaligned_store()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_frame_public.h151 unsigned int data_bytes; /** size of image data in bytes */ member
Datomisp_fops.c1225 origin_size = raw_virt_addr->data_bytes; in atomisp_mmap()
1226 raw_virt_addr->data_bytes = new_size; in atomisp_mmap()
1236 raw_virt_addr->data_bytes = origin_size; in atomisp_mmap()
1240 raw_virt_addr->data_bytes = origin_size; in atomisp_mmap()
Dsh_css_sp.c211 pipe->copy.bin.bytes_available = out_frame->data_bytes; in sh_css_sp_start_binary_copy()
Datomisp_cmd.c1961 *p_pgnr = DIV_ROUND_UP(frame->data_bytes, PAGE_SIZE); in atomisp_get_frame_pgnr()
Dsh_css.c4456 frame->planes.binary.size = frame->data_bytes; in ia_css_pipe_dequeue_buffer()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/pci/
Dmaestro3.c2175 int data_bytes = 2 * ( MINISRC_TMP_BUFFER_SIZE / 2 + in snd_m3_assp_client_init() local
2190 data_bytes = ALIGN(data_bytes, 256); in snd_m3_assp_client_init()
2191 address = 0x1100 + ((data_bytes/2) * index); in snd_m3_assp_client_init()
2193 if ((address + (data_bytes/2)) >= 0x1c00) { in snd_m3_assp_client_init()
2196 data_bytes, index, address); in snd_m3_assp_client_init()
2204 for (i = data_bytes / 2; i > 0; address++, i--) { in snd_m3_assp_client_init()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Datioctl.h432 u32 data_bytes; member
466 u32 data_bytes; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_iocb.c1397 uint32_t data_bytes; in qla24xx_build_scsi_crc_2_iocbs() local
1417 data_bytes = scsi_bufflen(cmd); in qla24xx_build_scsi_crc_2_iocbs()
1418 if (!data_bytes || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_crc_2_iocbs()
1496 dif_bytes = (data_bytes / blk_size) * 8; in qla24xx_build_scsi_crc_2_iocbs()
1501 total_bytes = data_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1502 data_bytes += dif_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1509 total_bytes = data_bytes + dif_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1545 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qla24xx_build_scsi_crc_2_iocbs()
1553 if (!data_bytes || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_crc_2_iocbs()
Dqla_target.c3006 uint32_t data_bytes; in qlt_build_ctio_crc2_pkt() local
3038 data_bytes = cmd->bufflen; in qlt_build_ctio_crc2_pkt()
3039 dif_bytes = (data_bytes / cmd->blk_sz) * 8; in qlt_build_ctio_crc2_pkt()
3044 transfer_length = data_bytes; in qlt_build_ctio_crc2_pkt()
3046 data_bytes += dif_bytes; in qlt_build_ctio_crc2_pkt()
3052 transfer_length = data_bytes + dif_bytes; in qlt_build_ctio_crc2_pkt()
3168 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qlt_build_ctio_crc2_pkt()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-ubi162 What: /sys/class/ubi/ubiX/ubiX_Y/data_bytes
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dvmt.c38 __ATTR(data_bytes, S_IRUGO, vol_attribute_show, NULL);
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dwmi.h1426 u8 data_bytes[]; member
2754 u8 data_bytes[]; member
/kernel/linux/linux-5.10/drivers/vhost/
Dscsi.c725 size_t data_bytes, struct iov_iter *data_iter) in vhost_scsi_mapal() argument
749 sgl_count = vhost_scsi_calc_sgls(data_iter, data_bytes, in vhost_scsi_mapal()