mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: Restructuring clk.h into different units
Changes: 1) Separated clk.h which is in /nvgpu/include/pmu into different units 2) Renamed global functions Intention: At present /nvgpu/include/pmu/clk.h consists of structures and functions of different clock units. It is difficult to work on individual clk units if this file is not separated into individual units. All stucts and functions in clk.h are seperated into different clk units. Individual private clk units were not touched. Post this patch, the sebsequent patches would make changes in the individual clk units. NVGPU-2707 Change-Id: I7bf9fab38a73bceb451291530a67c70ed343b0cb Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2021704 Reviewed-by: Debarshi Dutta <ddutta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
f28b2f8baa
commit
8daafcbae8
@@ -32,21 +32,21 @@
|
||||
|
||||
struct clk_prog_1x_master;
|
||||
|
||||
typedef int vf_flatten(struct gk20a *g, struct clk_pmupstate *pclk,
|
||||
typedef int vf_flatten(struct gk20a *g, struct nvgpu_clk_pmupstate *pclk,
|
||||
struct clk_prog_1x_master *p1xmaster,
|
||||
u8 clk_domain_idx, u16 *pfreqmaxlastmhz);
|
||||
|
||||
typedef int vf_lookup(struct gk20a *g, struct clk_pmupstate *pclk,
|
||||
typedef int vf_lookup(struct gk20a *g, struct nvgpu_clk_pmupstate *pclk,
|
||||
struct clk_prog_1x_master *p1xmaster,
|
||||
u8 *slave_clk_domain_idx, u16 *pclkmhz,
|
||||
u32 *pvoltuv, u8 rail);
|
||||
|
||||
typedef int get_slaveclk(struct gk20a *g, struct clk_pmupstate *pclk,
|
||||
typedef int get_slaveclk(struct gk20a *g, struct nvgpu_clk_pmupstate *pclk,
|
||||
struct clk_prog_1x_master *p1xmaster,
|
||||
u8 slave_clk_domain_idx, u16 *pclkmhz,
|
||||
u16 masterclkmhz);
|
||||
|
||||
typedef int get_fpoints(struct gk20a *g, struct clk_pmupstate *pclk,
|
||||
typedef int get_fpoints(struct gk20a *g, struct nvgpu_clk_pmupstate *pclk,
|
||||
struct clk_prog_1x_master *p1xmaster,
|
||||
u32 *pfpointscount,
|
||||
u16 **ppfreqpointsinmhz, u8 rail);
|
||||
|
||||
Reference in New Issue
Block a user