Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 52) sorted by relevance

123

/hardware/ti/wlan/mac80211/ti-utils/
Dplt.c43 struct nl_msg *msg, int argc, char **argv) in plt_power_mode() argument
62 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); in plt_power_mode()
68 NLA_PUT_U32(msg, WL1271_TM_ATTR_CMD_ID, WL1271_TM_CMD_SET_PLT_MODE); in plt_power_mode()
69 NLA_PUT_U32(msg, WL1271_TM_ATTR_PLT_MODE, pmode); in plt_power_mode()
71 nla_nest_end(msg, key); in plt_power_mode()
85 struct nl_msg *msg, int argc, char **argv) in plt_tune_channel() argument
98 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); in plt_tune_channel()
104 NLA_PUT_U32(msg, WL1271_TM_ATTR_CMD_ID, WL1271_TM_CMD_TEST); in plt_tune_channel()
105 NLA_PUT(msg, WL1271_TM_ATTR_DATA, in plt_tune_channel()
109 nla_nest_end(msg, key); in plt_tune_channel()
[all …]
Dmisc_cmds.c21 struct nl_msg *msg, in handle_push_nvs() argument
50 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA); in handle_push_nvs()
55 NLA_PUT_U32(msg, WL1271_TM_ATTR_CMD_ID, WL1271_TM_CMD_NVS_PUSH); in handle_push_nvs()
56 NLA_PUT(msg, WL1271_TM_ATTR_DATA, filestat.st_size, map); in handle_push_nvs()
58 nla_nest_end(msg, key); in handle_push_nvs()
82 struct nl_msg *msg,
94 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA);
98 NLA_PUT_U32(msg, WL1271_TM_ATTR_CMD_ID, WL1271_TM_CMD_NVS_PUSH);
99 NLA_PUT_U32(msg, WL1271_TM_ATTR_IE_ID, WL1271_TM_CMD_NVS_PUSH);
101 nla_nest_end(msg, key);
[all …]
Dcalibrator.c212 struct nl_msg *msg, in print_help() argument
262 static int finish_handler(struct nl_msg *msg, void *arg) in finish_handler() argument
270 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler() argument
283 struct nl_msg *msg; in __handle_cmd() local
417 msg = nlmsg_alloc(); in __handle_cmd()
418 if (!msg) { in __handle_cmd()
430 genlmsg_put(msg, 0, 0, genl_family_get_id(state->nl80211), 0, in __handle_cmd()
435 NLA_PUT_U32(msg, NL80211_ATTR_WIPHY, devidx); in __handle_cmd()
438 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, devidx); in __handle_cmd()
444 err = cmd->handler(state, cb, msg, argc, argv); in __handle_cmd()
[all …]
/hardware/ti/omap4xxx/libtiutils/
DMessageQueue.cpp99 android::status_t MessageQueue::get(Message* msg) in get() argument
103 if(!msg) in get()
117 char* p = (char*) msg; in get()
120 while( read_bytes < sizeof(*msg) ) in get()
122 int err = read(this->fd_read, p, sizeof(*msg) - read_bytes); in get()
135 MSGQ_LOGDB("MQ.get(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg->arg2,msg->arg3,msg->arg4); in get()
187 android::status_t MessageQueue::put(Message* msg) in put() argument
191 char* p = (char*) msg; in put()
194 if(!msg) in put()
209 MSGQ_LOGDB("MQ.put(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg->arg2,msg->arg3,msg->arg4); in put()
[all …]
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/core/
DJFmLog.java24 public static int v(String tag, String msg) { in v() argument
25 return Log.v(tag, msg); in v()
28 public static int d(String tag, String msg) { in d() argument
29 return Log.d(tag, msg); in d()
32 public static int i(String tag, String msg) { in i() argument
33 return Log.i(tag, msg); in i()
36 public static int w(String tag, String msg) { in w() argument
37 return Log.w(tag, msg); in w()
40 public static int e(String tag, String msg) { in e() argument
41 return Log.e(tag, msg); in e()
/hardware/invensense/mlsdk/platform/linux/
Dmlsl_linux_mpu.c283 struct mpu_read_write msg; in inv_serial_write() local
290 msg.address = 0; /* not used */ in inv_serial_write()
291 msg.length = length; in inv_serial_write()
292 msg.data = (unsigned char*)data; in inv_serial_write()
294 if ((result = ioctl((int)sl_handle, MPU_WRITE, &msg))) { in inv_serial_write()
321 struct mpu_read_write msg; in inv_serial_read() local
327 msg.address = registerAddr; in inv_serial_read()
328 msg.length = length; in inv_serial_read()
329 msg.data = data; in inv_serial_read()
331 result = ioctl((int)sl_handle, MPU_READ, &msg); in inv_serial_read()
[all …]
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
Ddriver_mac80211_nl.c43 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
56 static int get_link_signal(struct nl_msg *msg, void *arg) in get_link_signal() argument
59 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in get_link_signal()
106 struct nl_msg *msg; in wpa_driver_get_link_signal() local
112 msg = nlmsg_alloc(); in wpa_driver_get_link_signal()
113 if (!msg) in wpa_driver_get_link_signal()
116 genlmsg_put(msg, 0, 0, genl_family_get_id(drv->nl80211), 0, in wpa_driver_get_link_signal()
119 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex); in wpa_driver_get_link_signal()
120 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, drv->bssid); in wpa_driver_get_link_signal()
122 ret = send_and_recv_msgs(drv, msg, get_link_signal, sig); in wpa_driver_get_link_signal()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Log.c32 void _Exynos_OSAL_Log(EXYNOS_LOG_LEVEL logLevel, const char *tag, const char *msg, ...) in _Exynos_OSAL_Log() argument
36 va_start(argptr, msg); in _Exynos_OSAL_Log()
40 __android_log_vprint(ANDROID_LOG_DEBUG, tag, msg, argptr); in _Exynos_OSAL_Log()
43 __android_log_vprint(ANDROID_LOG_INFO, tag, msg, argptr); in _Exynos_OSAL_Log()
46 __android_log_vprint(ANDROID_LOG_WARN, tag, msg, argptr); in _Exynos_OSAL_Log()
49 __android_log_vprint(ANDROID_LOG_ERROR, tag, msg, argptr); in _Exynos_OSAL_Log()
52 __android_log_vprint(ANDROID_LOG_VERBOSE, tag, msg, argptr); in _Exynos_OSAL_Log()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu_nl80211.c45 static int dhd_nl_finish_handler(struct nl_msg *msg, void *arg) in dhd_nl_finish_handler() argument
52 static int dhd_nl_ack_handler(struct nl_msg *msg, void *arg) in dhd_nl_ack_handler() argument
59 static int dhd_nl_valid_handler(struct nl_msg *msg, void *arg) in dhd_nl_valid_handler() argument
103 struct nl_msg *msg; in dhd_nl_do_testmode() local
106 msg = nlmsg_alloc(); in dhd_nl_do_testmode()
107 if (msg == NULL) in dhd_nl_do_testmode()
111 genlmsg_put(msg, 0, 0, dhd_nli->nl_id, 0, 0, in dhd_nl_do_testmode()
113 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, dhd_nli->ifidx); in dhd_nl_do_testmode()
114 NLA_PUT(msg, NL80211_ATTR_TESTDATA, sizeof(*ioc), ioc); in dhd_nl_do_testmode()
116 err = nl_send_auto_complete(dhd_nli->nl, msg); in dhd_nl_do_testmode()
[all …]
/hardware/samsung_slsi/exynos5/libexynosutils/
DExynos_log.c29 void Exynos_Log(EXYNOS_DEV_LOG_LEVEL logLevel, const char *tag, const char *msg, ...) in Exynos_Log() argument
33 va_start(argptr, msg); in Exynos_Log()
37 __android_log_vprint(ANDROID_LOG_DEBUG, tag, msg, argptr); in Exynos_Log()
40 __android_log_vprint(ANDROID_LOG_WARN, tag, msg, argptr); in Exynos_Log()
43 __android_log_vprint(ANDROID_LOG_ERROR, tag, msg, argptr); in Exynos_Log()
46 __android_log_vprint(ANDROID_LOG_VERBOSE, tag, msg, argptr); in Exynos_Log()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
DNetlinkServer.cpp74 struct msghdr msg; in run() local
93 memset(&msg, 0, sizeof(msg)); in run()
96 msg.msg_iov = &iov; in run()
97 msg.msg_iovlen = 1; in run()
98 msg.msg_name = &src_addr; in run()
99 msg.msg_namelen = sizeof(src_addr); in run()
105 if ((len = recvmsg(serverSock, &msg, 0)) < 0) { in run()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
DNetlinkConnection.cpp238 struct msghdr msg; in writeData() local
263 msg.msg_name = (void *)&dest_addr; in writeData()
264 msg.msg_namelen = sizeof(dest_addr); in writeData()
265 msg.msg_iov = &iov; in writeData()
266 msg.msg_iovlen = 1; in writeData()
267 msg.msg_control = NULL; in writeData()
268 msg.msg_controllen = 0; in writeData()
270 ret = sendmsg(socketDescriptor, &msg, 0); in writeData()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp261 TIUTILS::Message *msg = mEventSignalQ.itemAt(i); in initialize() local
263 if ( NULL != msg ) { in initialize()
264 free(msg); in initialize()
1167 TIUTILS::Message msg; in switchToExecuting() local
1172 msg.command = CommandHandler::CAMERA_SWITCH_TO_EXECUTING; in switchToExecuting()
1173 msg.arg1 = mErrorNotifier; in switchToExecuting()
1174 ret = mCommandHandler->put(&msg); in switchToExecuting()
2265 TIUTILS::Message msg; in autoFocus() local
2282 msg.command = CommandHandler::CAMERA_PERFORM_AUTOFOCUS; in autoFocus()
2283 msg.arg1 = mErrorNotifier; in autoFocus()
[all …]
/hardware/ti/omap4xxx/camera/
DANativeWindowDisplayAdapter.cpp192 TIUTILS::Message msg; in ~ANativeWindowDisplayAdapter() local
212 msg.command = DisplayThread::DISPLAY_EXIT; in ~ANativeWindowDisplayAdapter()
215 msg.arg1 = &sem; in ~ANativeWindowDisplayAdapter()
218 mDisplayThread->msgQ().put(&msg); in ~ANativeWindowDisplayAdapter()
360 TIUTILS::Message msg; in enableDisplay() local
391 msg.command = DisplayThread::DISPLAY_START; in enableDisplay()
394 msg.arg1 = &sem; in enableDisplay()
397 mDisplayThread->msgQ().put(&msg); in enableDisplay()
440 TIUTILS::Message msg; in disableDisplay() local
441 msg.command = DisplayThread::DISPLAY_STOP; in disableDisplay()
[all …]
DAppCallbackNotifier.cpp311 TIUTILS::Message msg; in notifyEvent() local
316 mEventQ.get(&msg); in notifyEvent()
332 switch(msg.command) in notifyEvent()
336 evt = ( CameraHalEvent * ) msg.arg1; in notifyEvent()
836 TIUTILS::Message msg; in notifyFrame() local
848 mFrameQ.get(&msg); in notifyFrame()
857 switch(msg.command) in notifyFrame()
861 frame = (CameraFrame *) msg.arg1; in notifyFrame()
1181 TIUTILS::Message msg; in frameCallback() local
1192 msg.command = AppCallbackNotifier::NOTIFIER_CMD_PROCESS_FRAME; in frameCallback()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/
DLCML_DspCodec.c871 struct DSP_MSG msg; in QueueBuffer() local
1126 msg.dwCmd = commandId; in QueueBuffer()
1127 msg.dwArg1 = (int)pDmmBuf->pMapped; in QueueBuffer()
1128 msg.dwArg2 = 0; in QueueBuffer()
1130 status = DSPNode_PutMessage (phandle->dspCodec->hNode, &msg, DSP_FOREVER); in QueueBuffer()
1179 struct DSP_MSG msg = {USN_GPPMSG_PAUSE, 0, 0}; in ControlCodec() local
1183 msg.dwCmd, in ControlCodec()
1184 msg.dwArg1, in ControlCodec()
1187 status = DSPNode_PutMessage (phandle->dspCodec->hNode, &msg, DSP_FOREVER); in ControlCodec()
1193 struct DSP_MSG msg = {USN_GPPMSG_PLAY, 0, 0}; in ControlCodec() local
[all …]
/hardware/libhardware/include/hardware/
Dqemud.h105 qemud_channel_send(int fd, const void* msg, int msglen) in qemud_channel_send() argument
110 msglen = strlen((const char*)msg); in qemud_channel_send()
121 if (qemud_fd_write(fd, msg, msglen) != msglen) { in qemud_channel_send()
129 qemud_channel_recv(int fd, void* msg, int msgsize) in qemud_channel_recv() argument
146 if (qemud_fd_read(fd, msg, size) != size) { in qemud_channel_recv()
/hardware/qcom/display/libqservice/
DIQClient.cpp44 virtual status_t notifyCallback(uint32_t msg, uint32_t value) { in notifyCallback() argument
47 data.writeInt32(msg); in notifyCallback()
65 uint32_t msg = data.readInt32(); in onTransact() local
67 notifyCallback(msg, value); in onTransact()
/hardware/invensense/libsensors_iio/software/core/mllite/
Dmessage_layer.c49 long msg; in inv_get_message_level_0() local
50 msg = mh.message; in inv_get_message_level_0()
54 return msg; in inv_get_message_level_0()
/hardware/msm7k/librpc/
Ddebug.h58 #define FAILIF(cond, msg...) do { \ argument
61 fprintf(stderr, ##msg); \
62 ALOGE(msg); \
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/
DMobiCoreDriverDaemon.cpp969 char *msg; in checkMobiCoreVersion() local
970 if (!checkVersionOkMCI(versionPayload.versionInfo.versionMci, &msg)) { in checkMobiCoreVersion()
971 LOG_E("%s", msg); in checkMobiCoreVersion()
974 LOG_I("%s", msg); in checkMobiCoreVersion()
975 if (!checkVersionOkSO(versionPayload.versionInfo.versionSo, &msg)) { in checkMobiCoreVersion()
976 LOG_E("%s", msg); in checkMobiCoreVersion()
979 LOG_I("%s", msg); in checkMobiCoreVersion()
980 if (!checkVersionOkMCLF(versionPayload.versionInfo.versionMclf, &msg)) { in checkMobiCoreVersion()
981 LOG_E("%s", msg); in checkMobiCoreVersion()
984 LOG_I("%s", msg); in checkMobiCoreVersion()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
Duevent.h27 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len),
29 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len));
/hardware/libhardware_legacy/uevent/
Duevent.c34 void (*handler)(void *data, const char *msg, int msg_len);
102 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len), in uevent_add_native_handler() argument
120 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len)) in uevent_remove_native_handler() argument
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/
DRegistry.cpp625 char *msg; in mcRegistryGetServiceBlob() local
626 if (!checkVersionOkDataObjectMCLF(version, &msg)) { in mcRegistryGetServiceBlob()
628 LOG_E("%s", msg); in mcRegistryGetServiceBlob()
690 char *msg; in mcRegistryGetServiceBlob() local
699 if (!checkVersionOkDataObjectCONTAINER(tltCont->version, &msg)) { in mcRegistryGetServiceBlob()
700 LOG_E("Tlt container %s", msg); in mcRegistryGetServiceBlob()
713 if (!checkVersionOkDataObjectCONTAINER(spCont->version, &msg)) { in mcRegistryGetServiceBlob()
714 LOG_E("SP container %s", msg); in mcRegistryGetServiceBlob()
726 if (!checkVersionOkDataObjectCONTAINER(rootCont->version, &msg)) { in mcRegistryGetServiceBlob()
727 LOG_E("Root container %s", msg); in mcRegistryGetServiceBlob()
[all …]
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
DFmRxApp.java622 public void handleMessage(Message msg) {
624 switch (msg.what) {
670 Integer mode = (Integer) msg.obj;
690 Integer seekFreq = (Integer) msg.obj;
713 Integer freq = (Integer) msg.obj;
780 Integer progress = (Integer) msg.obj;
789 Integer tuneFreq = (Integer) msg.obj;
835 byte[] rdsText = (byte[]) msg.obj;
840 String rds = (String) msg.obj;
851 String pi = (String) msg.obj;
[all …]

123