Searched refs:reg_ptr (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/target/i386/hvf/ |
H A D | x86_emu.h | 37 target_ulong read_val_from_reg(target_ulong reg_ptr, int size); 38 void write_val_to_reg(target_ulong reg_ptr, target_ulong val, int size);
|
H A D | x86_emu.c | 130 target_ulong read_val_from_reg(target_ulong reg_ptr, int size) in read_val_from_reg() argument 136 val = *(uint8_t *)reg_ptr; in read_val_from_reg() 139 val = *(uint16_t *)reg_ptr; in read_val_from_reg() 142 val = *(uint32_t *)reg_ptr; in read_val_from_reg() 145 val = *(uint64_t *)reg_ptr; in read_val_from_reg() 153 void write_val_to_reg(target_ulong reg_ptr, target_ulong val, int size) in write_val_to_reg() argument 157 *(uint8_t *)reg_ptr = val; in write_val_to_reg() 160 *(uint16_t *)reg_ptr = val; in write_val_to_reg() 163 *(uint64_t *)reg_ptr = (uint32_t)val; in write_val_to_reg() 166 *(uint64_t *)reg_ptr = val; in write_val_to_reg()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ehci-tegra.c | 242 uint32_t *reg_ptr; in tegra_ehci_get_port_speed() local 246 reg_ptr = (uint32_t *)((u8 *)&ctrl->hcor->or_usbcmd + in tegra_ehci_get_port_speed() 248 tmp = ehci_readl(reg_ptr); in tegra_ehci_get_port_speed()
|
H A D | ehci-hcd.c | 129 uint32_t *reg_ptr; in ehci_set_usbmode() local 131 reg_ptr = (uint32_t *)((u8 *)&ctrl->hcor->or_usbcmd + USBMODE); in ehci_set_usbmode() 132 tmp = ehci_readl(reg_ptr); in ehci_set_usbmode() 139 ehci_writel(reg_ptr, tmp); in ehci_set_usbmode()
|
/openbmc/linux/drivers/dma/ |
H A D | ste_dma40_ll.h | 347 u32 reg_ptr; member
|
H A D | ste_dma40_ll.c | 171 lli->reg_ptr = data; in d40_phy_fill_lli()
|
H A D | ste_dma40.c | 839 writel(lli_src->reg_ptr, base + D40_CHAN_REG_SSPTR); in d40_phy_lli_load() 844 writel(lli_dst->reg_ptr, base + D40_CHAN_REG_SDPTR); in d40_phy_lli_load()
|
/openbmc/linux/drivers/usb/host/ |
H A D | oxu210hp-hcd.c | 785 u32 __iomem *reg_ptr; in tdi_reset() local 788 reg_ptr = (u32 __iomem *)(((u8 __iomem *)oxu->regs) + 0x68); in tdi_reset() 789 tmp = readl(reg_ptr); in tdi_reset() 791 writel(tmp, reg_ptr); in tdi_reset()
|