Lines Matching refs:dsm_mask
404 unsigned long cmd_mask, dsm_mask; in acpi_nfit_ctl() local
434 dsm_mask = nfit_mem->dsm_mask; in acpi_nfit_ctl()
443 dsm_mask = cmd_mask; in acpi_nfit_ctl()
445 dsm_mask = nd_desc->bus_dsm_mask; in acpi_nfit_ctl()
455 if (!test_bit(cmd, &cmd_mask) || !test_bit(func, &dsm_mask)) in acpi_nfit_ctl()
1197 __ATTR(dsm_mask, 0444, bus_dsm_mask_show, NULL);
1543 return sprintf(buf, "%#lx\n", nfit_mem->dsm_mask); in dsm_mask_show()
1545 static DEVICE_ATTR_RO(dsm_mask);
1702 unsigned long dsm_mask, label_mask; in acpi_nfit_add_dimm() local
1708 nfit_mem->dsm_mask = acpi_desc->dimm_cmd_force_en; in acpi_nfit_add_dimm()
1747 dsm_mask = override_dsm_mask; in acpi_nfit_add_dimm()
1749 dsm_mask = NVDIMM_INTEL_CMDMASK; in acpi_nfit_add_dimm()
1751 dsm_mask &= ~(1 << ND_CMD_VENDOR); in acpi_nfit_add_dimm()
1753 dsm_mask = 0x1c3c76; in acpi_nfit_add_dimm()
1755 dsm_mask = 0x1fe; in acpi_nfit_add_dimm()
1757 dsm_mask &= ~(1 << 8); in acpi_nfit_add_dimm()
1759 dsm_mask = 0xffffffff; in acpi_nfit_add_dimm()
1768 for_each_set_bit(i, &dsm_mask, BITS_PER_LONG) in acpi_nfit_add_dimm()
1772 set_bit(i, &nfit_mem->dsm_mask); in acpi_nfit_add_dimm()
1781 && (dsm_mask & label_mask) == label_mask) in acpi_nfit_add_dimm()
1878 cmd_mask |= nfit_mem->dsm_mask & NVDIMM_STANDARD_CMDMASK; in acpi_nfit_register_dimms()
1958 unsigned long dsm_mask; in acpi_nfit_init_dsms() local
1972 dsm_mask = in acpi_nfit_init_dsms()
1981 for_each_set_bit(i, &dsm_mask, BITS_PER_LONG) in acpi_nfit_init_dsms()