/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/core/ |
D | option.c | 28 nvkm_stropt(const char *optstr, const char *opt, int *arglen) in nvkm_stropt() argument 36 *arglen = strcspn(optstr, ",="); in nvkm_stropt() 37 return *arglen ? optstr : NULL; in nvkm_stropt() 56 int arglen; in nvkm_boolopt() local 58 optstr = nvkm_stropt(optstr, opt, &arglen); in nvkm_boolopt() 60 if (!strncasecmpz(optstr, "0", arglen) || in nvkm_boolopt() 61 !strncasecmpz(optstr, "no", arglen) || in nvkm_boolopt() 62 !strncasecmpz(optstr, "off", arglen) || in nvkm_boolopt() 63 !strncasecmpz(optstr, "false", arglen)) in nvkm_boolopt() 66 if (!strncasecmpz(optstr, "1", arglen) || in nvkm_boolopt() [all …]
|
/linux-6.6.21/drivers/firmware/ |
D | qcom_scm-legacy.c | 137 u8 arglen = desc->arginfo & 0xf; in scm_legacy_call() local 144 const size_t cmd_len = arglen * sizeof(__le32); in scm_legacy_call() 161 for (i = 0; i < arglen; i++) in scm_legacy_call() 230 size_t arglen = desc->arginfo & 0xf; in scm_legacy_call_atomic() local 232 BUG_ON(arglen > SCM_LEGACY_ATOMIC_N_REG_ARGS); in scm_legacy_call_atomic() 234 arm_smccc_smc(SCM_LEGACY_ATOMIC_ID(desc->svc, desc->cmd, arglen), in scm_legacy_call_atomic()
|
D | qcom_scm-smc.c | 153 int arglen = desc->arginfo & 0xf; in __scm_smc_call() local 174 if (unlikely(arglen > SCM_SMC_N_REG_ARGS)) { in __scm_smc_call()
|
/linux-6.6.21/init/ |
D | version.c | 24 size_t arglen; in early_hostname() local 26 arglen = strlcpy(init_uts_ns.name.nodename, arg, bufsize); in early_hostname() 27 if (arglen > maxlen) { in early_hostname()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 497 nvkm_clk_nstate(struct nvkm_clk *clk, const char *mode, int arglen) in nvkm_clk_nstate() argument 501 if (clk->allow_reclock && !strncasecmpz(mode, "auto", arglen)) in nvkm_clk_nstate() 504 if (strncasecmpz(mode, "disabled", arglen)) { in nvkm_clk_nstate() 505 char save = mode[arglen]; in nvkm_clk_nstate() 508 ((char *)mode)[arglen] = '\0'; in nvkm_clk_nstate() 514 ((char *)mode)[arglen] = save; in nvkm_clk_nstate() 653 int ret, idx, arglen; in nvkm_clk_ctor() local 690 mode = nvkm_stropt(device->cfgopt, "NvClkMode", &arglen); in nvkm_clk_ctor() 692 clk->ustate_ac = nvkm_clk_nstate(clk, mode, arglen); in nvkm_clk_ctor() 693 clk->ustate_dc = nvkm_clk_nstate(clk, mode, arglen); in nvkm_clk_ctor() [all …]
|
/linux-6.6.21/drivers/scsi/ |
D | ps3rom.c | 48 u32 arglen; /* length above */ member 99 atapi_cmnd.blocks = atapi_cmnd.arglen = scsi_bufflen(cmd); in ps3rom_atapi_request() 130 atapi_cmnd.arglen, &dev->tag); in ps3rom_atapi_request()
|
/linux-6.6.21/drivers/block/ |
D | ps3disk.c | 57 u32 arglen; member 348 ata_cmnd.size = ata_cmnd.arglen = ATA_ID_WORDS * 2; in ps3disk_identify() 356 ata_cmnd.arglen); in ps3disk_identify()
|
/linux-6.6.21/drivers/leds/ |
D | leds-blinkm.c | 297 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write() local 303 if (arglen == 0) in blinkm_write() 306 for (i = 0; i < arglen; i++) { in blinkm_write()
|
/linux-6.6.21/arch/x86/kernel/cpu/ |
D | intel.c | 1035 static inline bool match_option(const char *arg, int arglen, const char *opt) in match_option() argument 1053 return len == arglen; in match_option()
|
D | common.c | 1487 int arglen, taint = 0; in cpu_parse_early_param() local 1513 arglen = cmdline_find_option(boot_command_line, "clearcpuid", arg, sizeof(arg)); in cpu_parse_early_param() 1514 if (arglen <= 0) in cpu_parse_early_param()
|
D | bugs.c | 1151 static inline bool match_option(const char *arg, int arglen, const char *opt) in match_option() argument 1155 return len == arglen && !strncmp(arg, opt, len); in match_option()
|