Searched refs:phyaddr (Results 1 - 17 of 17) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/stmmac/
H A Dstmmac_mdio.c39 * @phyaddr: MII addr reg bits 15-11
46 static int stmmac_mdio_read(struct mii_bus *bus, int phyaddr, int phyreg) argument
55 u16 regValue = (((phyaddr << 11) & (0x0000F800)) |
72 * @phyaddr: MII addr reg bits 15-11
77 static int stmmac_mdio_write(struct mii_bus *bus, int phyaddr, int phyreg, argument
87 (((phyaddr << 11) & (0x0000F800)) | ((phyreg << 6) & (0x000007C0)))
H A Dstmmac_main.c92 static int phyaddr = -1; variable
93 module_param(phyaddr, int, S_IRUGO);
94 MODULE_PARM_DESC(phyaddr, "Physical device address");
1633 if ((phyaddr >= 0) && (phyaddr <= 31))
1634 plat_dat->phy_addr = phyaddr;
1957 else if (!strncmp(opt, "phyaddr:", 8))
1958 strict_strtoul(opt + 8, 0, (unsigned long *)&phyaddr);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dsmc911x.c636 static int smc911x_phy_read(struct net_device *dev, int phyaddr, int phyreg) argument
641 SMC_GET_MII(lp, phyreg, phyaddr, phydata);
643 DBG(SMC_DEBUG_MISC, "%s: phyaddr=0x%x, phyreg=0x%02x, phydata=0x%04x\n",
644 __func__, phyaddr, phyreg, phydata);
652 static void smc911x_phy_write(struct net_device *dev, int phyaddr, int phyreg, argument
657 DBG(SMC_DEBUG_MISC, "%s: phyaddr=0x%x, phyreg=0x%x, phydata=0x%x\n",
658 __func__, phyaddr, phyreg, phydata);
660 SMC_SET_MII(lp, phyreg, phyaddr, phydata);
670 int phyaddr; local
705 for (phyaddr
745 int phyaddr = lp->mii.phy_id; local
851 int phyaddr = lp->mii.phy_id; local
888 int phyaddr = lp->mii.phy_id; local
984 int phyaddr = lp->mii.phy_id; local
[all...]
H A Dforcedeth.c754 int phyaddr; member in struct:fe_priv
1170 if (mii_rw(dev, np->phyaddr, MII_BMCR, miicontrol)) {
1180 miicontrol = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ);
1195 reg = mii_rw(dev, np->phyaddr, MII_NCONFIG, MII_READ);
1197 if (mii_rw(dev, np->phyaddr, MII_NCONFIG, reg)) {
1205 if (mii_rw(dev, np->phyaddr, PHY_REALTEK_INIT_REG1, PHY_REALTEK_INIT1)) {
1209 if (mii_rw(dev, np->phyaddr, PHY_REALTEK_INIT_REG2, PHY_REALTEK_INIT2)) {
1213 if (mii_rw(dev, np->phyaddr, PHY_REALTEK_INIT_REG1, PHY_REALTEK_INIT3)) {
1217 if (mii_rw(dev, np->phyaddr, PHY_REALTEK_INIT_REG3, PHY_REALTEK_INIT4)) {
1221 if (mii_rw(dev, np->phyaddr, PHY_REALTEK_INIT_REG
5738 int phyaddr = i & 0x1F; local
[all...]
H A Dsmc91x.c813 static int smc_phy_read(struct net_device *dev, int phyaddr, int phyreg) argument
824 /* Start code (01) + read (10) + phyaddr + phyreg */
825 smc_mii_out(dev, 6 << 10 | phyaddr << 5 | phyreg, 14);
833 DBG(3, "%s: phyaddr=0x%x, phyreg=0x%x, phydata=0x%x\n",
834 __func__, phyaddr, phyreg, phydata);
843 static void smc_phy_write(struct net_device *dev, int phyaddr, int phyreg, argument
854 /* Start code (01) + write (01) + phyaddr + phyreg + turnaround + phydata */
855 smc_mii_out(dev, 5 << 28 | phyaddr << 23 | phyreg << 18 | 2 << 16 | phydata, 32);
860 DBG(3, "%s: phyaddr=0x%x, phyreg=0x%x, phydata=0x%x\n",
861 __func__, phyaddr, phyre
872 int phyaddr; local
910 int phyaddr = lp->mii.phy_id; local
1042 int phyaddr = lp->mii.phy_id; local
1143 int phyaddr = lp->mii.phy_id; local
[all...]
H A Dgreth.h136 u8 phyaddr; member in struct:greth_private
H A Dipg.c449 unsigned int phyaddr, i; local
455 phyaddr = (IPG_NIC_PHY_ADDRESS + i) % 32;
461 status = mdio_read(dev, phyaddr, MII_BMSR);
464 return phyaddr;
2009 int phyaddr; local
2017 mii_if->phy_id = phyaddr = ipg_find_phyaddr(dev);
2019 if (phyaddr != 0x1f) {
2023 mii_1000cr = mdio_read(dev, phyaddr, MII_CTRL1000);
2026 mdio_write(dev, phyaddr, MII_CTRL1000, mii_1000cr);
2028 mii_phyctrl = mdio_read(dev, phyaddr, MII_BMC
[all...]
H A Dsb1250-mac.c325 static int sbmac_mii_read(struct mii_bus *bus, int phyaddr, int regidx);
326 static int sbmac_mii_write(struct mii_bus *bus, int phyaddr, int regidx,
425 * SBMAC_MII_READ(bus, phyaddr, regidx)
430 * phyaddr - PHY's address
437 static int sbmac_mii_read(struct mii_bus *bus, int phyaddr, int regidx) argument
461 sbmac_mii_senddata(sbm_mdio, phyaddr, 5);
516 * SBMAC_MII_WRITE(bus, phyaddr, regidx, regval)
522 * phyaddr - PHY to use
530 static int sbmac_mii_write(struct mii_bus *bus, int phyaddr, int regidx, argument
541 sbmac_mii_senddata(sbm_mdio, phyaddr,
[all...]
H A Dsmsc911x.c315 static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx) argument
333 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6);
352 static int smsc911x_mii_write(struct mii_bus *bus, int phyaddr, int regidx, argument
374 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6) |
H A Dsmsc9420.c130 static int smsc9420_mii_read(struct mii_bus *bus, int phyaddr, int regidx) argument
146 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6) |
167 static int smsc9420_mii_write(struct mii_bus *bus, int phyaddr, int regidx, argument
187 addr = ((phyaddr & 0x1F) << 11) | ((regidx & 0x1F) << 6) |
H A Dgreth.c1438 greth->phyaddr = (GRETH_REGLOAD(regs->mdio) >> 11) & 0x1F;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/drivers/pci/
H A Dpcie-sh7786.c151 unsigned long phyaddr, ctrl; local
153 phyaddr = (1 << BITS_CMD) + ((lane & 0xf) << BITS_LANE) +
163 pci_write_reg(chan, phyaddr, SH4A_PCIEPHYADRR);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/lpfc/
H A Dlpfc_mbox.c1565 * @phyaddr: physical address for the sge
1573 dma_addr_t phyaddr, uint32_t length)
1579 nembed_sge->sge[sgentry].pa_lo = putPaddrLow(phyaddr);
1580 nembed_sge->sge[sgentry].pa_hi = putPaddrHigh(phyaddr);
1617 dma_addr_t phyaddr; local
1638 phyaddr = getPaddr(sge.pa_hi, sge.pa_lo);
1640 mbox->sge_array->addr[sgentry], phyaddr);
1672 dma_addr_t phyaddr; local
1716 &phyaddr, GFP_KERNEL);
1727 lpfc_sli4_mbx_sge_set(mbox, pagen, phyaddr,
1572 lpfc_sli4_mbx_sge_set(struct lpfcMboxq *mbox, uint32_t sgentry, dma_addr_t phyaddr, uint32_t length) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/pcmcia/
H A Dxirc2ps_cs.c266 static unsigned mii_rd(unsigned int ioaddr, u_char phyaddr, u_char phyreg);
267 static void mii_wr(unsigned int ioaddr, u_char phyaddr, u_char phyreg,
403 mii_rd(unsigned int ioaddr, u_char phyaddr, u_char phyreg) argument
412 mii_wbits(ioaddr, phyaddr, 5); /* PHY address to be accessed */
425 mii_wr(unsigned int ioaddr, u_char phyaddr, u_char phyreg, unsigned data, argument
434 mii_wbits(ioaddr, phyaddr, 5); /* PHY address to be accessed */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tulip/
H A Dde4x5.c970 static int mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr);
971 static void mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr);
979 static int mii_get_oui(u_char phyaddr, u_long ioaddr);
4829 mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr) argument
4834 mii_address(phyaddr, ioaddr); /* PHY address to be accessed */
4842 mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr) argument
4847 mii_address(phyaddr, ioaddr); /* PHY address to be accessed */
4943 mii_get_oui(u_char phyaddr, u_long ioaddr) argument
4954 r2 = mii_rd(MII_ID0, phyaddr, ioaddr);
4955 r3 = mii_rd(MII_ID1, phyaddr, ioadd
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/dma/ipu/
H A Dipu_idmac.c750 * @phyaddr: buffer physical address.
754 int buffer_n, dma_addr_t phyaddr)
772 idmac_write_ipureg(&ipu_data, phyaddr, IPU_IMA_DATA);
790 idmac_write_ipureg(&ipu_data, phyaddr, IPU_IMA_DATA);
753 ipu_update_channel_buffer(struct idmac_channel *ichan, int buffer_n, dma_addr_t phyaddr) argument
/netgear-R7000-V1.0.7.12_1.2.5/src/shared/
H A Dbcmrobo.c1123 int mdcport = 0, phyaddr = 0; local
1370 phyaddr = bcm_atoi(et1phyaddr);
1372 if ((mdcport == 0) && (phyaddr == 4))

Completed in 374 milliseconds