Lines Matching refs:sonic_local
145 struct sonic_local* lp = NULL; in macsonic_init()
152 if((lp = kmalloc(sizeof(struct sonic_local), GFP_KERNEL | GFP_DMA)) == NULL) { in macsonic_init()
158 desc_top = desc_base + sizeof(struct sonic_local); in macsonic_init()
191 memset(lp, 0, sizeof(struct sonic_local)); in macsonic_init()
214 ds = ((sizeof(struct sonic_local) + 4095) / 4096) * 4096; in macsonic_init()
353 dev = init_etherdev(dev, sizeof(struct sonic_local)); in mac_onboard_sonic_probe()
358 dev->priv = kmalloc(sizeof(struct sonic_local), GFP_KERNEL); in mac_onboard_sonic_probe()
363 dev = init_etherdev(NULL, sizeof(struct sonic_local)); in mac_onboard_sonic_probe()
505 struct sonic_local* lp; in mac_nubus_sonic_probe()
576 dev = init_etherdev(dev, sizeof(struct sonic_local)); in mac_nubus_sonic_probe()
581 dev->priv = kmalloc(sizeof(struct sonic_local), GFP_KERNEL); in mac_nubus_sonic_probe()
586 dev = init_etherdev(NULL, sizeof(struct sonic_local)); in mac_nubus_sonic_probe()
592 lp = (struct sonic_local*) dev->priv; in mac_nubus_sonic_probe()
593 memset(lp, 0, sizeof(struct sonic_local)); in mac_nubus_sonic_probe()