/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_csr.h | 21 #define HINIC_CSR_DMA_ATTR_ADDR(idx) \ argument 22 (HINIC_DMA_ATTR_BASE + (idx) * HINIC_DMA_ATTR_STRIDE) 26 #define HINIC_CSR_PPF_ELECTION_ADDR(idx) \ argument 27 (HINIC_ELECTION_BASE + (idx) * HINIC_PPF_ELECTION_STRIDE) 34 #define HINIC_CSR_API_CMD_CHAIN_HEAD_HI_ADDR(idx) \ argument 37 #define HINIC_CSR_API_CMD_CHAIN_HEAD_LO_ADDR(idx) \ argument 40 #define HINIC_CSR_API_CMD_STATUS_HI_ADDR(idx) \ argument 43 #define HINIC_CSR_API_CMD_STATUS_LO_ADDR(idx) \ argument 46 #define HINIC_CSR_API_CMD_CHAIN_NUM_CELLS_ADDR(idx) \ argument 49 #define HINIC_CSR_API_CMD_CHAIN_CTRL_ADDR(idx) \ argument [all …]
|
/linux-6.3-rc2/kernel/events/ |
A D | hw_breakpoint_test.c | 35 if (WARN_ON(idx < 0 || idx >= MAX_TEST_BREAKPOINTS)) in register_test_bp() 124 int idx = 0; in test_one_cpu() local 133 int idx = 0; in test_many_cpus() local 148 int idx = 0; in test_one_task_on_all_cpus() local 161 int idx = 0; in test_two_tasks_on_all_cpus() local 179 int idx = 0; in test_one_task_on_one_cpu() local 195 int idx = 0; in test_one_task_mixed() local 215 int idx = 0; in test_two_tasks_on_one_cpu() local 231 int idx = 0; in test_two_tasks_on_one_all_cpus() local 248 int idx = 0; in test_task_on_all_and_one_cpu() local [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/ |
A D | vcap_api_debugfs_kunit.c | 46 for (idx = 0; idx < kslist->cnt; idx++) { in test_val_keyset() 61 for (idx = 0; idx < kslist->cnt; idx++) { in test_val_keyset() 123 for (idx = 0; idx < count; ++idx) { in test_cache_read() 127 for (idx = 0; idx < count; ++idx) { in test_cache_read() 136 for (idx = 0; idx < count; ++idx) { in test_cache_read() 164 for (idx = 0; idx < count; ++idx) { in test_cache_write() 168 for (idx = 0; idx < count; ++idx) { in test_cache_write() 177 for (idx = 0; idx < count; ++idx) { in test_cache_write() 275 for (idx = 0; idx < cnt; ++idx) { in test_prf() 421 for (idx = 0; idx < test_pr_bufferidx; ++idx) { in vcap_api_show_admin_test() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_ethtool.c | 300 uint idx = i * lan966x->num_stats; in lan966x_stats_update() local 362 u32 idx; in lan966x_get_eth_mac_stats() local 371 lan966x->stats[idx + SYS_COUNT_TX_UC] + in lan966x_get_eth_mac_stats() 372 lan966x->stats[idx + SYS_COUNT_TX_MC] + in lan966x_get_eth_mac_stats() 373 lan966x->stats[idx + SYS_COUNT_TX_BC] + in lan966x_get_eth_mac_stats() 378 lan966x->stats[idx + SYS_COUNT_TX_COL]; in lan966x_get_eth_mac_stats() 383 lan966x->stats[idx + SYS_COUNT_RX_BC]; in lan966x_get_eth_mac_stats() 408 lan966x->stats[idx + SYS_COUNT_RX_MC]; in lan966x_get_eth_mac_stats() 410 lan966x->stats[idx + SYS_COUNT_RX_BC]; in lan966x_get_eth_mac_stats() 447 u32 idx; in lan966x_get_eth_rmon_stats() local [all …]
|
/linux-6.3-rc2/drivers/crypto/ccree/ |
A D | cc_aead.c | 317 idx++; in hmac_setkey() 325 idx++; in hmac_setkey() 333 idx++; in hmac_setkey() 343 idx++; in hmac_setkey() 354 idx++; in hmac_setkey() 942 idx++; in cc_set_cipher_desc() 960 idx++; in cc_set_cipher_desc() 1007 idx++; in cc_set_hmac_desc() 1016 idx++; in cc_set_hmac_desc() 1037 idx++; in cc_set_xcbc_desc() [all …]
|
A D | cc_hash.c | 359 idx++; in cc_fin_result() 380 idx++; in cc_fin_hmac() 389 idx++; in cc_fin_hmac() 400 idx++; in cc_fin_hmac() 406 idx++; in cc_fin_hmac() 413 idx++; in cc_fin_hmac() 480 idx++; in cc_hash_digest() 514 idx = cc_fin_hmac(desc, req, idx); in cc_hash_digest() 517 idx = cc_fin_result(desc, req, idx); in cc_hash_digest() 687 idx = cc_fin_hmac(desc, req, idx); in cc_do_finup() [all …]
|
/linux-6.3-rc2/drivers/net/can/sja1000/ |
A D | sja1000_isa.c | 126 idx, port[idx], mem[idx], irq[idx]); in sja1000_isa_probe() 176 if (clk[idx]) in sja1000_isa_probe() 215 if (mem[idx]) in sja1000_isa_probe() 218 if (mem[idx]) in sja1000_isa_probe() 258 int idx, err; in sja1000_isa_init() local 260 for (idx = 0; idx < MAXDEV; idx++) { in sja1000_isa_init() 261 if ((port[idx] || mem[idx]) && irq[idx]) { in sja1000_isa_init() 275 DRV_NAME, idx, port[idx], mem[idx], irq[idx]); in sja1000_isa_init() 276 } else if (idx == 0 || port[idx] || mem[idx]) { in sja1000_isa_init() 304 int idx; in sja1000_isa_exit() local [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_calendar.c | 216 for (idx = 0; idx < ARRAY_SIZE(cal); idx++) in sparx5_config_auto_calendar() 228 for (idx = 2; idx < 5; idx++) in sparx5_config_auto_calendar() 295 for (idx = 0; idx < SPX5_DSM_CAL_LEN; idx++) { in sparx5_dsm_calendar_calc() 338 for (idx = 0; idx < 4; idx++) { in sparx5_dsm_calendar_calc() 389 for (idx = 0; idx < empty_slots; idx++) in sparx5_dsm_calendar_calc() 392 for (idx = 1; idx < num_of_slots; idx++) { in sparx5_dsm_calendar_calc() 488 for (idx = 0; idx < SPX5_DSM_CAL_LEN; idx++) { in sparx5_dsm_calendar_check() 493 for (idx = 0; idx < cal_length; idx++) { in sparx5_dsm_calendar_check() 502 for (idx = 0; idx < num_of_slots; idx++) { in sparx5_dsm_calendar_check() 507 for (idx = 0; idx < num_of_slots; idx++) { in sparx5_dsm_calendar_check() [all …]
|
/linux-6.3-rc2/drivers/net/can/cc770/ |
A D | cc770_isa.c | 172 idx, port[idx], mem[idx], irq[idx]); in cc770_isa_probe() 220 if (clk[idx]) in cc770_isa_probe() 277 if (mem[idx]) in cc770_isa_probe() 280 if (mem[idx]) in cc770_isa_probe() 320 int idx, err; in cc770_isa_init() local 322 for (idx = 0; idx < ARRAY_SIZE(cc770_isa_devs); idx++) { in cc770_isa_init() 323 if ((port[idx] || mem[idx]) && irq[idx]) { in cc770_isa_init() 337 idx, port[idx], mem[idx], irq[idx]); in cc770_isa_init() 338 } else if (idx == 0 || port[idx] || mem[idx]) { in cc770_isa_init() 365 int idx; in cc770_isa_exit() local [all …]
|
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/ |
A D | sparsebit.c | 287 root->idx = subtree->idx; in node_copy_subtree() 317 if (idx >= nodep->idx && in node_find() 358 if (idx < parentp->idx) { in node_add() 518 if (nodep1->idx == idx) in node_split() 786 if (idx >= nodep->idx && in sparsebit_is_set() 798 assert(idx >= nodep->idx && idx - nodep->idx < MASK_BITS); in sparsebit_is_set() 821 assert(idx >= nodep->idx && idx <= nodep->idx + MASK_BITS - 1); in bit_set() 856 assert(idx >= nodep->idx && idx <= nodep->idx + MASK_BITS - 1); in bit_clear() 1268 for (idx = lowest_possible - nodep1->idx; idx < MASK_BITS; idx++) in sparsebit_next_clear() 1312 idx != 0 && idx + num - 1 >= idx; in sparsebit_next_set_num() [all …]
|
/linux-6.3-rc2/kernel/sched/ |
A D | cpudeadline.c | 39 l = left_child(idx); in cpudl_heapify_down() 41 largest = idx; in cpudl_heapify_down() 59 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_down() 60 idx = largest; in cpudl_heapify_down() 65 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_down() 75 if (idx == 0) in cpudl_heapify_up() 79 p = parent(idx); in cpudl_heapify_up() 85 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_up() 86 idx = p; in cpudl_heapify_up() 91 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_up() [all …]
|
/linux-6.3-rc2/lib/ |
A D | find_bit.c | 32 for (idx = 0; idx * BITS_PER_LONG < sz; idx++) { \ 63 idx++; \ 75 for (idx = 0; (idx + 1) * BITS_PER_LONG <= sz; idx++) { \ 114 return FIND_FIRST_BIT(addr1[idx] & addr2[idx], /* nop */, size); in _find_first_and_bit() 147 return FIND_NTH_BIT(addr1[idx] & addr2[idx], size, n); in __find_nth_and_bit() 154 return FIND_NTH_BIT(addr1[idx] & ~addr2[idx], size, n); in __find_nth_andnot_bit() 163 return FIND_NTH_BIT(addr1[idx] & addr2[idx] & ~addr3[idx], size, n); in __find_nth_and_andnot_bit() 171 return FIND_NEXT_BIT(addr1[idx] & addr2[idx], /* nop */, nbits, start); in _find_next_and_bit() 180 return FIND_NEXT_BIT(addr1[idx] & ~addr2[idx], /* nop */, nbits, start); in _find_next_andnot_bit() 202 val &= addr[idx]; in _find_last_bit() [all …]
|
/linux-6.3-rc2/arch/x86/um/ |
A D | tls_32.c | 66 int idx; in get_free_idx() local 68 for (idx = 0; idx < GDT_ENTRY_TLS_ENTRIES; idx++) in get_free_idx() 92 int idx; in load_TLS() local 94 for (idx = GDT_ENTRY_TLS_MIN; idx < GDT_ENTRY_TLS_MAX; idx++) { in load_TLS() 205 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in set_tls_entry() 236 int idx) in get_tls_entry() argument 240 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in get_tls_entry() 274 int idx, ret; in SYSCALL_DEFINE1() local 286 if (idx < 0) in SYSCALL_DEFINE1() 287 return idx; in SYSCALL_DEFINE1() [all …]
|
/linux-6.3-rc2/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
A D | Core.pm | 40 if (!$value && !$idx) { 45 if ($idx && ($value & $idx) == $idx) { 49 $string .= "$trace_flags{$idx}"; 51 $value &= ~$idx; 70 if (!$value && !$idx) { 74 if ($idx && ($value & $idx) == $idx) { 80 $value &= ~$idx; 110 print " value $idx: $flag_fields{$event}{$field}{'values'}{$idx}\n"; 122 if (!$value && !$idx) { 126 if ($value == $idx) { [all …]
|
/linux-6.3-rc2/drivers/clk/uniphier/ |
A D | clk-uniphier-sys.c | 27 #define UNIPHIER_LD4_SYS_CLK_NAND(idx) \ argument 31 #define UNIPHIER_PRO5_SYS_CLK_NAND(idx) \ argument 35 #define UNIPHIER_LD11_SYS_CLK_NAND(idx) \ argument 39 #define UNIPHIER_SYS_CLK_NAND_4X(idx) \ argument 42 #define UNIPHIER_LD11_SYS_CLK_EMMC(idx) \ argument 45 #define UNIPHIER_LD4_SYS_CLK_STDMAC(idx) \ argument 51 #define UNIPHIER_LD11_SYS_CLK_HSC(idx) \ argument 54 #define UNIPHIER_PRO4_SYS_CLK_GIO(idx) \ argument 60 #define UNIPHIER_PRO4_SYS_CLK_AIO(idx) \ argument 64 #define UNIPHIER_PRO5_SYS_CLK_AIO(idx) \ argument [all …]
|
/linux-6.3-rc2/include/asm-generic/ |
A D | fixmap.h | 33 return __fix_to_virt(idx); in fix_to_virt() 64 #define set_fixmap(idx, phys) \ argument 65 __set_fixmap(idx, phys, FIXMAP_PAGE_NORMAL) 69 #define clear_fixmap(idx) \ argument 70 __set_fixmap(idx, 0, FIXMAP_PAGE_CLEAR) 77 __set_fixmap(idx, phys, flags); \ 82 #define set_fixmap_offset(idx, phys) \ argument 88 #define set_fixmap_nocache(idx, phys) \ argument 97 #define set_fixmap_io(idx, phys) \ argument 98 __set_fixmap(idx, phys, FIXMAP_PAGE_IO) [all …]
|
/linux-6.3-rc2/mm/ |
A D | hugetlb_cgroup.c | 37 return &h_cg->rsvd_hugepage[idx]; in __hugetlb_cgroup_counter_from_cgroup() 38 return &h_cg->hugepage[idx]; in __hugetlb_cgroup_counter_from_cgroup() 91 int idx; in hugetlb_cgroup_init() local 93 for (idx = 0; idx < HUGE_MAX_HSTATE; idx++) { in hugetlb_cgroup_init() 101 parent_h_cgroup, idx); in hugetlb_cgroup_init() 103 parent_h_cgroup, idx); in hugetlb_cgroup_init() 106 idx), in hugetlb_cgroup_init() 509 ->usage[idx]); in hugetlb_cgroup_read_numa_stat() 554 int idx; in hugetlb_cgroup_read_u64_max() local 598 int ret, idx; in hugetlb_cgroup_write() local [all …]
|
/linux-6.3-rc2/arch/x86/events/intel/ |
A D | uncore_nhmex.c | 705 if (idx[0] != 0xff && idx[0] != __BITS_VALUE(reg1->idx, 0, 8)) in nhmex_mbox_get_constraint() 723 idx[0] = (idx[0] + 1) % 4; in nhmex_mbox_get_constraint() 842 idx = __BITS_VALUE(reg1->idx, 0, 8); in nhmex_mbox_msr_enable_event() 992 idx = reg1->idx % 6; in nhmex_rbox_get_constraint() 1009 } else if (idx == 2 || idx == 3) { in nhmex_rbox_get_constraint() 1044 if (idx != reg1->idx % 6) { in nhmex_rbox_get_constraint() 1053 if (idx != reg1->idx % 6) in nhmex_rbox_get_constraint() 1071 idx = reg1->idx % 6; in nhmex_rbox_put_constraint() 1078 if (idx == 2 || idx == 3) in nhmex_rbox_put_constraint() 1098 reg1->idx = idx; in nhmex_rbox_hw_config() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | evergreen_cs.c | 1073 unsigned idx; in evergreen_cs_parse_packet0() local 1076 idx = pkt->idx + 1; in evergreen_cs_parse_packet0() 1785 idx = pkt->idx + 1; in evergreen_packet3_check() 2104 ib[idx+1] = (ib[idx+1] & 0x3) | (offset & 0xfffffffc); in evergreen_packet3_check() 2802 u32 idx; in evergreen_dma_cs_parse() local 2812 idx = p->idx; in evergreen_dma_cs_parse() 3350 u32 idx = pkt->idx + 1; in evergreen_vm_packet3_check() local 3527 pkt.idx = idx; in evergreen_ib_parse() 3537 idx += 1; in evergreen_ib_parse() 3644 idx += 4; in evergreen_dma_ib_parse() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | cpsw_ale.c | 109 int idx; in cpsw_ale_get_field() local 113 idx = 2 - idx; /* flip */ in cpsw_ale_get_field() 120 int idx; in cpsw_ale_set_field() local 125 idx = 2 - idx; /* flip */ in cpsw_ale_set_field() 336 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_match_addr() 357 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_match_vlan() 373 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_match_free() 387 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_find_ageable() 426 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_flush_multicast() 776 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_set_unreg_mcast() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb/ |
A D | fpga_defs.h | 215 #define MAC_REG_ADDR(idx, reg) (MAC_REG_BASE + (idx) * 128 + (reg)) argument 217 #define MAC_REG_IDLO(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_LO) argument 218 #define MAC_REG_IDHI(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_HI) argument 219 #define MAC_REG_CSR(idx) MAC_REG_ADDR(idx, A_GMAC_CSR) argument 220 #define MAC_REG_IFS(idx) MAC_REG_ADDR(idx, A_GMAC_IFS) argument 222 #define MAC_REG_LINKDLY(idx) MAC_REG_ADDR(idx, A_GMAC_LNK_DLY) argument 223 #define MAC_REG_PAUSETIME(idx) MAC_REG_ADDR(idx, A_GMAC_PAUSETIME) argument 224 #define MAC_REG_CASTLO(idx) MAC_REG_ADDR(idx, A_GMAC_MCAST_LO) argument 225 #define MAC_REG_MCASTHI(idx) MAC_REG_ADDR(idx, A_GMAC_MCAST_HI) argument 228 #define MAC_REG_RMCNT(idx) MAC_REG_ADDR(idx, A_GMAC_RMT_CNT) argument [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_display_power_map.c | 111 .hsw.idx = HSW_PW_CTL_IDX_GLOBAL, 145 .hsw.idx = HSW_PW_CTL_IDX_GLOBAL, 204 .vlv.idx = PUNIT_PWGT_IDX_DISP2D, 362 .hsw.idx = SKL_PW_CTL_IDX_PW_1, 390 .hsw.idx = SKL_PW_CTL_IDX_PW_2, 470 .hsw.idx = SKL_PW_CTL_IDX_PW_2, 574 .hsw.idx = SKL_PW_CTL_IDX_PW_2, 724 .hsw.idx = ICL_PW_CTL_IDX_PW_1, 743 .hsw.idx = ICL_PW_CTL_IDX_PW_2, 751 .hsw.idx = ICL_PW_CTL_IDX_PW_3, [all …]
|
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/ |
A D | hyperv_features.c | 25 uint32_t idx; member 47 GUEST_ASSERT(msr->idx); in guest_msr() 254 msr->idx = HV_X64_MSR_RESET; in guest_test_msrs_access() 260 msr->idx = HV_X64_MSR_RESET; in guest_test_msrs_access() 265 msr->idx = HV_X64_MSR_RESET; in guest_test_msrs_access() 296 msr->idx = HV_X64_MSR_EOM; in guest_test_msrs_access() 305 msr->idx = HV_X64_MSR_EOM; in guest_test_msrs_access() 311 msr->idx = HV_X64_MSR_EOM; in guest_test_msrs_access() 316 msr->idx = HV_X64_MSR_EOM; in guest_test_msrs_access() 355 msr->idx = HV_X64_MSR_EOI; in guest_test_msrs_access() [all …]
|
/linux-6.3-rc2/tools/lib/ |
A D | find_bit.c | 29 unsigned long idx, val, sz = (size); \ 31 for (idx = 0; idx * BITS_PER_LONG < sz; idx++) { \ 34 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(val)), sz); \ 57 idx = __start / BITS_PER_LONG; \ 60 if ((idx + 1) * BITS_PER_LONG >= sz) \ 62 idx++; \ 65 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(tmp)), sz); \ 76 return FIND_FIRST_BIT(addr[idx], /* nop */, size); in _find_first_bit() 88 return FIND_FIRST_BIT(addr1[idx] & addr2[idx], /* nop */, size); in _find_first_and_bit() 98 return FIND_FIRST_BIT(~addr[idx], /* nop */, size); in _find_first_zero_bit() [all …]
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | tls.c | 25 int idx; in get_free_idx() local 27 for (idx = 0; idx < GDT_ENTRY_TLS_ENTRIES; idx++) in get_free_idx() 128 if (idx == -1) in do_set_thread_area() 129 idx = info.entry_number; in do_set_thread_area() 136 idx = get_free_idx(); in do_set_thread_area() 137 if (idx < 0) in do_set_thread_area() 138 return idx; in do_set_thread_area() 143 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in do_set_thread_area() 201 info->entry_number = idx; in fill_user_desc() 221 if (idx == -1 && get_user(idx, &u_info->entry_number)) in do_get_thread_area() [all …]
|