Lines Matching defs:probe
19 * QDI65x0 probe code based on drivers/ide/legacy/qd65xx.c
108 int (*setup)(struct platform_device *, struct legacy_probe *probe,
129 /* Set to probe QDI controllers */
137 static int winbond = 1; /* Set to probe Winbond controllers,
140 static int winbond; /* Set to probe Winbond controllers,
145 * legacy_probe_add - Add interface to probe list
151 * Add an entry into the probe list for ATA controllers. This is used
855 * @probe: Probe entry to check
861 static __init int probe_chip_type(struct legacy_probe *probe)
863 int mask = 1 << probe->slot;
865 if (winbond && (probe->port == 0x1F0 || probe->port == 0x170)) {
881 if (probe->port == 0x1F0) {
929 * @pl: probe record
935 static __init int legacy_init_one(struct legacy_probe *probe)
937 struct legacy_controller *controller = &controllers[probe->type];
939 unsigned long io = probe->port;
940 u32 mask = (1 << probe->slot);
942 struct legacy_data *ld = &legacy_data[probe->slot];
953 pdev = platform_device_register_simple(DRV_NAME, probe->slot, NULL, 0);
968 ld->type = probe->type;
970 if (controller->setup(pdev, probe, ld) < 0)
989 ret = ata_host_activate(host, probe->irq, ata_sff_interrupt, 0,
1001 legacy_host[probe->slot] = host;
1198 /* If PCI bus is present then don't probe for tertiary