Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/core/core/
Doption.c29 nouveau_stropt(const char *optstr, const char *opt, int *arglen) in nouveau_stropt() argument
37 *arglen = strcspn(optstr, ",="); in nouveau_stropt()
38 return *arglen ? optstr : NULL; in nouveau_stropt()
57 int arglen; in nouveau_boolopt() local
59 optstr = nouveau_stropt(optstr, opt, &arglen); in nouveau_boolopt()
61 if (!strncasecmpz(optstr, "0", arglen) || in nouveau_boolopt()
62 !strncasecmpz(optstr, "no", arglen) || in nouveau_boolopt()
63 !strncasecmpz(optstr, "off", arglen) || in nouveau_boolopt()
64 !strncasecmpz(optstr, "false", arglen)) in nouveau_boolopt()
67 if (!strncasecmpz(optstr, "1", arglen) || in nouveau_boolopt()
[all …]
/drivers/gpu/drm/nouveau/core/subdev/clock/
Dbase.c400 nouveau_clock_nstate(struct nouveau_clock *clk, const char *mode, int arglen) in nouveau_clock_nstate() argument
404 if (strncasecmpz(mode, "disabled", arglen)) { in nouveau_clock_nstate()
405 char save = mode[arglen]; in nouveau_clock_nstate()
408 ((char *)mode)[arglen] = '\0'; in nouveau_clock_nstate()
414 ((char *)mode)[arglen] = save; in nouveau_clock_nstate()
544 int ret, idx, arglen; in nouveau_clock_create_() local
581 mode = nouveau_stropt(device->cfgopt, "NvClkMode", &arglen); in nouveau_clock_create_()
583 clk->ustate_ac = nouveau_clock_nstate(clk, mode, arglen); in nouveau_clock_create_()
584 clk->ustate_dc = nouveau_clock_nstate(clk, mode, arglen); in nouveau_clock_create_()
587 mode = nouveau_stropt(device->cfgopt, "NvClkModeAC", &arglen); in nouveau_clock_create_()
[all …]
/drivers/scsi/
Dps3rom.c60 u32 arglen; /* length above */ member
111 atapi_cmnd.blocks = atapi_cmnd.arglen = scsi_bufflen(cmd); in ps3rom_atapi_request()
142 atapi_cmnd.arglen, &dev->tag); in ps3rom_atapi_request()
/drivers/block/
Dps3disk.c69 u32 arglen; member
376 ata_cmnd.size = ata_cmnd.arglen = ATA_ID_WORDS * 2; in ps3disk_identify()
384 ata_cmnd.arglen); in ps3disk_identify()
/drivers/leds/
Dleds-blinkm.c317 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write() local
323 if (arglen == 0) in blinkm_write()
326 for (i = 0; i < arglen; i++) { in blinkm_write()