Searched refs:cmd_mask (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/cxl/ |
H A D | pmem.c | 67 unsigned long flags = 0, cmd_mask = 0; in cxl_nvdimm_probe() local 78 set_bit(ND_CMD_GET_CONFIG_SIZE, &cmd_mask); in cxl_nvdimm_probe() 79 set_bit(ND_CMD_GET_CONFIG_DATA, &cmd_mask); in cxl_nvdimm_probe() 80 set_bit(ND_CMD_SET_CONFIG_DATA, &cmd_mask); in cxl_nvdimm_probe() 83 cmd_mask, 0, NULL, cxl_nvd->dev_id, in cxl_nvdimm_probe() 198 unsigned long cmd_mask = nvdimm_cmd_mask(nvdimm); in cxl_pmem_nvdimm_ctl() local 202 if (!test_bit(cmd, &cmd_mask)) in cxl_pmem_nvdimm_ctl()
|
/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()
|
/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() 264 return nvdimm->cmd_mask; in nvdimm_cmd_mask() 282 if (!nvdimm->cmd_mask) in commands_show() 285 for_each_set_bit(cmd, &nvdimm->cmd_mask, BITS_PER_LONG) in commands_show() 586 unsigned long flags, unsigned long cmd_mask, int num_flush, in __nvdimm_create() argument 606 nvdimm->cmd_mask = cmd_mask; in __nvdimm_create()
|
H A D | bus.c | 1038 unsigned long cmd_mask; in __nd_ioctl() local 1047 cmd_mask = nvdimm->cmd_mask; in __nd_ioctl() 1052 cmd_mask = nd_desc->cmd_mask; in __nd_ioctl() 1080 !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 | 287 for_each_set_bit(cmd, &nd_desc->cmd_mask, BITS_PER_LONG) in commands_show()
|
/linux/kernel/sched/ |
H A D | membarrier.c | 643 int cmd_mask = MEMBARRIER_CMD_BITMASK; in SYSCALL_DEFINE3() local 646 cmd_mask &= ~MEMBARRIER_CMD_GLOBAL; in SYSCALL_DEFINE3() 647 return cmd_mask; in SYSCALL_DEFINE3()
|
/linux/drivers/mmc/host/ |
H A D | tifm_sd.c | 370 unsigned int cmd_mask = tifm_sd_op_flags(cmd); in tifm_sd_exec() local 373 cmd_mask |= TIFM_MMCSD_ODTO; in tifm_sd_exec() 376 cmd_mask |= TIFM_MMCSD_READ; in tifm_sd_exec() 379 cmd->opcode, cmd->arg, cmd_mask); in tifm_sd_exec() 383 writel(cmd->opcode | cmd_mask, sock->addr + SOCK_MMCSD_COMMAND); in tifm_sd_exec()
|
/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() 2909 .cmd_mask = 1UL << ND_CMD_ARS_CAP in nfit_ctl_test() 2948 .cmd_mask = mask, in nfit_ctl_test()
|
/linux/drivers/net/dsa/ |
H A D | vitesse-vsc73xx-core.c | 2027 u16 hash, u16 cmd_mask, u16 cmd_val) in vsc73xx_fdb_operation() argument 2059 VSC73XX_MACACCESS, cmd_mask, cmd_val); in vsc73xx_fdb_operation()
|