Searched refs:REG_SIZE (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/irqchip/ |
D | qcom-irq-combiner.c | 32 #define REG_SIZE 32 macro 49 return reg * REG_SIZE + bit; in irq_nr() 94 struct combiner_reg *reg = combiner->regs + data->hwirq / REG_SIZE; in combiner_irq_chip_mask_irq() 96 clear_bit(data->hwirq % REG_SIZE, ®->enabled); in combiner_irq_chip_mask_irq() 102 struct combiner_reg *reg = combiner->regs + data->hwirq / REG_SIZE; in combiner_irq_chip_unmask_irq() 104 set_bit(data->hwirq % REG_SIZE, ®->enabled); in combiner_irq_chip_unmask_irq() 198 (reg->bit_width > REG_SIZE)) { in get_registers_cb() 204 vaddr = devm_ioremap(ctx->dev, reg->address, REG_SIZE); in get_registers_cb()
|
/Linux-v4.19/drivers/hwmon/ |
D | ultra45_env.c | 36 #define REG_SIZE 0x42UL macro 263 p->regs = of_ioremap(&op->resource[0], 0, REG_SIZE, "pic16f747"); in env_probe() 287 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_probe() 299 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_remove()
|
/Linux-v4.19/drivers/pinctrl/qcom/ |
D | pinctrl-ipq8074.c | 28 #define REG_SIZE 0x1000 macro 47 .ctl_reg = REG_SIZE * id, \ 48 .io_reg = 0x4 + REG_SIZE * id, \ 49 .intr_cfg_reg = 0x8 + REG_SIZE * id, \ 50 .intr_status_reg = 0xc + REG_SIZE * id, \ 51 .intr_target_reg = 0x8 + REG_SIZE * id, \
|
D | pinctrl-msm8996.c | 29 #define REG_SIZE 0x1000 macro 48 .ctl_reg = REG_BASE + REG_SIZE * id, \ 49 .io_reg = REG_BASE + 0x4 + REG_SIZE * id, \ 50 .intr_cfg_reg = REG_BASE + 0x8 + REG_SIZE * id, \ 51 .intr_status_reg = REG_BASE + 0xc + REG_SIZE * id, \ 52 .intr_target_reg = REG_BASE + 0x8 + REG_SIZE * id, \
|
D | pinctrl-sdm845.c | 23 #define REG_SIZE 0x1000 macro 43 .ctl_reg = base + REG_SIZE * id, \ 44 .io_reg = base + 0x4 + REG_SIZE * id, \ 45 .intr_cfg_reg = base + 0x8 + REG_SIZE * id, \ 46 .intr_status_reg = base + 0xc + REG_SIZE * id, \ 47 .intr_target_reg = base + 0x8 + REG_SIZE * id, \
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_fw_funcs.c | 1207 #define REG_SIZE sizeof(u32) macro 1224 PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE * pf_id + REG_SIZE, in qed_gft_disable() 1343 PRS_REG_GFT_PROFILE_MASK_RAM + RAM_LINE_SIZE * pf_id + REG_SIZE, in qed_gft_config() 1354 PRS_GFT_CAM_LINES_NO_MATCH + REG_SIZE, 0x3ff); in qed_gft_config()
|