Lines Matching refs:probe
122 int (*setup)(struct platform_device *, struct legacy_probe *probe,
869 static __init int probe_chip_type(struct legacy_probe *probe) in probe_chip_type() argument
871 int mask = 1 << probe->slot; in probe_chip_type()
873 if (winbond && (probe->port == 0x1F0 || probe->port == 0x170)) { in probe_chip_type()
889 if (probe->port == 0x1F0) { in probe_chip_type()
943 static __init int legacy_init_one(struct legacy_probe *probe) in legacy_init_one() argument
945 struct legacy_controller *controller = &controllers[probe->type]; in legacy_init_one()
947 unsigned long io = probe->port; in legacy_init_one()
948 u32 mask = (1 << probe->slot); in legacy_init_one()
950 struct legacy_data *ld = &legacy_data[probe->slot]; in legacy_init_one()
961 pdev = platform_device_register_simple(DRV_NAME, probe->slot, NULL, 0); in legacy_init_one()
976 ld->type = probe->type; in legacy_init_one()
978 if (controller->setup(pdev, probe, ld) < 0) in legacy_init_one()
997 ret = ata_host_activate(host, probe->irq, ata_sff_interrupt, 0, in legacy_init_one()
1009 legacy_host[probe->slot] = host; in legacy_init_one()