Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 17 of 17) sorted by relevance

/hardware/msm7k/libcopybit/
Dcopybit.cpp250 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; in set_parameter_copybit() local
252 if (ctx) { in set_parameter_copybit()
257 ctx->mFlags &= ~0x7; in set_parameter_copybit()
260 ctx->mFlags &= ~0x7; in set_parameter_copybit()
261 ctx->mFlags |= MDP_ROT_90; in set_parameter_copybit()
264 ctx->mFlags &= ~0x7; in set_parameter_copybit()
265 ctx->mFlags |= MDP_ROT_180; in set_parameter_copybit()
268 ctx->mFlags &= ~0x7; in set_parameter_copybit()
269 ctx->mFlags |= MDP_ROT_270; in set_parameter_copybit()
280 ctx->mAlpha = value; in set_parameter_copybit()
[all …]
/hardware/broadcom/wlan/bcm4329/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c58 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); in wpa_driver_wext_set_scan_timeout()
60 drv->ctx); in wpa_driver_wext_set_scan_timeout()
76 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_wext_combo_scan()
210 if (drv->ctx == NULL) { in wpa_driver_set_backgroundscan_params()
214 wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_set_backgroundscan_params()
267 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_set_backgroundscan_params()
279 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_wext_driver_cmd()
302 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_wext_driver_cmd()
339 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_wext_driver_cmd()
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c59 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); in wpa_driver_wext_set_scan_timeout()
61 drv->ctx); in wpa_driver_wext_set_scan_timeout()
77 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_wext_combo_scan()
211 if (drv->ctx == NULL) { in wpa_driver_set_backgroundscan_params()
215 wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_set_backgroundscan_params()
268 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_set_backgroundscan_params()
280 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_wext_driver_cmd()
303 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_wext_driver_cmd()
340 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_wext_driver_cmd()
Ddriver_cmd_nl80211.c41 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
140 if (drv->ctx == NULL) { in wpa_driver_set_backgroundscan_params()
144 wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_set_backgroundscan_params()
216 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); in wpa_driver_nl80211_driver_cmd()
219 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_nl80211_driver_cmd()
228 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_nl80211_driver_cmd()
Ddriver_nl80211.h88 void *ctx; member
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp98 struct hwc_context_t* ctx = (struct hwc_context_t*)dev; in hwc_device_close() local
99 if (ctx) { in hwc_device_close()
100 free(ctx); in hwc_device_close()
/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp63 fb_context_t* ctx = (fb_context_t*)dev; in fb_setSwapInterval() local
76 fb_context_t* ctx = (fb_context_t*)dev; in fb_setUpdateRect() local
90 fb_context_t* ctx = (fb_context_t*)dev; in fb_post() local
303 fb_context_t* ctx = (fb_context_t*)dev; in fb_close() local
304 if (ctx) { in fb_close()
305 free(ctx); in fb_close()
Dgralloc.cpp275 gralloc_context_t* ctx = reinterpret_cast<gralloc_context_t*>(dev); in gralloc_close() local
276 if (ctx) { in gralloc_close()
280 free(ctx); in gralloc_close()
/hardware/msm7k/libgralloc/
Dframebuffer.cpp66 fb_context_t* ctx = (fb_context_t*)dev; in fb_setSwapInterval() local
79 fb_context_t* ctx = (fb_context_t*)dev; in fb_setUpdateRect() local
93 fb_context_t* ctx = (fb_context_t*)dev; in fb_post() local
322 fb_context_t* ctx = (fb_context_t*)dev; in fb_close() local
323 if (ctx) { in fb_close()
324 free(ctx); in fb_close()
Dgralloc.cpp566 gralloc_context_t* ctx = reinterpret_cast<gralloc_context_t*>(dev); in gralloc_close() local
567 if (ctx) { in gralloc_close()
571 free(ctx); in gralloc_close()
/hardware/msm7k/libgralloc-qsd8k/
Dframebuffer.cpp70 fb_context_t* ctx = (fb_context_t*)dev; in fb_setSwapInterval() local
83 fb_context_t* ctx = (fb_context_t*)dev; in fb_setUpdateRect() local
97 fb_context_t* ctx = (fb_context_t*)dev; in fb_post() local
357 fb_context_t* ctx = (fb_context_t*)dev; in fb_close() local
358 if (ctx) { in fb_close()
359 free(ctx); in fb_close()
Dgpu.cpp330 gpu_context_t* ctx = reinterpret_cast<gpu_context_t*>(dev); in gralloc_close() local
331 if (ctx) { in gralloc_close()
335 delete ctx; in gralloc_close()
/hardware/ti/omap4xxx/camera/
DCameraHalUtilClasses.cpp205 char *ctx; in parseAreas() local
232 pArea = strtok_r(tmpBuffer, startToken, &ctx); in parseAreas()
322 pArea = strtok_r(NULL, startToken, &ctx); in parseAreas()
DEncoder_libjpeg.cpp223 char *ctx; in stringToRational() local
230 temp = strtok_r(tempVal, ".", &ctx); in stringToRational()
238 temp = strtok_r(NULL, ".", &ctx); in stringToRational()
DCameraHal.cpp3147 char *ctx, *pWidth, *pHeight; in parseResolution() local
3164 pWidth = strtok_r( (char *) resStr_copy, sep, &ctx); in parseResolution()
3179 pHeight = strtok_r(NULL, sep, &ctx); in parseResolution()
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_script.cpp107 char *cmd, *ctx, *cycle_cmd, *temp_cmd; in execute_functional_script() local
122 cmd = strtok_r((char *) script, DELIMITER, &ctx); in execute_functional_script()
178 cycle_cmd = get_cycle_cmd(ctx); in execute_functional_script()
205 ctx += tLen + 1; in execute_functional_script()
1023 cmd = strtok_r(NULL, DELIMITER, &ctx); in execute_functional_script()
1201 char *cmd, *ctx; in execute_error_script() local
1207 cmd = strtok_r((char *) script, DELIMITER, &ctx); in execute_error_script()
1385 cmd = strtok_r(NULL, DELIMITER, &ctx); in execute_error_script()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapture.cpp327 char *ctx, *expVal; in parseExpRange() local
359 expVal = strtok_r( (char *) tmp, CameraHal::PARAMS_DELIMITER, &ctx); in parseExpRange()
365 expVal = strtok_r(NULL, CameraHal::PARAMS_DELIMITER, &ctx); in parseExpRange()