Searched refs:rdreg (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/virt/kvm/arm/vgic/ |
D | vgic-mmio-v3.c | 212 struct vgic_redist_region *rdreg = vgic_cpu->rdreg; in vgic_mmio_read_v3r_typer() local 214 gpa_t last_rdist_typer = rdreg->base + GICR_TYPER + in vgic_mmio_read_v3r_typer() 215 (rdreg->free_index - 1) * KVM_VGIC_V3_REDIST_SIZE; in vgic_mmio_read_v3r_typer() 618 struct vgic_redist_region *rdreg; in vgic_register_redist_iodev() local 631 rdreg = vgic_v3_rdist_free_slot(&vgic->rd_regions); in vgic_register_redist_iodev() 632 if (!rdreg) in vgic_register_redist_iodev() 638 vgic_cpu->rdreg = rdreg; in vgic_register_redist_iodev() 640 rd_base = rdreg->base + rdreg->free_index * KVM_VGIC_V3_REDIST_SIZE; in vgic_register_redist_iodev() 674 rdreg->free_index++; in vgic_register_redist_iodev() 732 struct vgic_redist_region *rdreg; in vgic_v3_insert_redist_region() local [all …]
|
D | vgic-v3.c | 432 struct vgic_redist_region *rdreg; in vgic_v3_rdist_overlap() local 434 list_for_each_entry(rdreg, &d->rd_regions, list) { in vgic_v3_rdist_overlap() 435 if ((base + size > rdreg->base) && in vgic_v3_rdist_overlap() 436 (base < rdreg->base + vgic_v3_rd_region_size(kvm, rdreg))) in vgic_v3_rdist_overlap() 449 struct vgic_redist_region *rdreg; in vgic_v3_check_base() local 455 list_for_each_entry(rdreg, &d->rd_regions, list) { in vgic_v3_check_base() 456 if (rdreg->base + vgic_v3_rd_region_size(kvm, rdreg) < in vgic_v3_check_base() 457 rdreg->base) in vgic_v3_check_base() 482 struct vgic_redist_region *rdreg; in vgic_v3_rdist_free_slot() local 484 list_for_each_entry(rdreg, rd_regions, list) { in vgic_v3_rdist_free_slot() [all …]
|
D | vgic-kvm-device.c | 89 struct vgic_redist_region *rdreg; in kvm_vgic_addr() local 98 rdreg = list_first_entry(&vgic->rd_regions, in kvm_vgic_addr() 100 if (!rdreg) in kvm_vgic_addr() 103 addr_ptr = &rdreg->base; in kvm_vgic_addr() 108 struct vgic_redist_region *rdreg; in kvm_vgic_addr() local 132 rdreg = vgic_v3_rdist_region_from_index(kvm, index); in kvm_vgic_addr() 133 if (!rdreg) { in kvm_vgic_addr() 139 *addr |= rdreg->base; in kvm_vgic_addr() 140 *addr |= (u64)rdreg->count << KVM_VGIC_V3_RDIST_COUNT_SHIFT; in kvm_vgic_addr()
|
D | vgic-init.c | 326 struct vgic_redist_region *rdreg, *next; in kvm_vgic_dist_destroy() local 336 list_for_each_entry_safe(rdreg, next, &dist->rd_regions, list) { in kvm_vgic_dist_destroy() 337 list_del(&rdreg->list); in kvm_vgic_dist_destroy() 338 kfree(rdreg); in kvm_vgic_dist_destroy()
|
D | vgic.h | 293 vgic_v3_rd_region_size(struct kvm *kvm, struct vgic_redist_region *rdreg) in vgic_v3_rd_region_size() argument 295 if (!rdreg->count) in vgic_v3_rd_region_size() 298 return rdreg->count * KVM_VGIC_V3_REDIST_SIZE; in vgic_v3_rd_region_size()
|
/Linux-v4.19/arch/powerpc/platforms/pasemi/ |
D | gpio_mdio.c | 129 u16 rdreg; in gpio_mdio_read() local 144 rdreg = 0; in gpio_mdio_read() 152 rdreg <<= 1; in gpio_mdio_read() 153 rdreg |= mdio_read(bus); in gpio_mdio_read() 161 ret = rdreg; in gpio_mdio_read()
|
/Linux-v4.19/drivers/mtd/spi-nor/ |
D | cadence-quadspi.c | 298 u32 rdreg = 0; in cqspi_calc_rdreg() local 300 rdreg |= f_pdata->inst_width << CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB; in cqspi_calc_rdreg() 301 rdreg |= f_pdata->addr_width << CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB; in cqspi_calc_rdreg() 302 rdreg |= f_pdata->data_width << CQSPI_REG_RD_INSTR_TYPE_DATA_LSB; in cqspi_calc_rdreg() 304 return rdreg; in cqspi_calc_rdreg() 371 unsigned int rdreg; in cqspi_command_read() local 384 rdreg = cqspi_calc_rdreg(nor, txbuf[0]); in cqspi_command_read() 385 writel(rdreg, reg_base + CQSPI_REG_RD_INSTR); in cqspi_command_read()
|
/Linux-v4.19/include/kvm/ |
D | arm_vgic.h | 326 struct vgic_redist_region *rdreg; member
|