Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dlibnvdimm.h79 unsigned long cmd_mask; member
270 unsigned long flags, unsigned long cmd_mask, int num_flush,
276 unsigned long flags, unsigned long cmd_mask, int num_flush, in nvdimm_create() argument
280 cmd_mask, num_flush, flush_wpq, NULL, NULL, NULL); in nvdimm_create()
/Linux-v5.10/kernel/sched/
Dmembarrier.c460 int cmd_mask = MEMBARRIER_CMD_BITMASK; in SYSCALL_DEFINE3() local
463 cmd_mask &= ~MEMBARRIER_CMD_GLOBAL; in SYSCALL_DEFINE3()
464 return cmd_mask; in SYSCALL_DEFINE3()
/Linux-v5.10/drivers/nvdimm/
Ddimm_devs.c33 if (!nvdimm->cmd_mask || in nvdimm_check_config_data()
34 !test_bit(ND_CMD_GET_CONFIG_DATA, &nvdimm->cmd_mask)) { in nvdimm_check_config_data()
282 return nvdimm->cmd_mask; in nvdimm_cmd_mask()
300 if (!nvdimm->cmd_mask) in commands_show()
303 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
606 nvdimm->cmd_mask = cmd_mask; in __nvdimm_create()
Dbus.c1019 unsigned long cmd_mask; in __nd_ioctl() local
1028 cmd_mask = nvdimm->cmd_mask; in __nd_ioctl()
1033 cmd_mask = nd_desc->cmd_mask; in __nd_ioctl()
1061 !test_bit(cmd, &cmd_mask)) in __nd_ioctl()
Dnd-core.h34 unsigned long cmd_mask; member
Dcore.c320 for_each_set_bit(cmd, &nd_desc->cmd_mask, BITS_PER_LONG) in commands_show()
/Linux-v5.10/drivers/acpi/nfit/
Dcore.c445 unsigned long cmd_mask, dsm_mask; in acpi_nfit_ctl() local
469 cmd_mask = nvdimm_cmd_mask(nvdimm); in acpi_nfit_ctl()
478 cmd_mask = nd_desc->cmd_mask; in acpi_nfit_ctl()
504 else if (!test_bit(cmd, &cmd_mask)) in acpi_nfit_ctl()
1387 return (nd_desc->cmd_mask & mask) == mask; in ars_supported()
2055 unsigned long flags = 0, cmd_mask; in acpi_nfit_register_dimms() local
2096 cmd_mask = 1UL << ND_CMD_CALL; in acpi_nfit_register_dimms()
2103 cmd_mask |= nfit_mem->dsm_mask & NVDIMM_STANDARD_CMDMASK; in acpi_nfit_register_dimms()
2111 set_bit(ND_CMD_GET_CONFIG_SIZE, &cmd_mask); in acpi_nfit_register_dimms()
2112 set_bit(ND_CMD_GET_CONFIG_DATA, &cmd_mask); in acpi_nfit_register_dimms()
[all …]
/Linux-v5.10/drivers/mmc/host/
Dtifm_sd.c374 unsigned int cmd_mask = tifm_sd_op_flags(cmd); in tifm_sd_exec() local
377 cmd_mask |= TIFM_MMCSD_ODTO; in tifm_sd_exec()
380 cmd_mask |= TIFM_MMCSD_READ; in tifm_sd_exec()
383 cmd->opcode, cmd->arg, cmd_mask); in tifm_sd_exec()
387 writel(cmd->opcode | cmd_mask, sock->addr + SOCK_MMCSD_COMMAND); in tifm_sd_exec()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dpapr_scm.c464 unsigned long cmd_mask = PAPR_SCM_DIMM_CMD_MASK; in is_cmd_valid() local
476 if (!test_bit(cmd, &cmd_mask)) { in is_cmd_valid()
/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c1368 unsigned long cmd_mask = nvdimm_cmd_mask(nvdimm); in nfit_test_ctl() local
1493 if (!test_bit(cmd, &cmd_mask) in nfit_test_ctl()
1571 if (!nd_desc || !test_bit(cmd, &nd_desc->cmd_mask)) in nfit_test_ctl()
2924 .cmd_mask = 1UL << ND_CMD_ARS_CAP in nfit_ctl_test()
2963 .cmd_mask = mask, in nfit_ctl_test()