/Linux-v5.4/drivers/gpio/ |
D | sgpio-aspeed.c | 89 static void __iomem *bank_reg(struct aspeed_sgpio *gpio, in bank_reg() function 139 rc = !!(ioread32(bank_reg(gpio, bank, reg)) & GPIO_BIT(offset)); in aspeed_sgpio_get() 153 addr = bank_reg(gpio, bank, reg_val); in sgpio_set_value() 244 status_addr = bank_reg(gpio, bank, reg_irq_status); in aspeed_sgpio_irq_ack() 263 addr = bank_reg(gpio, bank, reg_irq_enable); in aspeed_sgpio_irq_set_mask() 326 addr = bank_reg(gpio, bank, reg_irq_type0); in aspeed_sgpio_set_type() 331 addr = bank_reg(gpio, bank, reg_irq_type1); in aspeed_sgpio_set_type() 336 addr = bank_reg(gpio, bank, reg_irq_type2); in aspeed_sgpio_set_type() 361 reg = ioread32(bank_reg(data, bank, reg_irq_status)); in aspeed_sgpio_irq_handler() 398 iowrite32(0x00000000, bank_reg(gpio, bank, reg_irq_enable)); in aspeed_sgpio_setup_irqs() [all …]
|
D | gpio-aspeed.c | 208 static inline void __iomem *bank_reg(struct aspeed_gpio *gpio, in bank_reg() function 309 void __iomem *c0 = bank_reg(gpio, bank, reg_cmdsrc0); in aspeed_gpio_change_cmd_source() 310 void __iomem *c1 = bank_reg(gpio, bank, reg_cmdsrc1); in aspeed_gpio_change_cmd_source() 356 gpio->dcache[GPIO_BANK(offset)] = ioread32(bank_reg(gpio, bank, reg_rdata)); in aspeed_gpio_copro_request() 386 return !!(ioread32(bank_reg(gpio, bank, reg_val)) & GPIO_BIT(offset)); in aspeed_gpio_get() 397 addr = bank_reg(gpio, bank, reg_val); in __aspeed_gpio_set() 430 void __iomem *addr = bank_reg(gpio, bank, reg_dir); in aspeed_gpio_dir_in() 458 void __iomem *addr = bank_reg(gpio, bank, reg_dir); in aspeed_gpio_dir_out() 497 val = ioread32(bank_reg(gpio, bank, reg_dir)) & GPIO_BIT(offset); in aspeed_gpio_get_direction() 541 status_addr = bank_reg(gpio, bank, reg_irq_status); in aspeed_gpio_irq_ack() [all …]
|
/Linux-v5.4/drivers/i2c/ |
D | i2c-stub.c | 47 static u8 bank_reg[MAX_CHIPS]; variable 48 module_param_array(bank_reg, byte, NULL, S_IRUGO); 49 MODULE_PARM_DESC(bank_reg, "Bank register"); 77 u8 bank_reg; member 177 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer() 321 chip->bank_reg = bank_reg[i]; in i2c_stub_allocate_banks()
|
/Linux-v5.4/arch/arm/mach-s3c24xx/ |
D | iotiming-s3c2410.c | 56 static inline void __iomem *bank_reg(unsigned int bank) in bank_reg() function 366 bankcon = __raw_readl(bank_reg(bank)); in s3c2410_iotiming_calc() 412 __raw_writel(bt->bankcon, bank_reg(bank)); in s3c2410_iotiming_set() 444 bankcon = __raw_readl(bank_reg(bank)); in s3c2410_iotiming_get()
|
/Linux-v5.4/drivers/clk/qcom/ |
D | clk-rcg.c | 73 ret = regmap_read(rcg->clkr.regmap, rcg->bank_reg, ®); in clk_dyn_rcg_get_parent() 213 ret = regmap_read(rcg->clkr.regmap, rcg->bank_reg, ®); in configure_bank() 253 ret = regmap_write(rcg->clkr.regmap, rcg->bank_reg, in configure_bank() 280 ret = regmap_read(rcg->clkr.regmap, rcg->bank_reg, ®); in configure_bank() 284 ret = regmap_write(rcg->clkr.regmap, rcg->bank_reg, reg); in configure_bank() 300 regmap_read(rcg->clkr.regmap, rcg->bank_reg, ®); in clk_dyn_rcg_set_parent() 376 regmap_read(rcg->clkr.regmap, rcg->bank_reg, ®); in clk_dyn_rcg_recalc_rate() 452 regmap_read(rcg->clkr.regmap, rcg->bank_reg, ®); in clk_dyn_rcg_determine_rate()
|
D | clk-rcg.h | 113 u32 bank_reg; member
|
D | gcc-ipq806x.c | 2298 .bank_reg = 0x3ca0, 2370 .bank_reg = 0x3ca0, 2442 .bank_reg = 0x3ce0, 2514 .bank_reg = 0x3d00, 2590 .bank_reg = 0x3dc0, 2652 .bank_reg = 0x3d20, 2705 .bank_reg = 0x3d40,
|
D | mmcc-msm8960.c | 806 .bank_reg = 0x0060, 866 .bank_reg = 0x0074, 967 .bank_reg = 0x0080, 1045 .bank_reg = 0x0178, 1252 .bank_reg = 0x00c0, 1359 .bank_reg = 0x00e8, 1585 .bank_reg = 0x00f8,
|
/Linux-v5.4/Documentation/i2c/ |
D | i2c-stub.rst | 55 u8 bank_reg[10], u8 bank_mask[10], u8 bank_start[10], u8 bank_end[10]:
|