Lines Matching refs:bpw

544 static void pch_spi_set_tx(struct pch_spi_data *data, int *bpw)  in pch_spi_set_tx()  argument
565 *bpw = data->cur_trans->bits_per_word; in pch_spi_set_tx()
567 *bpw = data->current_msg->spi->bits_per_word; in pch_spi_set_tx()
574 data->bpw_len = data->cur_trans->len / (*bpw / 8); in pch_spi_set_tx()
605 if (*bpw == 8) { in pch_spi_set_tx()
722 static void pch_spi_copy_rx_data(struct pch_spi_data *data, int bpw) in pch_spi_copy_rx_data() argument
732 if (bpw == 8) { in pch_spi_copy_rx_data()
743 static void pch_spi_copy_rx_data_for_dma(struct pch_spi_data *data, int bpw) in pch_spi_copy_rx_data_for_dma() argument
755 if (bpw == 8) { in pch_spi_copy_rx_data_for_dma()
847 static void pch_spi_request_dma(struct pch_spi_data *data, int bpw) in pch_spi_request_dma() argument
856 if (bpw == 8) in pch_spi_request_dma()
917 static void pch_spi_handle_dma(struct pch_spi_data *data, int *bpw) in pch_spi_handle_dma() argument
953 *bpw = data->cur_trans->bits_per_word; in pch_spi_handle_dma()
955 *bpw = data->current_msg->spi->bits_per_word; in pch_spi_handle_dma()
957 data->bpw_len = data->cur_trans->len / (*bpw / 8); in pch_spi_handle_dma()
966 if (*bpw == 8) { in pch_spi_handle_dma()
1017 sg->offset = sg->offset * (*bpw / 8); in pch_spi_handle_dma()
1023 sg->offset = sg->offset * (*bpw / 8); in pch_spi_handle_dma()
1029 sg->offset = sg->offset * (*bpw / 8); in pch_spi_handle_dma()
1085 sg->offset = sg->offset * (*bpw / 8); in pch_spi_handle_dma()
1091 sg->offset = sg->offset * (*bpw / 8); in pch_spi_handle_dma()
1129 int bpw; in pch_spi_process_messages() local
1208 pch_spi_handle_dma(data, &bpw); in pch_spi_process_messages()
1219 pch_spi_copy_rx_data_for_dma(data, bpw); in pch_spi_process_messages()
1223 pch_spi_set_tx(data, &bpw); in pch_spi_process_messages()
1225 pch_spi_copy_rx_data(data, bpw); in pch_spi_process_messages()