mdc               155 drivers/dma/moxart-dma.c 	struct moxart_dmadev		*mdc;
mdc               335 drivers/dma/moxart-dma.c 	struct moxart_dmadev *mdc = ofdma->of_dma_data;
mdc               339 drivers/dma/moxart-dma.c 	chan = dma_get_any_slave_channel(&mdc->dma_slave);
mdc               575 drivers/dma/moxart-dma.c 	struct moxart_dmadev *mdc;
mdc               577 drivers/dma/moxart-dma.c 	mdc = devm_kzalloc(dev, sizeof(*mdc), GFP_KERNEL);
mdc               578 drivers/dma/moxart-dma.c 	if (!mdc)
mdc               592 drivers/dma/moxart-dma.c 	dma_cap_zero(mdc->dma_slave.cap_mask);
mdc               593 drivers/dma/moxart-dma.c 	dma_cap_set(DMA_SLAVE, mdc->dma_slave.cap_mask);
mdc               594 drivers/dma/moxart-dma.c 	dma_cap_set(DMA_PRIVATE, mdc->dma_slave.cap_mask);
mdc               596 drivers/dma/moxart-dma.c 	moxart_dma_init(&mdc->dma_slave, dev);
mdc               598 drivers/dma/moxart-dma.c 	ch = &mdc->slave_chans[0];
mdc               605 drivers/dma/moxart-dma.c 		vchan_init(&ch->vc, &mdc->dma_slave);
mdc               611 drivers/dma/moxart-dma.c 	platform_set_drvdata(pdev, mdc);
mdc               614 drivers/dma/moxart-dma.c 			       "moxart-dma-engine", mdc);
mdc               619 drivers/dma/moxart-dma.c 	mdc->irq = irq;
mdc               621 drivers/dma/moxart-dma.c 	ret = dma_async_device_register(&mdc->dma_slave);
mdc               627 drivers/dma/moxart-dma.c 	ret = of_dma_controller_register(node, moxart_of_xlate, mdc);
mdc               630 drivers/dma/moxart-dma.c 		dma_async_device_unregister(&mdc->dma_slave);
mdc                59 drivers/net/dsa/realtek-smi-core.c 	gpiod_direction_output(smi->mdc, 0);
mdc                64 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 1);
mdc                66 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 0);
mdc                70 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 1);
mdc                74 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 0);
mdc                83 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 1);
mdc                87 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 1);
mdc                89 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 0);
mdc                91 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 1);
mdc                95 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 0);
mdc                97 drivers/net/dsa/realtek-smi-core.c 	gpiod_set_value(smi->mdc, 1);
mdc               101 drivers/net/dsa/realtek-smi-core.c 	gpiod_direction_input(smi->mdc);
mdc               114 drivers/net/dsa/realtek-smi-core.c 		gpiod_set_value(smi->mdc, 1);
mdc               116 drivers/net/dsa/realtek-smi-core.c 		gpiod_set_value(smi->mdc, 0);
mdc               130 drivers/net/dsa/realtek-smi-core.c 		gpiod_set_value(smi->mdc, 1);
mdc               133 drivers/net/dsa/realtek-smi-core.c 		gpiod_set_value(smi->mdc, 0);
mdc               432 drivers/net/dsa/realtek-smi-core.c 	smi->mdc = devm_gpiod_get_optional(dev, "mdc", GPIOD_OUT_LOW);
mdc               433 drivers/net/dsa/realtek-smi-core.c 	if (IS_ERR(smi->mdc))
mdc               434 drivers/net/dsa/realtek-smi-core.c 		return PTR_ERR(smi->mdc);
mdc                46 drivers/net/dsa/realtek-smi-core.h 	struct gpio_desc	*mdc;
mdc               358 drivers/net/ethernet/chelsio/cxgb3/common.h 	unsigned int mdc;
mdc               198 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	u32 clkdiv = adap->params.vpd.cclk / (2 * adap->params.vpd.mdc) - 1;
mdc               586 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	VPD_ENTRY(mdc, 6);	/* MDIO clk */
mdc               739 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	ret = vpdstrtouint(vpd.mdc_data, vpd.mdc_len, 10, &p->mdc);
mdc               105 drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c 	.set_mdc = mdc,
mdc                32 drivers/net/phy/mdio-gpio.c 	struct gpio_desc *mdc, *mdio, *mdo;
mdc                38 drivers/net/phy/mdio-gpio.c 	bitbang->mdc = devm_gpiod_get_index(dev, NULL, MDIO_GPIO_MDC,
mdc                40 drivers/net/phy/mdio-gpio.c 	if (IS_ERR(bitbang->mdc))
mdc                41 drivers/net/phy/mdio-gpio.c 		return PTR_ERR(bitbang->mdc);
mdc                98 drivers/net/phy/mdio-gpio.c 	gpiod_set_value_cansleep(bitbang->mdc, what);
mdc               509 drivers/pinctrl/qcom/pinctrl-ipq4019.c 	FUNCTION(mdc),
mdc               539 drivers/pinctrl/qcom/pinctrl-ipq4019.c 	PINGROUP(7, mdc, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA),
mdc               626 drivers/pinctrl/qcom/pinctrl-ipq4019.c 	PINGROUP(52, qpic, mdc, pcie, i2s_tx, NA, NA, NA, tm, wifi0, wifi1, NA,
mdc               862 drivers/pinctrl/qcom/pinctrl-ipq8074.c 	FUNCTION(mdc),
mdc              1021 drivers/pinctrl/qcom/pinctrl-ipq8074.c 	PINGROUP(68, mdc, NA, NA, NA, NA, NA, NA, NA, NA),
mdc              1170 drivers/s390/block/dasd_eckd.c 	unsigned int mdc;
mdc              1184 drivers/s390/block/dasd_eckd.c 	mdc = ccw_device_get_mdc(device->cdev, 0);
mdc              1185 drivers/s390/block/dasd_eckd.c 	if (mdc == 0) {
mdc              1189 drivers/s390/block/dasd_eckd.c 		return (u32)mdc * FCX_MAX_DATA_FACTOR;
mdc              1196 drivers/s390/block/dasd_eckd.c 	unsigned int mdc;
mdc              1200 drivers/s390/block/dasd_eckd.c 		mdc = ccw_device_get_mdc(device->cdev, lpm);
mdc              1201 drivers/s390/block/dasd_eckd.c 		if (mdc == 0) {
mdc              1205 drivers/s390/block/dasd_eckd.c 				 mdc, lpm);
mdc              1206 drivers/s390/block/dasd_eckd.c 			return mdc;
mdc              1208 drivers/s390/block/dasd_eckd.c 		fcx_max_data = (u32)mdc * FCX_MAX_DATA_FACTOR;
mdc                35 drivers/s390/cio/chsc.h 	u16 mdc;
mdc               645 drivers/s390/cio/device_ops.c 	int mdc = 0, i;
mdc               668 drivers/s390/cio/device_ops.c 			mdc = 1;
mdc               669 drivers/s390/cio/device_ops.c 		mdc = mdc ? min_t(int, mdc, chp->desc_fmt1.mdc) :
mdc               670 drivers/s390/cio/device_ops.c 			    chp->desc_fmt1.mdc;
mdc               674 drivers/s390/cio/device_ops.c 	return mdc;