Lines Matching refs:psd
2086 struct siba_dev_softc *psd = spc->spc_dev;
2087 struct siba_softc *siba = psd->sd_bus;
2090 if (psd->sd_id.sd_device == SIBA_DEVID_PCI) {
2095 if (psd->sd_id.sd_rev < 5) {
2096 tmp = siba_read_4_sub(psd, SIBA_IMCFGLO);
2100 siba_write_4_sub(psd, SIBA_IMCFGLO, tmp);
2113 } else if (psd->sd_id.sd_rev >= 11) {
2119 KASSERT(psd->sd_id.sd_device == SIBA_DEVID_PCIE, ("only PCIE"));
2120 if ((psd->sd_id.sd_rev == 0) || (psd->sd_id.sd_rev == 1))
2123 if (psd->sd_id.sd_rev == 0) {
2127 } else if (psd->sd_id.sd_rev == 1)
2140 struct siba_dev_softc *psd = spc->spc_dev;
2143 if (siba->siba_type != SIBA_TYPE_PCI || !psd)
2146 KASSERT(siba == psd->sd_bus, ("different pointers"));
2150 (psd->sd_id.sd_rev >= 6 ||
2151 psd->sd_id.sd_device == SIBA_DEVID_PCIE)) {
2158 siba_write_4_sub(psd, SIBA_INTR_MASK,
2159 siba_read_4_sub(psd, SIBA_INTR_MASK) | (1 << tmp));