Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/
Dif_msk.c251 struct msk_softc *sc; in msk_phy_readreg() local
253 sc = sc_if->msk_softc; in msk_phy_readreg()
256 …GMAC_WRITE_2 (sc, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD (PHY_ADDR_MARV) | GM_SMI_CT_REG_AD (reg) | G… in msk_phy_readreg()
260 val = GMAC_READ_2 (sc, port, GM_SMI_CTRL); in msk_phy_readreg()
262 val = GMAC_READ_2 (sc, port, GM_SMI_DATA); in msk_phy_readreg()
284 struct msk_softc *sc; in msk_phy_writereg() local
286 sc = sc_if->msk_softc; in msk_phy_writereg()
289 GMAC_WRITE_2 (sc, port, GM_SMI_DATA, val); in msk_phy_writereg()
290 GMAC_WRITE_2 (sc, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD (PHY_ADDR_MARV) | GM_SMI_CT_REG_AD (reg)); in msk_phy_writereg()
293 if ((GMAC_READ_2 (sc, port, GM_SMI_CTRL) & GM_SMI_CT_BUSY) == 0) { in msk_phy_writereg()
[all …]
De1000phy.c191 struct mii_softc *sc; in e1000phy_attach() local
193 sc = &sc_phy->mii_sc; in e1000phy_attach()
194 sc->mii_pdata = ma->mii_data; in e1000phy_attach()
195 sc->mii_anegticks = MII_ANEGTICKS_GIGE; in e1000phy_attach()
200 sc->mii_flags |= MIIF_HAVEFIBER; in e1000phy_attach()
207 sc->mii_flags |= MIIF_HAVEFIBER; in e1000phy_attach()
228 sc->mii_capabilities = PHY_READ (sc_phy, E1000_SR) & 0xFFFFFFFF; in e1000phy_attach()
229 if (sc->mii_capabilities & E1000_SR_EXTENDED_STATUS) { in e1000phy_attach()
230 sc->mii_extcapabilities = PHY_READ (sc_phy, E1000_ESR); in e1000phy_attach()
241 struct mii_softc *sc; in e1000phy_reset() local
[all …]
Dif_mskreg.h2066 #define CSR_WRITE_4(sc, reg, val) MmioWrite32 ((sc)->RegBase + (reg), (val)) argument
2067 #define CSR_WRITE_2(sc, reg, val) MmioWrite16 ((sc)->RegBase + (reg), (val)) argument
2068 #define CSR_WRITE_1(sc, reg, val) MmioWrite8 ((sc)->RegBase + (reg), (val)) argument
2070 #define CSR_READ_4(sc, reg) MmioRead32 ((sc)->RegBase + (reg)) argument
2071 #define CSR_READ_2(sc, reg) MmioRead16 ((sc)->RegBase + (reg)) argument
2072 #define CSR_READ_1(sc, reg) MmioRead8 ((sc)->RegBase + (reg)) argument
2074 #define CSR_PCI_WRITE_4(sc, reg, val) MmioWrite32 ((sc)->RegBase + Y2_CFG_SPC + (reg), (val)) argument
2075 #define CSR_PCI_WRITE_2(sc, reg, val) MmioWrite16 ((sc)->RegBase + Y2_CFG_SPC + (reg), (val)) argument
2076 #define CSR_PCI_WRITE_1(sc, reg, val) MmioWrite8 ((sc)->RegBase + Y2_CFG_SPC + (reg), (val)) argument
2078 #define CSR_PCI_READ_4(sc, reg) MmioRead32 ((sc)->RegBase + Y2_CFG_SPC + (reg)) argument
[all …]
Dif_msk.h61 IN struct msk_if_softc *sc,
/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
Dfdt_addresses.c80 const fdt32_t *sc; in fdt_size_cells() local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len); in fdt_size_cells()
85 if (!sc) in fdt_size_cells()
88 if (len != sizeof(*sc)) in fdt_size_cells()
91 val = fdt32_to_cpu(*sc); in fdt_size_cells()
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
Dmem.c29 unsigned char sc; in memcmp() local
33 sc = *s++; in memcmp()
35 if (sc - dc) in memcmp()
36 return (sc - dc); in memcmp()
/device/linaro/bootloader/edk2/StdLib/LibC/String/
Dstrsep.c62 register int c, sc; in strsep() local
71 if ((sc = *spanp++) == c) { in strsep()
79 } while (sc != 0); in strsep()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dcheck_soundcard.vbs4 for each sc in scs
5 set status = sc.Properties_("Status")
6 wscript.Echo(sc.Properties_("Name") + "/" + status)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dsymbols.py151 sc = self.check_name(name)
153 if sc == SC_UNKNOWN or sc == SC_FREE \
156 elif sc == SC_GLOBAL_IMPLICIT:
158 elif isinstance(self, FunctionScope) and sc == SC_LOCAL:
160 elif sc != SC_CELL:
163 if sc == SC_LOCAL:
165 elif sc != SC_CELL:
452 l = [sc for sc in scopes
453 if sc.name == s.get_name()]
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/common/rotpk/
Darm_rotprivk_rsa.pem14 2bvF2H1GPaHaTYRk0EGI2Ql6Nn+ddfeCE6gaT7aPPgg87wAhNu93coFuYHw0p/sc
/device/google/atv/products/
Datv_system.mk22 $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
/device/linaro/bootloader/edk2/StdLib/PosixLib/Glob/
Dglob.c726 u_char *sc; in glob3() local
756 for (sc = (u_char *) dp->FileName, dc = pathend; in glob3()
757 dc <= pathlim && (*dc++ = *sc++) != EOS;) in glob3()
/device/google/sunfish/audio/acdbdata/
DworkspaceFile.qwsp1 …uScHc/pQU2vMzUtO4EiYPVGWRSw3Ot5kZdpewpGGvwrQT0a3NdPrgJiwpz0jCBVjE7iQ4aRRJM/sc+EV79Ibgz39sqCwseM6Cv…