Lines Matching refs:din
88 u8 *din; member
144 if ((ns->din)&&(ns->cmd_len)) in __atcspi200_spi_start()
146 else if (ns->din) in __atcspi200_spi_start()
155 if(ns->din) in __atcspi200_spi_start()
182 static int __nspi_espi_rx(struct nds_spi_slave *ns, void *din, unsigned int bytes) in __nspi_espi_rx() argument
184 *(u8 *)din = ns->regs->data; in __nspi_espi_rx()
195 void *din = NULL; in __atcspi200_spi_xfer() local
217 ns->din = (u8 *)data_in; in __atcspi200_spi_xfer()
223 ns->din = 0; in __atcspi200_spi_xfer()
237 din = data_in; in __atcspi200_spi_xfer()
265 if (__nspi_espi_rx(ns, din, rx_bytes) == rx_bytes) { in __atcspi200_spi_xfer()
267 din = (unsigned char *)din + rx_bytes; in __atcspi200_spi_xfer()
332 const void *dout, void *din, in atcspi200_spi_xfer() argument
338 return __atcspi200_spi_xfer(ns, bitlen, dout, din, flags); in atcspi200_spi_xfer()