/linux-4.19.296/drivers/reset/ |
D | reset-stm32mp1.c | 31 int reg_width = sizeof(u32); in stm32_reset_update() local 32 int bank = id / (reg_width * BITS_PER_BYTE); in stm32_reset_update() 33 int offset = id % (reg_width * BITS_PER_BYTE); in stm32_reset_update() 36 addr = data->membase + (bank * reg_width); in stm32_reset_update() 61 int reg_width = sizeof(u32); in stm32_reset_status() local 62 int bank = id / (reg_width * BITS_PER_BYTE); in stm32_reset_status() 63 int offset = id % (reg_width * BITS_PER_BYTE); in stm32_reset_status() 66 reg = readl(data->membase + (bank * reg_width)); in stm32_reset_status()
|
D | reset-simple.c | 39 int reg_width = sizeof(u32); in reset_simple_update() local 40 int bank = id / (reg_width * BITS_PER_BYTE); in reset_simple_update() 41 int offset = id % (reg_width * BITS_PER_BYTE); in reset_simple_update() 47 reg = readl(data->membase + (bank * reg_width)); in reset_simple_update() 52 writel(reg, data->membase + (bank * reg_width)); in reset_simple_update() 75 int reg_width = sizeof(u32); in reset_simple_status() local 76 int bank = id / (reg_width * BITS_PER_BYTE); in reset_simple_status() 77 int offset = id % (reg_width * BITS_PER_BYTE); in reset_simple_status() 80 reg = readl(data->membase + (bank * reg_width)); in reset_simple_status()
|
/linux-4.19.296/drivers/sh/intc/ |
D | handle.c | 73 fn += (mr->reg_width >> 3) - 1; in _intc_mask_data() 78 (mr->reg_width - 1) - *fld_idx); in _intc_mask_data() 137 fn += (pr->reg_width >> 3) - 1; in _intc_prio_data() 140 BUG_ON(n * pr->field_width > pr->reg_width); in _intc_prio_data() 142 bit = pr->reg_width - (n * pr->field_width); in _intc_prio_data() 194 fn += (mr->reg_width >> 3) - 1; in intc_ack_data() 199 (mr->reg_width - 1) - j); in intc_ack_data() 272 fn += (sr->reg_width >> 3) - 1; in intc_get_sense_handle() 274 BUG_ON((j + 1) * sr->field_width > sr->reg_width); in intc_get_sense_handle() 276 bit = sr->reg_width - ((j + 1) * sr->field_width); in intc_get_sense_handle()
|
D | balancing.c | 67 fn += (mr->reg_width >> 3) - 1; in intc_dist_data() 72 (mr->reg_width - 1) - j); in intc_dist_data()
|
D | virq.c | 139 unsigned int fn = REG_FN_TEST_BASE + (subgroup->reg_width >> 3) - 1; in intc_subgroup_data() 142 0, 1, (subgroup->reg_width - 1) - index); in intc_subgroup_data()
|
/linux-4.19.296/include/linux/ |
D | sh_intc.h | 42 unsigned long reg, reg_width; member 48 unsigned long set_reg, clr_reg, reg_width; member 59 unsigned long set_reg, clr_reg, reg_width, field_width; member 67 unsigned long reg, reg_width, field_width; member
|
/linux-4.19.296/include/linux/bcma/ |
D | bcma.h | 52 size_t count, u16 offset, u8 reg_width); 54 size_t count, u16 offset, u8 reg_width); 401 size_t count, u16 offset, u8 reg_width) in bcma_block_read() argument 403 core->bus->ops->block_read(core, buffer, count, offset, reg_width); in bcma_block_read() 407 u16 offset, u8 reg_width) in bcma_block_write() argument 409 core->bus->ops->block_write(core, buffer, count, offset, reg_width); in bcma_block_write()
|
/linux-4.19.296/include/linux/ssb/ |
D | ssb.h | 216 size_t count, u16 offset, u8 reg_width); 218 size_t count, u16 offset, u8 reg_width); 601 size_t count, u16 offset, u8 reg_width) in ssb_block_read() argument 603 dev->ops->block_read(dev, buffer, count, offset, reg_width); in ssb_block_read() 607 size_t count, u16 offset, u8 reg_width) in ssb_block_write() argument 609 dev->ops->block_write(dev, buffer, count, offset, reg_width); in ssb_block_write()
|
/linux-4.19.296/include/linux/platform_data/ |
D | gpio-htc-egpio.h | 42 int reg_width; member
|
/linux-4.19.296/drivers/pwm/ |
D | pwm-mediatek.c | 145 u32 clkdiv = 0, cnt_period, cnt_duty, reg_width = PWMDWIDTH, in mtk_pwm_config() local 177 reg_width = PWM45DWIDTH_FIXUP; in mtk_pwm_config() 183 mtk_pwm_writel(pc, pwm->hwpwm, reg_width, cnt_period); in mtk_pwm_config()
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-htc-egpio.c | 314 if ((pdata->reg_width != 8) && (pdata->reg_width != 16)) in egpio_probe() 316 ei->reg_shift = fls(pdata->reg_width - 1); in egpio_probe() 319 ei->reg_mask = (1 << pdata->reg_width) - 1; in egpio_probe()
|