Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 23 of 23) 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.c61 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); in wpa_driver_wext_set_scan_timeout()
63 drv->ctx); in wpa_driver_wext_set_scan_timeout()
212 if (drv->ctx == NULL) { in wpa_driver_set_backgroundscan_params()
216 wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_set_backgroundscan_params()
269 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_set_backgroundscan_params()
281 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_wext_driver_cmd()
304 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_wext_driver_cmd()
341 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.c64 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); in wpa_driver_wext_set_scan_timeout()
66 drv->ctx); in wpa_driver_wext_set_scan_timeout()
215 if (drv->ctx == NULL) { in wpa_driver_set_backgroundscan_params()
219 wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_set_backgroundscan_params()
272 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_set_backgroundscan_params()
284 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_wext_driver_cmd()
307 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_wext_driver_cmd()
344 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_wext_driver_cmd()
Ddriver_cmd_nl80211.c42 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
141 if (drv->ctx == NULL) { in wpa_driver_set_backgroundscan_params()
145 wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_set_backgroundscan_params()
217 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); in wpa_driver_nl80211_driver_cmd()
220 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_nl80211_driver_cmd()
229 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_nl80211_driver_cmd()
Ddriver_nl80211.h117 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/ti/wlan/mac80211/wpa_supplicant_lib/
Ddriver_mac80211.c119 wpa_driver_wext_event_wireless_custom(void *ctx, char *custom) in wpa_driver_wext_event_wireless_custom() argument
132 wpa_supplicant_event(ctx, EVENT_MICHAEL_MIC_FAILURE, &data); in wpa_driver_wext_event_wireless_custom()
175 wpa_supplicant_event(ctx, EVENT_ASSOCINFO, &data); in wpa_driver_wext_event_wireless_custom()
187 wpa_supplicant_event(ctx, EVENT_STKSTART, &data); in wpa_driver_wext_event_wireless_custom()
191 wpa_msg(ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); in wpa_driver_wext_event_wireless_custom()
193 wpa_msg(ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_wext_event_wireless_custom()
195 wpa_msg(ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_wext_event_wireless_custom()
202 void *ctx, const char *ev, size_t len) in wpa_driver_wext_event_wireless_michaelmicfailure() argument
219 wpa_supplicant_event(ctx, EVENT_MICHAEL_MIC_FAILURE, &data); in wpa_driver_wext_event_wireless_michaelmicfailure()
247 wpa_supplicant_event(drv->ctx, EVENT_PMKID_CANDIDATE, &data); in wpa_driver_wext_event_wireless_pmkidcand()
[all …]
Ddriver_mac80211_nl.c52 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
188 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); in wpa_driver_nl80211_driver_cmd()
191 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_nl80211_driver_cmd()
193 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_nl80211_driver_cmd()
Ddriver_nl80211.h88 void *ctx; member
/hardware/ti/wlan/wl1271/wpa_supplicant_lib/
Ddriver_ti.c149 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_tista_private_send()
169 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_tista_driver_start()
188 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_tista_driver_stop()
196 int wpa_driver_tista_parse_custom(void *ctx, const void *custom) in wpa_driver_tista_parse_custom() argument
266 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_tista_scan()
314 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv->wext, drv->ctx); in wpa_driver_tista_scan()
316 drv->wext, drv->ctx); in wpa_driver_tista_scan()
618 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_tista_driver_cmd()
636 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); in wpa_driver_tista_driver_cmd()
642 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_tista_driver_cmd()
[all …]
Ddriver_ti.h68 void *ctx; member
/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.cpp224 char *ctx; in stringToRational() local
231 temp = strtok_r(tempVal, ".", &ctx); in stringToRational()
239 temp = strtok_r(NULL, ".", &ctx); in stringToRational()
DCameraHal.cpp3215 char *ctx, *pWidth, *pHeight; in parseResolution() local
3232 pWidth = strtok_r( (char *) resStr_copy, sep, &ctx); in parseResolution()
3247 pHeight = strtok_r(NULL, sep, &ctx); in parseResolution()
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_script.cpp101 char *cmd, *ctx, *cycle_cmd, *temp_cmd; in execute_functional_script() local
116 cmd = strtok_r((char *) script, DELIMITER, &ctx); in execute_functional_script()
172 cycle_cmd = get_cycle_cmd(ctx); in execute_functional_script()
199 ctx += tLen + 1; in execute_functional_script()
1017 cmd = strtok_r(NULL, DELIMITER, &ctx); in execute_functional_script()
1195 char *cmd, *ctx; in execute_error_script() local
1201 cmd = strtok_r((char *) script, DELIMITER, &ctx); in execute_error_script()
1379 cmd = strtok_r(NULL, DELIMITER, &ctx); in execute_error_script()
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
DDBAdapter.java52 public DBAdapter(Context ctx) in DBAdapter() argument
54 this.context = ctx; in DBAdapter()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapture.cpp322 char *ctx, *expVal; in parseExpRange() local
354 expVal = strtok_r( (char *) tmp, CameraHal::PARAMS_DELIMITER, &ctx); in parseExpRange()
360 expVal = strtok_r(NULL, CameraHal::PARAMS_DELIMITER, &ctx); in parseExpRange()