Lines Matching refs:enat_cpld
192 static unsigned char *enat_cpld; variable
202 if (!enat_cpld) in atari_ethernat_startup()
203 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); in atari_ethernat_startup()
211 *enat_cpld |= 1 << enat_num; in atari_ethernat_startup()
222 if (!enat_cpld) in atari_ethernat_enable()
223 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); in atari_ethernat_enable()
224 *enat_cpld |= 1 << enat_num; in atari_ethernat_enable()
233 if (!enat_cpld) in atari_ethernat_disable()
234 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); in atari_ethernat_disable()
235 *enat_cpld &= ~(1 << enat_num); in atari_ethernat_disable()
241 if (enat_cpld) { in atari_ethernat_shutdown()
242 *enat_cpld &= ~(1 << enat_num); in atari_ethernat_shutdown()
243 iounmap(enat_cpld); in atari_ethernat_shutdown()
244 enat_cpld = NULL; in atari_ethernat_shutdown()