Lines Matching refs:dsm_mask
445 unsigned long cmd_mask, dsm_mask; in acpi_nfit_ctl() local
470 dsm_mask = nfit_mem->dsm_mask; in acpi_nfit_ctl()
483 dsm_mask = acpi_desc->family_dsm_mask[family]; in acpi_nfit_ctl()
486 dsm_mask = acpi_desc->bus_dsm_mask; in acpi_nfit_ctl()
502 (func > NVDIMM_CMD_MAX || !test_bit(func, &dsm_mask))) in acpi_nfit_ctl()
1252 __ATTR(dsm_mask, 0444, bus_dsm_mask_show, NULL);
1613 return sprintf(buf, "%#lx\n", nfit_mem->dsm_mask); in dsm_mask_show()
1615 static DEVICE_ATTR_RO(dsm_mask);
1799 if ((nfit_mem->dsm_mask & (1 << func)) == 0) in nfit_intel_shutdown_status()
1841 unsigned long dsm_mask, label_mask; in acpi_nfit_add_dimm() local
1848 nfit_mem->dsm_mask = acpi_desc->dimm_cmd_force_en; in acpi_nfit_add_dimm()
1914 dsm_mask = override_dsm_mask; in acpi_nfit_add_dimm()
1916 dsm_mask = NVDIMM_INTEL_CMDMASK; in acpi_nfit_add_dimm()
1918 dsm_mask &= ~(1 << ND_CMD_VENDOR); in acpi_nfit_add_dimm()
1920 dsm_mask = 0x1c3c76; in acpi_nfit_add_dimm()
1922 dsm_mask = 0x1fe; in acpi_nfit_add_dimm()
1924 dsm_mask &= ~(1 << 8); in acpi_nfit_add_dimm()
1926 dsm_mask = 0xffffffff; in acpi_nfit_add_dimm()
1928 dsm_mask = 0x1f; in acpi_nfit_add_dimm()
1941 dsm_mask &= ~1UL; in acpi_nfit_add_dimm()
1944 for_each_set_bit(i, &dsm_mask, BITS_PER_LONG) in acpi_nfit_add_dimm()
1948 set_bit(i, &nfit_mem->dsm_mask); in acpi_nfit_add_dimm()
1957 && (dsm_mask & label_mask) == label_mask) in acpi_nfit_add_dimm()
2040 mask = nfit_mem->dsm_mask & NVDIMM_INTEL_FW_ACTIVATE_CMDMASK; in acpi_nfit_get_fw_ops()
2103 cmd_mask |= nfit_mem->dsm_mask & NVDIMM_STANDARD_CMDMASK; in acpi_nfit_register_dimms()
2188 unsigned long dsm_mask, *mask; in acpi_nfit_init_dsms() local
2213 dsm_mask = in acpi_nfit_init_dsms()
2222 for_each_set_bit(i, &dsm_mask, BITS_PER_LONG) in acpi_nfit_init_dsms()
2227 dsm_mask = NVDIMM_BUS_INTEL_FW_ACTIVATE_CMDMASK; in acpi_nfit_init_dsms()
2230 for_each_set_bit(i, &dsm_mask, BITS_PER_LONG) in acpi_nfit_init_dsms()
2234 if (*mask == dsm_mask) { in acpi_nfit_init_dsms()