sdd               122 drivers/net/wireless/st/cw1200/cw1200.h 	const struct firmware		*sdd;
sdd               466 drivers/net/wireless/st/cw1200/main.c 	if (priv->sdd) {
sdd               467 drivers/net/wireless/st/cw1200/main.c 		release_firmware(priv->sdd);
sdd               468 drivers/net/wireless/st/cw1200/main.c 		priv->sdd = NULL;
sdd              1067 drivers/net/wireless/st/cw1200/sta.c 	const u8 *p = priv->sdd->data;
sdd              1070 drivers/net/wireless/st/cw1200/sta.c 	while (p + 2 <= priv->sdd->data + priv->sdd->size) {
sdd              1071 drivers/net/wireless/st/cw1200/sta.c 		if (p + p[1] + 2 > priv->sdd->data + priv->sdd->size) {
sdd              1142 drivers/net/wireless/st/cw1200/sta.c 	if (!priv->sdd) {
sdd              1143 drivers/net/wireless/st/cw1200/sta.c 		ret = request_firmware(&priv->sdd, priv->sdd_path, priv->pdev);
sdd              1151 drivers/net/wireless/st/cw1200/sta.c 	cfg.dpdData = priv->sdd->data;
sdd              1152 drivers/net/wireless/st/cw1200/sta.c 	cfg.dpdData_size = priv->sdd->size;
sdd              2133 drivers/pinctrl/tegra/pinctrl-tegra20.c 	MUX_PG(sdd,    UARTA,     PWM,       SDIO3,     SPI3,          0x18, 2,  0x8c, 14, 0xac, 30),
sdd               191 drivers/spi/spi-s3c64xx.c static void s3c64xx_flush_fifo(struct s3c64xx_spi_driver_data *sdd)
sdd               193 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
sdd               212 drivers/spi/spi-s3c64xx.c 	} while (TX_FIFO_LVL(val, sdd) && loops--);
sdd               215 drivers/spi/spi-s3c64xx.c 		dev_warn(&sdd->pdev->dev, "Timed out flushing TX FIFO\n");
sdd               221 drivers/spi/spi-s3c64xx.c 		if (RX_FIFO_LVL(val, sdd))
sdd               228 drivers/spi/spi-s3c64xx.c 		dev_warn(&sdd->pdev->dev, "Timed out flushing RX FIFO\n");
sdd               241 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd;
sdd               246 drivers/spi/spi-s3c64xx.c 		sdd = container_of(data,
sdd               249 drivers/spi/spi-s3c64xx.c 		sdd = container_of(data,
sdd               252 drivers/spi/spi-s3c64xx.c 	spin_lock_irqsave(&sdd->lock, flags);
sdd               255 drivers/spi/spi-s3c64xx.c 		sdd->state &= ~RXBUSY;
sdd               256 drivers/spi/spi-s3c64xx.c 		if (!(sdd->state & TXBUSY))
sdd               257 drivers/spi/spi-s3c64xx.c 			complete(&sdd->xfer_completion);
sdd               259 drivers/spi/spi-s3c64xx.c 		sdd->state &= ~TXBUSY;
sdd               260 drivers/spi/spi-s3c64xx.c 		if (!(sdd->state & RXBUSY))
sdd               261 drivers/spi/spi-s3c64xx.c 			complete(&sdd->xfer_completion);
sdd               264 drivers/spi/spi-s3c64xx.c 	spin_unlock_irqrestore(&sdd->lock, flags);
sdd               270 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd;
sdd               277 drivers/spi/spi-s3c64xx.c 		sdd = container_of((void *)dma,
sdd               280 drivers/spi/spi-s3c64xx.c 		config.src_addr = sdd->sfr_start + S3C64XX_SPI_RX_DATA;
sdd               281 drivers/spi/spi-s3c64xx.c 		config.src_addr_width = sdd->cur_bpw / 8;
sdd               285 drivers/spi/spi-s3c64xx.c 		sdd = container_of((void *)dma,
sdd               288 drivers/spi/spi-s3c64xx.c 		config.dst_addr = sdd->sfr_start + S3C64XX_SPI_TX_DATA;
sdd               289 drivers/spi/spi-s3c64xx.c 		config.dst_addr_width = sdd->cur_bpw / 8;
sdd               306 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd =
sdd               309 drivers/spi/spi-s3c64xx.c 	if (sdd->cntrlr_info->no_cs)
sdd               313 drivers/spi/spi-s3c64xx.c 		if (!(sdd->port_conf->quirks & S3C64XX_SPI_QUIRK_CS_AUTO)) {
sdd               314 drivers/spi/spi-s3c64xx.c 			writel(0, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
sdd               316 drivers/spi/spi-s3c64xx.c 			u32 ssel = readl(sdd->regs + S3C64XX_SPI_SLAVE_SEL);
sdd               320 drivers/spi/spi-s3c64xx.c 			writel(ssel, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
sdd               323 drivers/spi/spi-s3c64xx.c 		if (!(sdd->port_conf->quirks & S3C64XX_SPI_QUIRK_CS_AUTO))
sdd               325 drivers/spi/spi-s3c64xx.c 			       sdd->regs + S3C64XX_SPI_SLAVE_SEL);
sdd               331 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(spi);
sdd               333 drivers/spi/spi-s3c64xx.c 	if (is_polling(sdd))
sdd               336 drivers/spi/spi-s3c64xx.c 	spi->dma_rx = sdd->rx_dma.ch;
sdd               337 drivers/spi/spi-s3c64xx.c 	spi->dma_tx = sdd->tx_dma.ch;
sdd               346 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
sdd               348 drivers/spi/spi-s3c64xx.c 	return xfer->len > (FIFO_LVL_MASK(sdd) >> 1) + 1;
sdd               351 drivers/spi/spi-s3c64xx.c static void s3c64xx_enable_datapath(struct s3c64xx_spi_driver_data *sdd,
sdd               354 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
sdd               371 drivers/spi/spi-s3c64xx.c 		writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff)
sdd               377 drivers/spi/spi-s3c64xx.c 		sdd->state |= TXBUSY;
sdd               381 drivers/spi/spi-s3c64xx.c 			prepare_dma(&sdd->tx_dma, &xfer->tx_sg);
sdd               383 drivers/spi/spi-s3c64xx.c 			switch (sdd->cur_bpw) {
sdd               401 drivers/spi/spi-s3c64xx.c 		sdd->state |= RXBUSY;
sdd               403 drivers/spi/spi-s3c64xx.c 		if (sdd->port_conf->high_speed && sdd->cur_speed >= 30000000UL
sdd               404 drivers/spi/spi-s3c64xx.c 					&& !(sdd->cur_mode & SPI_CPHA))
sdd               410 drivers/spi/spi-s3c64xx.c 			writel(((xfer->len * 8 / sdd->cur_bpw) & 0xffff)
sdd               413 drivers/spi/spi-s3c64xx.c 			prepare_dma(&sdd->rx_dma, &xfer->rx_sg);
sdd               421 drivers/spi/spi-s3c64xx.c static u32 s3c64xx_spi_wait_for_timeout(struct s3c64xx_spi_driver_data *sdd,
sdd               424 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
sdd               429 drivers/spi/spi-s3c64xx.c 	u32 max_fifo = (FIFO_LVL_MASK(sdd) >> 1) + 1;
sdd               436 drivers/spi/spi-s3c64xx.c 	} while (RX_FIFO_LVL(status, sdd) < max_fifo && --val);
sdd               439 drivers/spi/spi-s3c64xx.c 	return RX_FIFO_LVL(status, sdd);
sdd               442 drivers/spi/spi-s3c64xx.c static int s3c64xx_wait_for_dma(struct s3c64xx_spi_driver_data *sdd,
sdd               445 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
sdd               451 drivers/spi/spi-s3c64xx.c 	ms = xfer->len * 8 * 1000 / sdd->cur_speed;
sdd               455 drivers/spi/spi-s3c64xx.c 	val = wait_for_completion_timeout(&sdd->xfer_completion, val);
sdd               469 drivers/spi/spi-s3c64xx.c 		while ((TX_FIFO_LVL(status, sdd)
sdd               470 drivers/spi/spi-s3c64xx.c 			|| !S3C64XX_SPI_ST_TX_DONE(status, sdd))
sdd               485 drivers/spi/spi-s3c64xx.c static int s3c64xx_wait_for_pio(struct s3c64xx_spi_driver_data *sdd,
sdd               488 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
sdd               497 drivers/spi/spi-s3c64xx.c 	ms = xfer->len * 8 * 1000 / sdd->cur_speed;
sdd               503 drivers/spi/spi-s3c64xx.c 	} while (RX_FIFO_LVL(status, sdd) < xfer->len && --val);
sdd               510 drivers/spi/spi-s3c64xx.c 		sdd->state &= ~TXBUSY;
sdd               522 drivers/spi/spi-s3c64xx.c 	loops = xfer->len / ((FIFO_LVL_MASK(sdd) >> 1) + 1);
sdd               526 drivers/spi/spi-s3c64xx.c 		cpy_len = s3c64xx_spi_wait_for_timeout(sdd,
sdd               529 drivers/spi/spi-s3c64xx.c 		switch (sdd->cur_bpw) {
sdd               546 drivers/spi/spi-s3c64xx.c 	sdd->state &= ~RXBUSY;
sdd               551 drivers/spi/spi-s3c64xx.c static void s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd)
sdd               553 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
sdd               557 drivers/spi/spi-s3c64xx.c 	if (!sdd->port_conf->clk_from_cmu) {
sdd               569 drivers/spi/spi-s3c64xx.c 	if (sdd->cur_mode & SPI_CPOL)
sdd               572 drivers/spi/spi-s3c64xx.c 	if (sdd->cur_mode & SPI_CPHA)
sdd               582 drivers/spi/spi-s3c64xx.c 	switch (sdd->cur_bpw) {
sdd               599 drivers/spi/spi-s3c64xx.c 	if (sdd->port_conf->clk_from_cmu) {
sdd               601 drivers/spi/spi-s3c64xx.c 		clk_set_rate(sdd->src_clk, sdd->cur_speed * 2);
sdd               606 drivers/spi/spi-s3c64xx.c 		val |= ((clk_get_rate(sdd->src_clk) / sdd->cur_speed / 2 - 1)
sdd               622 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
sdd               627 drivers/spi/spi-s3c64xx.c 	writel(cs->fb_delay & 0x3, sdd->regs + S3C64XX_SPI_FB_CLK);
sdd               636 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
sdd               637 drivers/spi/spi-s3c64xx.c 	const unsigned int fifo_len = (FIFO_LVL_MASK(sdd) >> 1) + 1;
sdd               647 drivers/spi/spi-s3c64xx.c 	reinit_completion(&sdd->xfer_completion);
sdd               653 drivers/spi/spi-s3c64xx.c 	if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) {
sdd               654 drivers/spi/spi-s3c64xx.c 		sdd->cur_bpw = bpw;
sdd               655 drivers/spi/spi-s3c64xx.c 		sdd->cur_speed = speed;
sdd               656 drivers/spi/spi-s3c64xx.c 		sdd->cur_mode = spi->mode;
sdd               657 drivers/spi/spi-s3c64xx.c 		s3c64xx_spi_config(sdd);
sdd               660 drivers/spi/spi-s3c64xx.c 	if (!is_polling(sdd) && (xfer->len > fifo_len) &&
sdd               661 drivers/spi/spi-s3c64xx.c 	    sdd->rx_dma.ch && sdd->tx_dma.ch) {
sdd               664 drivers/spi/spi-s3c64xx.c 	} else if (is_polling(sdd) && xfer->len > fifo_len) {
sdd               675 drivers/spi/spi-s3c64xx.c 		spin_lock_irqsave(&sdd->lock, flags);
sdd               678 drivers/spi/spi-s3c64xx.c 		sdd->state &= ~RXBUSY;
sdd               679 drivers/spi/spi-s3c64xx.c 		sdd->state &= ~TXBUSY;
sdd               681 drivers/spi/spi-s3c64xx.c 		s3c64xx_enable_datapath(sdd, xfer, use_dma);
sdd               686 drivers/spi/spi-s3c64xx.c 		spin_unlock_irqrestore(&sdd->lock, flags);
sdd               689 drivers/spi/spi-s3c64xx.c 			status = s3c64xx_wait_for_dma(sdd, xfer);
sdd               691 drivers/spi/spi-s3c64xx.c 			status = s3c64xx_wait_for_pio(sdd, xfer);
sdd               697 drivers/spi/spi-s3c64xx.c 				(sdd->state & RXBUSY) ? 'f' : 'p',
sdd               698 drivers/spi/spi-s3c64xx.c 				(sdd->state & TXBUSY) ? 'f' : 'p',
sdd               702 drivers/spi/spi-s3c64xx.c 				if (xfer->tx_buf && (sdd->state & TXBUSY))
sdd               703 drivers/spi/spi-s3c64xx.c 					dmaengine_terminate_all(sdd->tx_dma.ch);
sdd               704 drivers/spi/spi-s3c64xx.c 				if (xfer->rx_buf && (sdd->state & RXBUSY))
sdd               705 drivers/spi/spi-s3c64xx.c 					dmaengine_terminate_all(sdd->rx_dma.ch);
sdd               708 drivers/spi/spi-s3c64xx.c 			s3c64xx_flush_fifo(sdd);
sdd               776 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd;
sdd               779 drivers/spi/spi-s3c64xx.c 	sdd = spi_master_get_devdata(spi->master);
sdd               812 drivers/spi/spi-s3c64xx.c 	pm_runtime_get_sync(&sdd->pdev->dev);
sdd               815 drivers/spi/spi-s3c64xx.c 	if (!sdd->port_conf->clk_from_cmu) {
sdd               819 drivers/spi/spi-s3c64xx.c 		speed = clk_get_rate(sdd->src_clk) / 2 / (0 + 1);
sdd               824 drivers/spi/spi-s3c64xx.c 		psr = clk_get_rate(sdd->src_clk) / 2 / spi->max_speed_hz - 1;
sdd               829 drivers/spi/spi-s3c64xx.c 		speed = clk_get_rate(sdd->src_clk) / 2 / (psr + 1);
sdd               839 drivers/spi/spi-s3c64xx.c 		speed = clk_get_rate(sdd->src_clk) / 2 / (psr + 1);
sdd               850 drivers/spi/spi-s3c64xx.c 	pm_runtime_mark_last_busy(&sdd->pdev->dev);
sdd               851 drivers/spi/spi-s3c64xx.c 	pm_runtime_put_autosuspend(&sdd->pdev->dev);
sdd               857 drivers/spi/spi-s3c64xx.c 	pm_runtime_mark_last_busy(&sdd->pdev->dev);
sdd               858 drivers/spi/spi-s3c64xx.c 	pm_runtime_put_autosuspend(&sdd->pdev->dev);
sdd               896 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = data;
sdd               897 drivers/spi/spi-s3c64xx.c 	struct spi_master *spi = sdd->master;
sdd               900 drivers/spi/spi-s3c64xx.c 	val = readl(sdd->regs + S3C64XX_SPI_STATUS);
sdd               920 drivers/spi/spi-s3c64xx.c 	writel(clr, sdd->regs + S3C64XX_SPI_PENDING_CLR);
sdd               921 drivers/spi/spi-s3c64xx.c 	writel(0, sdd->regs + S3C64XX_SPI_PENDING_CLR);
sdd               926 drivers/spi/spi-s3c64xx.c static void s3c64xx_spi_hwinit(struct s3c64xx_spi_driver_data *sdd)
sdd               928 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_info *sci = sdd->cntrlr_info;
sdd               929 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
sdd               932 drivers/spi/spi-s3c64xx.c 	sdd->cur_speed = 0;
sdd               935 drivers/spi/spi-s3c64xx.c 		writel(0, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
sdd               936 drivers/spi/spi-s3c64xx.c 	else if (!(sdd->port_conf->quirks & S3C64XX_SPI_QUIRK_CS_AUTO))
sdd               937 drivers/spi/spi-s3c64xx.c 		writel(S3C64XX_SPI_SLAVE_SIG_INACT, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
sdd               942 drivers/spi/spi-s3c64xx.c 	if (!sdd->port_conf->clk_from_cmu)
sdd               964 drivers/spi/spi-s3c64xx.c 	s3c64xx_flush_fifo(sdd);
sdd              1021 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd;
sdd              1059 drivers/spi/spi-s3c64xx.c 	sdd = spi_master_get_devdata(master);
sdd              1060 drivers/spi/spi-s3c64xx.c 	sdd->port_conf = s3c64xx_spi_get_port_config(pdev);
sdd              1061 drivers/spi/spi-s3c64xx.c 	sdd->master = master;
sdd              1062 drivers/spi/spi-s3c64xx.c 	sdd->cntrlr_info = sci;
sdd              1063 drivers/spi/spi-s3c64xx.c 	sdd->pdev = pdev;
sdd              1064 drivers/spi/spi-s3c64xx.c 	sdd->sfr_start = mem_res->start;
sdd              1072 drivers/spi/spi-s3c64xx.c 		sdd->port_id = ret;
sdd              1074 drivers/spi/spi-s3c64xx.c 		sdd->port_id = pdev->id;
sdd              1077 drivers/spi/spi-s3c64xx.c 	sdd->cur_bpw = 8;
sdd              1079 drivers/spi/spi-s3c64xx.c 	sdd->tx_dma.direction = DMA_MEM_TO_DEV;
sdd              1080 drivers/spi/spi-s3c64xx.c 	sdd->rx_dma.direction = DMA_DEV_TO_MEM;
sdd              1083 drivers/spi/spi-s3c64xx.c 	master->bus_num = sdd->port_id;
sdd              1096 drivers/spi/spi-s3c64xx.c 	if (!is_polling(sdd))
sdd              1099 drivers/spi/spi-s3c64xx.c 	sdd->regs = devm_ioremap_resource(&pdev->dev, mem_res);
sdd              1100 drivers/spi/spi-s3c64xx.c 	if (IS_ERR(sdd->regs)) {
sdd              1101 drivers/spi/spi-s3c64xx.c 		ret = PTR_ERR(sdd->regs);
sdd              1112 drivers/spi/spi-s3c64xx.c 	sdd->clk = devm_clk_get(&pdev->dev, "spi");
sdd              1113 drivers/spi/spi-s3c64xx.c 	if (IS_ERR(sdd->clk)) {
sdd              1115 drivers/spi/spi-s3c64xx.c 		ret = PTR_ERR(sdd->clk);
sdd              1119 drivers/spi/spi-s3c64xx.c 	ret = clk_prepare_enable(sdd->clk);
sdd              1126 drivers/spi/spi-s3c64xx.c 	sdd->src_clk = devm_clk_get(&pdev->dev, clk_name);
sdd              1127 drivers/spi/spi-s3c64xx.c 	if (IS_ERR(sdd->src_clk)) {
sdd              1130 drivers/spi/spi-s3c64xx.c 		ret = PTR_ERR(sdd->src_clk);
sdd              1134 drivers/spi/spi-s3c64xx.c 	ret = clk_prepare_enable(sdd->src_clk);
sdd              1140 drivers/spi/spi-s3c64xx.c 	if (sdd->port_conf->clk_ioclk) {
sdd              1141 drivers/spi/spi-s3c64xx.c 		sdd->ioclk = devm_clk_get(&pdev->dev, "spi_ioclk");
sdd              1142 drivers/spi/spi-s3c64xx.c 		if (IS_ERR(sdd->ioclk)) {
sdd              1144 drivers/spi/spi-s3c64xx.c 			ret = PTR_ERR(sdd->ioclk);
sdd              1148 drivers/spi/spi-s3c64xx.c 		ret = clk_prepare_enable(sdd->ioclk);
sdd              1155 drivers/spi/spi-s3c64xx.c 	if (!is_polling(sdd)) {
sdd              1157 drivers/spi/spi-s3c64xx.c 		sdd->rx_dma.ch = dma_request_slave_channel_reason(&pdev->dev,
sdd              1159 drivers/spi/spi-s3c64xx.c 		if (IS_ERR(sdd->rx_dma.ch)) {
sdd              1161 drivers/spi/spi-s3c64xx.c 			ret = PTR_ERR(sdd->rx_dma.ch);
sdd              1164 drivers/spi/spi-s3c64xx.c 		sdd->tx_dma.ch = dma_request_slave_channel_reason(&pdev->dev,
sdd              1166 drivers/spi/spi-s3c64xx.c 		if (IS_ERR(sdd->tx_dma.ch)) {
sdd              1168 drivers/spi/spi-s3c64xx.c 			ret = PTR_ERR(sdd->tx_dma.ch);
sdd              1180 drivers/spi/spi-s3c64xx.c 	s3c64xx_spi_hwinit(sdd);
sdd              1182 drivers/spi/spi-s3c64xx.c 	spin_lock_init(&sdd->lock);
sdd              1183 drivers/spi/spi-s3c64xx.c 	init_completion(&sdd->xfer_completion);
sdd              1186 drivers/spi/spi-s3c64xx.c 				"spi-s3c64xx", sdd);
sdd              1195 drivers/spi/spi-s3c64xx.c 	       sdd->regs + S3C64XX_SPI_INT_EN);
sdd              1204 drivers/spi/spi-s3c64xx.c 					sdd->port_id, master->num_chipselect);
sdd              1206 drivers/spi/spi-s3c64xx.c 					mem_res, (FIFO_LVL_MASK(sdd) >> 1) + 1);
sdd              1218 drivers/spi/spi-s3c64xx.c 	if (!is_polling(sdd))
sdd              1219 drivers/spi/spi-s3c64xx.c 		dma_release_channel(sdd->tx_dma.ch);
sdd              1221 drivers/spi/spi-s3c64xx.c 	if (!is_polling(sdd))
sdd              1222 drivers/spi/spi-s3c64xx.c 		dma_release_channel(sdd->rx_dma.ch);
sdd              1224 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->ioclk);
sdd              1226 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->src_clk);
sdd              1228 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->clk);
sdd              1238 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
sdd              1242 drivers/spi/spi-s3c64xx.c 	writel(0, sdd->regs + S3C64XX_SPI_INT_EN);
sdd              1244 drivers/spi/spi-s3c64xx.c 	if (!is_polling(sdd)) {
sdd              1245 drivers/spi/spi-s3c64xx.c 		dma_release_channel(sdd->rx_dma.ch);
sdd              1246 drivers/spi/spi-s3c64xx.c 		dma_release_channel(sdd->tx_dma.ch);
sdd              1249 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->ioclk);
sdd              1251 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->src_clk);
sdd              1253 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->clk);
sdd              1266 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
sdd              1276 drivers/spi/spi-s3c64xx.c 	sdd->cur_speed = 0; /* Output Clock is stopped */
sdd              1284 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
sdd              1285 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_info *sci = sdd->cntrlr_info;
sdd              1303 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
sdd              1305 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->clk);
sdd              1306 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->src_clk);
sdd              1307 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->ioclk);
sdd              1315 drivers/spi/spi-s3c64xx.c 	struct s3c64xx_spi_driver_data *sdd = spi_master_get_devdata(master);
sdd              1318 drivers/spi/spi-s3c64xx.c 	if (sdd->port_conf->clk_ioclk) {
sdd              1319 drivers/spi/spi-s3c64xx.c 		ret = clk_prepare_enable(sdd->ioclk);
sdd              1324 drivers/spi/spi-s3c64xx.c 	ret = clk_prepare_enable(sdd->src_clk);
sdd              1328 drivers/spi/spi-s3c64xx.c 	ret = clk_prepare_enable(sdd->clk);
sdd              1332 drivers/spi/spi-s3c64xx.c 	s3c64xx_spi_hwinit(sdd);
sdd              1337 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->src_clk);
sdd              1339 drivers/spi/spi-s3c64xx.c 	clk_disable_unprepare(sdd->ioclk);
sdd               843 kernel/sched/topology.c 	struct sd_data *sdd = sd->private;
sdd               850 kernel/sched/topology.c 		sibling = *per_cpu_ptr(sdd->sd, i);
sdd               902 kernel/sched/topology.c 	struct sd_data *sdd = sd->private;
sdd               909 kernel/sched/topology.c 	sg->sgc = *per_cpu_ptr(sdd->sgc, cpu);
sdd               932 kernel/sched/topology.c 	struct sd_data *sdd = sd->private;
sdd               944 kernel/sched/topology.c 		sibling = *per_cpu_ptr(sdd->sd, i);
sdd              1057 kernel/sched/topology.c static struct sched_group *get_group(int cpu, struct sd_data *sdd)
sdd              1059 kernel/sched/topology.c 	struct sched_domain *sd = *per_cpu_ptr(sdd->sd, cpu);
sdd              1067 kernel/sched/topology.c 	sg = *per_cpu_ptr(sdd->sg, cpu);
sdd              1068 kernel/sched/topology.c 	sg->sgc = *per_cpu_ptr(sdd->sgc, cpu);
sdd              1105 kernel/sched/topology.c 	struct sd_data *sdd = sd->private;
sdd              1121 kernel/sched/topology.c 		sg = get_group(i, sdd);
sdd              1263 kernel/sched/topology.c 	struct sd_data *sdd = sd->private;
sdd              1265 kernel/sched/topology.c 	WARN_ON_ONCE(*per_cpu_ptr(sdd->sd, cpu) != sd);
sdd              1266 kernel/sched/topology.c 	*per_cpu_ptr(sdd->sd, cpu) = NULL;
sdd              1268 kernel/sched/topology.c 	if (atomic_read(&(*per_cpu_ptr(sdd->sds, cpu))->ref))
sdd              1269 kernel/sched/topology.c 		*per_cpu_ptr(sdd->sds, cpu) = NULL;
sdd              1271 kernel/sched/topology.c 	if (atomic_read(&(*per_cpu_ptr(sdd->sg, cpu))->ref))
sdd              1272 kernel/sched/topology.c 		*per_cpu_ptr(sdd->sg, cpu) = NULL;
sdd              1274 kernel/sched/topology.c 	if (atomic_read(&(*per_cpu_ptr(sdd->sgc, cpu))->ref))
sdd              1275 kernel/sched/topology.c 		*per_cpu_ptr(sdd->sgc, cpu) = NULL;
sdd              1319 kernel/sched/topology.c 	struct sd_data *sdd = &tl->data;
sdd              1320 kernel/sched/topology.c 	struct sched_domain *sd = *per_cpu_ptr(sdd->sd, cpu);
sdd              1422 kernel/sched/topology.c 		sd->shared = *per_cpu_ptr(sdd->sds, sd_id);
sdd              1427 kernel/sched/topology.c 	sd->private = sdd;
sdd              1756 kernel/sched/topology.c 		struct sd_data *sdd = &tl->data;
sdd              1758 kernel/sched/topology.c 		sdd->sd = alloc_percpu(struct sched_domain *);
sdd              1759 kernel/sched/topology.c 		if (!sdd->sd)
sdd              1762 kernel/sched/topology.c 		sdd->sds = alloc_percpu(struct sched_domain_shared *);
sdd              1763 kernel/sched/topology.c 		if (!sdd->sds)
sdd              1766 kernel/sched/topology.c 		sdd->sg = alloc_percpu(struct sched_group *);
sdd              1767 kernel/sched/topology.c 		if (!sdd->sg)
sdd              1770 kernel/sched/topology.c 		sdd->sgc = alloc_percpu(struct sched_group_capacity *);
sdd              1771 kernel/sched/topology.c 		if (!sdd->sgc)
sdd              1785 kernel/sched/topology.c 			*per_cpu_ptr(sdd->sd, j) = sd;
sdd              1792 kernel/sched/topology.c 			*per_cpu_ptr(sdd->sds, j) = sds;
sdd              1801 kernel/sched/topology.c 			*per_cpu_ptr(sdd->sg, j) = sg;
sdd              1812 kernel/sched/topology.c 			*per_cpu_ptr(sdd->sgc, j) = sgc;
sdd              1825 kernel/sched/topology.c 		struct sd_data *sdd = &tl->data;
sdd              1830 kernel/sched/topology.c 			if (sdd->sd) {
sdd              1831 kernel/sched/topology.c 				sd = *per_cpu_ptr(sdd->sd, j);
sdd              1834 kernel/sched/topology.c 				kfree(*per_cpu_ptr(sdd->sd, j));
sdd              1837 kernel/sched/topology.c 			if (sdd->sds)
sdd              1838 kernel/sched/topology.c 				kfree(*per_cpu_ptr(sdd->sds, j));
sdd              1839 kernel/sched/topology.c 			if (sdd->sg)
sdd              1840 kernel/sched/topology.c 				kfree(*per_cpu_ptr(sdd->sg, j));
sdd              1841 kernel/sched/topology.c 			if (sdd->sgc)
sdd              1842 kernel/sched/topology.c 				kfree(*per_cpu_ptr(sdd->sgc, j));
sdd              1844 kernel/sched/topology.c 		free_percpu(sdd->sd);
sdd              1845 kernel/sched/topology.c 		sdd->sd = NULL;
sdd              1846 kernel/sched/topology.c 		free_percpu(sdd->sds);
sdd              1847 kernel/sched/topology.c 		sdd->sds = NULL;
sdd              1848 kernel/sched/topology.c 		free_percpu(sdd->sg);
sdd              1849 kernel/sched/topology.c 		sdd->sg = NULL;
sdd              1850 kernel/sched/topology.c 		free_percpu(sdd->sgc);
sdd              1851 kernel/sched/topology.c 		sdd->sgc = NULL;