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

/linux-4.4.14/arch/m68k/atari/
H A Dataints.c192 static unsigned char *enat_cpld; variable
202 if (!enat_cpld) atari_ethernat_startup()
203 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); atari_ethernat_startup()
211 *enat_cpld |= 1 << enat_num; atari_ethernat_startup()
222 if (!enat_cpld) atari_ethernat_enable()
223 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); atari_ethernat_enable()
224 *enat_cpld |= 1 << enat_num; atari_ethernat_enable()
233 if (!enat_cpld) atari_ethernat_disable()
234 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); atari_ethernat_disable()
235 *enat_cpld &= ~(1 << enat_num); atari_ethernat_disable()
241 if (enat_cpld) { atari_ethernat_shutdown()
242 *enat_cpld &= ~(1 << enat_num); atari_ethernat_shutdown()
243 iounmap(enat_cpld); atari_ethernat_shutdown()
244 enat_cpld = NULL; atari_ethernat_shutdown()

Completed in 196 milliseconds