/Linux-v6.6/include/linux/ |
D | sxgbe_platform.h | 15 /* MDC Clock Selection define*/ 16 #define SXGBE_CSR_100_150M 0x0 /* MDC = clk_scr_i/62 */ 17 #define SXGBE_CSR_150_250M 0x1 /* MDC = clk_scr_i/102 */ 18 #define SXGBE_CSR_250_300M 0x2 /* MDC = clk_scr_i/122 */ 19 #define SXGBE_CSR_300_350M 0x3 /* MDC = clk_scr_i/142 */ 20 #define SXGBE_CSR_350_400M 0x4 /* MDC = clk_scr_i/162 */ 21 #define SXGBE_CSR_400_500M 0x5 /* MDC = clk_scr_i/202 */
|
D | stmmac.h | 30 /* MDC Clock Selection define*/ 31 #define STMMAC_CSR_60_100M 0x0 /* MDC = clk_scr_i/42 */ 32 #define STMMAC_CSR_100_150M 0x1 /* MDC = clk_scr_i/62 */ 33 #define STMMAC_CSR_20_35M 0x2 /* MDC = clk_scr_i/16 */ 34 #define STMMAC_CSR_35_60M 0x3 /* MDC = clk_scr_i/26 */ 35 #define STMMAC_CSR_150_250M 0x4 /* MDC = clk_scr_i/102 */ 36 #define STMMAC_CSR_250_300M 0x5 /* MDC = clk_scr_i/122 */ 50 /* The MDC clock could be set higher than the IEEE 802.3 54 * supporting higher MDC clocks. 55 * The MDC clock selection macros need to be defined for MDC clock rate
|
/Linux-v6.6/Documentation/devicetree/bindings/dma/ |
D | img-mdc-dma.txt | 1 * IMG Multi-threaded DMA Controller (MDC) 4 - compatible: Must be "img,pistachio-mdc-dma". 5 - reg: Must contain the base address and length of the MDC registers. 10 - sys: MDC system interface clock. 28 mdc: dma-controller@18143000 { 29 compatible = "img,pistachio-mdc-dma"; 54 dmas = <&mdc 9 0xffffffff 0>, <&mdc 10 0xffffffff 0>;
|
/Linux-v6.6/drivers/net/dsa/realtek/ |
D | realtek-smi.c | 5 * The SMI protocol piggy-backs the MDIO MDC and MDIO signals levels 56 gpiod_direction_output(priv->mdc, 0); in realtek_smi_start() 61 gpiod_set_value(priv->mdc, 1); in realtek_smi_start() 63 gpiod_set_value(priv->mdc, 0); in realtek_smi_start() 67 gpiod_set_value(priv->mdc, 1); in realtek_smi_start() 71 gpiod_set_value(priv->mdc, 0); in realtek_smi_start() 80 gpiod_set_value(priv->mdc, 1); in realtek_smi_stop() 84 gpiod_set_value(priv->mdc, 1); in realtek_smi_stop() 86 gpiod_set_value(priv->mdc, 0); in realtek_smi_stop() 88 gpiod_set_value(priv->mdc, 1); in realtek_smi_stop() [all …]
|
/Linux-v6.6/drivers/dma/ |
D | moxart-dma.c | 152 struct moxart_dmadev *mdc; member 332 struct moxart_dmadev *mdc = ofdma->of_dma_data; in moxart_of_xlate() local 336 chan = dma_get_any_slave_channel(&mdc->dma_slave); in moxart_of_xlate() 570 struct moxart_dmadev *mdc; in moxart_probe() local 572 mdc = devm_kzalloc(dev, sizeof(*mdc), GFP_KERNEL); in moxart_probe() 573 if (!mdc) in moxart_probe() 586 dma_cap_zero(mdc->dma_slave.cap_mask); in moxart_probe() 587 dma_cap_set(DMA_SLAVE, mdc->dma_slave.cap_mask); in moxart_probe() 588 dma_cap_set(DMA_PRIVATE, mdc->dma_slave.cap_mask); in moxart_probe() 590 moxart_dma_init(&mdc->dma_slave, dev); in moxart_probe() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/arm/marvell/ |
D | cp110-system-controller.txt | 92 …i2sdo_spdifo), ge0(rxd2), tdm(drx), ptp(clk), mss_i2c(sck), uart0(txd), sata1(present_act), ge(mdc) 93 …0(rxd1), tdm(dtx), mss_uart(rxd), ptp(pclk_out), i2c1(sck), uart1(rxd), sata0(present_act), xg(mdc) 95 …, au(i2sbclk), ge0(rxctl), tdm(rstn), mss_uart(rxd), uart1(cts), pcie0(clkreq), uart3(rxd), ge(mdc) 119 …pi1(csn0), mss_gpio5, ge0(rxd2), spi0(csn5), pcie2(clkreq), ptp(pulse), ge(mdc), sata1(present_act… 122 mpp31 31 gpio, dev(a2), mss_gpio4, pcie(rstoutn), ge(mdc) 125 …, sdio(pwr11), mss_spi(mosi), tdm(dtx), au(i2slrclk), sdio(wr_protect), ge(mdc), pcie0(clkreq), ms… 127 …i2c1(sck), ptp(clk), synce1(clk), au(i2sbclk), sata0(present_act), xg(mdc), ge(mdc), pcie2(clkreq)… 128 …(sck), ptp(pclk_out), tdm(intn), mss_i2c(sck), sata1(present_act), ge(mdc), xg(mdc), pcie1(clkreq)… 132 …s_pwr), mss_i2c(sck), au(i2slrclk), ptp(pulse), spi0(mosi), uart1(rxd), ge(mdc), sata1(present_act… 133 …tect), synce2(clk), au(i2smclk), mss_uart(txd), spi0(miso), uart1(cts), xg(mdc), sata0(present_act… [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/net/dsa/ |
D | realtek.yaml | 50 mdc-gpios: 51 description: GPIO line for the MDC clock line. 114 - mdc-gpios 119 mdc-gpios: false 125 - mdc-gpios 133 # - mdc-gpios 148 /* 22 = MDIO (has input reads), 21 = MDC (clock, output only) */ 149 mdc-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; 242 mdc-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
|
/Linux-v6.6/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-cp110.c | 62 MPP_FUNCTION(10, "ge", "mdc")), 74 MPP_FUNCTION(10, "xg", "mdc")), 97 MPP_FUNCTION(10, "ge", "mdc")), 266 MPP_FUNCTION(8, "ge", "mdc"), 301 MPP_FUNCTION(8, "ge", "mdc")), 333 MPP_FUNCTION(7, "ge", "mdc"), 356 MPP_FUNCTION(7, "xg", "mdc"), 357 MPP_FUNCTION(8, "ge", "mdc"), 368 MPP_FUNCTION(7, "ge", "mdc"), 369 MPP_FUNCTION(8, "xg", "mdc"), [all …]
|
/Linux-v6.6/drivers/net/mdio/ |
D | mdio-gpio.c | 32 struct gpio_desc *mdc, *mdio, *mdo; member 38 bitbang->mdc = devm_gpiod_get_index(dev, NULL, MDIO_GPIO_MDC, in mdio_gpio_get_data() 40 if (IS_ERR(bitbang->mdc)) in mdio_gpio_get_data() 41 return PTR_ERR(bitbang->mdc); in mdio_gpio_get_data() 98 gpiod_set_value_cansleep(bitbang->mdc, what); in mdc_set()
|
/Linux-v6.6/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,armada-98dx3236-pinctrl.txt | 18 mpp4 4 gpio, spi0(cs1), smi(mdc), dev(cs0) 45 mpp31 31 gpio, slv_smi(mdc), smi(mdc), dev(we1)
|
D | marvell,armada-38x-pinctrl.txt | 22 mpp4 4 gpio, ge(mdc), ua1(txd), ua0(rts) 33 mpp15 15 gpio, ge0(rxd3), ge(mdc slave), pcie0(rstout), spi0(mosi) 74 mpp56 56 gpio, ua1(rts), ge(mdc), dram(deccerr), spi1(mosi), ua1(txd)
|
D | marvell,armada-39x-pinctrl.txt | 22 mpp4 4 gpio, ua1(txd), ua0(rts), smi(mdc) 25 mpp7 7 gpio, dev(ad9), xsmi(mdc) 38 mpp20 20 gpio, sata0(prsnt) [1], ua0(rts), ua1(txd), smi(mdc)
|
/Linux-v6.6/arch/mips/boot/dts/img/ |
D | pistachio.dtsi | 120 dmas = <&mdc 30 0xffffffff 0>; 136 dmas = <&mdc 23 0xffffffff 0>; 156 dmas = <&mdc 16 0xffffffff 0>; 173 dmas = <&mdc 14 0xffffffff 0>; 192 dmas = <&mdc 15 0xffffffff 0>; 217 dmas = <&mdc 9 0xffffffff 0>, <&mdc 10 0xffffffff 0>; 232 dmas = <&mdc 1 0xffffffff 0>, <&mdc 2 0xffffffff 0>; 817 mdc: dma-controller@18143000 { label 818 compatible = "img,pistachio-mdc-dma"; 882 dmas = <&mdc 8 0xffffffff 0>;
|
/Linux-v6.6/Documentation/devicetree/bindings/spi/ |
D | spi-img-spfi.txt | 34 dmas = <&mdc 9 0xffffffff 0>, <&mdc 10 0xffffffff 0>;
|
/Linux-v6.6/arch/powerpc/boot/dts/ |
D | kmeter1.dts | 149 0 2 1 0 1 0 /* MDC */ 175 0 2 1 0 1 0 /* MDC */ 201 0 2 1 0 1 0 /* MDC */ 221 0 2 1 0 1 0 /* MDC */ 239 0 2 1 0 1 0 /* MDC */ 257 0 2 1 0 1 0 /* MDC */ 275 0 2 1 0 1 0 /* MDC */
|
/Linux-v6.6/arch/arm/boot/dts/broadcom/ |
D | bcm47094-asus-rt-ac88u.dts | 21 /* 7 = MDIO (has input reads), 6 = MDC (clock, output only) */ 22 mdc-gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
|
/Linux-v6.6/drivers/net/ethernet/freescale/fs_enet/ |
D | mii-bitbang.c | 90 static inline void mdc(struct mdiobb_ctrl *ctrl, int what) in mdc() function 105 .set_mdc = mdc, 136 data = of_get_property(np, "fsl,mdc-pin", &len); in fs_mii_bitbang_init()
|
/Linux-v6.6/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
D | network.txt | 31 fsl,mdc-pin : pin of port C controlling mdio clock 42 fsl,mdc-pin = <13>;
|
/Linux-v6.6/drivers/s390/cio/ |
D | device_ops.c | 645 int mdc = 0, i; in ccw_device_get_mdc() local 668 mdc = 1; in ccw_device_get_mdc() 669 mdc = mdc ? min_t(int, mdc, chp->desc_fmt1.mdc) : in ccw_device_get_mdc() 670 chp->desc_fmt1.mdc; in ccw_device_get_mdc() 674 return mdc; in ccw_device_get_mdc()
|
/Linux-v6.6/drivers/net/ethernet/freescale/ |
D | xgmac_mdio.c | 231 * must read back the data register within 16 MDC cycles. in xgmac_mdio_read_c22() 297 * must read back the data register within 16 MDC cycles. in xgmac_mdio_read_c45() 339 dev_err(dev, "Input clock unknown, not changing MDC frequency"); in xgmac_mdio_set_mdc_freq() 345 dev_err(dev, "Requested MDC frequency is out of range, ignoring"); in xgmac_mdio_set_mdc_freq()
|
/Linux-v6.6/arch/arm/boot/dts/st/ |
D | stm32mp151a-prtt1l.dtsi | 40 /* DP83TD510E PHYs have max MDC rate of 1.75MHz. Since we can't reduce 41 * stmmac MDC clock without reducing system bus rate, we need to use
|
/Linux-v6.6/arch/arm/boot/dts/gemini/ |
D | gemini-sq201.dts | 58 /* Uses MDC and MDIO */ 59 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
|
/Linux-v6.6/Documentation/devicetree/bindings/sound/ |
D | img,spdif-in.txt | 36 dmas = <&mdc 15 0xffffffff 0>;
|
D | img,parallel-out.txt | 36 dmas = <&mdc 16 0xffffffff 0>;
|
D | img,spdif-out.txt | 36 dmas = <&mdc 14 0xffffffff 0>;
|