dwsmscc 62 drivers/spi/spi-dw-mmio.c struct dw_spi_mscc *dwsmscc = dwsmmio->priv; dwsmscc 71 drivers/spi/spi-dw-mmio.c writel(sw_mode, dwsmscc->spi_mst + MSCC_SPI_MST_SW_MODE); dwsmscc 81 drivers/spi/spi-dw-mmio.c struct dw_spi_mscc *dwsmscc; dwsmscc 83 drivers/spi/spi-dw-mmio.c dwsmscc = devm_kzalloc(&pdev->dev, sizeof(*dwsmscc), GFP_KERNEL); dwsmscc 84 drivers/spi/spi-dw-mmio.c if (!dwsmscc) dwsmscc 87 drivers/spi/spi-dw-mmio.c dwsmscc->spi_mst = devm_platform_ioremap_resource(pdev, 1); dwsmscc 88 drivers/spi/spi-dw-mmio.c if (IS_ERR(dwsmscc->spi_mst)) { dwsmscc 90 drivers/spi/spi-dw-mmio.c return PTR_ERR(dwsmscc->spi_mst); dwsmscc 93 drivers/spi/spi-dw-mmio.c dwsmscc->syscon = syscon_regmap_lookup_by_compatible(cpu_syscon); dwsmscc 94 drivers/spi/spi-dw-mmio.c if (IS_ERR(dwsmscc->syscon)) dwsmscc 95 drivers/spi/spi-dw-mmio.c return PTR_ERR(dwsmscc->syscon); dwsmscc 98 drivers/spi/spi-dw-mmio.c writel(0, dwsmscc->spi_mst + MSCC_SPI_MST_SW_MODE); dwsmscc 101 drivers/spi/spi-dw-mmio.c regmap_update_bits(dwsmscc->syscon, MSCC_CPU_SYSTEM_CTRL_GENERAL_CTRL, dwsmscc 106 drivers/spi/spi-dw-mmio.c dwsmmio->priv = dwsmscc;