Lines Matching refs:logdev
308 struct isapnp_logdev *logdev; in awc4500_pnp_hw_reset() local
317 logdev = ((struct isapnp_logdev *) ((struct awc_private *)dev->priv)->bus); in awc4500_pnp_hw_reset()
319 if (!logdev ) { in awc4500_pnp_hw_reset()
324 if (isapnp_cfg_begin(logdev->PNP_BUS->PNP_BUS_NUMBER, logdev->PNP_DEV_NUMBER)<0) in awc4500_pnp_hw_reset()
326 isapnp_deactivate(logdev->PNP_DEV_NUMBER); in awc4500_pnp_hw_reset()
332 if (isapnp_cfg_begin(logdev->PNP_BUS->PNP_BUS_NUMBER, logdev->PNP_DEV_NUMBER) < 0) { in awc4500_pnp_hw_reset()
334 dev->name, logdev->PNP_BUS->PNP_BUS_NUMBER, logdev->PNP_DEV_NUMBER); in awc4500_pnp_hw_reset()
338 isapnp_activate(logdev->PNP_DEV_NUMBER); /* activate device */ in awc4500_pnp_hw_reset()
352 struct isapnp_logdev *logdev; in awc4500_pnp_probe() local
365 logdev = isapnp_find_logdev(pnp_dev, ISAPNP_VENDOR('A','W','L'), in awc4500_pnp_probe()
368 if (!logdev){ in awc4500_pnp_probe()
372 if (isapnp_cfg_begin(logdev->PNP_BUS->PNP_BUS_NUMBER, logdev->PNP_DEV_NUMBER) < 0) { in awc4500_pnp_probe()
374 logdev->PNP_BUS->PNP_BUS_NUMBER, logdev->PNP_DEV_NUMBER); in awc4500_pnp_probe()
377 isapnp_activate(logdev->PNP_DEV_NUMBER); /* activate device */ in awc4500_pnp_probe()
380 isa_irq_line = logdev->irq; in awc4500_pnp_probe()
381 isa_ioaddr = logdev->resource[0].start; in awc4500_pnp_probe()
388 isapnp_cfg_begin(logdev->PNP_BUS->PNP_BUS_NUMBER, in awc4500_pnp_probe()
389 logdev->PNP_DEV_NUMBER); in awc4500_pnp_probe()
390 isapnp_deactivate(logdev->PNP_DEV_NUMBER); in awc4500_pnp_probe()
401 ((struct awc_private *)dev->priv)->bus = logdev; in awc4500_pnp_probe()
426 ((struct awc_private *)dev->priv)->bus = logdev; in awc4500_pnp_probe()
467 struct isapnp_logdev *logdev; in awc_pnp_release() local
478 logdev = ((struct isapnp_logdev *) ((struct awc_private *)aironet4500_devices[i]->priv)->bus); in awc_pnp_release()
480 if (!logdev ) in awc_pnp_release()
485 if (isapnp_cfg_begin(logdev->PNP_BUS->PNP_BUS_NUMBER, logdev->PNP_DEV_NUMBER)<0) in awc_pnp_release()
487 isapnp_deactivate(logdev->PNP_DEV_NUMBER); in awc_pnp_release()