/kernel/linux/linux-5.10/drivers/media/i2c/ |
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()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
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 …]
|
D | rmi_f34.h | 176 struct block_count { struct 221 struct block_count blkcount; 229 u8 block_count; member 282 struct block_count blkcount;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
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()
|
/kernel/linux/linux-5.10/fs/udf/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/ |
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 …]
|
/kernel/linux/linux-5.10/block/partitions/ |
D | mac.h | 16 __be32 block_count; /* number of blocks in partition */ member 41 __be32 block_count; member
|
/kernel/linux/linux-5.10/drivers/media/common/siano/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
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()
|
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 …]
|
D | si2165.c | 287 u32 block_count) in si2165_upload_firmware_block() argument 302 __func__, len, offset, block_count); in si2165_upload_firmware_block() 303 while (offset + 12 <= len && cur_block < block_count) { in si2165_upload_firmware_block() 306 __func__, len, offset, cur_block, block_count); in si2165_upload_firmware_block() 347 __func__, len, offset, cur_block, block_count); in si2165_upload_firmware_block() 374 u8 block_count; in si2165_upload_firmware() local 421 block_count = data[4]; in si2165_upload_firmware() 453 __func__, patch_version, block_count, crc_expected); in si2165_upload_firmware() 469 &offset, block_count); in si2165_upload_firmware()
|
D | mn88473.c | 446 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mn88473_read_status() 447 c->block_count.stat[0].uvalue += utmp2; in mn88473_read_status() 450 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status() 541 c->block_count.len = 1; in mn88473_init() 542 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_init()
|
D | mn88472.c | 186 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mn88472_read_status() 187 c->block_count.stat[0].uvalue += utmp2; in mn88472_read_status() 190 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88472_read_status() 669 c->block_count.len = 1; in mn88472_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
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()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
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()
|
/kernel/linux/linux-5.10/drivers/memstick/core/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/ |
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()
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
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()
|
D | dasd_diag.h | 75 u32 block_count; member
|
/kernel/linux/linux-5.10/include/media/i2c/ |
D | saa6588.h | 17 unsigned int block_count; member
|
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
D | bt878.c | 126 bt->block_count = 1 << 4; in bt878_make_risc() 128 bt->line_count = bt->block_count; in bt878_make_risc() 161 (bt->block_count - in bt878_risc_program() 163 bt->block_count) | bt-> in bt878_risc_program()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | vub300.c | 69 u8 block_count[2]; member 1078 vub300->cmnd.head.block_count[0] = 0; in send_command() 1079 vub300->cmnd.head.block_count[1] = 0; in send_command() 1088 vub300->cmnd.head.block_count[0] = 0; in send_command() 1089 vub300->cmnd.head.block_count[1] = 0; in send_command() 1100 vub300->cmnd.head.block_count[0] = in send_command() 1102 vub300->cmnd.head.block_count[1] = in send_command() 1109 vub300->cmnd.head.block_count[0] = 0; in send_command() 1110 vub300->cmnd.head.block_count[1] = 0; in send_command() 1127 vub300->cmnd.head.block_count[0] = 0; in send_command() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
D | ec_bhf.c | 254 unsigned block_count, i; in ec_bhf_setup_offsets() local 257 block_count = ioread8(priv->io + INFO_BLOCK_BLK_CNT); in ec_bhf_setup_offsets() 258 for (i = 0; i < block_count; i++) { in ec_bhf_setup_offsets() 264 if (i == block_count) { in ec_bhf_setup_offsets()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | gc.c | 1938 long long block_count; in update_sb_metadata() local 1946 block_count = le64_to_cpu(raw_sb->block_count); in update_sb_metadata() 1951 raw_sb->block_count = cpu_to_le64(block_count + in update_sb_metadata() 1993 int f2fs_resize_fs(struct file *filp, __u64 block_count) in f2fs_resize_fs() argument 2002 old_block_count = le64_to_cpu(F2FS_RAW_SUPER(sbi)->block_count); in f2fs_resize_fs() 2003 if (block_count > old_block_count) in f2fs_resize_fs() 2010 if (block_count + last_segs * sbi->blocks_per_seg <= in f2fs_resize_fs() 2016 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs() 2020 if (block_count == old_block_count) in f2fs_resize_fs() 2037 shrunk_blocks = old_block_count - block_count; in f2fs_resize_fs()
|