Home
last modified time | relevance | path

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

/xen/xen/common/
A Dinflate.c223 STATIC const ush mask_bits[] = { variable
609 ml = mask_bits[bl]; /* precompute masks for speed */ in inflate_codes()
610 md = mask_bits[bd]; in inflate_codes()
621 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes()
641 n = t->v.n + ((unsigned)b & mask_bits[e]); in inflate_codes()
653 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes()
656 d = w - t->v.n - ((unsigned)b & mask_bits[e]); in inflate_codes()
909 m = mask_bits[bl]; in inflate_dynamic()
/xen/xen/arch/x86/
A Dmsi.c340 u32 mask_bits; in msi_set_mask_bit() local
342 mask_bits = pci_conf_read32(pdev->sbdf, entry->msi.mpos); in msi_set_mask_bit()
343 mask_bits &= ~((u32)1 << entry->msi_attrib.entry_nr); in msi_set_mask_bit()
344 mask_bits |= (u32)flag << entry->msi_attrib.entry_nr; in msi_set_mask_bit()
345 pci_conf_write32(pdev->sbdf, entry->msi.mpos, mask_bits); in msi_set_mask_bit()

Completed in 6 milliseconds