Home
last modified time | relevance | path

Searched refs:dev_mask (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi_vir.c235 dev_err_mask_t dev_mask; in hpi_fzc_sys_err_mask_set() local
237 dev_mask.value = 0; in hpi_fzc_sys_err_mask_set()
239 dev_mask.bits.tdc_mask0 = 1; in hpi_fzc_sys_err_mask_set()
240 dev_mask.bits.rdc_mask0 = 1; in hpi_fzc_sys_err_mask_set()
241 dev_mask.bits.vnm_pio_mask1 = 1; in hpi_fzc_sys_err_mask_set()
242 dev_mask.bits.tdc_mask1 = 1; in hpi_fzc_sys_err_mask_set()
243 dev_mask.bits.rdc_mask1 = 1; in hpi_fzc_sys_err_mask_set()
244 dev_mask.bits.peu_mask1 = 1; in hpi_fzc_sys_err_mask_set()
247 HXGE_REG_WR32(handle, DEV_ERR_MASK, dev_mask.value); in hpi_fzc_sys_err_mask_set()
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4v.c348 uint32_t dev_mask; in get_slot_number() local
389 dev_mask = 0; in get_slot_number()
390 for (i = 0; i < sizeof (dev_mask); i++) in get_slot_number()
391 dev_mask |= (*(pval+i) << 8*(sizeof (dev_mask)-1-i)); in get_slot_number()
399 if (((1 << card->slot) & dev_mask) == 0) { in get_slot_number()
404 char *p = (char *)(pval+sizeof (dev_mask)); in get_slot_number()
406 uint32_t x = (dev_mask << shift) >> shift; in get_slot_number()