Lines Matching refs:is
461 void ioc3_enable(struct ioc3_submodule *is, in ioc3_enable() argument
464 write_ireg(idd, irqs & is->irq_mask, IOC3_W_IES); in ioc3_enable()
467 void ioc3_ack(struct ioc3_submodule *is, struct ioc3_driver_data *idd, in ioc3_ack() argument
470 writel(irqs & is->irq_mask, &idd->vma->sio_ir); in ioc3_ack()
473 void ioc3_disable(struct ioc3_submodule *is, in ioc3_disable() argument
476 write_ireg(idd, irqs & is->irq_mask, IOC3_W_IEC); in ioc3_disable()
498 int ioc3_register_submodule(struct ioc3_submodule *is) in ioc3_register_submodule() argument
507 ioc3_submodules[alloc_id] = is; in ioc3_register_submodule()
508 if(is->ethernet) { in ioc3_register_submodule()
510 ioc3_ethernet=is; in ioc3_register_submodule()
523 is->id=alloc_id; in ioc3_register_submodule()
526 if (!is->probe) in ioc3_register_submodule()
533 idd->active[alloc_id] = !is->probe(is, idd); in ioc3_register_submodule()
541 void ioc3_unregister_submodule(struct ioc3_submodule *is) in ioc3_unregister_submodule() argument
547 if(ioc3_submodules[is->id]==is) in ioc3_unregister_submodule()
548 ioc3_submodules[is->id]=NULL; in ioc3_unregister_submodule()
551 "IOC3 submodule %s has wrong ID.\n",is->name); in ioc3_unregister_submodule()
552 if(ioc3_ethernet==is) in ioc3_unregister_submodule()
559 if(idd->active[is->id]) { in ioc3_unregister_submodule()
560 if(is->remove) in ioc3_unregister_submodule()
561 if(is->remove(is, idd)) in ioc3_unregister_submodule()
565 __func__, module_name(is->owner), in ioc3_unregister_submodule()
567 idd->active[is->id] = 0; in ioc3_unregister_submodule()
568 if(is->irq_mask) in ioc3_unregister_submodule()
569 write_ireg(idd, is->irq_mask, IOC3_W_IEC); in ioc3_unregister_submodule()