Lines Matching refs:nsecs
41 unsigned nsecs; /* (clock cycle time)/2 */
42 u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs,
47 unsigned nsecs,
57 unsigned nsecs,
85 unsigned nsecs,
113 unsigned nsecs,
164 /* nsecs = (clock period)/2 */
168 cs->nsecs = (1000000000/2) / hz;
169 if (cs->nsecs > (MAX_UDELAY_MS * 1000 * 1000))
210 dev_dbg(&spi->dev, "%s, %u nsec/bit\n", __func__, 2 * cs->nsecs);
233 unsigned nsecs = cs->nsecs;
249 return cs->txrx_bufs(spi, cs->txrx_word, nsecs, t, flags);
251 return cs->txrx_bufs(spi, cs->txrx_word, nsecs, t, 0);