search for: sample_buffer

Displaying 4 results from an estimated 4 matches for "sample_buffer".

2000 Jun 20
3
WinAmp Plugin
Hi, I downloaded afew off files from the site (www.vorbis.com) and also downloaded the winamp plugin (dll file), but I am unable to play the off files. -- Ramakrishnan.M | Phone : (+91-80)-5099132 DSP Applications Group, Texas Instruments | email : rkrishnan@ti.com Bangalore, India | rkrishnan_m@yahoo.com ---
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
...ct pmu_desc *pmu = &impl->pmudata; + *load = pmu->load_shadow; + return 0; +} + +int gk20a_pmu_load_update(struct nvkm_pmu *ppmu) +{ + struct nvkm_pmu_impl *impl = (void *)nv_oclass(ppmu); + struct pmu_desc *pmu = &impl->pmudata; + u16 _load = 0; + + pmu_copy_from_dmem(pmu, pmu->sample_buffer, (u8 *)&_load, 2, 0); + pmu->load_shadow = _load / 10; + pmu->load_avg = (((9*pmu->load_avg) + pmu->load_shadow) / 10); + + return 0; +} + +void gk20a_pmu_get_load_counters(struct nvkm_pmu *ppmu, u32 *busy_cycles, + u32 *total_cycles) +{ + /*todo if (!g->power_on || gk20a_bu...
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...return 0; > +} > + > +int gk20a_pmu_load_update(struct nvkm_pmu *ppmu) > +{ > + struct nvkm_pmu_impl *impl = (void *)nv_oclass(ppmu); > + struct pmu_desc *pmu = &impl->pmudata; > + u16 _load = 0; > + > + pmu_copy_from_dmem(pmu, pmu->sample_buffer, (u8 *)&_load, 2, 0); > + pmu->load_shadow = _load / 10; > + pmu->load_avg = (((9*pmu->load_avg) + pmu->load_shadow) / 10); > + > + return 0; > +} > + > +void gk20a_pmu_get_load_counters(struct nvkm_pmu *ppmu, u32 *busy_cycles, > +...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...return 0; > +} > + > +int gk20a_pmu_load_update(struct nvkm_pmu *ppmu) > +{ > + struct nvkm_pmu_impl *impl = (void *)nv_oclass(ppmu); > + struct pmu_desc *pmu = &impl->pmudata; > + u16 _load = 0; > + > + pmu_copy_from_dmem(pmu, pmu->sample_buffer, (u8 *)&_load, 2, 0); > + pmu->load_shadow = _load / 10; > + pmu->load_avg = (((9*pmu->load_avg) + pmu->load_shadow) / 10); > + > + return 0; > +} > + > +void gk20a_pmu_get_load_counters(struct nvkm_pmu *ppmu, u32 *busy_cycles, > +...