Lines Matching defs:bpw
91 u8 bpw;
302 static int dln2_spi_set_bpw(struct dln2_spi *dln2, u8 bpw)
306 u8 bpw;
310 tx.bpw = bpw;
355 static int dln2_spi_copy_to_buf(u8 *dln2_buf, const u8 *src, u16 len, u8 bpw)
360 if (bpw <= 8) {
362 } else if (bpw <= 16) {
388 static int dln2_spi_copy_from_buf(u8 *dest, const u8 *dln2_buf, u16 len, u8 bpw)
393 if (bpw <= 8) {
395 } else if (bpw <= 16) {
438 dln2_spi_copy_to_buf(tx->buf, data, data_len, dln2->bpw);
480 dln2_spi_copy_from_buf(data, rx->buf, data_len, dln2->bpw);
522 dln2_spi_copy_to_buf(tx->buf, tx_data, data_len, dln2->bpw);
536 dln2_spi_copy_from_buf(rx_data, rx->buf, data_len, dln2->bpw);
609 u8 bpw, u8 mode)
615 dln2->bpw != bpw;
640 if (dln2->bpw != bpw) {
641 ret = dln2_spi_set_bpw(dln2, bpw);
645 dln2->bpw = bpw;
817 dln2->bpw = 0;