Lines Matching refs:pnp
992 cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) in cmos_pnp_probe() argument
994 cmos_wake_setup(&pnp->dev); in cmos_pnp_probe()
996 if (pnp_port_start(pnp,0) == 0x70 && !pnp_irq_valid(pnp,0)) in cmos_pnp_probe()
1001 return cmos_do_probe(&pnp->dev, in cmos_pnp_probe()
1002 pnp_get_resource(pnp, IORESOURCE_IO, 0), 8); in cmos_pnp_probe()
1004 return cmos_do_probe(&pnp->dev, in cmos_pnp_probe()
1005 pnp_get_resource(pnp, IORESOURCE_IO, 0), in cmos_pnp_probe()
1006 pnp_irq(pnp, 0)); in cmos_pnp_probe()
1009 static void __exit cmos_pnp_remove(struct pnp_dev *pnp) in cmos_pnp_remove() argument
1011 cmos_do_remove(&pnp->dev); in cmos_pnp_remove()
1016 static int cmos_pnp_suspend(struct pnp_dev *pnp, pm_message_t mesg) in cmos_pnp_suspend() argument
1018 return cmos_suspend(&pnp->dev); in cmos_pnp_suspend()
1021 static int cmos_pnp_resume(struct pnp_dev *pnp) in cmos_pnp_resume() argument
1023 return cmos_resume(&pnp->dev); in cmos_pnp_resume()
1031 static void cmos_pnp_shutdown(struct pnp_dev *pnp) in cmos_pnp_shutdown() argument
1033 if (system_state == SYSTEM_POWER_OFF && !cmos_poweroff(&pnp->dev)) in cmos_pnp_shutdown()
1045 MODULE_DEVICE_TABLE(pnp, rtc_ids);