/Linux-v5.10/drivers/irqchip/ |
D | qcom-irq-combiner.c | 24 #define REG_SIZE 32 macro 41 return reg * REG_SIZE + bit; in irq_nr() 86 struct combiner_reg *reg = combiner->regs + data->hwirq / REG_SIZE; in combiner_irq_chip_mask_irq() 88 clear_bit(data->hwirq % REG_SIZE, ®->enabled); in combiner_irq_chip_mask_irq() 94 struct combiner_reg *reg = combiner->regs + data->hwirq / REG_SIZE; in combiner_irq_chip_unmask_irq() 96 set_bit(data->hwirq % REG_SIZE, ®->enabled); in combiner_irq_chip_unmask_irq() 190 (reg->bit_width > REG_SIZE)) { in get_registers_cb() 196 vaddr = devm_ioremap(ctx->dev, reg->address, REG_SIZE); in get_registers_cb()
|
/Linux-v5.10/drivers/staging/kpc2000/ |
D | kpc2000_i2c.c | 45 #define REG_SIZE 8 macro 48 #define SMBHSTSTS(p) ((0 * REG_SIZE) + (p)->smba) 49 #define SMBHSTCNT(p) ((2 * REG_SIZE) + (p)->smba) 50 #define SMBHSTCMD(p) ((3 * REG_SIZE) + (p)->smba) 51 #define SMBHSTADD(p) ((4 * REG_SIZE) + (p)->smba) 52 #define SMBHSTDAT0(p) ((5 * REG_SIZE) + (p)->smba) 53 #define SMBHSTDAT1(p) ((6 * REG_SIZE) + (p)->smba) 54 #define SMBBLKDAT(p) ((7 * REG_SIZE) + (p)->smba) 55 #define SMBPEC(p) ((8 * REG_SIZE) + (p)->smba) /* ICH3 and later */ 56 #define SMBAUXSTS(p) ((12 * REG_SIZE) + (p)->smba) /* ICH4 and later */ [all …]
|
/Linux-v5.10/drivers/hwmon/ |
D | ultra45_env.c | 37 #define REG_SIZE 0x42UL macro 264 p->regs = of_ioremap(&op->resource[0], 0, REG_SIZE, "pic16f747"); in env_probe() 288 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_probe() 300 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_remove()
|
/Linux-v5.10/drivers/pinctrl/qcom/ |
D | pinctrl-ipq8074.c | 20 #define REG_SIZE 0x1000 macro 39 .ctl_reg = REG_SIZE * id, \ 40 .io_reg = 0x4 + REG_SIZE * id, \ 41 .intr_cfg_reg = 0x8 + REG_SIZE * id, \ 42 .intr_status_reg = 0xc + REG_SIZE * id, \ 43 .intr_target_reg = 0x8 + REG_SIZE * id, \
|
D | pinctrl-ipq6018.c | 20 #define REG_SIZE 0x1000 macro 39 .ctl_reg = REG_SIZE * id, \ 40 .io_reg = 0x4 + REG_SIZE * id, \ 41 .intr_cfg_reg = 0x8 + REG_SIZE * id, \ 42 .intr_status_reg = 0xc + REG_SIZE * id, \ 43 .intr_target_reg = 0x8 + REG_SIZE * id, \
|
D | pinctrl-msm8976.c | 23 #define REG_SIZE 0x1000 macro 42 .ctl_reg = REG_BASE + REG_SIZE * id, \ 43 .io_reg = REG_BASE + 0x4 + REG_SIZE * id, \ 44 .intr_cfg_reg = REG_BASE + 0x8 + REG_SIZE * id, \ 45 .intr_status_reg = REG_BASE + 0xc + REG_SIZE * id, \ 46 .intr_target_reg = REG_BASE + 0x8 + REG_SIZE * id, \
|
D | pinctrl-sdm660.c | 26 #define REG_SIZE 0x1000 macro 54 .ctl_reg = REG_SIZE * id, \ 55 .io_reg = 0x4 + REG_SIZE * id, \ 56 .intr_cfg_reg = 0x8 + REG_SIZE * id, \ 57 .intr_status_reg = 0xc + REG_SIZE * id, \ 58 .intr_target_reg = 0x8 + REG_SIZE * id, \
|
D | pinctrl-msm8996.c | 21 #define REG_SIZE 0x1000 macro 40 .ctl_reg = REG_BASE + REG_SIZE * id, \ 41 .io_reg = REG_BASE + 0x4 + REG_SIZE * id, \ 42 .intr_cfg_reg = REG_BASE + 0x8 + REG_SIZE * id, \ 43 .intr_status_reg = REG_BASE + 0xc + REG_SIZE * id, \ 44 .intr_target_reg = REG_BASE + 0x8 + REG_SIZE * id, \
|
D | pinctrl-sdm845.c | 24 #define REG_SIZE 0x1000 macro 44 .ctl_reg = base + REG_SIZE * id, \ 45 .io_reg = base + 0x4 + REG_SIZE * id, \ 46 .intr_cfg_reg = base + 0x8 + REG_SIZE * id, \ 47 .intr_status_reg = base + 0xc + REG_SIZE * id, \ 48 .intr_target_reg = base + 0x8 + REG_SIZE * id, \
|
D | pinctrl-sm8250.c | 32 #define REG_SIZE 0x1000 macro 51 .ctl_reg = REG_SIZE * id, \ 52 .io_reg = REG_SIZE * id + 0x4, \ 53 .intr_cfg_reg = REG_SIZE * id + 0x8, \ 54 .intr_status_reg = REG_SIZE * id + 0xc, \ 55 .intr_target_reg = REG_SIZE * id + 0x8, \
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_fw_funcs.c | 1228 #define REG_SIZE sizeof(u32) macro 1245 sizeof(ram_line) / REG_SIZE); in qed_gft_disable() 1363 sizeof(ram_line) / REG_SIZE); in qed_gft_config() 1371 sizeof(ram_line) / REG_SIZE); in qed_gft_config()
|