Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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 …]
/linux-6.1.9/fs/xfs/
Dxfs_inode_item.c158 size_t data_bytes; in xfs_inode_item_format_data_fork() local
173 data_bytes = xfs_iextents_copy(ip, p, XFS_DATA_FORK); in xfs_inode_item_format_data_fork()
174 xlog_finish_iovec(lv, *vecp, data_bytes); in xfs_inode_item_format_data_fork()
176 ASSERT(data_bytes <= ip->i_df.if_bytes); in xfs_inode_item_format_data_fork()
178 ilf->ilf_dsize = data_bytes; in xfs_inode_item_format_data_fork()
238 size_t data_bytes; in xfs_inode_item_format_attr_fork() local
254 data_bytes = xfs_iextents_copy(ip, p, XFS_ATTR_FORK); in xfs_inode_item_format_attr_fork()
255 xlog_finish_iovec(lv, *vecp, data_bytes); in xfs_inode_item_format_attr_fork()
257 ilf->ilf_asize = data_bytes; in xfs_inode_item_format_attr_fork()
/linux-6.1.9/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()
1175 memcpy(nfc->dma_buf, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1176 memcpy(nfc->dma_buf + lt->data_bytes, oob_buf, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/arch/s390/include/uapi/asm/
Dhwctrset.h24 __u64 data_bytes; /* # of bytes required */ member
/linux-6.1.9/arch/riscv/kernel/
Dtraps_misaligned.c233 u8 data_bytes[8]; member
310 val.data_bytes[i] = load_u8((void *)(addr + i)); in handle_misaligned_load()
363 store_u8((void *)(addr + i), val.data_bytes[i]); in handle_misaligned_store()
/linux-6.1.9/drivers/staging/media/atomisp/pci/
Dia_css_frame_public.h151 unsigned int data_bytes; /** size of image data in bytes */ member
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()
Dsh_css_sp.c211 pipe->copy.bin.bytes_available = out_frame->data_bytes; in sh_css_sp_start_binary_copy()
/linux-6.1.9/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()
/linux-6.1.9/sound/pci/
Dmaestro3.c2174 int data_bytes = 2 * ( MINISRC_TMP_BUFFER_SIZE / 2 + in snd_m3_assp_client_init() local
2189 data_bytes = ALIGN(data_bytes, 256); in snd_m3_assp_client_init()
2190 address = 0x1100 + ((data_bytes/2) * index); in snd_m3_assp_client_init()
2192 if ((address + (data_bytes/2)) >= 0x1c00) { in snd_m3_assp_client_init()
2195 data_bytes, index, address); in snd_m3_assp_client_init()
2203 for (i = data_bytes / 2; i > 0; address++, i--) { in snd_m3_assp_client_init()
/linux-6.1.9/drivers/scsi/esas2r/
Datioctl.h432 u32 data_bytes; member
466 u32 data_bytes; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_iocb.c1344 uint32_t data_bytes; in qla24xx_build_scsi_crc_2_iocbs() local
1364 data_bytes = scsi_bufflen(cmd); in qla24xx_build_scsi_crc_2_iocbs()
1365 if (!data_bytes || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_crc_2_iocbs()
1443 dif_bytes = (data_bytes / blk_size) * 8; in qla24xx_build_scsi_crc_2_iocbs()
1448 total_bytes = data_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1449 data_bytes += dif_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1456 total_bytes = data_bytes + dif_bytes; in qla24xx_build_scsi_crc_2_iocbs()
1492 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qla24xx_build_scsi_crc_2_iocbs()
1500 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()
/linux-6.1.9/sound/soc/sof/
Dipc3.c382 static int sof_ipc3_set_get_data(struct snd_sof_dev *sdev, void *data, size_t data_bytes, in sof_ipc3_set_get_data() argument
395 if (!cdata || data_bytes < sizeof(*cdata)) in sof_ipc3_set_get_data()
Dsof-priv.h458 int (*set_get_data)(struct snd_sof_dev *sdev, void *data, size_t data_bytes,
/linux-6.1.9/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()
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-class-ubi162 What: /sys/class/ubi/ubiX/ubiX_Y/data_bytes
/linux-6.1.9/drivers/mtd/ubi/
Dvmt.c38 __ATTR(data_bytes, S_IRUGO, vol_attribute_show, NULL);
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dwmi.h1426 u8 data_bytes[]; member
2754 u8 data_bytes[]; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/vhost/
Dscsi.c712 size_t data_bytes, struct iov_iter *data_iter) in vhost_scsi_mapal() argument
736 sgl_count = vhost_scsi_calc_sgls(data_iter, data_bytes, in vhost_scsi_mapal()
/linux-6.1.9/arch/s390/kernel/
Dperf_cpum_cf.c1199 if (put_user(need, &ustart->data_bytes)) { in cfset_ioctl_start()

12