Searched refs:mmd (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/sys/dev/cxgb/common/
H A Dcxgb_aq100x.c69 (void) mdio_write(phy, regs[i].mmd, regs[i].reg, regs[i].val); \
75 (void) mdio_read(phy, regs[i].mmd, regs[i].reg, &v); \
117 int mmd; member in struct:__anon2059
135 int mmd; member in struct:__anon2060
153 int mmd; member in struct:__anon2061
315 aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) argument
H A Dcxgb_common.h564 int (*set_loopback)(struct cphy *phy, int mmd, int dir, int enable);
590 static inline int mdio_read(struct cphy *phy, int mmd, int reg, argument
593 return phy->mdio_read(phy->adapter, phy->addr, mmd, reg, valp);
596 static inline int mdio_write(struct cphy *phy, int mmd, int reg, argument
599 return phy->mdio_write(phy->adapter, phy->addr, mmd, reg, val);
689 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
691 int t3_phy_reset(struct cphy *phy, int mmd, int wait);
H A Dcxgb_mv88e1xxx.c181 static int mv88e1xxx_set_loopback(struct cphy *cphy, int mmd, int dir, int on) argument
H A Dcxgb_t3_hw.c361 * @mmd: the device address
369 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear, argument
375 ret = mdio_read(phy, mmd, reg, &val);
378 ret = mdio_write(phy, mmd, reg, val | set);
386 * @mmd: the device address of the PHY block to reset
390 * @mmd should be 0 for 10/100/1000 PHYs and the device address to reset
393 int t3_phy_reset(struct cphy *phy, int mmd, int wait) argument
398 err = t3_mdio_change_bits(phy, mmd, MII_BMCR, BMCR_PDOWN, BMCR_RESET);
403 err = mdio_read(phy, mmd, MII_BMCR, &ctl);
/freebsd-current/crypto/openssl/crypto/x509/
H A Dx_all.c499 const EVP_MD *mgf1md, *mmd = NULL; local
503 || !ossl_rsa_pss_get_param_unverified(pss, &mmd, &mgf1md,
506 || mmd == NULL) {
513 if ((md = EVP_MD_fetch(cert->libctx, EVP_MD_get0_name(mmd),
/freebsd-current/sys/dev/msk/
H A Dif_msk.c1589 struct msk_mii_data *mmd; local
1599 mmd = device_get_ivars(dev);
1600 port = mmd->port;
1711 mmd->mii_flags);
1737 struct msk_mii_data *mmd; local
1950 mmd = malloc(sizeof(struct msk_mii_data), M_DEVBUF, M_WAITOK | M_ZERO);
1951 mmd->port = MSK_PORT_A;
1952 mmd->pmd = sc->msk_pmd;
1953 mmd->mii_flags |= MIIF_DOPAUSE;
1955 mmd
[all...]
/freebsd-current/sys/dev/cxgb/
H A Dcxgb_main.c2534 int mmd, error = 0; local
2561 mmd = mid->phy_id >> 8;
2562 if (!mmd)
2563 mmd = MDIO_DEV_PCS;
2564 else if (mmd > MDIO_DEV_VEND2)
2567 error = phy->mdio_read(sc, mid->phy_id & 0x1f, mmd,
2583 mmd = mid->phy_id >> 8;
2584 if (!mmd)
2585 mmd = MDIO_DEV_PCS;
2586 else if (mmd > MDIO_DEV_VEND
[all...]
/freebsd-current/tools/tools/cxgbtool/
H A Dcxgbtool.c211 unsigned int cmd, phy_addr, reg, mmd, val; local
221 get_int_arg(argv[start_arg + 1], &mmd) ||
226 p.phy_id = phy_addr | (mmd << 8);
/freebsd-current/sys/dev/cxgbe/common/
H A Dcommon.h852 unsigned int mmd, unsigned int reg, unsigned int *valp);
854 unsigned int mmd, unsigned int reg, unsigned int val);
H A Dt4_hw.c7153 * @mmd: the PHY MMD to access (0 for clause 22 PHYs)
7160 unsigned int mmd, unsigned int reg, unsigned int *valp)
7173 V_FW_LDST_CMD_MMD(mmd));
7187 * @mmd: the PHY MMD to access (0 for clause 22 PHYs)
7194 unsigned int mmd, unsigned int reg, unsigned int val)
7206 V_FW_LDST_CMD_MMD(mmd));
7159 t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, unsigned int mmd, unsigned int reg, unsigned int *valp) argument
7193 t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, unsigned int mmd, unsigned int reg, unsigned int val) argument

Completed in 159 milliseconds