• Home
  • Raw
  • Download

Lines Matching refs:bpw_len

167 	u32 bpw_len;  member
261 u32 n_read, tx_index, rx_index, bpw_len; in pch_spi_handler_sub() local
275 bpw_len = data->bpw_len; in pch_spi_handler_sub()
286 if (tx_index < bpw_len) in pch_spi_handler_sub()
291 if ((bpw_len - rx_index) <= PCH_MAX_FIFO_DEPTH) { in pch_spi_handler_sub()
308 if ((tx_index == bpw_len) && (rx_index == tx_index)) { in pch_spi_handler_sub()
570 data->bpw_len = data->cur_trans->len / (*bpw / 8); in pch_spi_set_tx()
601 for (j = 0; j < data->bpw_len; j++) in pch_spi_set_tx()
605 for (j = 0; j < data->bpw_len; j++) in pch_spi_set_tx()
611 n_writes = data->bpw_len; in pch_spi_set_tx()
685 if ((data->bpw_len) > PCH_MAX_FIFO_DEPTH) in pch_spi_set_ir()
728 for (j = 0; j < data->bpw_len; j++) in pch_spi_copy_rx_data()
732 for (j = 0; j < data->bpw_len; j++) in pch_spi_copy_rx_data()
752 for (j = 0; j < data->bpw_len; j++) in pch_spi_copy_rx_data_for_dma()
758 for (j = 0; j < data->bpw_len; j++) in pch_spi_copy_rx_data_for_dma()
951 data->bpw_len = data->cur_trans->len / (*bpw / 8); in pch_spi_handle_dma()
953 if (data->bpw_len > PCH_BUF_SIZE) { in pch_spi_handle_dma()
954 data->bpw_len = PCH_BUF_SIZE; in pch_spi_handle_dma()
963 for (i = 0; i < data->bpw_len; i++) in pch_spi_handle_dma()
968 for (i = 0; i < data->bpw_len; i++) in pch_spi_handle_dma()
974 if (data->bpw_len > PCH_DMA_TRANS_SIZE) { in pch_spi_handle_dma()
975 if (data->bpw_len % PCH_DMA_TRANS_SIZE) { in pch_spi_handle_dma()
976 num = data->bpw_len / PCH_DMA_TRANS_SIZE + 1; in pch_spi_handle_dma()
977 rem = data->bpw_len % PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
979 num = data->bpw_len / PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
985 size = data->bpw_len; in pch_spi_handle_dma()
986 rem = data->bpw_len; in pch_spi_handle_dma()
1046 if (data->bpw_len > PCH_MAX_FIFO_DEPTH) { in pch_spi_handle_dma()
1048 if (data->bpw_len % PCH_DMA_TRANS_SIZE > 4) { in pch_spi_handle_dma()
1049 num = data->bpw_len / PCH_DMA_TRANS_SIZE + 1; in pch_spi_handle_dma()
1050 rem = data->bpw_len % PCH_DMA_TRANS_SIZE - head; in pch_spi_handle_dma()
1052 num = data->bpw_len / PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
1053 rem = data->bpw_len % PCH_DMA_TRANS_SIZE + in pch_spi_handle_dma()
1059 size = data->bpw_len; in pch_spi_handle_dma()
1060 rem = data->bpw_len; in pch_spi_handle_dma()