Home
last modified time | relevance | path

Searched refs:arglen (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
Doption.c28 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 …]
/kernel/linux/linux-5.10/drivers/firmware/
Dqcom_scm-legacy.c134 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()
Dqcom_scm-smc.c85 int arglen = desc->arginfo & 0xf; in __scm_smc_call() local
106 if (unlikely(arglen > SCM_SMC_N_REG_ARGS)) { in __scm_smc_call()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c498 nvkm_clk_nstate(struct nvkm_clk *clk, const char *mode, int arglen) in nvkm_clk_nstate() argument
502 if (clk->allow_reclock && !strncasecmpz(mode, "auto", arglen)) in nvkm_clk_nstate()
505 if (strncasecmpz(mode, "disabled", arglen)) { in nvkm_clk_nstate()
506 char save = mode[arglen]; in nvkm_clk_nstate()
509 ((char *)mode)[arglen] = '\0'; in nvkm_clk_nstate()
515 ((char *)mode)[arglen] = save; in nvkm_clk_nstate()
658 int ret, idx, arglen; in nvkm_clk_ctor() local
700 mode = nvkm_stropt(device->cfgopt, "NvClkMode", &arglen); in nvkm_clk_ctor()
702 clk->ustate_ac = nvkm_clk_nstate(clk, mode, arglen); in nvkm_clk_ctor()
703 clk->ustate_dc = nvkm_clk_nstate(clk, mode, arglen); in nvkm_clk_ctor()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dps3rom.c48 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()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Daf_ninet.c521 unsigned long arg, int arglen) in compat_select_ninet_ioctl() argument
526 if (sizeof(struct nip_rtmsg) != arglen) { in compat_select_ninet_ioctl()
544 int arglen = iov_len - NINET_IOCTL_HEAD_LEN; in __ninet_ioctl_cmd() local
546 return compat_select_ninet_ioctl(sock, cmd, arg, arglen); in __ninet_ioctl_cmd()
/kernel/linux/linux-5.10/drivers/block/
Dps3disk.c58 u32 arglen; member
363 ata_cmnd.size = ata_cmnd.arglen = ATA_ID_WORDS * 2; in ps3disk_identify()
371 ata_cmnd.arglen); in ps3disk_identify()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-blinkm.c297 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()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dintel.c997 static inline bool match_option(const char *arg, int arglen, const char *opt) in match_option() argument
1001 return len == arglen && !strncmp(arg, opt, len); in match_option()
Dcommon.c1316 int arglen, res, bit; in cpu_parse_early_param() local
1339 arglen = cmdline_find_option(boot_command_line, "clearcpuid", arg, sizeof(arg)); in cpu_parse_early_param()
1340 if (arglen <= 0) in cpu_parse_early_param()
1350 if (res == 1 && arglen >= sizeof(arg)) in cpu_parse_early_param()
Dbugs.c968 static inline bool match_option(const char *arg, int arglen, const char *opt) in match_option() argument
972 return len == arglen && !strncmp(arg, opt, len); in match_option()