Lines Matching refs:nsecs
41 unsigned nsecs; /* (clock cycle time)/2 */ member
42 u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs,
47 unsigned nsecs,
57 unsigned nsecs, in bitbang_txrx_8() argument
86 unsigned nsecs, in bitbang_txrx_16() argument
115 unsigned nsecs, in bitbang_txrx_32() argument
171 cs->nsecs = (1000000000/2) / hz; in spi_bitbang_setup_transfer()
172 if (cs->nsecs > (MAX_UDELAY_MS * 1000 * 1000)) in spi_bitbang_setup_transfer()
213 dev_dbg(&spi->dev, "%s, %u nsec/bit\n", __func__, 2 * cs->nsecs); in spi_bitbang_setup()
236 unsigned nsecs = cs->nsecs; in spi_bitbang_bufs() local
252 return cs->txrx_bufs(spi, cs->txrx_word, nsecs, t, flags); in spi_bitbang_bufs()
254 return cs->txrx_bufs(spi, cs->txrx_word, nsecs, t, 0); in spi_bitbang_bufs()