Lines Matching refs:dsm_mask
447 unsigned long cmd_mask, dsm_mask; in acpi_nfit_ctl() local
472 dsm_mask = nfit_mem->dsm_mask; in acpi_nfit_ctl()
488 dsm_mask = acpi_desc->family_dsm_mask[family]; in acpi_nfit_ctl()
491 dsm_mask = acpi_desc->bus_dsm_mask; in acpi_nfit_ctl()
507 (func > NVDIMM_CMD_MAX || !test_bit(func, &dsm_mask))) in acpi_nfit_ctl()
1192 __ATTR(dsm_mask, 0444, bus_dsm_mask_show, NULL);
1551 return sprintf(buf, "%#lx\n", nfit_mem->dsm_mask); in dsm_mask_show()
1553 static DEVICE_ATTR_RO(dsm_mask);
1737 if ((nfit_mem->dsm_mask & (1 << func)) == 0) in nfit_intel_shutdown_status()
1779 unsigned long dsm_mask, label_mask; in acpi_nfit_add_dimm() local
1786 nfit_mem->dsm_mask = acpi_desc->dimm_cmd_force_en; in acpi_nfit_add_dimm()
1852 dsm_mask = override_dsm_mask; in acpi_nfit_add_dimm()
1854 dsm_mask = NVDIMM_INTEL_CMDMASK; in acpi_nfit_add_dimm()
1856 dsm_mask &= ~(1 << ND_CMD_VENDOR); in acpi_nfit_add_dimm()
1858 dsm_mask = 0x1c3c76; in acpi_nfit_add_dimm()
1860 dsm_mask = 0x1fe; in acpi_nfit_add_dimm()
1862 dsm_mask &= ~(1 << 8); in acpi_nfit_add_dimm()
1864 dsm_mask = 0xffffffff; in acpi_nfit_add_dimm()
1866 dsm_mask = 0x1f; in acpi_nfit_add_dimm()
1879 dsm_mask &= ~1UL; in acpi_nfit_add_dimm()
1882 for_each_set_bit(i, &dsm_mask, BITS_PER_LONG) in acpi_nfit_add_dimm()
1886 set_bit(i, &nfit_mem->dsm_mask); in acpi_nfit_add_dimm()
1895 && (dsm_mask & label_mask) == label_mask) in acpi_nfit_add_dimm()
1978 mask = nfit_mem->dsm_mask & NVDIMM_INTEL_FW_ACTIVATE_CMDMASK; in acpi_nfit_get_fw_ops()
2036 cmd_mask |= nfit_mem->dsm_mask & NVDIMM_STANDARD_CMDMASK; in acpi_nfit_register_dimms()
2117 unsigned long dsm_mask, *mask; in acpi_nfit_init_dsms() local
2142 dsm_mask = in acpi_nfit_init_dsms()
2151 for_each_set_bit(i, &dsm_mask, BITS_PER_LONG) in acpi_nfit_init_dsms()
2156 dsm_mask = NVDIMM_BUS_INTEL_FW_ACTIVATE_CMDMASK; in acpi_nfit_init_dsms()
2159 for_each_set_bit(i, &dsm_mask, BITS_PER_LONG) in acpi_nfit_init_dsms()
2163 if (*mask == dsm_mask) { in acpi_nfit_init_dsms()