Searched refs:ppbaud (Results 1 – 1 of 1) sorted by relevance
| /linux-6.15/drivers/i3c/master/ |
| H A D | svc-i3c-master.c | 634 u32 ppbaud, odbaud, odhpp, mconfig; in svc_i3c_master_set_speed() local 658 ppbaud = FIELD_GET(GENMASK(11, 8), mconfig); in svc_i3c_master_set_speed() 685 u32 ppbaud, pplow, odhpp, odbaud, odstop, i2cbaud, reg; in svc_i3c_master_bus_init() local 712 ppbaud = DIV_ROUND_UP(fclk_rate / 2, i3c_scl_rate) - 1; in svc_i3c_master_bus_init() 721 high_period_ns = (ppbaud + 1) * fclk_period_ns; in svc_i3c_master_bus_init() 741 if (ppbaud > SVC_I3C_PPBAUD_MAX) { in svc_i3c_master_bus_init() 742 ppbaud = SVC_I3C_PPBAUD_MAX; in svc_i3c_master_bus_init() 743 pplow = DIV_ROUND_UP(fclk_rate, i3c_scl_rate) - (2 + 2 * ppbaud); in svc_i3c_master_bus_init() 746 high_period_ns = (ppbaud + 1) * fclk_period_ns; in svc_i3c_master_bus_init() 748 odbaud = DIV_ROUND_UP(fclk_rate, i2c_scl_rate * (2 + 2 * ppbaud)) - 1; in svc_i3c_master_bus_init() [all …]
|