Home
last modified time | relevance | path

Searched refs:phys_val (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/arch/powerpc/platforms/cell/
Dpmu.c131 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-5.19.10/drivers/ps3/
Dps3-lpm.c327 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-5.19.10/drivers/vfio/pci/
Dvfio_pci_config.c187 __le32 phys_val = 0; in vfio_default_config_read() local
190 ret = vfio_user_config_read(pdev, pos, &phys_val, count); in vfio_default_config_read()
194 *val = (phys_val & ~virt) | (*val & virt); in vfio_default_config_read()
228 __le32 phys_val = 0; in vfio_default_config_write() local
231 ret = vfio_user_config_read(pdev, pos, &phys_val, count); in vfio_default_config_write()
235 phys_val &= ~(write & ~virt); in vfio_default_config_write()
236 phys_val |= (val & (write & ~virt)); in vfio_default_config_write()
238 ret = vfio_user_config_write(pdev, pos, phys_val, count); in vfio_default_config_write()
/linux-5.19.10/drivers/misc/habanalabs/common/mmu/
Dmmu_v1.c116 u64 phys_val = get_phys_addr(ctx, val & HOP_PHYS_ADDR_MASK) | in write_pte() local
121 phys_val); in write_pte()