/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_hash.c | 492 for (i = 0; i < table->mem_table.ways; i++) { in rvu_npc_exact_alloc_mem_table_entry() 800 static int rvu_npc_exact_add_to_list(struct rvu *rvu, enum npc_exact_opc_type opc_type, u8 ways, in rvu_npc_exact_add_to_list() argument 808 WARN_ON(ways >= NPC_EXACT_TBL_MAX_WAYS); in rvu_npc_exact_add_to_list() 830 lhead = &table->lhead_mem_tbl_entry[ways]; in rvu_npc_exact_add_to_list() 848 entry->ways = ways; in rvu_npc_exact_add_to_list() 888 static void rvu_npc_exact_mem_table_write(struct rvu *rvu, int blkaddr, u8 ways, in rvu_npc_exact_mem_table_write() argument 891 rvu_write64(rvu, blkaddr, NPC_AF_EXACT_MEM_ENTRY(ways, index), mdata); in rvu_npc_exact_mem_table_write() 916 u8 ways, u32 index) in rvu_npc_exact_dealloc_table_entry() argument 938 __func__, ways, index); in rvu_npc_exact_dealloc_table_entry() 949 if (!test_bit(index + ways * depth, table->mem_table.bmap)) { in rvu_npc_exact_dealloc_table_entry() [all …]
|
D | rvu_npc_hash.h | 161 u8 ways; member 178 int ways; member
|
D | rvu_debugfs.c | 2985 for (i = 0; i < table->mem_table.ways; i++) { in rvu_dbg_npc_exact_show_entries() 2993 for (i = 0; i < table->mem_table.ways; i++) in rvu_dbg_npc_exact_show_entries() 3001 for (j = 0; j < table->mem_table.ways; j++) { in rvu_dbg_npc_exact_show_entries() 3016 for (j = 0; j < table->mem_table.ways; j++) { in rvu_dbg_npc_exact_show_entries() 3073 seq_printf(s, "Ways : %d\n", table->mem_table.ways); in rvu_dbg_npc_exact_show_info()
|
/drivers/cxl/ |
D | cxl.h | 105 static inline int ways_to_cxl(unsigned int ways, u8 *iw) in ways_to_cxl() argument 107 if (ways > 16) in ways_to_cxl() 109 if (is_power_of_2(ways)) { in ways_to_cxl() 110 *iw = ilog2(ways); in ways_to_cxl() 113 if (ways % 3) in ways_to_cxl() 115 ways /= 3; in ways_to_cxl() 116 if (!is_power_of_2(ways)) in ways_to_cxl() 118 *iw = ilog2(ways) + 8; in ways_to_cxl()
|
D | acpi.c | 34 unsigned int ways; in cxl_acpi_cfmws_verify() local 51 rc = cxl_to_ways(cfmws->interleave_ways, &ways); in cxl_acpi_cfmws_verify() 58 expected_len = struct_size(cfmws, interleave_targets, ways); in cxl_acpi_cfmws_verify() 91 unsigned int ways, i, ig; in cxl_parse_cfmws() local 105 rc = cxl_to_ways(cfmws->interleave_ways, &ways); in cxl_parse_cfmws() 111 for (i = 0; i < ways; i++) in cxl_parse_cfmws() 131 cxlrd = cxl_root_decoder_alloc(root_port, ways); in cxl_parse_cfmws() 142 cxld->interleave_ways = ways; in cxl_parse_cfmws() 147 if (ways == 1) in cxl_parse_cfmws()
|
/drivers/cxl/core/ |
D | hdm.c | 517 int ways = cxlsd->cxld.interleave_ways; in cxlsd_set_targets() local 520 ways > 8 || ways > cxlsd->nr_targets, in cxlsd_set_targets() 521 "ways: %d overflows targets: %d\n", ways, in cxlsd_set_targets() 526 if (ways > 1) in cxlsd_set_targets() 528 if (ways > 2) in cxlsd_set_targets() 530 if (ways > 3) in cxlsd_set_targets() 532 if (ways > 4) in cxlsd_set_targets() 534 if (ways > 5) in cxlsd_set_targets() 536 if (ways > 6) in cxlsd_set_targets() 538 if (ways > 7) in cxlsd_set_targets()
|
/drivers/gpu/drm/i915/ |
D | intel_dram.c | 540 static const u8 ways[8] = { 4, 8, 12, 16, 16, 16, 16, 16 }; in gen9_edram_size_mb() local 544 ways[EDRAM_WAYS_IDX(cap)] * in gen9_edram_size_mb()
|
/drivers/gpu/drm/nouveau/ |
D | Kconfig | 35 ways, so offer a way to disable it now. For uapi compat with
|
/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hwseq.c | 358 uint8_t ways, i; in dcn32_apply_idle_power_optimizations() local 389 ways = dcn32_calculate_cab_allocation(dc, dc->current_state); in dcn32_apply_idle_power_optimizations() 407 if (ways <= dc->caps.cache_num_ways && !mall_ss_unsupported) { in dcn32_apply_idle_power_optimizations() 412 cmd.cab.cab_alloc_ways = ways; in dcn32_apply_idle_power_optimizations()
|
/drivers/edac/ |
D | skx_base.c | 395 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()
|
D | sb_edac.c | 1157 int *ways) in knl_get_tad() argument 1189 *ways = knl_tad_ways[way_id]; in knl_get_tad() 1191 *ways = 0; in knl_get_tad()
|
/drivers/gpio/ |
D | TODO | 138 There are already ways to use pin control as back-end for GPIO and
|
/drivers/usb/gadget/legacy/ |
D | Kconfig | 125 several ways:
|
/drivers/md/ |
D | Kconfig | 623 them to replay the log in a variety of ways and to check the
|
/drivers/scsi/aic7xxx/ |
D | aic79xx.reg | 4237 * Sense buffer mapping can be handled in either of two ways.
|
/drivers/watchdog/ |
D | Kconfig | 1431 the watchdog. If you have a card that behave in similar ways,
|