Home
last modified time | relevance | path

Searched refs:bank_reg (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpio/
Dgpio-aspeed-sgpio.c104 static void __iomem *bank_reg(struct aspeed_sgpio *gpio, in bank_reg() function
180 rc = !!(ioread32(bank_reg(gpio, bank, reg)) & GPIO_BIT(offset)); in aspeed_sgpio_get()
199 addr_r = bank_reg(gpio, bank, reg_rdata); in sgpio_set_value()
200 addr_w = bank_reg(gpio, bank, reg_val); in sgpio_set_value()
279 status_addr = bank_reg(gpio, bank, reg_irq_status); in aspeed_sgpio_irq_ack()
298 addr = bank_reg(gpio, bank, reg_irq_enable); in aspeed_sgpio_irq_set_mask()
371 addr = bank_reg(gpio, bank, reg_irq_type0); in aspeed_sgpio_set_type()
376 addr = bank_reg(gpio, bank, reg_irq_type1); in aspeed_sgpio_set_type()
381 addr = bank_reg(gpio, bank, reg_irq_type2); in aspeed_sgpio_set_type()
406 reg = ioread32(bank_reg(data, bank, reg_irq_status)); in aspeed_sgpio_irq_handler()
[all …]
Dgpio-npcm-sgpio.c137 static void __iomem *bank_reg(struct npcm_sgpio *gpio, in bank_reg() function
236 addr = bank_reg(gpio, bank, WRITE_DATA); in npcm_sgpio_set()
256 addr = bank_reg(gpio, bank, WRITE_DATA); in npcm_sgpio_get()
260 addr = bank_reg(gpio, bank, READ_DATA); in npcm_sgpio_get()
328 addr = bank_reg(gpio, bank, EVENT_CFG); in npcm_sgpio_irq_set_mask()
346 addr = bank_reg(gpio, bank, EVENT_STS); in npcm_sgpio_irq_set_mask()
364 status_addr = bank_reg(gpio, bank, EVENT_STS); in npcm_sgpio_irq_ack()
418 addr = bank_reg(gpio, bank, EVENT_CFG); in npcm_sgpio_set_type()
445 reg = ioread8(bank_reg(gpio, bank, EVENT_STS)); in npcm_sgpio_irq_handler()
482 iowrite16(0, bank_reg(gpio, bank, EVENT_CFG)); in npcm_sgpio_setup_irqs()
[all …]
Dgpio-aspeed.c210 static inline void __iomem *bank_reg(struct aspeed_gpio *gpio, in bank_reg() function
311 void __iomem *c0 = bank_reg(gpio, bank, reg_cmdsrc0); in aspeed_gpio_change_cmd_source()
312 void __iomem *c1 = bank_reg(gpio, bank, reg_cmdsrc1); in aspeed_gpio_change_cmd_source()
358 gpio->dcache[GPIO_BANK(offset)] = ioread32(bank_reg(gpio, bank, reg_rdata)); in aspeed_gpio_copro_request()
388 return !!(ioread32(bank_reg(gpio, bank, reg_val)) & GPIO_BIT(offset)); in aspeed_gpio_get()
399 addr = bank_reg(gpio, bank, reg_val); in __aspeed_gpio_set()
434 void __iomem *addr = bank_reg(gpio, bank, reg_dir); in aspeed_gpio_dir_in()
462 void __iomem *addr = bank_reg(gpio, bank, reg_dir); in aspeed_gpio_dir_out()
501 val = ioread32(bank_reg(gpio, bank, reg_dir)) & GPIO_BIT(offset); in aspeed_gpio_get_direction()
544 status_addr = bank_reg(gpio, bank, reg_irq_status); in aspeed_gpio_irq_ack()
[all …]
/linux-6.12.1/drivers/i2c/
Di2c-stub.c46 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.12.1/drivers/clk/qcom/
Dclk-rcg.c73 ret = regmap_read(rcg->clkr.regmap, rcg->bank_reg, &reg); in clk_dyn_rcg_get_parent()
213 ret = regmap_read(rcg->clkr.regmap, rcg->bank_reg, &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, &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, &reg); in clk_dyn_rcg_set_parent()
376 regmap_read(rcg->clkr.regmap, rcg->bank_reg, &reg); in clk_dyn_rcg_recalc_rate()
452 regmap_read(rcg->clkr.regmap, rcg->bank_reg, &reg); in clk_dyn_rcg_determine_rate()
Dgcc-ipq806x.c2423 .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,
Dclk-rcg.h131 u32 bank_reg; member
Dmmcc-msm8960.c832 .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.12.1/Documentation/i2c/
Di2c-stub.rst55 u8 bank_reg[10], u8 bank_mask[10], u8 bank_start[10], u8 bank_end[10]: