Searched refs:period_ns (Results 26 - 27 of 27) sorted by relevance
12
/u-boot/drivers/pwm/ |
H A D | rk_pwm.c | 57 static int rk_pwm_set_config(struct udevice *dev, uint channel, uint period_ns, argument 65 debug("%s: period_ns=%u, duty_ns=%u\n", __func__, period_ns, duty_ns); 77 period = lldiv((uint64_t)priv->freq * period_ns,
|
/u-boot/drivers/i2c/ |
H A D | designware_i2c.c | 70 * @period_ns: Period to represent, in ns 73 static uint calc_counts(uint ic_clk, uint period_ns) argument 75 return DIV_ROUND_UP(ic_clk / 1000 * period_ns, NANO_TO_KILO);
|
Completed in 59 milliseconds
12