Home
last modified time | relevance | path

Searched refs:RegAddr (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dr8169.c370 static void mdio_write(void *ioaddr, int RegAddr, int value) in mdio_write() argument
374 RTL_W32(PHYAR, 0x80000000 | (RegAddr & 0xFF) << 16 | value); in mdio_write()
387 static int mdio_read(void *ioaddr, int RegAddr) in mdio_read() argument
391 RTL_W32(PHYAR, 0x0 | (RegAddr & 0xFF) << 16); in mdio_read()
/linux-2.4.37.9/drivers/char/
Dsynclinkmp.c5567 unsigned char * RegAddr = (unsigned char*)(info->sca_base + Addr); \
5569 RegAddr += 256; /* port 0-1 SCA0, 2-3 SCA1 */ \
5572 RegAddr += 0x40; /* DMA access */ \
5574 RegAddr += 0x20; /* MSCI access */ \
5581 return *RegAddr; in read_reg()
5586 *RegAddr = Value; in write_reg()
5592 return *((u16 *)RegAddr); in read_reg16()
5598 *((u16 *)RegAddr) = Value; in write_reg16()
5603 unsigned char *RegAddr = (unsigned char *)info->statctrl_base; in read_status_reg() local
5604 return *RegAddr; in read_status_reg()
[all …]
Dsynclink.c4895 void usc_OutDmaReg( struct mgsl_struct *info, u16 RegAddr, u16 RegValue ) in usc_OutDmaReg() argument
4900 outw( RegAddr + info->mbre_bit, info->io_base ); in usc_OutDmaReg()
4924 u16 usc_InDmaReg( struct mgsl_struct *info, u16 RegAddr ) in usc_InDmaReg() argument
4929 outw( RegAddr + info->mbre_bit, info->io_base ); in usc_InDmaReg()
4951 void usc_OutReg( struct mgsl_struct *info, u16 RegAddr, u16 RegValue ) in usc_OutReg() argument
4953 outw( RegAddr + info->loopback_bits, info->io_base + CCAR ); in usc_OutReg()
4976 u16 usc_InReg( struct mgsl_struct *info, u16 RegAddr ) in usc_InReg() argument
4978 outw( RegAddr + info->loopback_bits, info->io_base + CCAR ); in usc_InReg()