/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
D | lcm1602.cxx | 91 command(LCD_FUNCTIONSET | 0x0f); in Lcm1602() 92 command(LCD_DISPLAYCONTROL | m_displayControl); in Lcm1602() 97 command(LCD_ENTRYMODESET | m_entryDisplayMode); in Lcm1602() 153 command(LCD_FUNCTIONSET | LCD_2LINE | LCD_4BITMODE | LCD_5x8DOTS); in Lcm1602() 155 command(LCD_DISPLAYCONTROL | m_displayControl); in Lcm1602() 161 command(LCD_ENTRYMODESET | m_entryDisplayMode); in Lcm1602() 253 return command(LCD_CMD | offset); in setCursor() 260 ret = command(LCD_CLEARDISPLAY); in clear() 269 ret = command(LCD_RETURNHOME); in home() 279 error = command(LCD_SETCGRAMADDR | (charSlot << 3)); in createChar() [all …]
|
D | eboled.cxx | 60 command(CMD_DISPLAYOFF); in EBOLED() 62 command(CMD_SETDISPLAYCLOCKDIV); in EBOLED() 63 command(0x80); in EBOLED() 65 command(CMD_SETMULTIPLEX); in EBOLED() 66 command(0x2f); in EBOLED() 68 command(CMD_SETDISPLAYOFFSET); in EBOLED() 69 command(0x0); // no offset in EBOLED() 71 command(CMD_SETSTARTLINE | 0x0); // line #0 in EBOLED() 73 command(CMD_CHARGEPUMP); // enable charge pump in EBOLED() 74 command(0x14); in EBOLED() [all …]
|
D | jhd1313m1.cxx | 50 ret = command(LCD_FUNCTIONSET | LCD_2LINE); in Jhd1313m1() 53 ret = command(LCD_FUNCTIONSET | LCD_2LINE); in Jhd1313m1() 67 ret = command(LCD_ENTRYMODESET | LCD_ENTRYLEFT | LCD_ENTRYSHIFTDECREMENT); in Jhd1313m1() 123 mraa::Result Jhd1313m1::command(uint8_t cmd) in command() function in Jhd1313m1
|
/hardware/bsp/intel/peripheral/libmraa/src/i2c/ |
D | i2c.c | 50 uint8_t command; ///< ioctl command member 59 mraa_i2c_smbus_access(int fh, uint8_t read_write, uint8_t command, int size, i2c_smbus_data_t* data) in mraa_i2c_smbus_access() argument 64 args.command = command; in mraa_i2c_smbus_access() 233 mraa_i2c_read_byte_data(mraa_i2c_context dev, uint8_t command) in mraa_i2c_read_byte_data() argument 236 return dev->advance_func->i2c_read_byte_data_replace(dev, command); in mraa_i2c_read_byte_data() 238 if (mraa_i2c_smbus_access(dev->fh, I2C_SMBUS_READ, command, I2C_SMBUS_BYTE_DATA, &d) < 0) { in mraa_i2c_read_byte_data() 246 mraa_i2c_read_word_data(mraa_i2c_context dev, uint8_t command) in mraa_i2c_read_word_data() argument 249 return dev->advance_func->i2c_read_word_data_replace(dev, command); in mraa_i2c_read_word_data() 251 if (mraa_i2c_smbus_access(dev->fh, I2C_SMBUS_READ, command, I2C_SMBUS_WORD_DATA, &d) < 0) { in mraa_i2c_read_word_data() 259 mraa_i2c_read_bytes_data(mraa_i2c_context dev, uint8_t command, uint8_t* data, int length) in mraa_i2c_read_bytes_data() argument [all …]
|
/hardware/ril/reference-ril/ |
D | atchannel.h | 90 int at_send_command_singleline (const char *command, 94 int at_send_command_numeric (const char *command, 97 int at_send_command_multiline (const char *command, 104 int at_send_command (const char *command, ATResponse **pp_outResponse); 106 int at_send_command_sms (const char *command, const char *pdu,
|
D | atchannel.c | 667 static int at_send_command_full_nolock (const char *command, ATCommandType type, in at_send_command_full_nolock() argument 679 err = writeline (command); in at_send_command_full_nolock() 734 static int at_send_command_full (const char *command, ATCommandType type, in at_send_command_full() argument 747 err = at_send_command_full_nolock(command, type, in at_send_command_full() 770 int at_send_command (const char *command, ATResponse **pp_outResponse) in at_send_command() argument 774 err = at_send_command_full (command, NO_RESULT, NULL, in at_send_command() 781 int at_send_command_singleline (const char *command, in at_send_command_singleline() argument 787 err = at_send_command_full (command, SINGLELINE, responsePrefix, in at_send_command_singleline() 804 int at_send_command_numeric (const char *command, in at_send_command_numeric() argument 809 err = at_send_command_full (command, NUMERIC, NULL, in at_send_command_numeric() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | i2c.h | 107 uint8_t mraa_i2c_read_byte_data(mraa_i2c_context dev, const uint8_t command); 116 uint16_t mraa_i2c_read_word_data(mraa_i2c_context dev, const uint8_t command); 127 int mraa_i2c_read_bytes_data(mraa_i2c_context dev, uint8_t command, uint8_t* data, int length); 157 …result_t mraa_i2c_write_byte_data(mraa_i2c_context dev, const uint8_t data, const uint8_t command); 167 …esult_t mraa_i2c_write_word_data(mraa_i2c_context dev, const uint16_t data, const uint8_t command);
|
/hardware/qcom/display/msm8909/libqservice/ |
D | IQClient.cpp | 47 virtual status_t notifyCallback(uint32_t command, in notifyCallback() argument 53 data.writeInt32(command); in notifyCallback() 72 uint32_t command = data.readInt32(); in onTransact() local 73 notifyCallback(command, &data, reply); in onTransact()
|
D | QService.cpp | 57 status_t QService::dispatch(uint32_t command, const Parcel* inParcel, in dispatch() argument 65 ALOGD_IF(QSERVICE_DEBUG, "Dispatching command: %d", command); in dispatch() 66 err = mClient->notifyCallback(command, inParcel, outParcel); in dispatch()
|
/hardware/qcom/display/msm8084/libqservice/ |
D | IQClient.cpp | 47 virtual status_t notifyCallback(uint32_t command, in notifyCallback() argument 53 data.writeInt32(command); in notifyCallback() 72 uint32_t command = data.readInt32(); in onTransact() local 73 notifyCallback(command, &data, reply); in onTransact()
|
D | QService.cpp | 60 status_t QService::dispatch(uint32_t command, const Parcel* inParcel, in dispatch() argument 64 ALOGD_IF(QSERVICE_DEBUG, "Dispatching command: %d", command); in dispatch() 65 err = mClient->notifyCallback(command, inParcel, outParcel); in dispatch()
|
/hardware/qcom/display/msm8226/libqservice/ |
D | IQClient.cpp | 47 virtual status_t notifyCallback(uint32_t command, in notifyCallback() argument 53 data.writeInt32(command); in notifyCallback() 72 uint32_t command = data.readInt32(); in onTransact() local 73 notifyCallback(command, &data, reply); in onTransact()
|
D | QService.cpp | 57 status_t QService::dispatch(uint32_t command, const Parcel* inParcel, in dispatch() argument 65 ALOGD_IF(QSERVICE_DEBUG, "Dispatching command: %d", command); in dispatch() 66 err = mClient->notifyCallback(command, inParcel, outParcel); in dispatch()
|
/hardware/qcom/display/msm8994/libqservice/ |
D | IQClient.cpp | 47 virtual status_t notifyCallback(uint32_t command, in notifyCallback() argument 53 data.writeInt32(command); in notifyCallback() 72 uint32_t command = data.readInt32(); in onTransact() local 73 notifyCallback(command, &data, reply); in onTransact()
|
D | QService.cpp | 57 status_t QService::dispatch(uint32_t command, const Parcel* inParcel, in dispatch() argument 65 ALOGD_IF(QSERVICE_DEBUG, "Dispatching command: %d", command); in dispatch() 66 err = mClient->notifyCallback(command, inParcel, outParcel); in dispatch()
|
/hardware/qcom/display/msm8996/libqservice/ |
D | IQClient.cpp | 47 virtual status_t notifyCallback(uint32_t command, in notifyCallback() argument 53 data.writeInt32(command); in notifyCallback() 72 uint32_t command = data.readInt32(); in onTransact() local 73 notifyCallback(command, &data, reply); in onTransact()
|
D | QService.cpp | 62 status_t QService::dispatch(uint32_t command, const Parcel* inParcel, in dispatch() argument 71 ALOGD_IF(QSERVICE_DEBUG, "Dispatching command: %d", command); in dispatch() 72 err = mClient->notifyCallback(command, inParcel, outParcel); in dispatch()
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_adv_func.h | 66 uint8_t (*i2c_read_byte_data_replace) (mraa_i2c_context dev, const uint8_t command); 67 uint16_t (*i2c_read_word_data_replace) (mraa_i2c_context dev, const uint8_t command); 68 …int (*i2c_read_bytes_data_replace) (mraa_i2c_context dev, uint8_t command, uint8_t* data, int leng… 71 …t (*i2c_write_byte_data_replace) (mraa_i2c_context dev, const uint8_t data, const uint8_t command); 72 … (*i2c_write_word_data_replace) (mraa_i2c_context dev, const uint16_t data, const uint8_t command);
|
/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | mraa-i2c.c | 241 char command[80]; in run_interactive_mode() local 248 fgets(command, 80, stdin); in run_interactive_mode() 249 command[strlen(command) - 1] = 0; in run_interactive_mode() 250 if (strcmp(command, "q") == 0) in run_interactive_mode() 252 char* str = strtok(command, " "); in run_interactive_mode()
|
/hardware/libhardware_legacy/qemu/ |
D | qemu.c | 330 char command[256]; in qemu_control_command() local 334 len = qemu_command_vformat( command, sizeof command, fmt, args ); in qemu_control_command() 337 if (len < 0 || len >= (int)sizeof command) { in qemu_control_command() 341 D("%s: too large %d > %d", __FUNCTION__, len, (int)(sizeof command)); in qemu_control_command() 347 return qemu_control_send( command, len ); in qemu_control_command()
|
/hardware/libhardware/modules/soundtrigger/ |
D | sound_trigger_hw.c | 165 void write_bad_command_error(int conn_socket, char* command) { in write_bad_command_error() argument 166 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "Bad command received: %s", command); in write_bad_command_error() 519 char* command = strtok(buffer, " "); in get_command() local 520 char* newline = strchr(command, '\n'); in get_command() 524 return command; in get_command() 543 char* command = strtok(buffer, " \r\n"); in parse_socket_data() local 544 if (command == NULL) { in parse_socket_data() 545 write_bad_command_error(conn_socket, command); in parse_socket_data() 546 } else if (strncmp(command, COMMAND_LS, 2) == 0) { in parse_socket_data() 548 } else if (strcmp(command, COMMAND_RECOGNITION_TRIGGER) == 0) { in parse_socket_data() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEnc_CompThread.c | 102 OMX_COMMANDTYPE command; in WBAMRENC_CompThread() local 182 ret = read(pComponentPrivate->cmdPipe[0], &command, sizeof (command)); in WBAMRENC_CompThread() 198 nRet = WBAMRENC_HandleCommand(pComponentPrivate, command, commandData); in WBAMRENC_CompThread()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsaucm_test.c | 164 char *command = NULL; in process_cmd() local 169 command = strtok_r(cmdStr, " ", &value); in process_cmd() 172 if (command == NULL) { in process_cmd() 178 if (strncmp(cmd->cmd_str, command, strlen(cmd->cmd_str)) == 0) in process_cmd() 183 fprintf(stderr, "Unknown command '%s'\n", command); in process_cmd()
|
/hardware/bsp/intel/peripheral/libupm/src/sm130/ |
D | sm130.cxx | 65 string command; in sendCommand() local 68 command.push_back(0xff); in sendCommand() 69 command.push_back(0x00); in sendCommand() 76 command.push_back(len); in sendCommand() 81 command.push_back(cmd); in sendCommand() 89 command.push_back(data[i]); in sendCommand() 95 command.push_back(cksum); in sendCommand() 98 cerr << "CMD: " << string2HexString(command) << endl; in sendCommand() 102 m_uart.writeStr(command); in sendCommand()
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
D | main.c | 444 static inline void process_command(uint32_t cmd_id, unsigned char *command) in process_command() argument 450 … WRITE_SVEN( SVEN_MODULE_EVENT_GV_FW_AUTOAPI_CMD,(int) cmd_id, (int) command, ((int *)command)[0], in process_command() 451 ((int *)command)[1], ((int *)command)[2], ((int *)command)[3] ); in process_command() 453 viddec_fw_api_array[groupid].unmarshal[funcid](0, command); in process_command()
|