Home
last modified time | relevance | path

Searched refs:nr_bank (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/arch/x86/hyperv/
Dmmu.c167 int nr_bank = 0, max_gvas, gva_n; in hyperv_flush_tlb_others_ex() local
196 nr_bank = cpumask_to_vpset(&(flush->hv_vp_set), cpus); in hyperv_flush_tlb_others_ex()
197 if (nr_bank < 0) in hyperv_flush_tlb_others_ex()
205 (PAGE_SIZE - sizeof(*flush) - nr_bank * in hyperv_flush_tlb_others_ex()
213 0, nr_bank, flush, NULL); in hyperv_flush_tlb_others_ex()
218 0, nr_bank, flush, NULL); in hyperv_flush_tlb_others_ex()
220 gva_n = fill_gva_list(flush->gva_list, nr_bank, in hyperv_flush_tlb_others_ex()
224 gva_n, nr_bank, flush, NULL); in hyperv_flush_tlb_others_ex()
Dhv_apic.c105 int nr_bank = 0; in __send_ipi_mask_ex() local
124 nr_bank = cpumask_to_vpset(&(ipi_arg->vp_set), mask); in __send_ipi_mask_ex()
126 if (nr_bank < 0) in __send_ipi_mask_ex()
128 if (!nr_bank) in __send_ipi_mask_ex()
131 ret = hv_do_rep_hypercall(HVCALL_SEND_IPI_EX, 0, nr_bank, in __send_ipi_mask_ex()
/Linux-v5.4/include/asm-generic/
Dmshyperv.h134 int cpu, vcpu, vcpu_bank, vcpu_offset, nr_bank = 1; in cpumask_to_vpset() local
159 if (vcpu_bank >= nr_bank) in cpumask_to_vpset()
160 nr_bank = vcpu_bank + 1; in cpumask_to_vpset()
162 vpset->valid_bank_mask = GENMASK_ULL(nr_bank - 1, 0); in cpumask_to_vpset()
163 return nr_bank; in cpumask_to_vpset()
/Linux-v5.4/drivers/gpio/
Dgpio-f7188x.c66 int nr_bank; member
398 data->nr_bank = ARRAY_SIZE(f71869_gpio_bank); in f7188x_gpio_probe()
402 data->nr_bank = ARRAY_SIZE(f71869a_gpio_bank); in f7188x_gpio_probe()
406 data->nr_bank = ARRAY_SIZE(f71882_gpio_bank); in f7188x_gpio_probe()
410 data->nr_bank = ARRAY_SIZE(f71889a_gpio_bank); in f7188x_gpio_probe()
414 data->nr_bank = ARRAY_SIZE(f71889_gpio_bank); in f7188x_gpio_probe()
418 data->nr_bank = ARRAY_SIZE(f81866_gpio_bank); in f7188x_gpio_probe()
422 data->nr_bank = ARRAY_SIZE(f81804_gpio_bank); in f7188x_gpio_probe()
433 for (i = 0; i < data->nr_bank; i++) { in f7188x_gpio_probe()
/Linux-v5.4/drivers/pci/controller/
Dpci-hyperv.c1197 int cpu, nr_bank; in hv_irq_unmask() local
1244 nr_bank = cpumask_to_vpset(&params->int_target.vp_set, tmp); in hv_irq_unmask()
1247 if (nr_bank <= 0) { in hv_irq_unmask()
1257 var_size = 1 + nr_bank; in hv_irq_unmask()