Searched defs:dev_mask (Results 1 - 2 of 2) sorted by relevance

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

Completed in 663 milliseconds