Lines Matching refs:master
172 dev_err(&dws->master->dev,
335 dev_err(&dws->master->dev, "%s\n", msg);
655 struct dw_spi *dws = spi_master_get_devdata(spi->master);
778 dev_name(dws->master->dev.parent));
867 struct spi_master *master;
872 master = spi_alloc_master(dws->parent_dev, 0);
873 if (!master) {
878 dws->master = master;
887 dev_err(&master->dev, "can not get IRQ\n");
891 master->mode_bits = SPI_CPOL | SPI_CPHA;
892 master->bus_num = dws->bus_num;
893 master->num_chipselect = dws->num_cs;
894 master->cleanup = dw_spi_cleanup;
895 master->setup = dw_spi_setup;
896 master->transfer = dw_spi_transfer;
906 dev_err(&master->dev, "problem initializing queue\n");
911 dev_err(&master->dev, "problem starting queue\n");
915 spi_master_set_devdata(master, dws);
916 ret = spi_register_master(master);
918 dev_err(&master->dev, "problem registering spi master\n");
931 spi_master_put(master);
948 dev_err(&dws->master->dev, "dw_spi_remove: workqueue will not "
957 spi_unregister_master(dws->master);
981 dev_err(&dws->master->dev, "fail to start queue (%d)\n", ret);