Lines Matching refs:pspi
456 static int pch_spi_transfer(struct spi_device *pspi, struct spi_message *pmsg) in pch_spi_transfer() argument
458 struct pch_spi_data *data = spi_controller_get_devdata(pspi->controller); in pch_spi_transfer()
464 dev_err(&pspi->dev, "%s status = STATUS_EXITING.\n", __func__); in pch_spi_transfer()
471 dev_err(&pspi->dev, "%s suspend; returning EINVAL\n", __func__); in pch_spi_transfer()
478 dev_dbg(&pspi->dev, "%s - pmsg->status =%d\n", __func__, pmsg->status); in pch_spi_transfer()
486 dev_dbg(&pspi->dev, "%s - Invoked list_add_tail\n", __func__); in pch_spi_transfer()
489 dev_dbg(&pspi->dev, "%s - Invoked queue work\n", __func__); in pch_spi_transfer()
494 dev_dbg(&pspi->dev, "%s RETURN=%d\n", __func__, retval); in pch_spi_transfer()
499 struct spi_device *pspi) in pch_spi_select_chip() argument
502 if (spi_get_chipselect(pspi, 0) != data->n_curnt_chip) { in pch_spi_select_chip()
503 dev_dbg(&pspi->dev, "%s : different slave\n", __func__); in pch_spi_select_chip()
508 data->current_chip = pspi; in pch_spi_select_chip()
512 dev_dbg(&pspi->dev, "%s :Invoking pch_spi_setup_transfer\n", __func__); in pch_spi_select_chip()
513 pch_spi_setup_transfer(pspi); in pch_spi_select_chip()