Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dpmu.c130 u32 phys_val; in cbe_write_ctr() local
135 phys_val = cbe_read_phys_ctr(cpu, phys_ctr); in cbe_write_ctr()
138 val = (val << 16) | (phys_val & 0xffff); in cbe_write_ctr()
140 val = (val & 0xffff) | (phys_val & 0xffff0000); in cbe_write_ctr()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmmu_v1.c115 u64 phys_val = get_phys_addr(ctx, val & HOP_PHYS_ADDR_MASK) | in write_pte() local
120 phys_val); in write_pte()