Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/input/touchscreen/
Datmel_tsadcc.c187 unsigned int prsc; in atmel_tsadcc_probe() local
265 prsc = clk_get_rate(ts_dev->clk); in atmel_tsadcc_probe()
266 dev_info(&pdev->dev, "Master clock is set at: %d Hz\n", prsc); in atmel_tsadcc_probe()
274 prsc = (prsc / (2 * pdata->adc_clock)) - 1; in atmel_tsadcc_probe()
278 if (prsc > PRESCALER_VAL(ATMEL_TSADCC_PRESCAL)) in atmel_tsadcc_probe()
279 prsc = PRESCALER_VAL(ATMEL_TSADCC_PRESCAL); in atmel_tsadcc_probe()
281 if (prsc > PRESCALER_VAL(ATMEL_TSADCC_EPRESCAL)) in atmel_tsadcc_probe()
282 prsc = PRESCALER_VAL(ATMEL_TSADCC_EPRESCAL); in atmel_tsadcc_probe()
285 dev_info(&pdev->dev, "Prescaler is set at: %d\n", prsc); in atmel_tsadcc_probe()
290 (prsc << 8) | in atmel_tsadcc_probe()