Searched refs:hwid (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kaif.c | 420 int hwid = KAIF_WPPRIV2ID(wp); in kaif_wapt_arm() local 422 ASSERT(BT_TEST(&kaif_waptmap, hwid)); in kaif_wapt_arm() 433 kaif_drreg.dr_addr[hwid] = wp->wp_addr; in kaif_wapt_arm() 435 kaif_drreg.dr_ctl &= ~KREG_DRCTL_WP_MASK(hwid); in kaif_wapt_arm() 436 kaif_drreg.dr_ctl |= KREG_DRCTL_WP_LENRW(hwid, wp->wp_size - 1, rw); in kaif_wapt_arm() 437 kaif_drreg.dr_ctl |= KREG_DRCTL_WPEN(hwid); in kaif_wapt_arm() 445 int hwid = KAIF_WPPRIV2ID(wp); in kaif_wapt_disarm() local 447 ASSERT(BT_TEST(&kaif_waptmap, hwid)); in kaif_wapt_disarm() 449 kaif_drreg.dr_addr[hwid] = 0; in kaif_wapt_disarm() 450 kaif_drreg.dr_ctl &= ~(KREG_DRCTL_WP_MASK(hwid) | in kaif_wapt_disarm() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/disk/ |
H A D | cmdk.c | 1604 char *hwid; in cmdk_devid_modser() local 1611 hwid = kmem_alloc(CMDK_HWIDLEN, KM_SLEEP); in cmdk_devid_modser() 1612 modlen = cmdk_get_modser(dkp, DIOCTL_GETMODEL, hwid, CMDK_HWIDLEN); in cmdk_devid_modser() 1617 hwid[modlen++] = '='; in cmdk_devid_modser() 1619 hwid + modlen, CMDK_HWIDLEN - modlen); in cmdk_devid_modser() 1624 hwid[modlen + serlen] = 0; in cmdk_devid_modser() 1628 hwid, &dkp->dk_devid); in cmdk_devid_modser() 1637 kmem_free(hwid, CMDK_HWIDLEN); in cmdk_devid_modser()
|
/illumos-gate/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 4100 char *hwid; in dcd_make_devid_from_serial() local 4131 hwid = kmem_alloc(total_len, KM_SLEEP); in dcd_make_devid_from_serial() 4132 bcopy((caddr_t)model, (caddr_t)hwid, model_len); in dcd_make_devid_from_serial() 4133 bcopy((caddr_t)"=", (caddr_t)&hwid[model_len], 1); in dcd_make_devid_from_serial() 4134 bcopy((caddr_t)serno, (caddr_t)&hwid[model_len + 1], serno_len); in dcd_make_devid_from_serial() 4138 hwid, (ddi_devid_t *)&un->un_devid); in dcd_make_devid_from_serial() 4141 kmem_free(hwid, total_len); in dcd_make_devid_from_serial()
|
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 16917 char *hwid; in sata_target_devid_register() local 16926 hwid = kmem_zalloc(LEGACY_HWID_LEN, KM_SLEEP); in sata_target_devid_register() 16927 bcopy(&sdinfo->satadrv_id.ai_model, hwid, in sata_target_devid_register() 16929 swab(hwid, hwid, sizeof (sdinfo->satadrv_id.ai_model)); in sata_target_devid_register() 16930 modlen = sata_check_modser(hwid, sizeof (sdinfo->satadrv_id.ai_model)); in sata_target_devid_register() 16933 hwid[modlen++] = '='; in sata_target_devid_register() 16934 bcopy(&sdinfo->satadrv_id.ai_drvser, &hwid[modlen], in sata_target_devid_register() 16936 swab(&hwid[modlen], &hwid[modlen], in sata_target_devid_register() 16938 serlen = sata_check_modser(&hwid[modlen], in sata_target_devid_register() 16942 hwid[modlen + serlen] = 0; /* terminate the hwid string */ in sata_target_devid_register() [all …]
|