Lines Matching defs:ide
1902 struct idechnl *ide = arg;
1903 struct acpi_softc *sc = ide->sc;
1922 if (b != ACPI_PCI_BUS(ide->addr) ||
1923 d != ACPI_PCI_DEV(ide->addr) ||
1924 f != ACPI_PCI_FN(ide->addr))
1927 dev->dv_xname, b,d,f, ide->chnl);
1929 if (sta == 0 && ide->sta)
1931 &wsc->pciide_channels[ide->chnl].wdc_channel, 0);
1932 else if (sta && !ide->sta)
1934 &wsc->pciide_channels[ide->chnl].wdc_channel);
1935 ide->sta = sta;
1945 struct idechnl *ide;
1953 ide = malloc(sizeof(struct idechnl), M_DEVBUF, M_NOWAIT | M_ZERO);
1954 ide->sc = sc;
1967 &ide->chnl);
1969 ide->addr = pi.addr;
1972 &ide->chnl);
1974 ide->addr = pi.addr;
1977 aml_nodename(node), ide->addr, ide->chnl);
1979 aml_evalinteger(sc, node, "_STA", 0, NULL, &ide->sta);
1980 dnprintf(10, "Got Initial STA: %llx\n", ide->sta);
1982 aml_register_notify(node, "acpiide", acpiide_notify, ide, 0);