Lines Matching refs:pspi
456 static int pch_spi_transfer(struct spi_device *pspi, struct spi_message *pmsg) in pch_spi_transfer() argument
460 struct pch_spi_data *data = spi_master_get_devdata(pspi->master); in pch_spi_transfer()
468 dev_err(&pspi->dev, in pch_spi_transfer()
475 dev_err(&pspi->dev, "%s Transfer length invalid\n", in pch_spi_transfer()
481 dev_dbg(&pspi->dev, in pch_spi_transfer()
489 dev_err(&pspi->dev, "%s status = STATUS_EXITING.\n", __func__); in pch_spi_transfer()
496 dev_err(&pspi->dev, "%s suspend; returning EINVAL\n", __func__); in pch_spi_transfer()
503 dev_dbg(&pspi->dev, "%s - pmsg->status =%d\n", __func__, pmsg->status); in pch_spi_transfer()
511 dev_dbg(&pspi->dev, "%s - Invoked list_add_tail\n", __func__); in pch_spi_transfer()
514 dev_dbg(&pspi->dev, "%s - Invoked queue work\n", __func__); in pch_spi_transfer()
519 dev_dbg(&pspi->dev, "%s RETURN=%d\n", __func__, retval); in pch_spi_transfer()
522 dev_dbg(&pspi->dev, "%s RETURN=%d\n", __func__, retval); in pch_spi_transfer()
528 struct spi_device *pspi) in pch_spi_select_chip() argument
531 if (pspi->chip_select != data->n_curnt_chip) { in pch_spi_select_chip()
532 dev_dbg(&pspi->dev, "%s : different slave\n", __func__); in pch_spi_select_chip()
537 data->current_chip = pspi; in pch_spi_select_chip()
541 dev_dbg(&pspi->dev, "%s :Invoking pch_spi_setup_transfer\n", __func__); in pch_spi_select_chip()
542 pch_spi_setup_transfer(pspi); in pch_spi_select_chip()