Searched refs:internal_addr (Results 1 – 1 of 1) sorted by relevance
446 inline u8 TLan_DioRead8(u16 base_addr, u16 internal_addr) in TLan_DioRead8() argument448 outw(internal_addr, base_addr + TLAN_DIO_ADR); in TLan_DioRead8()449 return (inb((base_addr + TLAN_DIO_DATA) + (internal_addr & 0x3))); in TLan_DioRead8()456 inline u16 TLan_DioRead16(u16 base_addr, u16 internal_addr) in TLan_DioRead16() argument458 outw(internal_addr, base_addr + TLAN_DIO_ADR); in TLan_DioRead16()459 return (inw((base_addr + TLAN_DIO_DATA) + (internal_addr & 0x2))); in TLan_DioRead16()466 inline u32 TLan_DioRead32(u16 base_addr, u16 internal_addr) in TLan_DioRead32() argument468 outw(internal_addr, base_addr + TLAN_DIO_ADR); in TLan_DioRead32()476 inline void TLan_DioWrite8(u16 base_addr, u16 internal_addr, u8 data) in TLan_DioWrite8() argument478 outw(internal_addr, base_addr + TLAN_DIO_ADR); in TLan_DioWrite8()[all …]