Lines Matching refs:picosec
411 int len, picosec; in period_to_str() local
414 picosec = -1; in period_to_str()
416 picosec = ppr_to_ps[period]; in period_to_str()
418 picosec = period * 4000; in period_to_str()
421 if (picosec == -1) { in period_to_str()
424 len = sprint_frac(buf, picosec, 1000); in period_to_str()
443 int j, picosec, period = -1; in store_spi_transport_period_helper() local
446 picosec = simple_strtoul(buf, &endp, 10) * 1000; in store_spi_transport_period_helper()
453 picosec += (*endp - '0') * mult; in store_spi_transport_period_helper()
459 if (ppr_to_ps[j] < picosec) in store_spi_transport_period_helper()
466 period = picosec / 4000; in store_spi_transport_period_helper()
1124 unsigned int picosec, kb100; in spi_display_xfer_agreement() local
1129 picosec = ppr_to_ps[tp->period]; in spi_display_xfer_agreement()
1139 picosec = tp->period * 4000; in spi_display_xfer_agreement()
1148 kb100 = (10000000 + picosec / 2) / picosec; in spi_display_xfer_agreement()
1151 sprint_frac(tmp, picosec, 1000); in spi_display_xfer_agreement()