Searched refs:regbits (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/net/dsa/microchip/ |
D | ksz_common.h | 304 #define KSZ_SPI_OP_FLAG_MASK(opcode, swp, regbits, regpad) \ argument 305 swab##swp((opcode) << ((regbits) + (regpad))) 307 #define KSZ_REGMAP_ENTRY(width, swp, regbits, regpad, regalign) \ argument 312 .reg_bits = (regbits) + (regalign), \ 314 .max_register = BIT(regbits) - 1, \ 318 regbits, regpad), \ 321 regbits, regpad), \ 328 #define KSZ_REGMAP_TABLE(ksz, swp, regbits, regpad, regalign) \ argument 330 KSZ_REGMAP_ENTRY(8, swp, (regbits), (regpad), (regalign)), \ 331 KSZ_REGMAP_ENTRY(16, swp, (regbits), (regpad), (regalign)), \ [all …]
|
/Linux-v5.10/drivers/bus/ |
D | ti-sysc.c | 230 if (ddata->cap->regbits->srst_shift < 0) in sysc_wait_softreset() 234 sysc_mask = BIT(ddata->cap->regbits->srst_shift); in sysc_wait_softreset() 957 const struct sysc_regbits *regbits; in sysc_enable_module() local 996 regbits = ddata->cap->regbits; in sysc_enable_module() 1004 if (regbits->clkact_shift >= 0 && in sysc_enable_module() 1006 reg |= SYSC_CLOCACT_ICK << regbits->clkact_shift; in sysc_enable_module() 1010 if (!idlemodes || regbits->sidle_shift < 0) in sysc_enable_module() 1024 if (regbits->enwkup_shift >= 0 && in sysc_enable_module() 1025 ddata->cfg.sysc_val & BIT(regbits->enwkup_shift)) in sysc_enable_module() 1026 reg |= BIT(regbits->enwkup_shift); in sysc_enable_module() [all …]
|
/Linux-v5.10/arch/arm/mm/ |
D | alignment.c | 502 unsigned int rd, rn, correction, nr_regs, regbits; in do_alignment_ldmstm() local 550 for (regbits = REGMASK_BITS(instr), rd = 0; regbits; in do_alignment_ldmstm() 551 regbits >>= 1, rd += 1) in do_alignment_ldmstm() 552 if (regbits & 1) { in do_alignment_ldmstm() 563 for (regbits = REGMASK_BITS(instr), rd = 0; regbits; in do_alignment_ldmstm() 564 regbits >>= 1, rd += 1) in do_alignment_ldmstm() 565 if (regbits & 1) { in do_alignment_ldmstm()
|
/Linux-v5.10/arch/arm/mach-omap2/ |
D | omap_hwmod.c | 3121 const struct sysc_regbits *regbits = data->cap->regbits; in omap_hwmod_check_sysc() local 3124 regbits->dmadisable_shift, in omap_hwmod_check_sysc() 3127 regbits->midle_shift, in omap_hwmod_check_sysc() 3130 regbits->sidle_shift, in omap_hwmod_check_sysc() 3133 regbits->clkact_shift, in omap_hwmod_check_sysc() 3136 regbits->enwkup_shift, in omap_hwmod_check_sysc() 3139 regbits->srst_shift, in omap_hwmod_check_sysc() 3142 regbits->autoidle_shift, in omap_hwmod_check_sysc() 3278 if (data->cap->regbits->emufree_shift >= 0) in omap_hwmod_init_sysc_flags() 3280 if (data->cap->regbits->enwkup_shift >= 0) in omap_hwmod_init_sysc_flags() [all …]
|
/Linux-v5.10/include/linux/platform_data/ |
D | ti-sysc.h | 92 const struct sysc_regbits *regbits; member
|