/hardware/bsp/intel/peripheral/libmraa/src/spi/ |
D | spi.c | 249 struct spi_ioc_transfer msg; in mraa_spi_write() local 250 memset(&msg, 0, sizeof(msg)); in mraa_spi_write() 255 msg.tx_buf = (unsigned long) &data; in mraa_spi_write() 256 msg.rx_buf = (unsigned long) &recv; in mraa_spi_write() 257 msg.speed_hz = dev->clock; in mraa_spi_write() 258 msg.bits_per_word = dev->bpw; in mraa_spi_write() 259 msg.delay_usecs = 0; in mraa_spi_write() 260 msg.len = length; in mraa_spi_write() 261 if (ioctl(dev->devfd, SPI_IOC_MESSAGE(1), &msg) < 0) { in mraa_spi_write() 271 struct spi_ioc_transfer msg; in mraa_spi_write_word() local [all …]
|
/hardware/ti/omap4xxx/libtiutils/ |
D | MessageQueue.cpp | 99 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/omap4-aah/libtiutils/ |
D | MessageQueue.cpp | 100 android::status_t MessageQueue::get(Message* msg) in get() argument 104 if(!msg) in get() 118 char* p = (char*) msg; in get() 121 while( read_bytes < sizeof(*msg) ) in get() 123 int err = read(this->fd_read, p, sizeof(*msg) - read_bytes); in get() 136 MSGQ_LOGDB("MQ.get(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg->arg2,msg->arg3,msg->arg4); in get() 188 android::status_t MessageQueue::put(Message* msg) in put() argument 192 char* p = (char*) msg; in put() 195 if(!msg) in put() 210 MSGQ_LOGDB("MQ.put(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg->arg2,msg->arg3,msg->arg4); in put() [all …]
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local 185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler() [all …]
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local 185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler() [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local 185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler() [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local 185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler() [all …]
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local 185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler() [all …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local 127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler() 178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local 185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler() [all …]
|
/hardware/qcom/gps/msm8996/utils/ |
D | MsgTask.cpp | 39 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument 40 delete (LocMsg*)msg; in LocMsgDestroy() 76 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg() 77 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg() 87 LocMsg* msg; in run() local 88 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); in run() 95 msg->log(); in run() 97 msg->proc(); in run() 99 delete msg; in run()
|
/hardware/qcom/gps/msm8909/utils/ |
D | MsgTask.cpp | 39 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument 40 delete (LocMsg*)msg; in LocMsgDestroy() 76 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg() 77 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg() 87 LocMsg* msg; in run() local 88 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); in run() 95 msg->log(); in run() 97 msg->proc(); in run() 99 delete msg; in run()
|
/hardware/akm/AK8975_FS/akmdfs/ |
D | AKFS_Disp.c | 64 char msg[20]; in Menu_Main() local 65 memset(msg, 0, sizeof(msg)); in Menu_Main() 75 fgets(msg, 10, stdin); in Menu_Main() 80 if (!strncmp(msg, "1", 1)) { in Menu_Main() 82 } else if (!strncmp(msg, "2", 1)) { in Menu_Main() 84 } else if (strncmp(msg, "Q", 1) == 0 || strncmp(msg, "q", 1) == 0) { in Menu_Main()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu_nl80211.c | 45 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/qcom/gps/msm8960/core/ |
D | MsgTask.cpp | 43 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument 44 delete (LocMsg*)msg; in LocMsgDestroy() 89 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg() 90 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg() 103 LocMsg* msg; in loopMain() local 109 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain() 120 msg->log(); in loopMain() 122 msg->proc(); in loopMain() 124 delete msg; in loopMain()
|
/hardware/qcom/gps/core/ |
D | MsgTask.cpp | 43 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument 44 delete (LocMsg*)msg; in LocMsgDestroy() 104 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg() 105 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg() 118 LocMsg* msg; in loopMain() local 124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain() 135 msg->log(); in loopMain() 137 msg->proc(); in loopMain() 139 delete msg; in loopMain()
|
/hardware/qcom/gps/msm8994/core/ |
D | MsgTask.cpp | 43 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument 44 delete (LocMsg*)msg; in LocMsgDestroy() 104 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg() 105 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg() 118 LocMsg* msg; in loopMain() local 124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain() 135 msg->log(); in loopMain() 137 msg->proc(); in loopMain() 139 delete msg; in loopMain()
|
/hardware/qcom/gps/msm8084/core/ |
D | MsgTask.cpp | 43 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument 44 delete (LocMsg*)msg; in LocMsgDestroy() 104 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg() 105 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg() 118 LocMsg* msg; in loopMain() local 124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain() 135 msg->log(); in loopMain() 137 msg->proc(); in loopMain() 139 delete msg; in loopMain()
|
/hardware/qcom/wlan/qcwcn/wcnss-service/ |
D | wcnss_service.c | 365 char msg[WCNSS_MAX_CMD_LEN]; in setup_wcnss_parameters() local 382 msg[pos++] = WCNSS_USR_SERIAL_NUM >> BYTE_1; in setup_wcnss_parameters() 383 msg[pos++] = WCNSS_USR_SERIAL_NUM >> BYTE_0; in setup_wcnss_parameters() 384 msg[pos++] = serial_num >> BYTE_3; in setup_wcnss_parameters() 385 msg[pos++] = serial_num >> BYTE_2; in setup_wcnss_parameters() 386 msg[pos++] = serial_num >> BYTE_1; in setup_wcnss_parameters() 387 msg[pos++] = serial_num >> BYTE_0; in setup_wcnss_parameters() 389 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters() 400 msg[pos++] = WCNSS_USR_WLAN_MAC_ADDR >> BYTE_1; in setup_wcnss_parameters() 401 msg[pos++] = WCNSS_USR_WLAN_MAC_ADDR >> BYTE_0; in setup_wcnss_parameters() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/common/observers/ |
D | UeventObserver.cpp | 187 char *msg = mUeventMessage; in onUevent() local 189 if (strncmp(msg, envelope, strlen(envelope)) != 0) in onUevent() 192 msg += strlen(msg) + 1; in onUevent() 196 while (*msg) { in onUevent() 197 key = String8(msg); in onUevent() 199 DTRACE("received Uevent: %s", msg); in onUevent() 204 ETRACE("no listener for uevent %s", msg); in onUevent() 207 msg += strlen(msg) + 1; in onUevent()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/ |
D | UeventObserver.cpp | 187 char *msg = mUeventMessage; in onUevent() local 189 if (strncmp(msg, envelope, strlen(envelope)) != 0) in onUevent() 192 msg += strlen(msg) + 1; in onUevent() 196 while (*msg) { in onUevent() 197 key = String8(msg); in onUevent() 199 DLOGTRACE("received Uevent: %s", msg); in onUevent() 204 ELOGTRACE("no listener for uevent %s", msg); in onUevent() 207 msg += strlen(msg) + 1; in onUevent()
|
/hardware/qcom/display/msm8996/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 64 memcpy(buf, msg, len); in onCECMessageRecieved() 86 const void* msg; in onTransact() local 88 msg = data.readInplace(len); in onTransact() 90 msg = NULL; in onTransact() 93 if (msg != NULL) in onTransact() 94 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/qcom/display/msm8084/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 63 memcpy(buf, msg, len); in onCECMessageRecieved() 85 const void* msg; in onTransact() local 87 msg = data.readInplace(len); in onTransact() 89 msg = NULL; in onTransact() 92 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/qcom/display/msm8996/hdmi_cec/ |
D | qhdmi_cec.cpp | 120 static void hex_to_string(const char *msg, ssize_t len, char *str) in hex_to_string() argument 125 ptr += snprintf(ptr, 3, "%02X", msg[i]); in hex_to_string() 207 const cec_message_t* msg) in cec_send_message() argument 215 __FUNCTION__, msg->initiator, msg->destination, in cec_send_message() 216 (uint32_t) msg->length); in cec_send_message() 220 if(msg->length > 0) { in cec_send_message() 221 hex_to_string((char*)msg->body, msg->length, dump); in cec_send_message() 232 write_msg[CEC_OFFSET_SENDER_ID] = msg->initiator; in cec_send_message() 233 write_msg[CEC_OFFSET_RECEIVER_ID] = msg->destination; in cec_send_message() 235 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message() [all …]
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_sock.c | 117 void *msg, in mm_camera_socket_sendmsg() argument 126 if (msg == NULL) { in mm_camera_socket_sendmsg() 134 iov[0].iov_base = msg; in mm_camera_socket_sendmsg() 178 void *msg, in mm_camera_socket_bundle_sendmsg() argument 189 if (msg == NULL) { in mm_camera_socket_bundle_sendmsg() 197 iov[0].iov_base = msg; in mm_camera_socket_bundle_sendmsg() 242 void *msg, in mm_camera_socket_recvmsg() argument 253 if ( (msg == NULL) || (buf_size <= 0) ) { in mm_camera_socket_recvmsg() 264 iov[0].iov_base = msg; in mm_camera_socket_recvmsg()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | nan.cpp | 72 NanEnableRequest* msg) in nan_enable_request() argument 97 ret = nanCommand->putNanEnable(id, msg); in nan_enable_request() 155 NanPublishRequest* msg) in nan_publish_request() argument 180 ret = nanCommand->putNanPublish(id, msg); in nan_publish_request() 197 NanPublishCancelRequest* msg) in nan_publish_cancel_request() argument 222 ret = nanCommand->putNanPublishCancel(id, msg); in nan_publish_cancel_request() 239 NanSubscribeRequest* msg) in nan_subscribe_request() argument 264 ret = nanCommand->putNanSubscribe(id, msg); in nan_subscribe_request() 281 NanSubscribeCancelRequest* msg) in nan_subscribe_cancel_request() argument 306 ret = nanCommand->putNanSubscribeCancel(id, msg); in nan_subscribe_cancel_request() [all …]
|