Searched refs:msg (Results 1 - 25 of 198) sorted by path

12345678

/hardware/akm/AK8975_FS/akmdfs/
H A DAKFS_Disp.c64 char msg[20]; local
65 memset(msg, 0, sizeof(msg));
75 fgets(msg, 10, stdin);
80 if (!strncmp(msg, "1", 1)) {
82 } else if (!strncmp(msg, "2", 1)) {
84 } else if (strncmp(msg, "Q", 1) == 0 || strncmp(msg, "q", 1) == 0) {
/hardware/akm/AK8975_FS/libsensors/
H A Dsensors.cpp311 char msg; local
312 int result = read(mPollFds[wake].fd, &msg, 1);
314 ALOGE_IF(msg != WAKE_MESSAGE, "unknown message on wake queue (0x%02x)", int(msg));
/hardware/broadcom/libbt/include/
H A Duipc_msg.h107 UINT8 msg[IPC_LOG_MSG_LEN]; member in struct:t_uipc_log_msg
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dbcmutils.c1105 prpkt(const char *msg, osl_t *osh, void *p0) argument
1109 if (msg && (msg[0] != '\0'))
1110 printf("%s:\n", msg);
1736 prhex(const char *msg, uchar *buf, uint nbytes) argument
1743 if (msg && (msg[0] != '\0'))
1744 printf("%s:\n", msg);
2031 bcm_bprhex(struct bcmstrbuf *b, const char *msg, bool newline, uint8 *buf, int len) argument
2035 if (msg !
[all...]
H A Ddhdu_nl80211.c45 static int dhd_nl_finish_handler(struct nl_msg *msg, void *arg) argument
52 static int dhd_nl_ack_handler(struct nl_msg *msg, void *arg) argument
59 static int dhd_nl_valid_handler(struct nl_msg *msg, void *arg) argument
103 struct nl_msg *msg; local
106 msg = nlmsg_alloc();
107 if (msg == NULL)
111 genlmsg_put(msg, 0, 0, dhd_nli->nl_id, 0, 0,
113 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, dhd_nli->ifidx);
114 NLA_PUT(msg, NL80211_ATTR_TESTDATA, sizeof(*ioc), ioc);
116 err = nl_send_auto_complete(dhd_nli->nl, msg);
[all...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmutils.h807 extern void prhex(const char *msg, uchar *buf, uint len);
833 extern void bcm_bprhex(struct bcmstrbuf *b, const char *msg, bool newline, uint8 *buf, int len);
H A Dwlioctl.h55 cdc_ioctl_t msg; member in struct:remote_ioctl
835 /* Waiting to receive handshake msg M1 */
837 /* Preparing to send handshake msg M2 */
839 /* Waiting to receive handshake msg M3 */
841 WLC_SUP_KEYXCHANGE_PREP_M4, /* Preparing to send handshake msg M4 */
842 WLC_SUP_KEYXCHANGE_WAIT_G1, /* Waiting to receive handshake msg G1 */
843 WLC_SUP_KEYXCHANGE_PREP_G2 /* Preparing to send handshake msg G2 */
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dcpp_bindings.cpp578 static int no_seq_check(struct nl_msg *msg, void *arg) argument
676 int WifiCommand::response_handler(struct nl_msg *msg, void *arg) { argument
679 WifiEvent reply(msg);
690 int WifiCommand::event_handler(struct nl_msg *msg, void *arg) { argument
692 WifiEvent event(msg);
706 int WifiCommand::valid_handler(struct nl_msg *msg, void *arg) { argument
713 int WifiCommand::ack_handler(struct nl_msg *msg, void *arg) { argument
720 int WifiCommand::finish_handler(struct nl_msg *msg, void *arg) { argument
H A Dcpp_bindings.h16 WifiEvent(nl_msg *msg) { argument
17 mMsg = msg;
332 static int response_handler(struct nl_msg *msg, void *arg);
334 static int event_handler(struct nl_msg *msg, void *arg);
337 static int valid_handler(struct nl_msg *msg, void *arg);
339 static int ack_handler(struct nl_msg *msg, void *arg);
341 static int finish_handler(struct nl_msg *msg, void *arg);
H A Dwifi_hal.cpp19 #include <netlink/msg.h>
46 static int internal_no_seq_check(nl_msg *msg, void *arg);
47 static int internal_valid_message_handler(nl_msg *msg, void *arg);
449 static int internal_no_seq_check(struct nl_msg *msg, void *arg) argument
454 static int internal_valid_message_handler(nl_msg *msg, void *arg) argument
461 WifiEvent event(msg);
507 (*cb_func)(msg, cb_arg);
/hardware/bsp/intel/peripheral/libmraa/src/spi/
H A Dspi.c249 struct spi_ioc_transfer msg; local
250 memset(&msg, 0, sizeof(msg));
255 msg.tx_buf = (unsigned long) &data;
256 msg.rx_buf = (unsigned long) &recv;
257 msg.speed_hz = dev->clock;
258 msg.bits_per_word = dev->bpw;
259 msg.delay_usecs = 0;
260 msg.len = length;
261 if (ioctl(dev->devfd, SPI_IOC_MESSAGE(1), &msg) <
271 struct spi_ioc_transfer msg; local
293 struct spi_ioc_transfer msg; local
312 struct spi_ioc_transfer msg; local
[all...]
/hardware/bsp/intel/peripheral/libupm/doxy/node/
H A Dxml2js.js723 var msg = ' has documentation for an unknown parameter: ' + paramName + '. ';
726 console.log('Warning: ' + (parent ? (parent + '.') : '') + method + msg + msgAddendum);
763 var msg = (xml2js.opts.strict ? ' is omitted from JS documentation.' : ' has invalid type(s).');
764 var printIgnoredMethodOnce = _.once(function() { console.log(methodName + msg); });
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Dhmtrp.js141 var msg = "Hello World!";
143 console.log("Transmitting " + msg + "...");
150 my_HMTRP_Radio.writeData(msg, (msg.length + 1));
H A Dmq303a.js67 var msg = "Alcohol detected ";
68 msg += "(higher means stronger alcohol): ";
69 console.log(msg + val);
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Dhmtrp.py132 msg = "Hello World!" variable
134 print "Transmitting %s..." % msg
141 my_HMTRP_Radio.writeData(msg, (len(msg) + 1))
H A Dmq303a.py72 msg = "Alcohol detected " variable
73 msg += "(higher means stronger alcohol): "
74 print msg + str(val)
/hardware/bsp/intel/peripheral/libupm/src/lcd/
H A Deboled.cxx131 mraa::Result EBOLED::write (std::string msg) argument
133 int len = msg.length();
137 if (msg[idx] == '\n')
142 else if (msg[idx] == '\r')
148 drawChar(temp_cursorX, m_cursorY, msg[idx], m_textColor, m_textSize);
H A Deboled.h143 * @param msg the std::string to write to display, note only ascii
147 mraa::Result write(std::string msg);
H A Dlcd.cxx42 LCD::write(int row, int column, std::string msg) argument
45 return write(msg);
H A Dlcd.h42 mraa::Result write(int x, int y, std::string msg);
44 virtual mraa::Result write(std::string msg) = 0;
H A Dlcd_private.h26 #define UPM_CHECK_MRAA_SUCCESS(ret, msg) \
28 throw std::runtime_error(std::string(__PRETTY_FUNCTION__) + ": " + msg); \
H A Dlcm1602.cxx191 Lcm1602::write(std::string msg) argument
194 for (std::string::size_type i = 0; i < msg.size(); ++i) {
195 error = data(msg[i]);
H A Dlcm1602.h104 * @param msg std::string to write to the display; note: only ASCII
108 mraa::Result write(std::string msg);
H A Dssd1306.cxx135 SSD1306::write(std::string msg) argument
140 for (std::string::size_type i = 0; i < msg.size(); ++i) {
141 writeChar(msg[i]);
H A Dssd1306.h134 * @param msg std::string to write to the display; note: only ASCII
138 mraa::Result write(std::string msg);

Completed in 429 milliseconds

12345678