Searched refs:regbase (Results 1 – 6 of 6) sorted by relevance
/arch/mips/netlogic/xlp/ |
D | ahci-init-xlp2.c | 169 static void sata_clear_glue_reg(u64 regbase, u32 off, u32 bit) in sata_clear_glue_reg() argument 173 reg_val = nlm_read_sata_reg(regbase, off); in sata_clear_glue_reg() 174 nlm_write_sata_reg(regbase, off, (reg_val & ~bit)); in sata_clear_glue_reg() 177 static void sata_set_glue_reg(u64 regbase, u32 off, u32 bit) in sata_set_glue_reg() argument 181 reg_val = nlm_read_sata_reg(regbase, off); in sata_set_glue_reg() 182 nlm_write_sata_reg(regbase, off, (reg_val | bit)); in sata_set_glue_reg() 185 static void write_phy_reg(u64 regbase, u32 addr, u32 physel, u8 data) in write_phy_reg() argument 187 nlm_write_sata_reg(regbase, PHY_MEM_ACCESS, in write_phy_reg() 192 static u8 read_phy_reg(u64 regbase, u32 addr, u32 physel) in read_phy_reg() argument 196 nlm_write_sata_reg(regbase, PHY_MEM_ACCESS, in read_phy_reg() [all …]
|
D | ahci-init.c | 95 static void sata_clear_glue_reg(uint64_t regbase, uint32_t off, uint32_t bit) in sata_clear_glue_reg() argument 99 reg_val = nlm_read_sata_reg(regbase, off); in sata_clear_glue_reg() 100 nlm_write_sata_reg(regbase, off, (reg_val & ~bit)); in sata_clear_glue_reg() 103 static void sata_set_glue_reg(uint64_t regbase, uint32_t off, uint32_t bit) in sata_set_glue_reg() argument 107 reg_val = nlm_read_sata_reg(regbase, off); in sata_set_glue_reg() 108 nlm_write_sata_reg(regbase, off, (reg_val | bit)); in sata_set_glue_reg() 114 uint64_t regbase; in nlm_sata_firmware_init() local 118 regbase = nlm_get_sata_regbase(node); in nlm_sata_firmware_init() 121 sata_clear_glue_reg(regbase, SATA_CTL, SATA_RST_N); in nlm_sata_firmware_init() 123 sata_clear_glue_reg(regbase, SATA_CTL, in nlm_sata_firmware_init() [all …]
|
/arch/mips/rb532/ |
D | gpio.c | 42 void __iomem *regbase; member 92 return !!rb532_get_bit(offset, gpch->regbase + GPIOD); in rb532_gpio_get() 104 rb532_set_bit(value, offset, gpch->regbase + GPIOD); in rb532_gpio_set() 117 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); in rb532_gpio_direction_input() 119 rb532_set_bit(0, offset, gpch->regbase + GPIOCFG); in rb532_gpio_direction_input() 134 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); in rb532_gpio_direction_output() 137 rb532_set_bit(value, offset, gpch->regbase + GPIOD); in rb532_gpio_direction_output() 139 rb532_set_bit(1, offset, gpch->regbase + GPIOCFG); in rb532_gpio_direction_output() 168 rb532_set_bit(bit, gpio, rb532_gpio_chip->regbase + GPIOILEVEL); in rb532_gpio_set_ilevel() 177 rb532_set_bit(bit, gpio, rb532_gpio_chip->regbase + GPIOISTAT); in rb532_gpio_set_istat() [all …]
|
/arch/parisc/include/asm/ |
D | grfioctl.h | 76 gaddr_t fbbase, regbase;/* framebuffer and register base addr */ member
|
/arch/mips/include/asm/mach-au1x00/ |
D | au1xxx_ide.h | 60 u32 regbase; member
|
/arch/sparc/kernel/ |
D | pci_schizo.c | 132 unsigned long regbase = pbm->pbm_regs; in __schizo_check_stc_error_pbm() local 137 err_base = regbase + SCHIZO_STC_ERR; in __schizo_check_stc_error_pbm() 138 tag_base = regbase + SCHIZO_STC_TAG; in __schizo_check_stc_error_pbm() 139 line_base = regbase + SCHIZO_STC_LINE; in __schizo_check_stc_error_pbm()
|