Searched defs:val (Results 1 - 25 of 48) sorted by relevance

12

/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_suspend.c54 static void i915_write_ar(struct drm_device *dev, u16 st01, u8 reg, u8 val, u16 palette_enable) argument
60 I915_WRITE8(VGA_AR_DATA_WRITE, val);
63 static void i915_write_indexed(struct drm_device *dev, u16 index_port, u16 data_port, u8 reg, u8 val) argument
68 I915_WRITE8(data_port, val);
H A Dintel_sideband.c30 u32 port, u32 opcode, u32 addr, u32 *val)
50 I915_WRITE(VLV_IOSF_DATA, *val);
60 *val = I915_READ(VLV_IOSF_DATA);
68 u32 val = 0; local
74 PUNIT_OPCODE_REG_READ, addr, &val);
77 return val;
80 void vlv_punit_write(struct drm_i915_private *dev_priv, u8 addr, u32 val) argument
86 PUNIT_OPCODE_REG_WRITE, addr, &val);
92 u32 val = 0; local
98 PUNIT_OPCODE_REG_READ, addr, &val);
29 vlv_sideband_rw(struct drm_i915_private *dev_priv, u32 devfn, u32 port, u32 opcode, u32 addr, u32 *val) argument
106 u32 val = 0; local
114 vlv_dpio_write(struct drm_i915_private *dev_priv, int reg, u32 val) argument
[all...]
H A Ddvo_ns2501.c563 uint8_t val; local
565 ns2501_readb(dvo, NS2501_FREQ_LO, &val);
566 DRM_LOG_KMS("NS2501_FREQ_LO: 0x%02x\n", val);
567 ns2501_readb(dvo, NS2501_FREQ_HI, &val);
568 DRM_LOG_KMS("NS2501_FREQ_HI: 0x%02x\n", val);
569 ns2501_readb(dvo, NS2501_REG8, &val);
570 DRM_LOG_KMS("NS2501_REG8: 0x%02x\n", val);
571 ns2501_readb(dvo, NS2501_REG9, &val);
572 DRM_LOG_KMS("NS2501_REG9: 0x%02x\n", val);
573 ns2501_readb(dvo, NS2501_REGC, &val);
[all...]
H A Ddvo_sil164.c256 uint8_t val; local
258 (void) sil164_readb(dvo, SIL164_FREQ_LO, &val);
259 DRM_LOG_KMS("SIL164_FREQ_LO: 0x%02x\n", val);
260 (void) sil164_readb(dvo, SIL164_FREQ_HI, &val);
261 DRM_LOG_KMS("SIL164_FREQ_HI: 0x%02x\n", val);
262 (void) sil164_readb(dvo, SIL164_REG8, &val);
263 DRM_LOG_KMS("SIL164_REG8: 0x%02x\n", val);
264 (void) sil164_readb(dvo, SIL164_REG9, &val);
265 DRM_LOG_KMS("SIL164_REG9: 0x%02x\n", val);
266 (void) sil164_readb(dvo, SIL164_REGC, &val);
[all...]
H A Ddvo_ivch.c383 uint16_t val; local
385 (void) ivch_read(dvo, VR00, &val);
386 DRM_LOG_KMS("VR00: 0x%04x\n", val);
387 (void) ivch_read(dvo, VR01, &val);
388 DRM_LOG_KMS("VR01: 0x%04x\n", val);
389 (void) ivch_read(dvo, VR30, &val);
390 DRM_LOG_KMS("VR30: 0x%04x\n", val);
391 (void) ivch_read(dvo, VR40, &val);
392 DRM_LOG_KMS("VR40: 0x%04x\n", val);
395 (void) ivch_read(dvo, VR80, &val);
[all...]
H A Ddvo_tfp410.c279 uint8_t val, val2; local
281 (void) tfp410_readb(dvo, TFP410_REV, &val);
282 DRM_LOG_KMS("TFP410_REV: 0x%02X\n", val);
283 (void) tfp410_readb(dvo, TFP410_CTL_1, &val);
284 DRM_LOG_KMS("TFP410_CTL1: 0x%02X\n", val);
285 (void) tfp410_readb(dvo, TFP410_CTL_2, &val);
286 DRM_LOG_KMS("TFP410_CTL2: 0x%02X\n", val);
287 (void) tfp410_readb(dvo, TFP410_CTL_3, &val);
288 DRM_LOG_KMS("TFP410_CTL3: 0x%02X\n", val);
289 (void) tfp410_readb(dvo, TFP410_USERCFG, &val);
[all...]
H A Dintel_i2c.c74 u32 val; local
80 val = I915_READ(DSPCLK_GATE_D);
82 val |= DPCUNIT_CLOCK_GATE_DISABLE;
84 val &= ~DPCUNIT_CLOCK_GATE_DISABLE;
85 I915_WRITE(DSPCLK_GATE_D, val);
308 u32 val, loop = 0; local
315 val = I915_READ(GMBUS3 + reg_offset);
317 *buf++ = val & 0xff;
318 val >>= 8;
331 u32 val, loo local
[all...]
H A Dintel_lvds.c401 static int intel_lid_notify(struct notifier_block *nb, unsigned long val,
842 unsigned int val; local
854 val = I915_READ(lvds_encoder->reg);
855 if (!(val & ~(LVDS_PIPE_MASK | LVDS_DETECTED)))
856 val = dev_priv->vbt.bios_lvds_val;
858 return (val & LVDS_CLKB_POWER_MASK) == LVDS_CLKB_POWER_UP;
H A Dintel_panel.c334 u32 val; local
339 val = I915_READ(BLC_PWM_PCH_CTL2);
341 dev_priv->regfile.saveBLC_PWM_CTL2 = val;
342 } else if (val == 0) {
343 val = dev_priv->regfile.saveBLC_PWM_CTL2;
344 I915_WRITE(BLC_PWM_PCH_CTL2, val);
347 val = I915_READ(BLC_PWM_CTL);
349 dev_priv->regfile.saveBLC_PWM_CTL = val;
353 } else if (val == 0) {
354 val
388 intel_panel_compute_brightness(struct drm_device *dev, u32 val) argument
408 u32 val; local
439 u32 val = I915_READ(BLC_PWM_CPU_CTL) & ~BACKLIGHT_DUTY_CYCLE_MASK; local
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Ddpsdict.c104 register integer val = 0; local
105 while (*name) val += *name++;
106 if (val < 0) val = -val;
107 return (val % nEntries);
H A Dcslibext.c364 int arg, int val)
369 return(XDPSLSetAgentArg(dpy, arg, val));
362 XDPSNXSetAgentArg( Display *dpy, int arg, int val) argument
/solaris-x11-s11/open-src/lib/DPS/sun-src/pswrap/
H A Dpswdict.c95 register int val = 0; local
96 while (*name) val += *name++;
97 if (val < 0) val = -val;
98 return (val % nEntries);
H A Dpswpriv.h57 int val; /* valid if constant */ member in struct:__anon275
103 char *val; /* loopholed */ member in struct:_t_TokenRec
H A Dpswsemantics.c330 Token PSWToken(Type type, char *val) argument
336 token->val = val;
343 Item dictVal = (Item) PSWDictLookup(currentDict, (char *)val);
368 Token PSWToken2(Type type, char *val, char *ind) argument
371 Item dictVal = (Item) PSWDictLookup(currentDict, val);
376 token->val = val;
382 fprintf(stderr,"%s not an input parameter\n", val);
386 fprintf(stderr,"%s not an array\n", val);
454 PSWScaleItem(char *name, Subscript subscript, char *nameval, int val) argument
477 PSWIntegerSubscript(int val) argument
[all...]
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_sun_pci.c149 void pci_read_config_byte(struct pci_dev *pdev, int where, u8 *val) argument
151 *val = pci_config_get8(pdev->pci_cfg_acc_handle, where);
154 void pci_read_config_word(struct pci_dev *pdev, int where, u16 *val) argument
156 *val = pci_config_get16(pdev->pci_cfg_acc_handle, where);
159 void pci_read_config_dword(struct pci_dev *pdev, int where, u32 *val) argument
161 *val = pci_config_get32(pdev->pci_cfg_acc_handle, where);
164 void pci_write_config_byte(struct pci_dev *pdev, int where, u8 val) argument
166 pci_config_put8(pdev->pci_cfg_acc_handle, where, val);
169 void pci_write_config_word(struct pci_dev *pdev, int where, u16 val) argument
171 pci_config_put16(pdev->pci_cfg_acc_handle, where, val);
174 pci_write_config_dword(struct pci_dev *pdev, int where, u32 val) argument
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A DXDPSlib.h179 extern void XDPSLNotifyWhenReady(Display *dpy, ContextXID cxid, int val[4]);
252 extern Status XDPSLSetAgentArg(Display *xdpy, int arg, int val);
301 int val[4]; /* Array of client defined integer values */ member in struct:_XDPSLReadyEvent
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A DFlags.c74 extern LexRec val;
112 ptr->flg_comment = xf86addComment(ptr->flg_comment, val.str);
150 valstr = val.str;
156 sprintf(valstr, "%d", val.num);
219 char *val, /* Ptr to new option value string */
249 new->opt_val = val;
305 xf86addNewOption (XF86OptionPtr head, char *name, char *val) argument
308 return (xf86addNewOptionOrValue(head, name, val, 0));
310 return (xf86addNewOptionOrValue(head, name, val, 0, NULL));
658 name = val
216 xf86addNewOptionOrValue( XF86OptionPtr head, char *name, char *val, int used) argument
[all...]
H A Dscan.c129 LexRec val; variable
405 val.str = configRBuf;
444 val.num = xf86strToUL (configRBuf);
445 val.realnum = atof (configRBuf);
461 val.str = xf86confmalloc (strlen (configRBuf) + 1);
462 strcpy (val.str, configRBuf); /* private copy ! */
536 *comment = xf86addComment(*comment, val.str);
562 *comment = xf86addComment(*comment, val.str);
1092 return StringToToken (val.str, tab);
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/ast/
H A Dmemory.c27 uint64_t val[8]; member in union:MemType
284 data[i].val[j] = ((unsigned long long)
286 cdata[i].val[j] = ~data[i].val[j];
336 dp[subscr].val[i];
368 rdval[0].val[i] =
395 if (rdval[0].val[i] !=
396 dp[subscr].val[i])
H A Dtools.c1185 register uint_t const val)
1197 data.l = val;
1183 ast_mmio_write32( register uint_t const port, register uint_t const val) argument
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/efb/
H A Dmemory.c27 uint64_t val[8]; member in union:MemType
286 data[i].val[j] = ((unsigned long long)
288 cdata[i].val[j] = ~data[i].val[j];
338 dp[subscr].val[i];
370 rdval[0].val[i] =
397 if (rdval[0].val[i] !=
398 dp[subscr].val[i])
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/mga/
H A Dmemory.c27 uint64_t val[8]; member in union:MemType
290 data[i].val[j] = ((unsigned long long)
292 cdata[i].val[j] = ~data[i].val[j];
341 dp[subscr].val[i];
373 rdval[0].val[i] =
400 if (rdval[0].val[i] != dp[subscr].val[i]) {
/solaris-x11-s11/open-src/xserver/xorg/sun-src/os/
H A Ddtlogin.c433 long val; local
436 val = strtol(v, NULL, 10);
438 if ((val == 0) && (strcmp(v, "0") != 0)) {
444 if ( ((val == LONG_MAX) || (val == LONG_MIN))
452 dmd->user.uid = (uid_t) val;
455 dmd->user.gid = (gid_t) val;
459 dmd->user.groupids[dmd->user.groupid_cnt++] = (gid_t) val;
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DPanner.c427 double val = 1.0; local
438 if (*s == '-') val = -1.0;
448 val *= atof (cp);
456 val *= (double) pagesize;
460 val *= (double) canvassize;
465 return ((int) val);
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/gfx_common/config/
H A Dgfx_gamma_pack.c73 int val[4]; /* Up to 4 packed values */ member in struct:__anon93
325 tbl = delta_table[offs].val;
430 Dprintf("\npack_int: ====> val=%d\n", data);
500 Dprintf(" ====> val=%d\n", data);
547 Dprintf(" ====> val=%d\n", data);
1208 printf("ix=%4d val=%4d,%03x del=%4d ddel=%4d\n",
1298 printf("ix=%4d val=%4d,%03x del=%4d ddel=%4d\n",

Completed in 962 milliseconds

12