| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | cadence_qspi.c | 195 size_t data_bytes; in cadence_spi_xfer() local 207 data_bytes = 0; in cadence_spi_xfer() 209 data_bytes = bitlen / 8; in cadence_spi_xfer() 211 debug("%s: len=%d [bytes]\n", __func__, data_bytes); in cadence_spi_xfer() 223 if (din && data_bytes) { in cadence_spi_xfer() 242 data_bytes, din); in cadence_spi_xfer() 248 data_bytes, dout); in cadence_spi_xfer() 255 (plat, data_bytes, din); in cadence_spi_xfer() 263 (plat, data_bytes, dout); in cadence_spi_xfer()
|
| H A D | bcm63xx_spi.c | 202 size_t data_bytes = bitlen / 8; in bcm63xx_spi_xfer() local 220 if (data_bytes > regs[SPI_RX_SIZE]) { in bcm63xx_spi_xfer() 228 if (priv->tx_bytes + data_bytes > regs[SPI_TX_SIZE]) { in bcm63xx_spi_xfer() 235 dout, data_bytes); in bcm63xx_spi_xfer() 236 priv->tx_bytes += data_bytes; in bcm63xx_spi_xfer() 254 val = data_bytes; in bcm63xx_spi_xfer() 260 val = data_bytes; in bcm63xx_spi_xfer() 299 data_bytes); in bcm63xx_spi_xfer()
|
| H A D | bcm63xx_hsspi.c | 221 size_t data_bytes = bitlen / 8; in bcm63xx_hsspi_xfer() local 256 while (data_bytes > 0) { in bcm63xx_hsspi_xfer() 257 size_t curr_step = min(step_size, data_bytes); in bcm63xx_hsspi_xfer() 295 data_bytes -= curr_step; in bcm63xx_hsspi_xfer()
|
| H A D | ich.c | 217 static void spi_setup_type(struct spi_trans *trans, int data_bytes) in spi_setup_type() argument 223 if (trans->bytesout + data_bytes > 4) in spi_setup_type()
|
| /OK3568_Linux_fs/u-boot/fs/yaffs2/ |
| H A D | yaffs_checkptrw.c | 261 u8 *data_bytes = (u8 *) data; in yaffs2_checkpt_wr() local 270 dev->checkpt_buffer[dev->checkpt_byte_offs] = *data_bytes; in yaffs2_checkpt_wr() 271 dev->checkpt_sum += *data_bytes; in yaffs2_checkpt_wr() 272 dev->checkpt_xor ^= *data_bytes; in yaffs2_checkpt_wr() 276 data_bytes++; in yaffs2_checkpt_wr() 294 u8 *data_bytes = (u8 *) data; in yaffs2_checkpt_rd() local 346 *data_bytes = dev->checkpt_buffer[dev->checkpt_byte_offs]; in yaffs2_checkpt_rd() 347 dev->checkpt_sum += *data_bytes; in yaffs2_checkpt_rd() 348 dev->checkpt_xor ^= *data_bytes; in yaffs2_checkpt_rd() 351 data_bytes++; in yaffs2_checkpt_rd()
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A D | i2c-sibyte.c | 32 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()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| H A D | frame.c | 102 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 …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_inode_item.c | 157 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | marvell_nand.c | 261 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/wilco_ec/ |
| H A D | mailbox.c | 76 u8 *data_bytes = (u8 *)data; in wilco_ec_checksum() local 81 checksum += data_bytes[i]; in wilco_ec_checksum()
|
| /OK3568_Linux_fs/kernel/arch/riscv/kernel/ |
| H A D | traps_misaligned.c | 235 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()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_internal_mem_reuse_demo/src/ |
| H A D | rknn_internal_mem_reuse_demo.cc | 241 int data_bytes = npy_data.raw_data_size - npy_data.data_begin; in load_npy() local 271 unsigned char* data = (unsigned char*)malloc(data_bytes); in load_npy() 277 memcpy(data, npy_data.raw_data + npy_data.data_begin, data_bytes); in load_npy() 279 *input_size = data_bytes; in load_npy()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/ |
| H A D | ia_css_frame_public.h | 151 unsigned int data_bytes; /** size of image data in bytes */ member
|
| H A D | atomisp_fops.c | 1225 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()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/siw/ |
| H A D | siw_qp_rx.c | 426 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()
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | maestro3.c | 2175 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()
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/intel_th/ |
| H A D | msu.c | 593 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/esas2r/ |
| H A D | atioctl.h | 432 u32 data_bytes; member 466 u32 data_bytes; member
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/ |
| H A D | qla_iocb.c | 1397 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/ |
| H A D | debug.c | 106 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()
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/stable/ |
| H A D | sysfs-class-ubi | 162 What: /sys/class/ubi/ubiX/ubiX_Y/data_bytes
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | sensor_adapter.c | 382 u32 data, u32 data_bytes); 386 u32 data, u32 data_bytes);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_sdio.c | 755 uint16 * hi_addr, uint32 * dest_addr, uint8 *data_bytes, uint32 * num_bytes); 10222 uint32 * dest_addr, uint8 *data_bytes, uint32 * num_bytes) in read_more_btbytes() argument 10245 data_bytes [i] = (uint8)(w & 0x00FF); in read_more_btbytes() 10250 *hi_addr = (data_bytes [0] << 8) | data_bytes [1]; in read_more_btbytes() 10253 *hi_addr = (data_bytes [0] << 8) | data_bytes [1]; in read_more_btbytes() 10256 abs_base_addr32 = (data_bytes [0] << 24) | (data_bytes [1] << 16) | in read_more_btbytes() 10257 (data_bytes [2] << 8) | data_bytes [3]; in read_more_btbytes()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_sdio.c | 798 uint16 * hi_addr, uint32 * dest_addr, uint8 *data_bytes, uint32 * num_bytes); 10545 uint32 * dest_addr, uint8 *data_bytes, uint32 * num_bytes) argument 10568 data_bytes [i] = (uint8)(w & 0x00FF); 10573 *hi_addr = (data_bytes [0] << 8) | data_bytes [1]; 10576 *hi_addr = (data_bytes [0] << 8) | data_bytes [1]; 10579 abs_base_addr32 = (data_bytes [0] << 24) | (data_bytes [1] << 16) | 10580 (data_bytes [2] << 8) | data_bytes [3];
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_sdio.c | 816 uint16 * hi_addr, uint32 * dest_addr, uint8 *data_bytes, uint32 * num_bytes); 10591 uint32 * dest_addr, uint8 *data_bytes, uint32 * num_bytes) argument 10614 data_bytes [i] = (uint8)(w & 0x00FF); 10619 *hi_addr = (data_bytes [0] << 8) | data_bytes [1]; 10622 *hi_addr = (data_bytes [0] << 8) | data_bytes [1]; 10625 abs_base_addr32 = (data_bytes [0] << 24) | (data_bytes [1] << 16) | 10626 (data_bytes [2] << 8) | data_bytes [3];
|