Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-riic.c315 int total_ticks, cks, brl, brh; in riic_init_hw() local
365 brh = total_ticks - brl; in riic_init_hw()
370 brh -= 4; in riic_init_hw()
373 brh -= 3; in riic_init_hw()
381 brh -= t->scl_rise_ns / (1000000000 / rate); in riic_init_hw()
386 if (brh < 1) in riic_init_hw()
387 brh = 1; in riic_init_hw()
390 rate / total_ticks, ((brl + 3) * 100) / (brl + brh + 6), in riic_init_hw()
392 t->scl_rise_ns / (1000000000 / rate), cks, brl, brh); in riic_init_hw()
403 riic_writeb(riic, brh | ICBR_RESERVED, RIIC_ICBRH); in riic_init_hw()