Home
last modified time | relevance | path

Searched refs:reg_ptr (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/target/i386/hvf/
H A Dx86_emu.h37 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 Dx86_emu.c130 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 Dehci-tegra.c242 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 Dehci-hcd.c129 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 Dste_dma40_ll.h347 u32 reg_ptr; member
H A Dste_dma40_ll.c171 lli->reg_ptr = data; in d40_phy_fill_lli()
H A Dste_dma40.c839 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 Doxu210hp-hcd.c785 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()