Searched defs:ret (Results 1 - 25 of 87) sorted by relevance

1234

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_sysfs.c63 int ret; local
67 ret = agpmaster_attach(dev->devinfo,
70 if (ret != DDI_SUCCESS) {
72 return (ret);
79 ret = gfxp_vgatext_attach(dev->devinfo, DDI_ATTACH, gfxp);
80 if (ret != DDI_SUCCESS) {
86 ret = ddi_create_minor_node(dev->devinfo,
88 if (ret != DDI_SUCCESS) {
97 ret = ddi_create_minor_node(dev->devinfo,
99 if (ret !
[all...]
H A Ddrm_sun_workqueue.c36 int ret; local
45 if ((ret = ddi_taskq_dispatch(wq->taskq, work->func, work, DDI_SLEEP))
48 return (ret);
H A Ddrm_lock.c62 int ret = 0; local
93 ret = cv_wait_sig(&master->lock.lock_cv,
95 if (ret == 0) {
96 ret = -EINTR;
104 ret ? "interrupted" : "has lock");
105 if (ret) return ret;
279 int ret = 0; local
285 ret = drm_lock_take(lock_data, DRM_KERNEL_CONTEXT);
287 if (ret
[all...]
H A Ddrm_dp_i2c_helper.c41 int ret; local
43 ret = (*algo_data->aux_ch)(adapter, mode,
45 return ret;
62 int ret; local
70 ret = i2c_algo_dp_aux_transaction(adapter, mode, 0, NULL);
71 return ret;
102 int ret; local
107 ret = i2c_algo_dp_aux_transaction(adapter, MODE_I2C_WRITE, byte, NULL);
108 return ret;
119 int ret; local
133 int ret = 0; local
[all...]
H A Ddrm_pci.c219 int ret; local
223 ret = do_get_pci_res(dev, &res);
225 if (ret != 0) {
238 int ret; local
242 ret = do_get_pci_res(softstate, &res);
244 if (ret != 0) {
H A Ddrm_context.c87 int ret; local
95 ret = idr_get_new_above(&dev->ctx_idr, NULL,
98 if (ret == -EAGAIN)
100 else if (ret)
101 return ret;
H A Ddrm_stub.c54 int ret; local
83 ret = idr_get_new_above(&drm_minors_idr, NULL,
87 if (ret) {
88 return ret;
179 int ret = 0; local
199 ret = dev->driver->master_set(dev, file, false);
200 if (unlikely(ret != 0)) {
311 int ret; local
322 ret = -ENOMEM;
346 ret
376 int ret; local
[all...]
H A Ddrm_sun_i2c.c32 #define I2C_HI_CLOCK(adap, ret) \
34 ret = i2c_setscl(adap); \
35 if (ret) { \
40 return ret; \
103 int ret = 0; local
108 ret = i2c_setscl(adap);
109 if (ret) {
113 return ret;
135 int ret; local
150 I2C_HI_CLOCK(adap, ret);
170 int ret = 0, i; local
216 int ret, r, i; local
256 int ret; local
284 int ret; local
320 int ret; local
351 int i, ret; local
374 int i, ret; local
398 int ret; local
421 int i, ret = 0; local
472 int i, ret = 0; local
[all...]
H A Ddrm_sun_pci.c60 int *regs, ret, len, i; local
68 ret = pci_config_setup(dip, &pdev->pci_cfg_acc_handle);
69 if (ret != DDI_SUCCESS) {
78 ret = ddi_prop_lookup_int_array(DDI_DEV_T_ANY, dip,
80 if (ret != DDI_PROP_SUCCESS) {
90 ret = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
92 if (ret == -1) {
96 if (ret > 0)
111 ret = ddi_getlongprop(DDI_DEV_T_ANY, dip,
113 if (ret !
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DXawI18n.c84 int ret = 0; local
87 ret = 1;
88 return ret;
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_lock.c125 int ret = 0; local
143 ret = cv_wait_sig(&(dev->lock.lock_cv),
146 if (ret == 0) {
H A Ddrm_irq.c67 int ret; local
70 ret = dev->driver->irq_handler(arg);
73 return (ret);
117 int ret; local
137 ret = drm_install_irq_handle(dev);
138 if (ret != DDI_SUCCESS) {
140 return (ret);
215 int ret, flags; local
278 ret = EINVAL;
283 ret
[all...]
H A Ddrm_memory.c158 int ret; local
170 ret = ddi_regs_map_setup(devi, iomap->drm_regnum,
173 if (ret < 0) {
187 int ret; local
194 ret = do_ioremap(softstate->dip, &iomap);
196 if (ret) {
199 return (ret);
H A Dradeon_irq.c121 unsigned int ret; local
125 ret = atomic_read(&dev_priv->swi_emitted);
128 OUT_RING_REG(RADEON_LAST_SWI_REG, ret);
133 return (ret);
140 int ret = 0; local
147 DRM_WAIT_ON(ret, &dev_priv->swi_queue, 3 * DRM_HZ,
150 return (ret);
159 int ret = 0; local
186 DRM_WAIT_ON(ret, &dev->vbl_queue, 3 * DRM_HZ,
191 return (ret);
[all...]
/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_modes.c46 int ret; local
49 ret = drm_add_edid_modes(connector, edid);
52 return ret;
66 int ret; local
72 ret = intel_connector_update_modes(connector, edid);
74 return ret;
H A Di915_gem_evict.c56 int ret = 0; local
113 ret = drm_mm_scan_remove_block(obj->gtt_space);
114 BUG_ON(ret);
146 if (ret == 0)
147 ret = i915_gem_object_unbind(obj, 1);
152 return ret;
161 int ret; local
172 ret = i915_gpu_idle(dev);
173 if (ret)
174 return ret;
[all...]
H A Dintel_fb.c52 int size, ret; local
75 ret = -ENOMEM;
81 ret = intel_framebuffer_init(dev, &ifbdev->ifb, &mode_cmd, obj);
82 if (ret)
99 return ret;
127 int ret; local
136 ret = drm_fb_helper_init(dev, &ifbdev->helper,
139 if (ret) {
141 return ret;
176 int ret; local
[all...]
H A Di915_gem_context.c113 int ret = 0; local
119 ret = GEN6_CXT_TOTAL_SIZE(reg) * 64;
124 ret = HSW_CXT_TOTAL_SIZE;
126 ret = GEN7_CXT_TOTAL_SIZE(reg) * 64;
132 return ret;
150 int ret, id; local
165 ret = i915_gem_object_set_cache_level(ctx->obj,
167 if (ret)
184 ret = -ENOMEM;
189 ret
220 int ret; local
373 int ret; local
421 int ret; local
549 int ret; local
577 int ret; local
[all...]
H A Di915_gem_tiling.c303 int ret = 0; local
377 ret = i915_gem_object_unbind(obj, 1);
380 if (ret == 0) {
413 return ret;
/solaris-x11-s11/open-src/lib/libX11/sun-src/src/xlibi18n/lcUniConv/
H A Dgb18030.h54 int ret; local
66 ret = gb18030uni_mbtowc(conv,pwc,buf,4);
67 if (ret != RET_ILSEQ)
68 ret = 2;
70 return ret;
77 ret = gbk_mbtowc(conv,pwc,s,n);
78 if (ret != RET_ILSEQ)
79 return ret;
81 ret = gb18030ext_mbtowc(conv,pwc,s,n);
82 if (ret !
129 int ret; local
[all...]
H A Dksc5601_1992.h4160 int ret = RET_ILSEQ; local
4205 ret = ksc5601_wctomb(conv, buf, wc, 2);
4206 if (ret != RET_ILSEQ) {
4207 if (ret != 2) abort();
4220 return ret;
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DcsstartNX.c163 int ret; local
171 ret = TryTCP();
173 default: ret = -1;
175 return(ret);
/solaris-x11-s11/open-src/lib/libXmu/sun-src/src/
H A DCmapEquiv.c179 Bool ret = areEquiv(prop, pVis1->visualid, pVis2->visualid); local
181 return ret;
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/ast/
H A Dmemory.c297 register uint_t ret; local
299 ret = (uint_t)mrand48();
300 return (ret);
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/efb/
H A Dmemory.c299 register uint_t ret; local
301 ret = (uint_t)mrand48();
302 return (ret);

Completed in 53 milliseconds

1234