Home
last modified time | relevance | path

Searched refs:cmd_mask (Results 1 – 7 of 7) sorted by relevance

/drivers/cxl/
Dpmem.c69 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()
/drivers/nvdimm/
Ddimm_devs.c29 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()
Dbus.c1035 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()
Dnd-core.h34 unsigned long cmd_mask; member
Dcore.c288 for_each_set_bit(cmd, &nd_desc->cmd_mask, BITS_PER_LONG) in commands_show()
/drivers/acpi/nfit/
Dcore.c447 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 …]
/drivers/mmc/host/
Dtifm_sd.c369 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()