Searched refs:mapped_reg (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/gpio/ |
A D | sh_pfc.c | 36 static unsigned long gpio_read_raw_reg(void *mapped_reg, in gpio_read_raw_reg() argument 42 return readb(mapped_reg); in gpio_read_raw_reg() 44 return readw(mapped_reg); in gpio_read_raw_reg() 46 return readl(mapped_reg); in gpio_read_raw_reg() 53 static void gpio_write_raw_reg(void *mapped_reg, in gpio_write_raw_reg() argument 59 writeb(data, mapped_reg); in gpio_write_raw_reg() 62 writew(data, mapped_reg); in gpio_write_raw_reg() 65 writel(data, mapped_reg); in gpio_write_raw_reg() 83 return (gpio_read_raw_reg(dr->mapped_reg + offset, in gpio_read_bit() 136 void *mapped_reg; in read_config_reg() local [all …]
|
/u-boot/drivers/pinctrl/renesas/ |
A D | pfc.c | 95 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument 99 return readb(mapped_reg); in sh_pfc_read_raw_reg() 101 return readw(mapped_reg); in sh_pfc_read_raw_reg() 103 return readl(mapped_reg); in sh_pfc_read_raw_reg() 115 writeb(data, mapped_reg); in sh_pfc_write_raw_reg() 118 writew(data, mapped_reg); in sh_pfc_write_raw_reg() 121 writel(data, mapped_reg); in sh_pfc_write_raw_reg() 169 void __iomem *mapped_reg; in sh_pfc_write_config_reg() local 175 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg() 184 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width); in sh_pfc_write_config_reg() [all …]
|
/u-boot/include/ |
A D | sh_pfc.h | 65 void *mapped_reg; member
|
Completed in 7 milliseconds