Lines Matching refs:picosec
414 int len, picosec; in period_to_str() local
417 picosec = -1; in period_to_str()
419 picosec = ppr_to_ps[period]; in period_to_str()
421 picosec = period * 4000; in period_to_str()
424 if (picosec == -1) { in period_to_str()
427 len = sprint_frac(buf, picosec, 1000); in period_to_str()
446 int j, picosec, period = -1; in store_spi_transport_period_helper() local
449 picosec = simple_strtoul(buf, &endp, 10) * 1000; in store_spi_transport_period_helper()
456 picosec += (*endp - '0') * mult; in store_spi_transport_period_helper()
462 if (ppr_to_ps[j] < picosec) in store_spi_transport_period_helper()
469 period = picosec / 4000; in store_spi_transport_period_helper()
1135 unsigned int picosec, kb100; in spi_display_xfer_agreement() local
1140 picosec = ppr_to_ps[tp->period]; in spi_display_xfer_agreement()
1150 picosec = tp->period * 4000; in spi_display_xfer_agreement()
1159 kb100 = (10000000 + picosec / 2) / picosec; in spi_display_xfer_agreement()
1162 sprint_frac(tmp, picosec, 1000); in spi_display_xfer_agreement()