Lines Matching refs:arglen
496 nvkm_clk_nstate(struct nvkm_clk *clk, const char *mode, int arglen) in nvkm_clk_nstate() argument
500 if (clk->allow_reclock && !strncasecmpz(mode, "auto", arglen)) in nvkm_clk_nstate()
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()
708 mode = nvkm_stropt(device->cfgopt, "NvClkModeDC", &arglen); in nvkm_clk_ctor()
710 clk->ustate_dc = nvkm_clk_nstate(clk, mode, arglen); in nvkm_clk_ctor()