Lines Matching defs:i_devid
98 impl_devid_t *i_devid;
169 i_devid_len = sizeof (*i_devid) +
170 raw_id_len - sizeof (i_devid->did_id);
171 if ((i_devid = DEVID_MALLOC(i_devid_len)) == NULL)
173 bzero(i_devid, i_devid_len);
177 &i_devid->did_id[0], vlen);
178 i_devid->did_id[vlen] = '.';
182 &i_devid->did_id[vlen + 1], plen);
183 i_devid->did_id[vlen + 1 + plen] = '.';
186 bcopy(sbuf, &i_devid->did_id[vlen + 1 + plen + 1], slen);
191 i_devid_len = sizeof (*i_devid) +
192 raw_id_len - sizeof (i_devid->did_id);
193 if ((i_devid = DEVID_MALLOC(i_devid_len)) == NULL)
195 bzero(i_devid, i_devid_len);
199 i_devid->did_id[i] =
205 i_devid->did_magic_hi = DEVID_MAGIC_MSB;
206 i_devid->did_magic_lo = DEVID_MAGIC_LSB;
207 i_devid->did_rev_hi = DEVID_REV_MSB;
208 i_devid->did_rev_lo = DEVID_REV_LSB;
209 DEVID_FORMTYPE(i_devid, raw_id_type);
210 DEVID_FORMLEN(i_devid, raw_id_len);
213 bzero(i_devid->did_driver, DEVID_HINT_SIZE);
221 bcopy(driver_name, i_devid->did_driver, driver_name_len);
225 *devid = (ddi_devid_t)i_devid;