Searched refs:mii_wbits (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/xircom/ |
D | xirc2ps_cs.c | 257 static void mii_wbits(unsigned int ioaddr, unsigned data, int len); 412 mii_wbits(unsigned int ioaddr, unsigned data, int len) in mii_wbits() function 428 mii_wbits(ioaddr, 0x06, 4); /* Start and opcode for read */ in mii_rd() 429 mii_wbits(ioaddr, phyaddr, 5); /* PHY address to be accessed */ in mii_rd() 430 mii_wbits(ioaddr, phyreg, 5); /* PHY register to read */ in mii_rd() 450 mii_wbits(ioaddr, 0x05, 4); /* Start and opcode for write */ in mii_wr() 451 mii_wbits(ioaddr, phyaddr, 5); /* PHY address to be accessed */ in mii_wr() 452 mii_wbits(ioaddr, phyreg, 5); /* PHY Register to write */ in mii_wr() 455 mii_wbits(ioaddr, data, len); /* And write the data */ in mii_wr()
|