Home
last modified time | relevance | path

Searched refs:mapped_reg (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/gpio/
Dsh_pfc.c32 static unsigned long gpio_read_raw_reg(void *mapped_reg, in gpio_read_raw_reg() argument
38 return readb(mapped_reg); in gpio_read_raw_reg()
40 return readw(mapped_reg); in gpio_read_raw_reg()
42 return readl(mapped_reg); in gpio_read_raw_reg()
49 static void gpio_write_raw_reg(void *mapped_reg, in gpio_write_raw_reg() argument
55 writeb(data, mapped_reg); in gpio_write_raw_reg()
58 writew(data, mapped_reg); in gpio_write_raw_reg()
61 writel(data, mapped_reg); in gpio_write_raw_reg()
79 return (gpio_read_raw_reg(dr->mapped_reg + offset, in gpio_read_bit()
99 gpio_write_raw_reg(dr->mapped_reg, dr->reg_width, dr->reg_shadow); in gpio_write_bit()
[all …]
/external/u-boot/drivers/pinctrl/renesas/
Dpfc.c89 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument
93 return readb(mapped_reg); in sh_pfc_read_raw_reg()
95 return readw(mapped_reg); in sh_pfc_read_raw_reg()
97 return readl(mapped_reg); in sh_pfc_read_raw_reg()
104 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width, in sh_pfc_write_raw_reg() argument
109 writeb(data, mapped_reg); in sh_pfc_write_raw_reg()
112 writew(data, mapped_reg); in sh_pfc_write_raw_reg()
115 writel(data, mapped_reg); in sh_pfc_write_raw_reg()
163 void __iomem *mapped_reg; in sh_pfc_write_config_reg() local
169 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcFrameLowering.cpp321 unsigned mapped_reg = reg - SP::I0 + SP::O0; in remapRegsForLeafProc() local
322 assert(MRI.reg_nodbg_empty(mapped_reg)); in remapRegsForLeafProc()
325 MRI.replaceRegWith(reg, mapped_reg); in remapRegsForLeafProc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcFrameLowering.cpp339 unsigned mapped_reg = reg - SP::I0 + SP::O0; in remapRegsForLeafProc() local
342 MRI.replaceRegWith(reg, mapped_reg); in remapRegsForLeafProc()
/external/u-boot/include/
Dsh_pfc.h65 void *mapped_reg; member