Home
last modified time | relevance | path

Searched refs:block_idx (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/kernel/lib/
H A Dts_fsm.c138 unsigned int match_start, block_idx = 0, tok_idx; in fsm_find() local
143 ({ consumed += block_idx; \ in fsm_find()
144 block_idx = 0; \ in fsm_find()
151 block_idx++; \ in fsm_find()
155 #define end_of_data() unlikely(block_idx >= block_len && !GET_NEXT_BLOCK()) in fsm_find()
163 match_start = consumed + block_idx; in fsm_find()
178 if (!match_token(cur, data[block_idx])) in fsm_find()
184 !match_token(cur, data[block_idx])) in fsm_find()
192 if (!match_token(cur, data[block_idx])) in fsm_find()
195 block_idx++; in fsm_find()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.c46 + (wq)->block_idx * WQ_BLOCK_SIZE)
50 + (wq)->block_idx * WQ_BLOCK_SIZE)
54 + (wq)->block_idx * WQ_BLOCK_SIZE)
58 + (wq)->block_idx * CMDQ_BLOCK_SIZE)
62 + (wq)->block_idx * CMDQ_BLOCK_SIZE)
66 + (wq)->block_idx * CMDQ_BLOCK_SIZE)
233 int *block_idx) in wqs_next_block() argument
251 *block_idx = wqs->free_blocks[pos].block_idx; in wqs_next_block()
254 wqs->free_blocks[pos].block_idx = -1; in wqs_next_block()
261 int block_idx) in wqs_return_block() argument
[all …]
H A Dhinic_hw_wq.h19 int block_idx; member
26 int block_idx; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddm.c105 u64 block_idx; in mlx5_dm_sw_icm_alloc() local
147 block_idx = bitmap_find_next_zero_area(block_map, max_blocks, 0, in mlx5_dm_sw_icm_alloc()
150 if (block_idx < max_blocks) in mlx5_dm_sw_icm_alloc()
152 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
156 if (block_idx >= max_blocks) in mlx5_dm_sw_icm_alloc()
160 icm_start_addr += block_idx << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_alloc()
169 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_largepixmap.c49 int block_idx; in __glamor_compute_clipped_regions() local
109 block_idx = (loop_start_block_y - delta_j) * block_stride; in __glamor_compute_clipped_regions()
112 block_idx += loop_block_stride; in __glamor_compute_clipped_regions()
113 temp_block_idx = block_idx + loop_start_block_x; in __glamor_compute_clipped_regions()
131 clipped_regions[k].block_idx = temp_block_idx; in __glamor_compute_clipped_regions()
182 clipped_regions[0].block_idx = 0; in glamor_compute_clipped_regions_ext()
221 x = box_array[clipped_regions[i].block_idx].x1; in glamor_compute_clipped_regions_ext()
222 y = box_array[clipped_regions[i].block_idx].y1; in glamor_compute_clipped_regions_ext()
223 width = box_array[clipped_regions[i].block_idx].x2 - x; in glamor_compute_clipped_regions_ext()
224 height = box_array[clipped_regions[i].block_idx].y2 - y; in glamor_compute_clipped_regions_ext()
[all …]
H A Dglamor_priv.h346 int block_idx; member
/OK3568_Linux_fs/kernel/drivers/staging/most/dim2/
H A Dhal.c106 int i, block_idx = 0; in alloc_dbr() local
122 return block_idx * DBR_BLOCK_SIZE; in alloc_dbr()
124 block_idx += mask_size; in alloc_dbr()
135 int block_idx = offs / DBR_BLOCK_SIZE; in free_dbr() local
139 mask <<= block_idx % 32; in free_dbr()
140 g.dbr_map[block_idx / 32] &= ~mask; in free_dbr()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/backend/
H A Dmali_kbase_hwcnt_backend_csf.c422 u32 block_idx; in kbasep_hwcnt_backend_csf_zero_sample_prfcnt_en_header() local
428 for (block_idx = 0; block_idx < phys_layout->block_cnt; block_idx++) { in kbasep_hwcnt_backend_csf_zero_sample_prfcnt_en_header()
429 block_buf = sample + block_idx * phys_layout->values_per_block; in kbasep_hwcnt_backend_csf_zero_sample_prfcnt_en_header()
468 size_t block_idx; in kbasep_hwcnt_backend_csf_accumulate_sample() local
481 for (block_idx = phys_layout->fw_block_cnt; block_idx < phys_layout->block_cnt; in kbasep_hwcnt_backend_csf_accumulate_sample()
482 block_idx++) { in kbasep_hwcnt_backend_csf_accumulate_sample()
H A Dmali_kbase_hwcnt_backend_jm.c199 size_t block_idx; in kbasep_hwcnt_backend_jm_dump_sample() local
207 for (block_idx = 0; block_idx < backend_jm->phys_layout.block_cnt; block_idx++) { in kbasep_hwcnt_backend_jm_dump_sample()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/hwif/sdio/
H A Dsdio.c480 u32 block_idx = 0; in ssv6xxx_sdio_load_firmware_request() local
550 … for (block_idx = 0, fw_data = (u8 *)ssv6xxx_fw->data, sram_addr = 0;block_idx < block_count; in ssv6xxx_sdio_load_firmware_request()
551 block_idx++, fw_data += FW_BLOCK_SIZE, sram_addr += FW_BLOCK_SIZE) { in ssv6xxx_sdio_load_firmware_request()
568 … for (block_idx = 0, fw_data = (u8 *)ssv6xxx_fw->data, sram_addr = 0;block_idx < block_count; in ssv6xxx_sdio_load_firmware_request()
569 block_idx++, fw_data += FW_BLOCK_SIZE, sram_addr += FW_BLOCK_SIZE) { in ssv6xxx_sdio_load_firmware_request()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_kinstr_prfcnt.c438 uint8_t block_idx = 0; in kbasep_kinstr_prfcnt_set_block_meta_items() local
449 block_idx = 0; in kbasep_kinstr_prfcnt_set_block_meta_items()
464 (*ptr_md)->u.block_md.block_idx = block_idx; in kbasep_kinstr_prfcnt_set_block_meta_items()
471 block_idx++; in kbasep_kinstr_prfcnt_set_block_meta_items()
/OK3568_Linux_fs/kernel/include/uapi/gpu/arm/bifrost/
H A Dmali_kbase_hwcnt_reader.h414 __u8 block_idx; member
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_model_dummy.c617 u32 block_idx, counter; in gpu_model_dump_prfcnt_blocks() local
626 for (block_idx = 0; block_idx < block_count; block_idx++) { in gpu_model_dump_prfcnt_blocks()
628 if (!(blocks_present & (1 << block_idx))) { in gpu_model_dump_prfcnt_blocks()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsort.h280 int block_idx; member
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-diff.c1359 block_he = hists__get_entry(&bh_pair->block_hists, bh->block_idx); in cycles_printf()
1409 if (bh->block_idx) in __hpp__color_compare()
1527 if (bh->block_idx) in hpp__color_cycles_hist()
1535 block_he = hists__get_entry(&bh_pair->block_hists, bh->block_idx); in hpp__color_cycles_hist()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H A Dbna_tx_rx.c256 bna_bfi_rx_vlan_filter_set(struct bna_rxf *rxf, u8 block_idx) in bna_bfi_rx_vlan_filter_set() argument
266 req->block_idx = block_idx; in bna_bfi_rx_vlan_filter_set()
268 j = (block_idx * (BFI_ENET_VLAN_BLOCK_SIZE / 32)) + i; in bna_bfi_rx_vlan_filter_set()
450 int block_idx = 0; in bna_rxf_vlan_cfg_apply() local
455 block_idx++; in bna_rxf_vlan_cfg_apply()
458 rxf->vlan_pending_bitmask &= ~BIT(block_idx); in bna_rxf_vlan_cfg_apply()
459 bna_bfi_rx_vlan_filter_set(rxf, block_idx); in bna_rxf_vlan_cfg_apply()
H A Dbfi_enet.h616 u8 block_idx; member
/OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/
H A Dincfs_test.c607 int block_idx) in read_test_file() argument
613 off_t offset = ((off_t)block_idx) * INCFS_DATA_FILE_BLOCK_SIZE; in read_test_file()
706 int block_idx = block_indexes[i]; in validate_test_file_content_with_seed() local
709 int seed = get_file_block_seed(file->index, block_idx); in validate_test_file_content_with_seed()
712 size - ((off_t)block_idx) * INCFS_DATA_FILE_BLOCK_SIZE); in validate_test_file_content_with_seed()
715 filename, block_idx); in validate_test_file_content_with_seed()
719 block_idx, filename, strerror(-read_result)); in validate_test_file_content_with_seed()
727 file->name, block_idx); in validate_test_file_content_with_seed()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_trace.h3806 uint64_t block_idx, uint64_t nr_blocks,
3808 TP_ARGS(cur, level, block_idx, nr_blocks, ptr, nr_records),
3813 __field(unsigned long long, block_idx)
3823 __entry->block_idx = block_idx;
3840 __entry->block_idx,
/OK3568_Linux_fs/kernel/tools/perf/ui/stdio/
H A Dhist.c552 bh->block_idx = i; in hist_entry__block_fprintf()