Searched refs:high_count (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-mxs.c | 692 uint16_t high_count, low_count, rcv_count, xmit_count; in mxs_i2c_derive_timing() local 737 high_count = DIV_ROUND_CLOSEST(divider * 6, (13 + 6)); in mxs_i2c_derive_timing() 743 high_count = DIV_ROUND_CLOSEST(divider * 40, (47 + 40)); in mxs_i2c_derive_timing() 747 rcv_count = high_count * 3 / 8; in mxs_i2c_derive_timing() 752 speed, clk / divider, divider, low_count, high_count, in mxs_i2c_derive_timing() 756 high_count -= 7; in mxs_i2c_derive_timing() 757 i2c->timing0 = (high_count << 16) | rcv_count; in mxs_i2c_derive_timing()
|