search for: reg_val

Displaying 9 results from an estimated 9 matches for "reg_val".

2012 Feb 09
1
samba4 build progress error for gpo_reg.c (explained)
...mba-4.0.0alpha17" shipped with the sogo/openchange source. The error message is shown below. "‘struct registry_value’ has no member named ‘type’" is caused by gpo_reg.c in "samba4/source3/libgpo/gpo_reg.c" ??? line: 174: ??????? reg_val.type = REG_SZ;... 192:??????? reg_val.type = REG_DWORD; 213:??????? if (reg_val->type != REG_SZ) {... 238:??????? if (reg_val->type != REG_DWORD) {... whereas "samba4/source4/lib/registry/registry.h" line 264-269 has: struct registry_value { ??????? const char *name; ??????? unsign...
2020 Jan 20
0
[PATCH v3 06/22] drm/gma500: Convert to CRTC VBLANK callbacks
...rrupt */ -int psb_enable_vblank(struct drm_device *dev, unsigned int pipe) +int psb_enable_vblank(struct drm_crtc *crtc) { + struct drm_device *dev = crtc->dev; + unsigned int pipe = crtc->index; struct drm_psb_private *dev_priv = dev->dev_private; unsigned long irqflags; uint32_t reg_val = 0; @@ -545,8 +547,10 @@ int psb_enable_vblank(struct drm_device *dev, unsigned int pipe) /* * It is used to disable VBLANK interrupt */ -void psb_disable_vblank(struct drm_device *dev, unsigned int pipe) +void psb_disable_vblank(struct drm_crtc *crtc) { + struct drm_device *dev = crtc->d...
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...rd32(ppmu, 0x0010a508 + 16) & 0x7fffffff; > + /*todormb();*/ > + *total_cycles = nv_rd32(ppmu, 0x0010a508 + 32) & 0x7fffffff; > + /*todogk20a_idle(g->dev);*/ > +} > + > +void gk20a_pmu_reset_load_counters(struct nvkm_pmu *ppmu) > +{ > + u32 reg_val = 1 << 31; > + > + /*todoif (!g->power_on || gk20a_busy(g->dev)) > + return;*/ > + > + nv_wr32(ppmu, 0x0010a508 + 32, reg_val); > + /*todowmb()*/; > + nv_wr32(ppmu, 0x0010a508 + 16, reg_val); > + /*todogk20a_idle(g->dev);*...
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
...; + *total_cycles = 0; + return; + }*/ + + *busy_cycles = nv_rd32(ppmu, 0x0010a508 + 16) & 0x7fffffff; + /*todormb();*/ + *total_cycles = nv_rd32(ppmu, 0x0010a508 + 32) & 0x7fffffff; + /*todogk20a_idle(g->dev);*/ +} + +void gk20a_pmu_reset_load_counters(struct nvkm_pmu *ppmu) +{ + u32 reg_val = 1 << 31; + + /*todoif (!g->power_on || gk20a_busy(g->dev)) + return;*/ + + nv_wr32(ppmu, 0x0010a508 + 32, reg_val); + /*todowmb()*/; + nv_wr32(ppmu, 0x0010a508 + 16, reg_val); + /*todogk20a_idle(g->dev);*/ +} + +static int gk20a_init_pmu_setup_hw1(struct nvkm_pmu *ppmu, struct nv...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...rd32(ppmu, 0x0010a508 + 16) & 0x7fffffff; > + /*todormb();*/ > + *total_cycles = nv_rd32(ppmu, 0x0010a508 + 32) & 0x7fffffff; > + /*todogk20a_idle(g->dev);*/ > +} > + > +void gk20a_pmu_reset_load_counters(struct nvkm_pmu *ppmu) > +{ > + u32 reg_val = 1 << 31; > + > + /*todoif (!g->power_on || gk20a_busy(g->dev)) > + return;*/ > + > + nv_wr32(ppmu, 0x0010a508 + 32, reg_val); > + /*todowmb()*/; > + nv_wr32(ppmu, 0x0010a508 + 16, reg_val); > + /*todogk20a_idle(g->dev);*...
2020 Jan 20
26
[PATCH v3 00/22] drm: Clean up VBLANK callbacks in struct drm_driver
VBLANK handlers in struct drm_driver are deprecated. Only legacy, non-KMS drivers are supposed to used them. DRM drivers with kernel modesetting are supposed to use VBLANK callbacks of the CRTC infrastructure. This patchset converts all DRM drivers to CRTC VBLANK callbacks and cleans up struct drm_driver. The remaining VBLANK callbacks in struct drm_driver are only used by legacy drivers. Patch
2020 Jan 15
26
[PATCH v2 00/21] drm: Clean up VBLANK callbacks in struct drm_driver
VBLANK handlers in struct drm_driver are deprecated. Only legacy, non-KMS drivers are supposed to used them. DRM drivers with kernel modesetting are supposed to use VBLANK callbacks of the CRTC infrastructure. This patchset converts all DRM drivers to CRTC VBLANK callbacks and cleans up struct drm_driver. The remaining VBLANK callbacks in struct drm_driver are only used by legacy drivers.
2020 Jan 23
30
[PATCH v4 00/22] drm: Clean up VBLANK callbacks in struct drm_driver
VBLANK handlers in struct drm_driver are deprecated. Only legacy, non-KMS drivers are supposed to used them. DRM drivers with kernel modesetting are supposed to use VBLANK callbacks of the CRTC infrastructure. This patchset converts all DRM drivers to CRTC VBLANK callbacks and cleans up struct drm_driver. The remaining VBLANK callbacks in struct drm_driver are only used by legacy drivers. Patch
2020 Jan 10
36
[PATCH 00/23] drm: Clean up VBLANK callbacks in struct drm_driver
VBLANK handlers in struct drm_driver are deprecated. Only legacy, non-KMS drivers are supposed to used them. DRM drivers with kernel modesetting are supposed to use VBLANK callbacks of the CRTC infrastructure. This patchset converts all DRM drivers to CRTC VBLANK callbacks and cleans up struct drm_driver. The remaining VBLANK callbacks in struct drm_driver are only used by legacy drivers.