/linux-6.1.9/drivers/gpio/ |
D | gpio-aspeed-sgpio.c | 103 static void __iomem *bank_reg(struct aspeed_sgpio *gpio, in bank_reg() function 179 rc = !!(ioread32(bank_reg(gpio, bank, reg)) & GPIO_BIT(offset)); in aspeed_sgpio_get() 198 addr_r = bank_reg(gpio, bank, reg_rdata); in sgpio_set_value() 199 addr_w = bank_reg(gpio, bank, reg_val); in sgpio_set_value() 278 status_addr = bank_reg(gpio, bank, reg_irq_status); in aspeed_sgpio_irq_ack() 297 addr = bank_reg(gpio, bank, reg_irq_enable); in aspeed_sgpio_irq_set_mask() 360 addr = bank_reg(gpio, bank, reg_irq_type0); in aspeed_sgpio_set_type() 365 addr = bank_reg(gpio, bank, reg_irq_type1); in aspeed_sgpio_set_type() 370 addr = bank_reg(gpio, bank, reg_irq_type2); in aspeed_sgpio_set_type() 395 reg = ioread32(bank_reg(data, bank, reg_irq_status)); in aspeed_sgpio_irq_handler() [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() 540 status_addr = bank_reg(gpio, bank, reg_irq_status); in aspeed_gpio_irq_ack() [all …]
|
/linux-6.1.9/drivers/i2c/ |
D | i2c-stub.c | 46 static u8 bank_reg[MAX_CHIPS]; variable 47 module_param_array(bank_reg, byte, NULL, S_IRUGO); 48 MODULE_PARM_DESC(bank_reg, "Bank register"); 76 u8 bank_reg; member 176 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer() 320 chip->bank_reg = bank_reg[i]; in i2c_stub_allocate_banks()
|
/linux-6.1.9/arch/arm/mach-s3c/ |
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-6.1.9/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 | 114 u32 bank_reg; member
|
D | gcc-ipq806x.c | 2423 .bank_reg = 0x3ca0, 2495 .bank_reg = 0x3ca0, 2567 .bank_reg = 0x3ce0, 2639 .bank_reg = 0x3d00, 2715 .bank_reg = 0x3dc0, 2785 .bank_reg = 0x3d20, 2838 .bank_reg = 0x3d40, 2895 .bank_reg = 0x36C0, 2955 .bank_reg = 0x3d80, 3015 .bank_reg = 0x3c60,
|
D | mmcc-msm8960.c | 832 .bank_reg = 0x0060, 894 .bank_reg = 0x0074, 997 .bank_reg = 0x0080, 1077 .bank_reg = 0x0178, 1292 .bank_reg = 0x00c0, 1405 .bank_reg = 0x00e8, 1645 .bank_reg = 0x00f8,
|
/linux-6.1.9/Documentation/i2c/ |
D | i2c-stub.rst | 55 u8 bank_reg[10], u8 bank_mask[10], u8 bank_start[10], u8 bank_end[10]:
|