Lines Matching refs:enat_cpld
191 static unsigned char *enat_cpld; variable
201 if (!enat_cpld) in atari_ethernat_startup()
202 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); in atari_ethernat_startup()
210 *enat_cpld |= 1 << enat_num; in atari_ethernat_startup()
221 if (!enat_cpld) in atari_ethernat_enable()
222 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); in atari_ethernat_enable()
223 *enat_cpld |= 1 << enat_num; in atari_ethernat_enable()
232 if (!enat_cpld) in atari_ethernat_disable()
233 enat_cpld = (unsigned char *)ioremap((ATARI_ETHERNAT_PHYS_ADDR+0x23), 0x2); in atari_ethernat_disable()
234 *enat_cpld &= ~(1 << enat_num); in atari_ethernat_disable()
240 if (enat_cpld) { in atari_ethernat_shutdown()
241 *enat_cpld &= ~(1 << enat_num); in atari_ethernat_shutdown()
242 iounmap(enat_cpld); in atari_ethernat_shutdown()
243 enat_cpld = NULL; in atari_ethernat_shutdown()