| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | extents.c | 57 count = be32_to_cpu(ext->block_count); in hfsplus_ext_find_block() 72 count += be32_to_cpu(ext->block_count); in hfsplus_ext_block_count() 82 if (ext->block_count) in hfsplus_ext_lastblock() 84 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count); in hfsplus_ext_lastblock() 305 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent() 310 u32 alloc_block, u32 block_count) in hfsplus_add_extent() argument 317 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent() 326 block_count += count; in hfsplus_add_extent() 327 extent->block_count = cpu_to_be32(block_count); in hfsplus_add_extent() 350 count = be32_to_cpu(extent->block_count); in hfsplus_free_extents() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | saa6588.c | 63 unsigned int block_count; member 162 s->block_count--; in block_from_buf() 165 dprintk("%d blocks total.\n", s->block_count); in block_from_buf() 191 rd_blocks = a->block_count; in read_from_buf() 193 if (rd_blocks > s->block_count) in read_from_buf() 194 rd_blocks = s->block_count; in read_from_buf() 216 s->data_available_for_read = (s->block_count > 0); in read_from_buf() 242 s->block_count++; in block_to_buf() 245 dprintk("%d blocks total.\n", s->block_count); in block_to_buf() 472 s->block_count = 0; in saa6588_probe()
|
| /OK3568_Linux_fs/external/linux-rga/samples/alpha_demo/src/ |
| H A D | rga_alpha_osd_demo.cpp | 48 int block_size, block_count; in main() local 63 block_count = 6; in main() 66 fg_height = block_height * block_count; in main() 92 for (int i = 0; (i < block_count) && ((block_height * i) < fg_height); i++) { in main() 139 osd_config.block_parm.block_count = block_count; in main()
|
| /OK3568_Linux_fs/kernel/drivers/input/rmi4/ |
| H A D | rmi_f34v7.c | 347 struct block_count *blkcount, in rmi_f34v7_parse_partition_table() 576 u16 block_count; in rmi_f34v7_check_ui_firmware_size() local 578 block_count = f34->v7.img.ui_firmware.size / f34->v7.block_size; in rmi_f34v7_check_ui_firmware_size() 579 f34->update_size += block_count; in rmi_f34v7_check_ui_firmware_size() 581 if (block_count != f34->v7.blkcount.ui_firmware) { in rmi_f34v7_check_ui_firmware_size() 584 block_count, f34->v7.blkcount.ui_firmware); in rmi_f34v7_check_ui_firmware_size() 593 u16 block_count; in rmi_f34v7_check_ui_config_size() local 595 block_count = f34->v7.img.ui_config.size / f34->v7.block_size; in rmi_f34v7_check_ui_config_size() 596 f34->update_size += block_count; in rmi_f34v7_check_ui_config_size() 598 if (block_count != f34->v7.blkcount.ui_config) { in rmi_f34v7_check_ui_config_size() [all …]
|
| H A D | rmi_f34.h | 176 struct block_count { struct 221 struct block_count blkcount; 229 u8 block_count; member 282 struct block_count blkcount;
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | intel_lspcon.c | 298 u8 block_count = 0; in _lspcon_parade_write_infoframe_blocks() local 303 while (block_count < 4) { in _lspcon_parade_write_infoframe_blocks() 306 block_count); in _lspcon_parade_write_infoframe_blocks() 311 data = avi_buf + block_count * 8; in _lspcon_parade_write_infoframe_blocks() 315 block_count); in _lspcon_parade_write_infoframe_blocks() 326 avi_if_ctrl = LSPCON_PARADE_AVI_IF_KICKOFF | block_count; in _lspcon_parade_write_infoframe_blocks() 330 reg, block_count); in _lspcon_parade_write_infoframe_blocks() 334 block_count++; in _lspcon_parade_write_infoframe_blocks()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/ |
| H A D | BinRecord.cpp | 19 block_count = map_len; in collectBinMap() 79 for (curr_index = 0; curr_index < block_count; curr_index++) { in dumpMap() 207 int curr_index = block_count - 1; in suqeezBinMapOne() 209 for (curr_index = block_count - 1; curr_index > 0; curr_index--) { in suqeezBinMapOne() 304 for (curr_index = 0; curr_index < block_count; curr_index++) { in findDuplicate() 341 for (curr_index = 0; curr_index < (int)block_count; curr_index++) { in removeBlock() 386 for (curr_index = 0; curr_index < block_count; curr_index++) { in removeMap() 396 block_count--; in removeMap()
|
| /OK3568_Linux_fs/kernel/fs/udf/ |
| H A D | balloc.c | 174 uint32_t block_count) in udf_bitmap_prealloc_blocks() argument 188 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks() 189 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks() 202 while (bit < (sb->s_blocksize << 3) && block_count > 0) { in udf_bitmap_prealloc_blocks() 205 block_count--; in udf_bitmap_prealloc_blocks() 211 } while (block_count > 0); in udf_bitmap_prealloc_blocks() 500 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument 538 if (alloc_count > block_count) { in udf_table_prealloc_blocks() 539 alloc_count = block_count; in udf_table_prealloc_blocks() 675 uint32_t block_count) in udf_prealloc_blocks() argument [all …]
|
| /OK3568_Linux_fs/u-boot/lib/optee_clientApi/ |
| H A D | OpteeClientRPC.c | 272 (RpmbRequest->block_count == 0 ? in OpteeRpcCmdRpmb() 273 1 : RpmbRequest->block_count); in OpteeRpcCmdRpmb() 297 RequestPackets_back->block_count = in OpteeRpcCmdRpmb() 298 ((RequestPackets->block_count[1]) << 8) + in OpteeRpcCmdRpmb() 299 (RequestPackets->block_count[0]); in OpteeRpcCmdRpmb() 483 tempPackets->block_count[1] = in OpteeRpcCmdRpmb() 484 ((tempPackets_back->block_count) >> 8) & 0xFF; in OpteeRpcCmdRpmb() 485 tempPackets->block_count[0] = in OpteeRpcCmdRpmb() 486 (tempPackets_back->block_count) & 0xFF; in OpteeRpcCmdRpmb()
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/cxd2880/ |
| H A D | cxd2880_top.c | 366 u32 *block_count) in cxd2880_read_block_err_t() argument 371 if (!tnrdmd || !block_err || !block_count) in cxd2880_read_block_err_t() 412 *block_count = 1U << (rdata[0] & 0x0f); in cxd2880_read_block_err_t() 414 if ((*block_count == 0) || (*block_err > *block_count)) in cxd2880_read_block_err_t() 422 u32 *block_count) in cxd2880_read_block_err_t2() argument 427 if (!tnrdmd || !block_err || !block_count) in cxd2880_read_block_err_t2() 467 *block_count = 1U << (rdata[0] & 0x0f); in cxd2880_read_block_err_t2() 469 if ((*block_count == 0) || (*block_err > *block_count)) in cxd2880_read_block_err_t2() 1064 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1065 c->block_count.stat[0].uvalue = 0; in cxd2880_set_frontend() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/common/siano/ |
| H A D | smsdvb-main.c | 143 c->block_count.len = n_layers; in smsdvb_stats_not_ready() 153 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 252 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() 254 c->block_count.stat[0].uvalue += p->ets_packets + p->ts_packets; in smsdvb_update_per_slices() 307 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_dvb_stats() 309 c->block_count.stat[0].uvalue += p->total_ts_packets; in smsdvb_update_dvb_stats() 375 c->block_count.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats() 377 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats() 397 c->block_count.stat[i + 1].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats() 399 c->block_count.stat[i + 1].uvalue += lr->total_ts_packets; in smsdvb_update_isdbt_stats() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/ |
| H A D | incfs_perf.c | 192 int block_count = 1 + (size - 1) / INCFS_DATA_FILE_BLOCK_SIZE; in write_data() local 193 size_t *blocks = malloc(sizeof(size_t) * block_count); in write_data() 222 for (i = 0; i < block_count; ++i) in write_data() 226 shuffle(blocks, block_count); in write_data() 242 for (i = 0; i < block_count; ++i) { in write_data() 432 int block_count = 0; in build_mtree() local 444 block_count = 1 + (size - 1) / INCFS_DATA_FILE_BLOCK_SIZE; in build_mtree() 445 hash_block_count = block_count; in build_mtree() 464 for (i = 0; i < block_count; i++) { in build_mtree()
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | lgdt330x.c | 293 p->block_count.len = 1; in lgdt330x_init() 294 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init() 682 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 709 p->block_count.stat[0].uvalue += 10000; in lgdt3302_read_status() 712 p->block_count.stat[0].scale = FE_SCALE_COUNTER; in lgdt3302_read_status() 715 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 788 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status() 815 p->block_count.stat[0].uvalue += 10000; in lgdt3303_read_status() 818 p->block_count.stat[0].scale = FE_SCALE_COUNTER; in lgdt3303_read_status() 821 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
|
| H A D | mb86a20s.c | 744 memset(&c->block_count, 0, sizeof(c->block_count)); in mb86a20s_reset_counters() 1544 c->block_count.len = NUM_LAYERS + 1; in mb86a20s_stats_not_ready() 1558 c->block_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready() 1570 u32 block_error = 0, block_count = 0; in mb86a20s_get_stats() local 1642 &block_count); in mb86a20s_get_stats() 1646 c->block_count.stat[1 + layer].scale = FE_SCALE_COUNTER; in mb86a20s_get_stats() 1647 c->block_count.stat[1 + layer].uvalue += block_count; in mb86a20s_get_stats() 1654 c->block_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_get_stats() 1673 t_block_count += c->block_count.stat[1 + layer].uvalue; in mb86a20s_get_stats() 1729 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mb86a20s_get_stats() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/hwif/sdio/ |
| H A D | sdio.c | 301 u32 block_count = 0; in ssv6xxx_sdio_load_firmware_openfile() local 412 block_count = tolen / CHECKSUM_BLOCK_SIZE; in ssv6xxx_sdio_load_firmware_openfile() 415 block_count++; in ssv6xxx_sdio_load_firmware_openfile() 416 if(ssv6xxx_sdio_write_reg(child, FW_STATUS_REG, (block_count << 16))); in ssv6xxx_sdio_load_firmware_openfile() 418 printk("(block_count << 16) = %x,reg =%x\n",(block_count << 16),fw_clkcnt); in ssv6xxx_sdio_load_firmware_openfile() 479 u32 block_count = 0; in ssv6xxx_sdio_load_firmware_request() local 518 block_count = ssv6xxx_fw->size / CHECKSUM_BLOCK_SIZE; in ssv6xxx_sdio_load_firmware_request() 521 int word_count = (int)(block_count * CHECKSUM_BLOCK_SIZE / sizeof(u32)); in ssv6xxx_sdio_load_firmware_request() 529 memcpy(fw_buffer, &ssv6xxx_fw->data[block_count * CHECKSUM_BLOCK_SIZE], res_size); in ssv6xxx_sdio_load_firmware_request() 547 block_count = ssv6xxx_fw->size / FW_BLOCK_SIZE; in ssv6xxx_sdio_load_firmware_request() [all …]
|
| /OK3568_Linux_fs/kernel/block/partitions/ |
| H A D | mac.h | 16 __be32 block_count; /* number of blocks in partition */ member 41 __be32 block_count; member
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/syslinux/syslinux/ |
| H A D | 0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch | 26 +int block_count = 0; 34 + block_count++; 59 + if (block_count-- == 0)
|
| /OK3568_Linux_fs/u-boot/include/optee_include/ |
| H A D | OpteeClientRPC.h | 39 unsigned char block_count[2]; member 51 unsigned short block_count; member
|
| /OK3568_Linux_fs/kernel/drivers/memstick/core/ |
| H A D | ms_block.c | 158 if (msb->block_count - bitmap_weight(msb->used_blocks_bitmap, in msb_validate_used_block_bitmap() 159 msb->block_count) == total_free_blocks) in msb_validate_used_block_bitmap() 897 if (pba >= msb->block_count) { in msb_read_page() 954 if (pba > msb->block_count) { in msb_read_oob() 1011 if (pba >= msb->block_count || lba >= msb->logical_block_count) { in msb_write_block() 1094 msb->block_count, pba); in msb_get_free_block() 1097 msb->block_count, pba + 1); in msb_get_free_block() 1101 if (pba == msb->block_count || (msb_get_zone_from_pba(pba)) != zone) { in msb_get_free_block() 1209 msb->block_count = MS_BLOCK_MAX_BOOT_ADDR; in msb_read_boot_blocks() 1308 if (bad_block >= msb->block_count) { in msb_read_bad_block_table() [all …]
|
| /OK3568_Linux_fs/u-boot/disk/ |
| H A D | part_mac.c | 131 bytes = mpart->block_count; in part_print_mac() 145 mpart->block_count, in part_print_mac() 234 info->size = mpart->block_count; in part_get_info_mac()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_acl_bloom_filter.c | 124 u8 chunk_index, chunk_count, block_count; in mlxsw_sp_acl_bf_key_encode() local 128 block_count = mlxsw_afk_key_info_blocks_count_get(key_info); in mlxsw_sp_acl_bf_key_encode() 129 chunk_count = 1 + ((block_count - 1) >> 2); in mlxsw_sp_acl_bf_key_encode()
|
| /OK3568_Linux_fs/kernel/fs/reiserfs/ |
| H A D | resize.c | 34 unsigned long int block_count, free_blocks; in reiserfs_resize() local 80 block_count = SB_BLOCK_COUNT(s); in reiserfs_resize() 221 free_blocks + (block_count_new - block_count - in reiserfs_resize()
|
| /OK3568_Linux_fs/u-boot/drivers/mmc/ |
| H A D | rpmb.c | 334 rpmb_frame->block_count = cpu_to_be16(cnt); in mmc_rpmb_write() 335 rpmb_frame_vrify->block_count = cpu_to_be16(cnt); in mmc_rpmb_write() 381 struct s_rpmb *requestpackets, uint16_t block_count) in authenticated_read() argument 387 (mmc, requestpackets, RPMB_RESP_READ_DATA, block_count)) in authenticated_read()
|
| /OK3568_Linux_fs/kernel/drivers/s390/block/ |
| H A D | dasd_diag.c | 60 unsigned int block_count; member 184 private->iob.block_count = dreq->block_count; in dasd_start_diag() 418 private->iob.block_count = 1; in dasd_diag_check_device() 444 block->blocks = (unsigned long) label->block_count; in dasd_diag_check_device() 552 dreq->block_count = count; in dasd_diag_build_cp()
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vidtv/ |
| H A D | vidtv_demod.c | 157 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 158 c->block_count.stat[0].uvalue = 0; in vidtv_clean_stats() 159 c->block_count.len = 1; in vidtv_clean_stats() 181 c->block_count.stat[0].scale = scale; in vidtv_demod_update_stats()
|