/openbmc/linux/drivers/cxl/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A 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()
|
/openbmc/linux/drivers/nvdimm/ |
H A 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()
|
H A 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()
|
H A D | nd-core.h | 34 unsigned long cmd_mask; member
|
H A D | core.c | 288 for_each_set_bit(cmd, &nd_desc->cmd_mask, BITS_PER_LONG) in commands_show()
|
/openbmc/linux/kernel/sched/ |
H A D | membarrier.c | 638 int cmd_mask = MEMBARRIER_CMD_BITMASK; in SYSCALL_DEFINE3() local 641 cmd_mask &= ~MEMBARRIER_CMD_GLOBAL; in SYSCALL_DEFINE3() 642 return cmd_mask; in SYSCALL_DEFINE3()
|
/openbmc/linux/drivers/acpi/nfit/ |
H A D | core.c | 447 unsigned long cmd_mask, dsm_mask; in acpi_nfit_ctl() local 476 cmd_mask = nvdimm_cmd_mask(nvdimm); in acpi_nfit_ctl() 485 cmd_mask = nd_desc->cmd_mask; in acpi_nfit_ctl() 514 else if (!test_bit(cmd, &cmd_mask)) in acpi_nfit_ctl() 1332 return (nd_desc->cmd_mask & mask) == mask; in ars_supported() 1998 unsigned long flags = 0, cmd_mask; in acpi_nfit_register_dimms() local 2034 cmd_mask = 1UL << ND_CMD_CALL; in acpi_nfit_register_dimms() 2041 cmd_mask |= nfit_mem->dsm_mask & NVDIMM_STANDARD_CMDMASK; in acpi_nfit_register_dimms() 2045 set_bit(ND_CMD_GET_CONFIG_SIZE, &cmd_mask); in acpi_nfit_register_dimms() 2046 set_bit(ND_CMD_GET_CONFIG_DATA, &cmd_mask); in acpi_nfit_register_dimms() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A 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()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A 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()
|
/openbmc/linux/tools/testing/nvdimm/test/ |
H A 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()
|