linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk
Arushi Singhal dd3b89be3e drm/nouveau/clk: Use list_for_each_entry_from_reverse
It's better to use "list_for_each_entry_from_reverse" for iterating list
than "for loop" as it makes the code more clear to read.
This patch replace "for loop" with "list_for_each_entry_from_reverse"
and "start" variable with "cstate" which helps in refactoring
the code and also "cstate" variable is more commonly used in the other
functions.

changes in v2:
"start" variable is removed, before "cstate" variable was removed
but "cstate" is more common so preferred "cstate" over "start".

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2018-05-18 17:09:35 +10:00
..
Kbuild drm/nouveau/clk/gm20b: add basic driver 2016-03-14 10:13:56 +10:00
base.c drm/nouveau/clk: Use list_for_each_entry_from_reverse 2018-05-18 17:09:35 +10:00
g84.c drm/nouveau/clk/g84: Enable reclocking for GDDR3 G94-G200 2015-11-03 15:02:18 +10:00
gf100.c drm/nouveau/clk: Allow boosting only when NvBoost is set 2016-10-12 17:29:25 +10:00
gk20a.c drm/nouveau/clk/gm20b: add glitchless and DFS support 2016-07-14 11:53:25 +10:00
gk20a.h drm/nouveau/clk/gm20b: add glitchless and DFS support 2016-07-14 11:53:25 +10:00
gk104.c drm/nouveau/clk: Allow boosting only when NvBoost is set 2016-10-12 17:29:25 +10:00
gm20b.c drm/nouveau/clk/gm20b: add glitchless and DFS support 2016-07-14 11:53:25 +10:00
gt215.c drm/nouveau/clk: fix gcc-7 -Wint-in-bool-context warning 2018-02-02 15:24:10 +10:00
gt215.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mcp77.c drm/nouveau/clk: convert to new-style nvkm_subdev 2015-08-28 12:40:42 +10:00
nv04.c drm/nouveau/clk: convert to new-style nvkm_subdev 2015-08-28 12:40:42 +10:00
nv40.c drm/nouveau/clk: convert to new-style nvkm_subdev 2015-08-28 12:40:42 +10:00
nv50.c replace BUG_ON(1) with BUG() 2017-02-17 15:14:55 +10:00
nv50.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pll.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pllgt215.c drm/nouveau/clk: switch to subdev printk macros 2015-08-28 12:40:22 +10:00
pllnv04.c drm/nouveau/bios: convert to new-style nvkm_subdev 2015-08-28 12:40:42 +10:00
priv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
seq.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00