Lines Matching defs:idev
41 * @idev: PnP device
48 static int isapnp_init_one(struct pnp_dev *idev, const struct pnp_device_id *dev_id)
56 if (pnp_port_valid(idev, 0) == 0)
59 if (pnp_irq_valid(idev, 0)) {
60 irq = pnp_irq(idev, 0);
65 host = ata_host_alloc(&idev->dev, 1);
70 cmd_addr = devm_ioport_map(&idev->dev, pnp_port_start(idev, 0), 8);
82 if (pnp_port_valid(idev, 1)) {
83 ctl_addr = devm_ioport_map(&idev->dev,
84 pnp_port_start(idev, 1), 1);
96 (unsigned long long)pnp_port_start(idev, 0),
97 (unsigned long long)pnp_port_start(idev, 1));
106 * @idev: PnP device
112 static void isapnp_remove_one(struct pnp_dev *idev)
114 struct device *dev = &idev->dev;