Lines Matching refs:cli
114 struct nouveau_cli *cli; member
122 nouveau_cli_uvmm(struct nouveau_cli *cli) in nouveau_cli_uvmm() argument
124 if (!cli || !cli->uvmm.vmm.cli) in nouveau_cli_uvmm()
127 return &cli->uvmm; in nouveau_cli_uvmm()
131 nouveau_cli_uvmm_locked(struct nouveau_cli *cli) in nouveau_cli_uvmm_locked() argument
135 mutex_lock(&cli->mutex); in nouveau_cli_uvmm_locked()
136 uvmm = nouveau_cli_uvmm(cli); in nouveau_cli_uvmm_locked()
137 mutex_unlock(&cli->mutex); in nouveau_cli_uvmm_locked()
143 nouveau_cli_vmm(struct nouveau_cli *cli) in nouveau_cli_vmm() argument
147 uvmm = nouveau_cli_uvmm(cli); in nouveau_cli_vmm()
151 if (cli->svm.cli) in nouveau_cli_vmm()
152 return &cli->svm; in nouveau_cli_vmm()
154 return &cli->vmm; in nouveau_cli_vmm()
158 __nouveau_cli_disable_uvmm_noinit(struct nouveau_cli *cli) in __nouveau_cli_disable_uvmm_noinit() argument
160 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in __nouveau_cli_disable_uvmm_noinit()
163 cli->uvmm.disabled = true; in __nouveau_cli_disable_uvmm_noinit()
167 nouveau_cli_disable_uvmm_noinit(struct nouveau_cli *cli) in nouveau_cli_disable_uvmm_noinit() argument
169 mutex_lock(&cli->mutex); in nouveau_cli_disable_uvmm_noinit()
170 __nouveau_cli_disable_uvmm_noinit(cli); in nouveau_cli_disable_uvmm_noinit()
171 mutex_unlock(&cli->mutex); in nouveau_cli_disable_uvmm_noinit()