/Linux-v6.6/drivers/cxl/ |
D | pmem.c | 69 unsigned long flags = 0, cmd_mask = 0; in cxl_nvdimm_probe() local 80 set_bit(ND_CMD_GET_CONFIG_SIZE, &cmd_mask); in cxl_nvdimm_probe() 81 set_bit(ND_CMD_GET_CONFIG_DATA, &cmd_mask); in cxl_nvdimm_probe() 82 set_bit(ND_CMD_SET_CONFIG_DATA, &cmd_mask); in cxl_nvdimm_probe() 85 cmd_mask, 0, NULL, cxl_nvd->dev_id, in cxl_nvdimm_probe() 196 unsigned long cmd_mask = nvdimm_cmd_mask(nvdimm); in cxl_pmem_nvdimm_ctl() local 200 if (!test_bit(cmd, &cmd_mask)) in cxl_pmem_nvdimm_ctl()
|
/Linux-v6.6/include/linux/ |
D | libnvdimm.h | 86 unsigned long cmd_mask; member 263 unsigned long flags, unsigned long cmd_mask, int num_flush, 269 unsigned long flags, unsigned long cmd_mask, int num_flush, in nvdimm_create() argument 273 cmd_mask, num_flush, flush_wpq, NULL, NULL, NULL); in nvdimm_create()
|
/Linux-v6.6/drivers/nvdimm/ |
D | dimm_devs.c | 29 if (!nvdimm->cmd_mask || in nvdimm_check_config_data() 30 !test_bit(ND_CMD_GET_CONFIG_DATA, &nvdimm->cmd_mask)) { in nvdimm_check_config_data() 262 return nvdimm->cmd_mask; in nvdimm_cmd_mask() 280 if (!nvdimm->cmd_mask) in commands_show() 283 for_each_set_bit(cmd, &nvdimm->cmd_mask, BITS_PER_LONG) in commands_show() 584 unsigned long flags, unsigned long cmd_mask, int num_flush, in __nvdimm_create() argument 604 nvdimm->cmd_mask = cmd_mask; in __nvdimm_create()
|
D | bus.c | 1035 unsigned long cmd_mask; in __nd_ioctl() local 1044 cmd_mask = nvdimm->cmd_mask; in __nd_ioctl() 1049 cmd_mask = nd_desc->cmd_mask; in __nd_ioctl() 1077 !test_bit(cmd, &cmd_mask)) in __nd_ioctl()
|
D | nd-core.h | 34 unsigned long cmd_mask; member
|
D | core.c | 288 for_each_set_bit(cmd, &nd_desc->cmd_mask, BITS_PER_LONG) in commands_show()
|
/Linux-v6.6/kernel/sched/ |
D | membarrier.c | 632 int cmd_mask = MEMBARRIER_CMD_BITMASK; in SYSCALL_DEFINE3() local 635 cmd_mask &= ~MEMBARRIER_CMD_GLOBAL; in SYSCALL_DEFINE3() 636 return cmd_mask; in SYSCALL_DEFINE3()
|
/Linux-v6.6/drivers/acpi/nfit/ |
D | core.c | 447 unsigned long cmd_mask, dsm_mask; in acpi_nfit_ctl() local 471 cmd_mask = nvdimm_cmd_mask(nvdimm); in acpi_nfit_ctl() 480 cmd_mask = nd_desc->cmd_mask; in acpi_nfit_ctl() 509 else if (!test_bit(cmd, &cmd_mask)) in acpi_nfit_ctl() 1327 return (nd_desc->cmd_mask & mask) == mask; in ars_supported() 1993 unsigned long flags = 0, cmd_mask; in acpi_nfit_register_dimms() local 2029 cmd_mask = 1UL << ND_CMD_CALL; in acpi_nfit_register_dimms() 2036 cmd_mask |= nfit_mem->dsm_mask & NVDIMM_STANDARD_CMDMASK; in acpi_nfit_register_dimms() 2040 set_bit(ND_CMD_GET_CONFIG_SIZE, &cmd_mask); in acpi_nfit_register_dimms() 2041 set_bit(ND_CMD_GET_CONFIG_DATA, &cmd_mask); in acpi_nfit_register_dimms() [all …]
|
/Linux-v6.6/drivers/mmc/host/ |
D | tifm_sd.c | 369 unsigned int cmd_mask = tifm_sd_op_flags(cmd); in tifm_sd_exec() local 372 cmd_mask |= TIFM_MMCSD_ODTO; in tifm_sd_exec() 375 cmd_mask |= TIFM_MMCSD_READ; in tifm_sd_exec() 378 cmd->opcode, cmd->arg, cmd_mask); in tifm_sd_exec() 382 writel(cmd->opcode | cmd_mask, sock->addr + SOCK_MMCSD_COMMAND); in tifm_sd_exec()
|
/Linux-v6.6/arch/powerpc/platforms/pseries/ |
D | papr_scm.c | 707 unsigned long cmd_mask = PAPR_SCM_DIMM_CMD_MASK; in is_cmd_valid() local 719 if (!test_bit(cmd, &cmd_mask)) { in is_cmd_valid()
|
/Linux-v6.6/tools/testing/nvdimm/test/ |
D | nfit.c | 1365 unsigned long cmd_mask = nvdimm_cmd_mask(nvdimm); in nfit_test_ctl() local 1490 if (!test_bit(cmd, &cmd_mask) in nfit_test_ctl() 1568 if (!nd_desc || !test_bit(cmd, &nd_desc->cmd_mask)) in nfit_test_ctl() 2907 .cmd_mask = 1UL << ND_CMD_ARS_CAP in nfit_ctl_test() 2946 .cmd_mask = mask, in nfit_ctl_test()
|