Lines Matching refs:picosec
424 int len, picosec; in period_to_str() local
427 picosec = -1; in period_to_str()
429 picosec = ppr_to_ps[period]; in period_to_str()
431 picosec = period * 4000; in period_to_str()
434 if (picosec == -1) { in period_to_str()
437 len = sprint_frac(buf, picosec, 1000); in period_to_str()
456 int j, picosec, period = -1; in store_spi_transport_period_helper() local
459 picosec = simple_strtoul(buf, &endp, 10) * 1000; in store_spi_transport_period_helper()
466 picosec += (*endp - '0') * mult; in store_spi_transport_period_helper()
472 if (ppr_to_ps[j] < picosec) in store_spi_transport_period_helper()
479 period = picosec / 4000; in store_spi_transport_period_helper()
1126 unsigned int picosec, kb100; in spi_display_xfer_agreement() local
1131 picosec = ppr_to_ps[tp->period]; in spi_display_xfer_agreement()
1141 picosec = tp->period * 4000; in spi_display_xfer_agreement()
1150 kb100 = (10000000 + picosec / 2) / picosec; in spi_display_xfer_agreement()
1153 sprint_frac(tmp, picosec, 1000); in spi_display_xfer_agreement()