Lines Matching refs:pkt_tx_buff
176 u16 *pkt_tx_buff; member
267 u16 *pkt_rx_buffer, *pkt_tx_buff; in pch_spi_handler_sub() local
282 pkt_tx_buff = data->pkt_tx_buff; in pch_spi_handler_sub()
292 iowrite32(pkt_tx_buff[tx_index++], spdwr); in pch_spi_handler_sub()
549 size = data->cur_trans->len * sizeof(*data->pkt_tx_buff); in pch_spi_set_tx()
552 data->pkt_tx_buff = kzalloc(size, GFP_KERNEL); in pch_spi_set_tx()
553 if (data->pkt_tx_buff != NULL) { in pch_spi_set_tx()
556 kfree(data->pkt_tx_buff); in pch_spi_set_tx()
557 data->pkt_tx_buff = NULL; in pch_spi_set_tx()
580 data->pkt_tx_buff[j] = *tx_buf++; in pch_spi_set_tx()
584 data->pkt_tx_buff[j] = *tx_sbuf++; in pch_spi_set_tx()
599 pch_spi_writereg(data->master, PCH_SPDWR, data->pkt_tx_buff[j]); in pch_spi_set_tx()
1206 kfree(data->pkt_tx_buff); in pch_spi_process_messages()
1207 data->pkt_tx_buff = NULL; in pch_spi_process_messages()