Home
last modified time | relevance | path

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

/system/dev/i2c/intel-i2c/
A Dintel-i2c-controller.h195 uint32_t* threshold);
198 uint32_t threshold);
202 uint32_t* threshold);
205 uint32_t threshold);
A Dintel-i2c-controller.c571 uint32_t* threshold) { in intel_serialio_i2c_get_rx_fifo_threshold() argument
573 *threshold = (readl(&controller->regs->rx_tl) & 0xff) + 1; in intel_serialio_i2c_get_rx_fifo_threshold()
579 uint32_t threshold) { in intel_serialio_i2c_set_rx_fifo_threshold() argument
581 if (threshold - 1 > UINT8_MAX) { in intel_serialio_i2c_set_rx_fifo_threshold()
585 RMWREG32(&controller->regs->rx_tl, 0, 8, threshold - 1); in intel_serialio_i2c_set_rx_fifo_threshold()
591 uint32_t* threshold) { in intel_serialio_i2c_get_tx_fifo_threshold() argument
593 *threshold = (readl(&controller->regs->tx_tl) & 0xff) + 1; in intel_serialio_i2c_get_tx_fifo_threshold()
599 uint32_t threshold) { in intel_serialio_i2c_set_tx_fifo_threshold() argument
601 if (threshold - 1 > UINT8_MAX) { in intel_serialio_i2c_set_tx_fifo_threshold()
605 RMWREG32(&controller->regs->tx_tl, 0, 8, threshold - 1); in intel_serialio_i2c_set_tx_fifo_threshold()

Completed in 8 milliseconds