Lines Matching refs:portid

82 	int32_t			portid;
85 if (((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
86 DDI_PROP_DONTPASS, "upa-portid", -1)) != -1) ||
87 ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
88 DDI_PROP_DONTPASS, "portid", -1)) != -1)) {
98 * portid for those devices which have a portid.
100 hdlp->ih_vector |= (UPAID_TO_IGN(portid) << 6);
114 DDI_PROP_DONTPASS, "upa-portid", -1)) != -1) {
160 int32_t portid;
163 if (((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
164 DDI_PROP_DONTPASS, "upa-portid", -1)) != -1) ||
165 ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
166 DDI_PROP_DONTPASS, "portid", -1)) != -1)) {
169 * portid for those devices which have a portid.
171 hdlp->ih_vector |= (UPAID_TO_IGN(portid) << 6);
184 DDI_PROP_DONTPASS, "upa-portid", -1)) != -1 &&
221 "upa-portid", -1) != -1) {
240 int portid;
257 portid = ddi_prop_get_int(DDI_DEV_T_ANY, dev,
258 DDI_PROP_DONTPASS, "upa-portid", -1);
259 if (portid != -1)
261 portid,
264 portid = ddi_prop_get_int(DDI_DEV_T_ANY, dev,
265 DDI_PROP_DONTPASS, "portid", -1);
268 if (portid == -1 && nodeid == -1)
269 printf("could not find portid "
273 if (portid != -1)
275 portid,
298 int portid, nodeid;
326 * Create portid property for fhc node under root(/fhc).
333 portid = ((((rp->regspec_bustype) & 0x6) >> 1) |
337 portid = (rp->regspec_bustype >> 1) & 0x1f;
344 if (ndi_prop_update_int(DDI_DEV_T_NONE, child, "upa-portid",
345 portid) != DDI_SUCCESS)
347 "Error in creating upa-portid property for fhc.\n");
364 portid = ddi_prop_get_int(DDI_DEV_T_ANY, child,
365 DDI_PROP_DONTPASS, "upa-portid", -1);
366 if (portid == -1)
367 portid = ddi_prop_get_int(DDI_DEV_T_ANY, child,
368 DDI_PROP_DONTPASS, "portid", -1);
374 * does not have "portid" property for the root i2c node.
377 * "portid" property) are :
380 if (portid == -1 && nodeid == -1 &&
383 "could not find portid or nodeid property in %s\n",
388 (void) snprintf(name, namelen, "%x,%x", portid,
432 if ((ddi_getprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, "upa-portid",
464 if ((ddi_getprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, "upa-portid",