Searched refs:arglen (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | option.c | 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() 66 if (!strncasecmpz(optstr, "1", arglen) || in nvkm_boolopt() 68 !strncasecmpz(optstr, "on", arglen) || in nvkm_boolopt() 69 !strncasecmpz(optstr, "true", arglen)) in nvkm_boolopt() 80 int arglen; in nvkm_longopt() local [all …]
|
/linux/drivers/firmware/ |
A D | qcom_scm-legacy.c | 134 u8 arglen = desc->arginfo & 0xf; in scm_legacy_call() local 141 const size_t cmd_len = arglen * sizeof(__le32); in scm_legacy_call() 158 for (i = 0; i < arglen; i++) in scm_legacy_call() 226 size_t arglen = desc->arginfo & 0xf; in scm_legacy_call_atomic() local 228 BUG_ON(arglen > SCM_LEGACY_ATOMIC_N_REG_ARGS); in scm_legacy_call_atomic() 230 arm_smccc_smc(SCM_LEGACY_ATOMIC_ID(desc->svc, desc->cmd, arglen), in scm_legacy_call_atomic()
|
A D | qcom_scm-smc.c | 85 int arglen = desc->arginfo & 0xf; in __scm_smc_call() local 106 if (unlikely(arglen > SCM_SMC_N_REG_ARGS)) { in __scm_smc_call()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | base.c | 503 if (strncasecmpz(mode, "disabled", arglen)) { in nvkm_clk_nstate() 504 char save = mode[arglen]; in nvkm_clk_nstate() 507 ((char *)mode)[arglen] = '\0'; in nvkm_clk_nstate() 513 ((char *)mode)[arglen] = save; in nvkm_clk_nstate() 656 int ret, idx, arglen; in nvkm_clk_ctor() local 698 mode = nvkm_stropt(device->cfgopt, "NvClkMode", &arglen); in nvkm_clk_ctor() 700 clk->ustate_ac = nvkm_clk_nstate(clk, mode, arglen); in nvkm_clk_ctor() 701 clk->ustate_dc = nvkm_clk_nstate(clk, mode, arglen); in nvkm_clk_ctor() 704 mode = nvkm_stropt(device->cfgopt, "NvClkModeAC", &arglen); in nvkm_clk_ctor() 706 clk->ustate_ac = nvkm_clk_nstate(clk, mode, arglen); in nvkm_clk_ctor() [all …]
|
/linux/drivers/scsi/ |
A 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/drivers/block/ |
A 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/drivers/leds/ |
A 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/arch/x86/kernel/cpu/ |
A D | common.c | 1241 int arglen, res, bit; in cpu_parse_early_param() local 1264 arglen = cmdline_find_option(boot_command_line, "clearcpuid", arg, sizeof(arg)); in cpu_parse_early_param() 1265 if (arglen <= 0) in cpu_parse_early_param() 1275 if (res == 1 && arglen >= sizeof(arg)) in cpu_parse_early_param()
|
A D | intel.c | 1009 static inline bool match_option(const char *arg, int arglen, const char *opt) in match_option() argument 1027 return len == arglen; in match_option()
|
A D | bugs.c | 653 static inline bool match_option(const char *arg, int arglen, const char *opt) in match_option() argument 657 return len == arglen && !strncmp(arg, opt, len); in match_option()
|
Completed in 29 milliseconds