Searched refs:phys_val (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/arch/powerpc/platforms/cell/ |
D | pmu.c | 131 u32 phys_val; in cbe_write_ctr() local 136 phys_val = cbe_read_phys_ctr(cpu, phys_ctr); in cbe_write_ctr() 139 val = (val << 16) | (phys_val & 0xffff); in cbe_write_ctr() 141 val = (val & 0xffff) | (phys_val & 0xffff0000); in cbe_write_ctr()
|
/linux-6.6.21/drivers/ps3/ |
D | ps3-lpm.c | 327 u32 phys_val; in ps3_write_ctr() local 332 phys_val = ps3_read_phys_ctr(cpu, phys_ctr); in ps3_write_ctr() 335 val = (val << 16) | (phys_val & 0xffff); in ps3_write_ctr() 337 val = (val & 0xffff) | (phys_val & 0xffff0000); in ps3_write_ctr()
|
/linux-6.6.21/drivers/vfio/pci/ |
D | vfio_pci_config.c | 188 __le32 phys_val = 0; in vfio_default_config_read() local 191 ret = vfio_user_config_read(pdev, pos, &phys_val, count); in vfio_default_config_read() 195 *val = (phys_val & ~virt) | (*val & virt); in vfio_default_config_read() 229 __le32 phys_val = 0; in vfio_default_config_write() local 232 ret = vfio_user_config_read(pdev, pos, &phys_val, count); in vfio_default_config_write() 236 phys_val &= ~(write & ~virt); in vfio_default_config_write() 237 phys_val |= (val & (write & ~virt)); in vfio_default_config_write() 239 ret = vfio_user_config_write(pdev, pos, phys_val, count); in vfio_default_config_write()
|
/linux-6.6.21/drivers/accel/habanalabs/common/mmu/ |
D | mmu_v1.c | 116 u64 phys_val = get_phys_addr(ctx, val & HOP_PHYS_ADDR_MASK) | in write_pte() local 121 phys_val); in write_pte()
|