Searched refs:cyc (Results 1 – 5 of 5) sorted by relevance
/drivers/pwm/ |
D | pwm-rcar.c | 108 u32 cyc, ph; in rcar_pwm_set_counter() local 115 cyc = (tmp << RCAR_PWMCNT_CYC0_SHIFT) & RCAR_PWMCNT_CYC0_MASK; in rcar_pwm_set_counter() 122 if (cyc == 0 || ph == 0) in rcar_pwm_set_counter() 125 rcar_pwm_write(rp, cyc | ph, RCAR_PWMCNT); in rcar_pwm_set_counter()
|
/drivers/i2c/busses/ |
D | i2c-uniphier-f.c | 483 unsigned int cyc = priv->clk_cycle; in uniphier_fi2c_hw_init() local 496 writel(cyc, priv->membase + UNIPHIER_FI2C_CYC); in uniphier_fi2c_hw_init() 502 writel(cyc * 5 / 9, priv->membase + UNIPHIER_FI2C_LCTL); in uniphier_fi2c_hw_init() 507 writel(cyc / 2, priv->membase + UNIPHIER_FI2C_SSUT); in uniphier_fi2c_hw_init() 512 writel(cyc / 16, priv->membase + UNIPHIER_FI2C_DSUT); in uniphier_fi2c_hw_init()
|
D | i2c-uniphier.c | 298 unsigned int cyc = priv->clk_cycle; in uniphier_i2c_hw_init() local 308 writel((cyc * 5 / 9 << 16) | cyc, priv->membase + UNIPHIER_I2C_CLK); in uniphier_i2c_hw_init()
|
/drivers/dma/ |
D | pl330.c | 1088 const struct _xfer_spec *pxs, int cyc) in _ldst_memtomem() argument 1095 while (cyc--) { in _ldst_memtomem() 1100 while (cyc--) { in _ldst_memtomem() 1181 const struct _xfer_spec *pxs, int cyc, in _ldst_peripheral() argument 1195 while (cyc--) { in _ldst_peripheral() 1207 const struct _xfer_spec *pxs, int cyc) in _bursts() argument 1216 off += _ldst_peripheral(pl330, dry_run, &buf[off], pxs, cyc, in _bursts() 1221 off += _ldst_memtomem(dry_run, &buf[off], pxs, cyc); in _bursts() 1279 int cyc, cycmax, szlp, szlpend, szbrst, off; in _loop() local 1290 cyc = *bursts / lcnt1 / lcnt0; in _loop() [all …]
|
/drivers/mtd/nand/raw/atmel/ |
D | nand-controller.c | 72 #define ATMEL_HSMC_NFC_CFG_DTO(cyc, mul) (((cyc) << 16) | ((mul) << 20)) argument
|