Lines Matching refs:block_id
294 enum block_id sem_block_id;
1023 enum block_id block_id) in get_dbg_block() argument
1028 return dbg_block + block_id; in get_dbg_block()
1033 enum block_id in qed_get_dbg_block_per_chip()
1034 block_id) in qed_get_dbg_block_per_chip() argument
1040 block_id * MAX_CHIP_IDS + dev_data->chip_id; in qed_get_dbg_block_per_chip()
1407 blk = qed_get_dbg_block_per_chip(p_hwfn, (enum block_id)blk_id); in qed_update_blocks_reset_state()
1500 enum block_id block_id, in qed_bus_config_dbg_line() argument
1507 qed_get_dbg_block_per_chip(p_hwfn, block_id); in qed_bus_config_dbg_line()
1526 u32 block_id; in qed_bus_disable_blocks() local
1529 for (block_id = 0; block_id < MAX_BLOCK_ID; block_id++) { in qed_bus_disable_blocks()
1532 (enum block_id)block_id); in qed_bus_disable_blocks()
1536 dev_data->block_in_reset[block_id]) in qed_bus_disable_blocks()
1596 enum block_id block_id, u8 mem_group_id) in qed_grc_is_mem_included() argument
1601 block = get_dbg_block(p_hwfn, block_id); in qed_grc_is_mem_included()
1711 u32 block_id; in qed_grc_unreset_blocks() local
1714 for (block_id = 0; block_id < NUM_PHYS_BLOCKS; block_id++) { in qed_grc_unreset_blocks()
1719 (enum block_id) in qed_grc_unreset_blocks()
1720 block_id); in qed_grc_unreset_blocks()
1764 enum block_id block_id, enum dbg_attn_type attn_type) in qed_get_block_attn_data() argument
1770 return &base_attn_block_arr[block_id].per_type_data[attn_type]; in qed_get_block_attn_data()
1776 enum block_id block_id, enum dbg_attn_type attn_type, in qed_get_block_attn_regs() argument
1780 qed_get_block_attn_data(p_hwfn, block_id, attn_type); in qed_get_block_attn_regs()
1795 u32 block_id, sts_clr_address; in qed_grc_clear_all_prty() local
1798 for (block_id = 0; block_id < NUM_PHYS_BLOCKS; block_id++) { in qed_grc_clear_all_prty()
1799 if (dev_data->block_in_reset[block_id]) in qed_grc_clear_all_prty()
1803 (enum block_id)block_id, in qed_grc_clear_all_prty()
2211 if (!mode_match || !block_enable[cond_hdr->block_id]) { in qed_grc_dump_regs_entries()
2421 u32 block_id, offset = 0, stall_regs_offset; in qed_grc_dump_modified_regs() local
2432 for (block_id = 0; block_id < NUM_PHYS_BLOCKS; block_id++) { in qed_grc_dump_modified_regs()
2433 if (dev_data->block_in_reset[block_id] && dump) in qed_grc_dump_modified_regs()
2437 (enum block_id)block_id, in qed_grc_dump_modified_regs()
2737 (enum block_id) in qed_grc_dump_mem_entries()
2738 cond_hdr->block_id, in qed_grc_dump_mem_entries()
2748 cond_hdr->block_id); in qed_grc_dump_mem_entries()
3417 u32 block_id, line_id, offset = 0, addr, len; in qed_grc_dump_static_debug() local
3437 for (block_id = 0; block_id < MAX_BLOCK_ID; block_id++) { in qed_grc_dump_static_debug()
3445 qed_get_dbg_block_per_chip(p_hwfn, (enum block_id)block_id); in qed_grc_dump_static_debug()
3468 block = get_dbg_block(p_hwfn, (enum block_id)block_id); in qed_grc_dump_static_debug()
3483 if (dev_data->block_in_reset[block_id]) { in qed_grc_dump_static_debug()
3502 (enum block_id)block_id, in qed_grc_dump_static_debug()
3519 (enum block_id)block_id, 0, 0, 0, 0, 0); in qed_grc_dump_static_debug()
3774 u32 block_id; in qed_idle_chk_dump_failure() local
3782 block_id = GET_FIELD(reg->data, DBG_IDLE_CHK_INFO_REG_BLOCK_ID); in qed_idle_chk_dump_failure()
3783 if (block_id >= MAX_BLOCK_ID) { in qed_idle_chk_dump_failure()
3788 if (!dev_data->block_in_reset[block_id]) { in qed_idle_chk_dump_failure()
3878 u32 block_id = in qed_idle_chk_dump_rule_entries() local
3882 if (block_id >= MAX_BLOCK_ID) { in qed_idle_chk_dump_rule_entries()
3887 check_rule = !dev_data->block_in_reset[block_id]; in qed_idle_chk_dump_rule_entries()
5702 enum block_id block_id, in qed_dbg_read_attn() argument
5720 block_id, in qed_dbg_read_attn()
5763 results->block_id = (u8)block_id; in qed_dbg_read_attn()
5765 qed_get_block_attn_data(p_hwfn, block_id, attn_type)->names_offset; in qed_dbg_read_attn()
6452 enum block_id block_id) in qed_dbg_get_block_name() argument
6456 p_hwfn->dbg_arrays[BIN_BUF_DBG_BLOCKS_USER_DATA].ptr + block_id; in qed_dbg_get_block_name()
7746 block_name = qed_dbg_get_block_name(p_hwfn, results->block_id); in qed_dbg_parse_attn()