Searched defs:error (Results 1 - 21 of 21) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_dp_i2c_helper.c200 int error; local
202 error = i2c_dp_aux_prepare_bus(adapter);
203 if (error)
204 return error;
205 // error = i2c_add_adapter(adapter);
206 return error;
H A Ddrm_fb_helper.c177 bool error = false; local
181 return error;
196 error = true;
201 error = true;
203 return error;
208 bool ret, error = false; local
220 error = true;
222 return error;
892 * 0 on success and a non-zero error code otherwise.
/solaris-x11-s11/open-src/kernel/efb/src/
H A Dradeon_drv.c159 int error; local
163 if ((error = ddi_soft_state_init(&radeon_statep,
165 return (error);
171 if ((error = mod_install(&modlinkage)) != 0) {
173 return (error);
176 return (error);
183 int error; local
185 if ((error = mod_remove(&modlinkage)) != 0)
186 return (error);
301 int error local
[all...]
H A Ddrm_sunmod.c81 int error; local
100 error = ddi_create_minor_node(dip, buf, S_IFCHR,
102 if (error != DDI_SUCCESS) {
109 error = pci_config_setup(dip, &pci_cfg_handle);
110 if (error != DDI_SUCCESS) {
/solaris-x11-s11/open-src/app/xcolor/sun-src/
H A Dxcolor.c61 #define error(...) do { fprintf(stderr, __VA_ARGS__) ; exit(1); } while (0) macro
275 error("usage: %s [-display dpystr] [-geometry geomstr]\n"
280 error("%s: unable to open display, %s.\n", pname,
300 error("%s: unable to create colormap (%d).\n", pname, stat);
/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Dcmap_grab.c461 int error = 0 ; local
471 error |= munmap((char *)cginfo->cm_unlockp,CM_PAGESZ) < 0 ;
473 error |= munmap((char *)cginfo->cm_lockp,CM_PAGESZ) < 0 ;
476 error |= close(cginfo->cm_lockfd) ;
479 error |= _dga_winlockdt(cginfo->cm_lockp, cginfo->cm_unlockp) < 0 ;
483 error |= munmap(cginfo->cm_info, filelen) < 0 ;
485 error |= close(cginfo->cm_infofd) < 0 ;
487 error |= close(cginfo->cm_devfd) < 0 ;
492 error = 1 ;
500 return error
[all...]
/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dxlock.c228 error(const char *format, ...) function
275 * an error message and exit.
290 error("couldn't grab keyboard! (%d)\n", status);
302 error("couldn't grab pointer! (%d)\n", status);
610 /* timeout or other error */
697 * pam_status = PAM error code; reason for failure.
737 * pam_status = PAM error code; reason for failure.
1122 error("caught terminate signal.\nAccess control list restored.\n");
1197 error("can't even find %s!!!\n", FALLBACK_FONTNAME);
1201 error("ca
[all...]
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_drv.c416 int error; local
536 int error; local
549 error = i915_drm_freeze(dev);
550 if (error)
551 return error;
560 int error = 0; local
572 error = i915_gem_init_hw(dev);
597 return error;
604 int error = 0; local
616 return error;
[all...]
H A Di915_gem.c88 i915_gem_wait_for_error(struct i915_gpu_error *error) argument
91 #define EXIT_COND (!i915_reset_in_progress(error) || \
92 i915_terminally_wedged(error))
399 * On error, the contents of *data are undefined.
587 * On error, the contents of the buffer that were to be modified are undefined.
657 i915_gem_check_wedge(struct i915_gpu_error *error, argument
660 if (i915_reset_in_progress(error)) {
667 if (i915_terminally_wedged(error))
1946 * Returns 0 if successful, else an error is returned with the remaining time in
2037 * Returns 0 if successful, else propagates up the lower layer error
[all...]
H A Di915_irq.c220 * reporting for one pipe may also disable all the other CPU error interruts for
263 * error interruts for the other transcoders, due to the fact that there's just
712 * ivybridge_parity_work - Workqueue called when a parity error interrupt
756 DRM_DEBUG("Parity error: Row = %d, Bank = %d, Sub bank = %d.\n",
792 DRM_ERROR("GT error interrupt 0x%08x\n", gt_iir);
909 DRM_ERROR("VEBOX CS error interrupt 0x%08x\n", pm_iir);
1036 DRM_DEBUG_DRIVER("PCH transcoder CRC error interrupt\n");
1356 * i915_error_work_func - do process context error handling work
1359 * Fire an error uevent so userspace can see that a hang or error
1364 struct i915_gpu_error *error = container_of(work, struct i915_gpu_error, local
1555 struct drm_i915_error_state *error = container_of(error_ref, local
1627 i915_gem_record_fences(struct drm_device *dev, struct drm_i915_error_state *error) argument
1701 i915_record_ring_state(struct drm_device *dev, struct drm_i915_error_state *error, struct intel_ring_buffer *ring) argument
1746 i915_gem_record_active_context(struct intel_ring_buffer *ring, struct drm_i915_error_state *error, struct drm_i915_error_ring *ering) argument
1765 i915_gem_record_rings(struct drm_device *dev, struct drm_i915_error_state *error) argument
1823 struct drm_i915_error_state *error; local
1940 struct drm_i915_error_state *error; local
[all...]
H A Dintel_dp.c402 /* Check for timeout or receive error.
406 DRM_ERROR("dp_aux_ch receive error status 0x%08x\n", status);
3087 int type, error; local
3183 error = intel_dp_i2c_init(intel_dp, intel_connector, name);
3184 if(error)
3185 DRM_ERROR("intel_dp_i2c_init failed with error %d for port %c\n",
3186 error, port_name(port));
H A Dintel_overlay.c1450 struct intel_overlay_error_state *error; local
1456 error = kmalloc(sizeof(*error), GFP_ATOMIC);
1457 if (error == NULL)
1460 error->dovsta = I915_READ(DOVSTA);
1461 error->isr = I915_READ(ISR);
1463 error->base = (long) overlay->reg_bo->phys_obj->handle->vaddr;
1465 error->base = (long) overlay->reg_bo->gtt_offset;
1471 memcpy(&error->regs, regs, sizeof(struct overlay_registers));
1474 return error;
1482 intel_overlay_print_error_state(struct intel_overlay_error_state *error) argument
[all...]
H A Dintel_display.c2258 /* IVB wants error correction enabled */
2935 /* Write the TU size bits before fdi link training, so that error
10146 struct intel_display_error_state *error; local
10158 error = kmalloc(sizeof(*error), GFP_ATOMIC);
10159 if (error == NULL)
10163 error->power_well_driver = I915_READ(HSW_PWR_WELL_DRIVER);
10168 error->cursor[i].control = I915_READ(CURCNTR(i));
10169 error->cursor[i].position = I915_READ(CURPOS(i));
10170 error
10223 intel_display_print_error_state(struct drm_i915_error_state_buf *m, struct drm_device *dev, struct intel_display_error_state *error) argument
[all...]
H A Di915_drv.h293 u32 error; /* gen6+ */ member in struct:drm_i915_error_state
1738 int i915_gem_check_wedge(struct i915_gpu_error *error,
1740 static inline bool i915_reset_in_progress(struct i915_gpu_error *error) argument
1742 return (atomic_read(&error->reset_counter)
1746 static inline bool i915_terminally_wedged(struct i915_gpu_error *error) argument
1748 return atomic_read(&error->reset_counter) == I915_WEDGED;
1950 extern void intel_overlay_print_error_state(struct seq_file *m, struct intel_overlay_error_state *error);
1955 struct intel_display_error_state *error);
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1TextAction.c664 int count, error = XawEditDone; local
679 error = XawEditError;
685 return(error);
962 int count, error; local
983 error = _XawTextReplace(ctx, ctx->text.insertPos,ctx->text.insertPos, &text);
985 if (error == XawEditDone) {
H A DXaw3_1Text.c1620 int i, line1, delta, error; local
1651 if ( (error = SrcReplace(src, pos1, pos2, text)) != 0) {
1653 return(error);
2842 * an error.
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Ddpsclient.c149 /* we're about to call the error handler, so roll back the
2118 /* Assumes below that any error proc called uses dpsexcept.h
2157 /* Assumes below that any error proc called uses dpsexcept.h
2163 DPSAssertWarn(nch == m, cc, "some converted PostScript language may be lost during error recovery (nch!=m)");
2388 char *error, *errorName; local
2402 error = (char *)(((char *) ary) + elements[2].val.nameVal);
2411 (*textProc)(ctxt, error, errorCount);
2705 return -1; /* report an error */
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DTextAction.c1109 int count, error = XawEditDone; local
1131 error = XawEditError;
1137 return( error );
1535 int count, error; local
1569 error = _XawTextReplace(ctx, ctx->text.insertPos,ctx->text.insertPos, &text);
1571 if (error == XawEditDone) {
1707 if ( text.ptr == NULL ) { /* conversion error */
H A DText.c1953 int i, line1, error; local
1985 if ( (error = SrcReplace(src, pos1, pos2, text)) != 0) {
1987 return(error);
3455 * an error.
/solaris-x11-s11/open-src/xserver/xorg/sun-src/tsol/
H A Dauditwrite.c106 #define AW_PARSE_ERR(flags, error) \
109 aw_set_err(error); \
115 #define AW_GEN_ERR(error) \
117 aw_set_err(error); \
292 int aw_errno = AW_ERR_NO_ERROR; /* error number */
295 "No error",
371 static void aw_set_err(int error);
652 * Called when an an error occurs. Write any incomplete or buffered records.
681 (aw_err_mesg = aw_strerror(aw_errno)) ? aw_err_mesg : "unknown error",
683 (err_mesg = strerror(errno)) ? err_mesg : "unknown error");
2406 aw_set_err(int error) argument
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DDPSScrollW.c816 static int PixmapHandler(Display *dpy, XErrorEvent *error) argument
818 if (error->error_code == BadAlloc &&
819 error->request_code == X_CreatePixmap) {
822 } else return (*oldHandler) (dpy, error);

Completed in 136 milliseconds