Home
last modified time | relevance | path

Searched refs:ways (Results 1 – 17 of 17) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc_hash.c476 for (i = 0; i < table->mem_table.ways; i++) { in rvu_npc_exact_alloc_mem_table_entry()
792 WARN_ON(ways >= NPC_EXACT_TBL_MAX_WAYS); in rvu_npc_exact_add_to_list()
814 lhead = &table->lhead_mem_tbl_entry[ways]; in rvu_npc_exact_add_to_list()
832 entry->ways = ways; in rvu_npc_exact_add_to_list()
900 u8 ways, u32 index) in rvu_npc_exact_dealloc_table_entry() argument
922 __func__, ways, index); in rvu_npc_exact_dealloc_table_entry()
953 __func__, index, ways, opc_type); in rvu_npc_exact_dealloc_table_entry()
989 __func__, *ways, *index); in rvu_npc_exact_alloc_table_entry()
996 *ways = 0; in rvu_npc_exact_alloc_table_entry()
1328 u8 ways; in rvu_npc_exact_add_table_entry() local
[all …]
A Drvu_npc_hash.h159 u8 ways; member
176 int ways; member
A Drvu_debugfs.c3559 for (i = 0; i < table->mem_table.ways; i++) { in rvu_dbg_npc_exact_show_entries()
3567 for (i = 0; i < table->mem_table.ways; i++) in rvu_dbg_npc_exact_show_entries()
3575 for (j = 0; j < table->mem_table.ways; j++) { in rvu_dbg_npc_exact_show_entries()
3590 for (j = 0; j < table->mem_table.ways; j++) { in rvu_dbg_npc_exact_show_entries()
3647 seq_printf(s, "Ways : %d\n", table->mem_table.ways); in rvu_dbg_npc_exact_show_info()
/drivers/cxl/
A Dcxl.h93 static inline int eiw_to_ways(u8 eiw, unsigned int *ways) in eiw_to_ways() argument
97 *ways = 1 << eiw; in eiw_to_ways()
100 *ways = 3 << (eiw - 8); in eiw_to_ways()
118 static inline int ways_to_eiw(unsigned int ways, u8 *eiw) in ways_to_eiw() argument
120 if (ways > 16) in ways_to_eiw()
122 if (is_power_of_2(ways)) { in ways_to_eiw()
123 *eiw = ilog2(ways); in ways_to_eiw()
126 if (ways % 3) in ways_to_eiw()
128 ways /= 3; in ways_to_eiw()
129 if (!is_power_of_2(ways)) in ways_to_eiw()
[all …]
A Dacpi.c134 unsigned int ways; in cxl_acpi_cfmws_verify() local
153 rc = eiw_to_ways(cfmws->interleave_ways, &ways); in cxl_acpi_cfmws_verify()
160 expected_len = struct_size(cfmws, interleave_targets, ways); in cxl_acpi_cfmws_verify()
406 unsigned int ways, i, ig; in DEFINE_FREE() local
413 rc = eiw_to_ways(cfmws->interleave_ways, &ways); in DEFINE_FREE()
419 for (i = 0; i < ways; i++) in DEFINE_FREE()
433 cxl_root_decoder_alloc(root_port, ways); in DEFINE_FREE()
445 cxld->interleave_ways = ways; in DEFINE_FREE()
450 if (ways == 1) in DEFINE_FREE()
457 if (ways != 1 && ways != 3) { in DEFINE_FREE()
/drivers/cxl/core/
A Dhdm.c731 int ways = cxlsd->cxld.interleave_ways; in cxlsd_set_targets() local
734 if (ways > 1) in cxlsd_set_targets()
736 if (ways > 2) in cxlsd_set_targets()
738 if (ways > 3) in cxlsd_set_targets()
740 if (ways > 4) in cxlsd_set_targets()
742 if (ways > 5) in cxlsd_set_targets()
744 if (ways > 6) in cxlsd_set_targets()
746 if (ways > 7) in cxlsd_set_targets()
A Dregion.c1780 int *pos, int *ways) in find_pos_and_ways() argument
1800 *ways = cxlsd->cxld.interleave_ways; in find_pos_and_ways()
1802 for (int i = 0; i < *ways; i++) { in find_pos_and_ways()
2906 int ways = p->interleave_ways; in cxl_is_hpa_in_chunk() local
2911 offset = do_div(offset, gran * ways); in cxl_is_hpa_in_chunk()
/drivers/gpu/drm/i915/soc/
A Dintel_dram.c775 static const u8 ways[8] = { 4, 8, 12, 16, 16, 16, 16, 16 }; in gen9_edram_size_mb() local
779 ways[EDRAM_WAYS_IDX(cap)] * in gen9_edram_size_mb()
/drivers/edac/
A Dskx_base.c395 static u64 skx_do_interleave(u64 addr, int shift, int ways, u64 lowbits) in skx_do_interleave() argument
398 addr /= ways; in skx_do_interleave()
A Dsb_edac.c1159 int *ways) in knl_get_tad() argument
1191 *ways = knl_tad_ways[way_id]; in knl_get_tad()
1193 *ways = 0; in knl_get_tad()
/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
A Ddcn32_hwseq.c256 uint32_t ways; in dcn32_apply_idle_power_optimizations() local
293 ways = dcn32_calculate_cab_allocation(dc, dc->current_state); in dcn32_apply_idle_power_optimizations()
311 if (ways <= dc->caps.cache_num_ways && !mall_ss_unsupported) { in dcn32_apply_idle_power_optimizations()
316 cmd.cab.cab_alloc_ways = (uint8_t)ways; in dcn32_apply_idle_power_optimizations()
/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
A Ddcn401_hwseq.c1260 uint8_t ways, i; in dcn401_apply_idle_power_optimizations() local
1293 ways = dcn401_calculate_cab_allocation(dc, dc->current_state); in dcn401_apply_idle_power_optimizations()
1311 if (ways <= dc->caps.cache_num_ways && !mall_ss_unsupported) { in dcn401_apply_idle_power_optimizations()
1313 cmd.cab.cab_alloc_ways = ways; in dcn401_apply_idle_power_optimizations()
1314 DC_LOG_MALL("cab allocation: %d ways. CAB action: DCN_SS_FIT_IN_CAB\n", ways); in dcn401_apply_idle_power_optimizations()
1317 …LOG_MALL("frame does not fit in CAB: %d ways required. CAB action: DCN_SS_NOT_FIT_IN_CAB\n", ways); in dcn401_apply_idle_power_optimizations()
/drivers/usb/gadget/legacy/
A DKconfig125 several ways:
/drivers/md/
A DKconfig601 them to replay the log in a variety of ways and to check the
/drivers/crypto/
A DKconfig151 PAES but the CCA and EP11 handler provide alternate ways to
/drivers/scsi/aic7xxx/
A Daic79xx.reg4237 * Sense buffer mapping can be handled in either of two ways.
/drivers/watchdog/
A DKconfig1556 the watchdog. If you have a card that behave in similar ways,

Completed in 687 milliseconds