Home
last modified time | relevance | path

Searched refs:mdc (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/drivers/net/phy/
Dmdio-gpio.c39 int mdc, mdio; member
74 gpio_set_value(bitbang->mdc, what); in mdc_set()
98 bitbang->mdc = pdata->mdc; in mdio_gpio_bus_init()
120 if (gpio_request(bitbang->mdc, "mdc")) in mdio_gpio_bus_init()
126 gpio_direction_output(bitbang->mdc, 0); in mdio_gpio_bus_init()
133 gpio_free(bitbang->mdc); in mdio_gpio_bus_init()
149 gpio_free(bitbang->mdc); in mdio_gpio_bus_deinit()
204 pdata->mdc = ret; in mdio_ofgpio_probe()
211 new_bus = mdio_gpio_bus_init(&ofdev->dev, pdata, pdata->mdc); in mdio_ofgpio_probe()
/linux-2.6.39/drivers/s390/cio/
Ddevice_ops.c702 int mdc = 0, ret, i; in ccw_device_get_mdc() local
721 mdc = 1; in ccw_device_get_mdc()
722 mdc = mdc ? min(mdc, (int)desc.mdc) : desc.mdc; in ccw_device_get_mdc()
725 return mdc; in ccw_device_get_mdc()
Dchsc.h46 u16 mdc; member
/linux-2.6.39/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/
Dnetwork.txt32 fsl,mdc-pin : pin of port C controlling mdio clock
44 fsl,mdc-pin = <13>;
/linux-2.6.39/include/linux/
Dmdio-gpio.h18 unsigned int mdc; member
/linux-2.6.39/drivers/net/fs_enet/
Dmii-bitbang.c90 static inline void mdc(struct mdiobb_ctrl *ctrl, int what) in mdc() function
105 .set_mdc = mdc,
/linux-2.6.39/arch/cris/include/arch-v32/arch/hwregs/
Deth_defs.h188 unsigned int mdc : 1; member
/linux-2.6.39/arch/powerpc/boot/dts/
Dmgcoge.dts180 fsl,mdc-pin = <13>;
Dpq2fads.dts209 fsl,mdc-pin = <10>;
Dmpc8272ads.dts193 fsl,mdc-pin = <19>;
Dksi8560.dts282 fsl,mdc-pin = <25>;
/linux-2.6.39/drivers/s390/block/
Ddasd_eckd.c1041 int mdc; in verify_fcx_max_data() local
1046 mdc = ccw_device_get_mdc(device->cdev, lpm); in verify_fcx_max_data()
1047 if ((mdc < 0)) { in verify_fcx_max_data()
1051 mdc, lpm); in verify_fcx_max_data()
1052 return mdc; in verify_fcx_max_data()
1054 fcx_max_data = mdc * FCX_MAX_DATA_FACTOR; in verify_fcx_max_data()
1325 int tpm, mdc; in get_fcx_max_data() local
1341 mdc = ccw_device_get_mdc(device->cdev, 0); in get_fcx_max_data()
1342 if (mdc < 0) { in get_fcx_max_data()
1347 return mdc * FCX_MAX_DATA_FACTOR; in get_fcx_max_data()
/linux-2.6.39/drivers/net/cxgb3/
Dcommon.h361 unsigned int mdc; member
Dt3_hw.c198 u32 clkdiv = adap->params.vpd.cclk / (2 * adap->params.vpd.mdc) - 1; in mi1_init()
586 VPD_ENTRY(mdc, 6); /* MDIO clk */
715 p->mdc = simple_strtoul(vpd.mdc_data, NULL, 10); in get_vpd_params()