Home
last modified time | relevance | path

Searched refs:rdreg (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-mmio-v3.c259 struct vgic_redist_region *rdreg = vgic_cpu->rdreg; in vgic_mmio_read_v3r_typer() local
261 gpa_t last_rdist_typer = rdreg->base + GICR_TYPER + in vgic_mmio_read_v3r_typer()
262 (rdreg->free_index - 1) * KVM_VGIC_V3_REDIST_SIZE; in vgic_mmio_read_v3r_typer()
696 struct vgic_redist_region *rdreg; in vgic_register_redist_iodev() local
709 rdreg = vgic_v3_rdist_free_slot(&vgic->rd_regions); in vgic_register_redist_iodev()
710 if (!rdreg) in vgic_register_redist_iodev()
716 vgic_cpu->rdreg = rdreg; in vgic_register_redist_iodev()
718 rd_base = rdreg->base + rdreg->free_index * KVM_VGIC_V3_REDIST_SIZE; in vgic_register_redist_iodev()
735 rdreg->free_index++; in vgic_register_redist_iodev()
789 struct vgic_redist_region *rdreg; in vgic_v3_insert_redist_region() local
[all …]
Dvgic-v3.c423 struct vgic_redist_region *rdreg; in vgic_v3_rdist_overlap() local
425 list_for_each_entry(rdreg, &d->rd_regions, list) { in vgic_v3_rdist_overlap()
426 if ((base + size > rdreg->base) && in vgic_v3_rdist_overlap()
427 (base < rdreg->base + vgic_v3_rd_region_size(kvm, rdreg))) in vgic_v3_rdist_overlap()
440 struct vgic_redist_region *rdreg; in vgic_v3_check_base() local
446 list_for_each_entry(rdreg, &d->rd_regions, list) { in vgic_v3_check_base()
447 if (rdreg->base + vgic_v3_rd_region_size(kvm, rdreg) < in vgic_v3_check_base()
448 rdreg->base) in vgic_v3_check_base()
473 struct vgic_redist_region *rdreg; in vgic_v3_rdist_free_slot() local
475 list_for_each_entry(rdreg, rd_regions, list) { in vgic_v3_rdist_free_slot()
[all …]
Dvgic-kvm-device.c81 struct vgic_redist_region *rdreg; in kvm_vgic_addr() local
90 rdreg = list_first_entry_or_null(&vgic->rd_regions, in kvm_vgic_addr()
92 if (!rdreg) in kvm_vgic_addr()
95 addr_ptr = &rdreg->base; in kvm_vgic_addr()
100 struct vgic_redist_region *rdreg; in kvm_vgic_addr() local
124 rdreg = vgic_v3_rdist_region_from_index(kvm, index); in kvm_vgic_addr()
125 if (!rdreg) { in kvm_vgic_addr()
131 *addr |= rdreg->base; in kvm_vgic_addr()
132 *addr |= (u64)rdreg->count << KVM_VGIC_V3_RDIST_COUNT_SHIFT; in kvm_vgic_addr()
Dvgic-init.c330 struct vgic_redist_region *rdreg, *next; in kvm_vgic_dist_destroy() local
340 list_for_each_entry_safe(rdreg, next, &dist->rd_regions, list) { in kvm_vgic_dist_destroy()
341 list_del(&rdreg->list); in kvm_vgic_dist_destroy()
342 kfree(rdreg); in kvm_vgic_dist_destroy()
Dvgic.h286 vgic_v3_rd_region_size(struct kvm *kvm, struct vgic_redist_region *rdreg) in vgic_v3_rd_region_size() argument
288 if (!rdreg->count) in vgic_v3_rd_region_size()
291 return rdreg->count * KVM_VGIC_V3_REDIST_SIZE; in vgic_v3_rd_region_size()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/
Dgpio_mdio.c117 u16 rdreg; in gpio_mdio_read() local
132 rdreg = 0; in gpio_mdio_read()
140 rdreg <<= 1; in gpio_mdio_read()
141 rdreg |= mdio_read(bus); in gpio_mdio_read()
149 ret = rdreg; in gpio_mdio_read()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-cadence-quadspi.c282 u32 rdreg = 0; in cqspi_calc_rdreg() local
284 rdreg |= f_pdata->inst_width << CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB; in cqspi_calc_rdreg()
285 rdreg |= f_pdata->addr_width << CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB; in cqspi_calc_rdreg()
286 rdreg |= f_pdata->data_width << CQSPI_REG_RD_INSTR_TYPE_DATA_LSB; in cqspi_calc_rdreg()
288 return rdreg; in cqspi_calc_rdreg()
356 unsigned int rdreg; in cqspi_command_read() local
370 rdreg = cqspi_calc_rdreg(f_pdata); in cqspi_command_read()
371 writel(rdreg, reg_base + CQSPI_REG_RD_INSTR); in cqspi_command_read()
/kernel/linux/linux-5.10/include/kvm/
Darm_vgic.h324 struct vgic_redist_region *rdreg; member