/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/ |
H A D | read.c | 66 extern LexRec val; 95 ptr->conf_comment = xf86addComment(ptr->conf_comment, val.str); 104 xf86setSection (val.str); 105 if (xf86nameCompare (val.str, "files") == 0) 107 xf86conffree(val.str); 108 val.str = NULL; 111 else if (xf86nameCompare (val.str, "serverflags") == 0) 113 xf86conffree(val.str); 114 val.str = NULL; 117 else if (xf86nameCompare (val [all...] |
H A D | Pointer.c | 66 extern LexRec val; 112 ptr->inp_comment = xf86addComment(ptr->inp_comment, val.str); 119 val.str); 126 val.str); 134 if (xf86getSubToken (&(ptr->inp_comment)) != NUMBER || val.num < 0) 136 s = xf86uLongToString(val.num); 147 if (xf86getSubToken (&(ptr->inp_comment)) != NUMBER || val.num < 0) 149 s = xf86uLongToString(val.num); 154 if (xf86getSubToken (&(ptr->inp_comment)) != NUMBER || val.num < 0) 156 s = xf86uLongToString(val [all...] |
H A D | Keyboard.c | 67 extern LexRec val; 128 ptr->inp_comment = xf86addComment(ptr->inp_comment, val.str); 135 val.str); 140 s1 = xf86uLongToString(val.num); 145 s2 = xf86uLongToString(val.num); 157 s = xf86uLongToString(val.num); 161 s1 = xf86uLongToString(val.num); 212 val.str); 219 val.str); 226 val [all...] |
H A D | DRI.c | 38 extern LexRec val; 59 ptr->buf_count = val.num; 63 ptr->buf_size = val.num; 66 ptr->buf_flags = val.str; 68 ptr->buf_comment = xf86addComment(ptr->buf_comment, val.str); 97 ptr->dri_group_name = val.str; 99 ptr->dri_group = val.num; 106 ptr->dri_mode = val.num; 116 ptr->dri_comment = xf86addComment(ptr->dri_comment, val.str);
|
H A D | Device.c | 70 extern LexRec val; 134 ptr->dev_comment = xf86addComment(ptr->dev_comment, val.str); 141 ptr->dev_identifier = val.str; 147 ptr->dev_vendor = val.str; 152 ptr->dev_board = val.str; 157 ptr->dev_chipset = val.str; 162 ptr->dev_card = val.str; 167 ptr->dev_driver = val.str; 172 ptr->dev_ramdac = val.str; 183 ptr->dev_dacSpeeds[0] = (int) (val [all...] |
H A D | Screen.c | 70 extern LexRec val; 113 mon_entry.scrn_monitor_num = val.num; 124 mon_entry.scrn_monitor_name = val.str; 213 ptr->disp_comment = xf86addComment(ptr->disp_comment, val.str); 218 ptr->disp_frameX0 = val.num; 221 ptr->disp_frameY0 = val.num; 226 ptr->disp_virtualX = val.num; 229 ptr->disp_virtualY = val.num; 237 ptr->disp_monitor_num = val.num; 242 ptr->disp_depth = val [all...] |
H A D | Monitor.c | 70 extern LexRec val; 161 ptr->ml_identifier = val.str; 166 ptr->ml_clock = (int) (val.realnum * 1000.0 + 0.5); 171 ptr->ml_hdisplay = val.num; 176 ptr->ml_hsyncstart = val.num; 181 ptr->ml_hsyncend = val.num; 186 ptr->ml_htotal = val.num; 191 ptr->ml_vdisplay = val.num; 196 ptr->ml_vsyncstart = val.num; 201 ptr->ml_vsyncend = val [all...] |
H A D | Module.c | 67 extern LexRec val; 104 ptr->load_comment = xf86addComment(ptr->load_comment, val.str); 136 ptr->mod_comment = xf86addComment(ptr->mod_comment, val.str); 142 xf86addNewLoadDirective (ptr->mod_load_lst, val.str, 149 xf86addNewLoadDirective (ptr->mod_load_lst, val.str, 156 xf86parseModuleSubSection (ptr->mod_load_lst, val.str); 240 new->load_comment = xf86addComment(new->load_comment, val.str);
|
H A D | Files.c | 69 extern LexRec val; 109 ptr->file_comment = xf86addComment(ptr->file_comment, val.str); 115 str = prependRoot (val.str); 137 xf86conffree (val.str); 142 ptr->file_rgbpath = val.str; 148 str = prependRoot (val.str); 169 xf86conffree (val.str); 175 str = prependRoot (val.str); 196 xf86conffree (val.str); 201 ptr->file_logfile = val [all...] |
H A D | Layout.c | 69 extern LexRec val; 107 ptr->lay_comment = xf86addComment(ptr->lay_comment, val.str); 114 ptr->lay_identifier = val.str; 127 iptr->inactive_device_str = val.str; 145 aptr->adj_scrnum = val.num; 153 aptr->adj_screen_str = val.str; 196 aptr->adj_x = val.num; 202 aptr->adj_y = val.num; 221 aptr->adj_refscreen = val.str; 229 aptr->adj_x = val [all...] |
/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | dvo_ivch.c | 383 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 D | dvo_tfp410.c | 279 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 D | intel_sideband.c | 30 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 D | intel_hdmi.c | 147 u32 val = I915_READ(VIDEO_DIP_CTL); local 150 if (!(val & VIDEO_DIP_ENABLE)) 153 val &= ~(VIDEO_DIP_SELECT_MASK | 0xf); /* clear DIP data offset */ 154 val |= g4x_infoframe_index(frame); 156 val &= ~g4x_infoframe_enable(frame); 158 I915_WRITE(VIDEO_DIP_CTL, val); 170 val |= g4x_infoframe_enable(frame); 171 val &= ~VIDEO_DIP_FREQ_MASK; 172 val |= VIDEO_DIP_FREQ_VSYNC; 174 I915_WRITE(VIDEO_DIP_CTL, val); 188 u32 val = I915_READ(reg); local 228 u32 val = I915_READ(reg); local 271 u32 val = I915_READ(reg); local 312 u32 val = I915_READ(ctl_reg); local 392 u32 val = I915_READ(reg); local 457 u32 val = I915_READ(reg); local 517 u32 val = I915_READ(reg); local 552 u32 val = I915_READ(reg); local 586 u32 val = I915_READ(reg); local 960 intel_hdmi_set_property(struct drm_connector *connector, struct drm_property *property, uint64_t val) argument 1039 u32 val; local [all...] |
H A D | dvo_sil164.c | 256 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 D | intel_ddi.c | 369 uint32_t val; local 376 val = I915_READ(SPLL_CTL); 377 WARN_ON(!(val & SPLL_PLL_ENABLE)); 378 I915_WRITE(SPLL_CTL, val & ~SPLL_PLL_ENABLE); 386 val = I915_READ(WRPLL_CTL1); 387 WARN_ON(!(val & WRPLL_PLL_ENABLE)); 388 I915_WRITE(WRPLL_CTL1, val & ~WRPLL_PLL_ENABLE); 396 val = I915_READ(WRPLL_CTL2); 397 WARN_ON(!(val & WRPLL_PLL_ENABLE)); 398 I915_WRITE(WRPLL_CTL2, val 643 uint32_t reg, val; local 854 uint32_t val = I915_READ(reg); local 1072 uint32_t val; local 1078 I915_WRITE(DDI_BUF_CTL(port), val); local 1085 I915_WRITE(DP_TP_CTL(port), val); local 1179 uint32_t val = I915_READ(LCPLL_CTL); local 1202 uint32_t val; local 1209 I915_WRITE(DDI_BUF_CTL(port), val); local 1216 I915_WRITE(DP_TP_CTL(port), val); local 1227 I915_WRITE(DP_TP_CTL(port), val); local 1241 uint32_t val; local [all...] |
H A D | dvo_ch7017.c | 172 static bool ch7017_read(struct intel_dvo_device *dvo, u8 addr, u8 *val) argument 185 .buf = val, 191 static bool ch7017_write(struct intel_dvo_device *dvo, uint8_t addr, uint8_t val) argument 193 uint8_t buf[2] = { addr, val }; 209 u8 val; local 218 if (!ch7017_read(dvo, CH7017_DEVICE_ID, &val)) 221 switch (val) { 234 val, adapter->name,dvo->slave_addr); 344 uint8_t val; local 346 (void) ch7017_read(dvo, CH7017_LVDS_POWER_DOWN, &val); 372 uint8_t val; local 384 uint8_t val; local [all...] |
H A D | intel_panel.c | 334 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...] |
H A D | intel_ringbuffer.h | 55 #define I915_WRITE_TAIL(ring, val) I915_WRITE(RING_TAIL((ring)->mmio_base), val) 58 #define I915_WRITE_START(ring, val) I915_WRITE(RING_START((ring)->mmio_base), val) 61 #define I915_WRITE_HEAD(ring, val) I915_WRITE(RING_HEAD((ring)->mmio_base), val) 64 #define I915_WRITE_CTL(ring, val) I915_WRITE(RING_CTL((ring)->mmio_base), val) 67 #define I915_WRITE_IMR(ring, val) I915_WRITE(RING_IMR((ring)->mmio_base), val) [all...] |
/solaris-x11-s11/open-src/kernel/sys/drm/ |
H A D | drm_sun_pci.h | 73 extern void pci_read_config_byte(struct pci_dev *dev, int where, u8 *val); 74 extern void pci_read_config_word(struct pci_dev *dev, int where, u16 *val); 75 extern void pci_read_config_dword(struct pci_dev *dev, int where, u32 *val); 76 extern void pci_write_config_byte(struct pci_dev *dev, int where, u8 val); 77 extern void pci_write_config_word(struct pci_dev *dev, int where, u16 val); 78 extern void pci_write_config_dword(struct pci_dev *dev, int where, u32 val);
|
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/ |
H A D | PannerP.h | 90 #define PANNER_HSCALE(pw,val) ((pw)->panner.haspect * ((double) (val))) 91 #define PANNER_VSCALE(pw,val) ((pw)->panner.vaspect * ((double) (val))) 93 #define PANNER_DSCALE(pw,val) (Dimension) \ 94 ((((unsigned long) (val)) * (unsigned long) pw->panner.default_scale) / 100L)
|
/solaris-x11-s11/open-src/kernel/mdb/modules/ |
H A D | i915.c | 662 i915_read(struct drm_i915_private *dev_priv, uintptr_t addr, uint32_t *val) argument 674 if (mdb_pread(val, sizeof (uint32_t), 698 uint32_t val; local 709 ret = i915_read(dev_priv, addr, &val); 714 mdb_printf("Register [0x%x]: 0x%x\n", addr, val); 746 uint32_t val; local 764 ret = i915_read(dev_priv, (uintptr_t)PGTBL_ER, &val); 766 mdb_printf("PGTBL_ER: 0x%lx\n", val); 768 ret = i915_read(dev_priv, (uintptr_t)INSTPM, &val); 770 mdb_printf("INSTPM: 0x%lx\n", val); 1380 uint32_t val; local 1615 uint32_t val; local 1722 uint32_t val = 0; local 1930 uint32_t val = 0; local 2026 uint32_t val = 0; local [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/ |
H A D | FontSBI.h | 52 extern float _FSBNormalize(int val, BlendDataRec *bd, int i); 53 extern int _FSBUnnormalize(double val, BlendDataRec *bd, int i); 54 extern String _FSBGenFontName(String name, int *val, BlendDataRec *bd);
|
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_sun_pci.c | 149 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/pswrap/ |
H A D | psw.c | 137 while((temp->next != NULL) && strcmp((char *)(temp->token->val), (char *)(t->val))) 289 tag = PSWDictLookup(wellKnownPSNames, (char *)(t->val)); 473 c->token = (Body)c->token->val; 484 if ((t->type == T_STRING) ? PSWStringLength(t->val) 485 : PSWHexStringLength(t->val)) 547 nextAdr.cnst += t->namedFormal->subscript->val * DPS_BINOBJ_SIZE; 553 if (PSWDictLookup(wrapDict, (char *)t->val) == -1) { 555 PSWDictEnter(wrapDict, t->val, 0); 559 ln = PSWStringLength((char *)t->val); 1409 int val = item->subscript->val; local 1723 int val = t->namedFormal->subscript->val; local [all...] |