Lines Matching defs:bpw
92 u8 bpw;
303 static int dln2_spi_set_bpw(struct dln2_spi *dln2, u8 bpw)
307 u8 bpw;
311 tx.bpw = bpw;
356 static int dln2_spi_copy_to_buf(u8 *dln2_buf, const u8 *src, u16 len, u8 bpw)
361 if (bpw <= 8) {
363 } else if (bpw <= 16) {
389 static int dln2_spi_copy_from_buf(u8 *dest, const u8 *dln2_buf, u16 len, u8 bpw)
394 if (bpw <= 8) {
396 } else if (bpw <= 16) {
439 dln2_spi_copy_to_buf(tx->buf, data, data_len, dln2->bpw);
481 dln2_spi_copy_from_buf(data, rx->buf, data_len, dln2->bpw);
523 dln2_spi_copy_to_buf(tx->buf, tx_data, data_len, dln2->bpw);
537 dln2_spi_copy_from_buf(rx_data, rx->buf, data_len, dln2->bpw);
611 u8 bpw, u8 mode)
617 dln2->bpw != bpw;
642 if (dln2->bpw != bpw) {
643 ret = dln2_spi_set_bpw(dln2, bpw);
647 dln2->bpw = bpw;
818 dln2->bpw = 0;