Displaying 3 results from an estimated 3 matches for "to_gk20a_priv".
2015 Apr 08
3
[PATCH V2] pmu/gk20a: PMU boot support.
...sc *desc;
+ struct pmu_buf_desc ucode;
+ struct pmu_buf_desc trace_buf;
+ struct mutex pmu_copy_lock;
+ bool pmu_ready;
+ int pmu_state;
+ struct nvkm_pmu_priv_vm pmuvm;
+ struct work_struct isr_workq;
+ bool initialized;
+ bool sw_ready;
+ struct mutex isr_mutex;
+ bool isr_enabled;
};
+#define to_gk20a_priv(ptr) container_of(ptr, struct gk20a_pmu_priv, base)
+
struct gk20a_pmu_dvfs_dev_status {
unsigned long total;
unsigned long busy;
@@ -48,6 +229,61 @@ struct gk20a_pmu_dvfs_dev_status {
};
static int
+gk20a_pmu_load_firmware(struct nvkm_pmu *ppmu, const struct firmware **pfw)
+{
+ struct nv...
2015 Apr 13
3
[PATCH v4] pmu/gk20a: PMU boot support
...larm alarm;
struct gk20a_pmu_dvfs_data *data;
+ struct pmu_ucode_desc *desc;
+ struct pmu_buf_desc ucode;
+ struct pmu_buf_desc trace_buf;
+ struct mutex pmu_copy_lock;
+ bool pmu_ready;
+ int pmu_state;
+ struct nvkm_pmu_priv_vm pmuvm;
+ struct mutex isr_mutex;
+ bool isr_enabled;
};
+#define to_gk20a_priv(ptr) container_of(ptr, struct gk20a_pmu_priv, base)
+
struct gk20a_pmu_dvfs_dev_status {
unsigned long total;
unsigned long busy;
@@ -48,6 +231,59 @@ struct gk20a_pmu_dvfs_dev_status {
};
static int
+gk20a_pmu_load_firmware(struct nvkm_pmu *pmu, const struct firmware **pfw)
+{
+ struct nvk...
2015 Apr 30
2
[PATCH v4] pmu/gk20a: PMU boot support
...pmu_buf_desc trace_buf;
>> + struct mutex pmu_copy_lock;
>> + bool pmu_ready;
>> + int pmu_state;
>> + struct nvkm_pmu_priv_vm pmuvm;
>> + struct mutex isr_mutex;
>> + bool isr_enabled;
>> };
>>
>> +#define to_gk20a_priv(ptr) container_of(ptr, struct gk20a_pmu_priv, base)
>> +
>> struct gk20a_pmu_dvfs_dev_status {
>> unsigned long total;
>> unsigned long busy;
>> @@ -48,6 +231,59 @@ struct gk20a_pmu_dvfs_dev_status {
>> };
>>
>> static int
>&g...