Home
last modified time | relevance | path

Searched refs:regbits (Results 1 – 2 of 2) sorted by relevance

/drivers/bus/
Dti-sysc.c271 sysc_mask = BIT(ddata->cap->regbits->srst_shift); in sysc_poll_reset_sysconfig()
296 if (ddata->cap->regbits->srst_shift < 0) in sysc_wait_softreset()
1064 const struct sysc_regbits *regbits; in sysc_enable_module() local
1103 regbits = ddata->cap->regbits; in sysc_enable_module()
1111 if (regbits->clkact_shift >= 0 && in sysc_enable_module()
1113 reg |= SYSC_CLOCACT_ICK << regbits->clkact_shift; in sysc_enable_module()
1117 if (!idlemodes || regbits->sidle_shift < 0) in sysc_enable_module()
1125 if (regbits->enwkup_shift >= 0 && in sysc_enable_module()
1126 ddata->cfg.sysc_val & BIT(regbits->enwkup_shift)) in sysc_enable_module()
1127 reg &= ~BIT(regbits->enwkup_shift); in sysc_enable_module()
[all …]
/drivers/net/dsa/microchip/
Dksz_common.h601 #define KSZ_SPI_OP_FLAG_MASK(opcode, swp, regbits, regpad) \ argument
602 swab##swp((opcode) << ((regbits) + (regpad)))
604 #define KSZ_REGMAP_ENTRY(width, swp, regbits, regpad, regalign) \ argument
609 .reg_bits = (regbits) + (regalign), \
611 .max_register = BIT(regbits) - 1, \
615 regbits, regpad), \
618 regbits, regpad), \
625 #define KSZ_REGMAP_TABLE(ksz, swp, regbits, regpad, regalign) \ argument
627 KSZ_REGMAP_ENTRY(8, swp, (regbits), (regpad), (regalign)), \
628 KSZ_REGMAP_ENTRY(16, swp, (regbits), (regpad), (regalign)), \
[all …]