/hardware/bsp/intel/peripheral/libmraa/examples/ |
H A D | mraa-i2c.c | 57 fprintf(stdout, "Invalid command, options are:\n"); 241 char command[80]; local 248 fgets(command, 80, stdin); 249 command[strlen(command) - 1] = 0; 250 if (strcmp(command, "q") == 0) 252 char* str = strtok(command, " ");
|
/hardware/bsp/intel/peripheral/libmraa/include/linux/ |
H A D | i2c-dev.h | 32 __u8 command; member in struct:i2c_smbus_ioctl_data
|
/hardware/bsp/intel/peripheral/libmraa/src/i2c/ |
H A D | i2c.c | 50 uint8_t command; ///< ioctl command member in struct:i2c_smbus_ioctl_data_struct 59 mraa_i2c_smbus_access(int fh, uint8_t read_write, uint8_t command, int size, i2c_smbus_data_t* data) argument 64 args.command = command; 233 mraa_i2c_read_byte_data(mraa_i2c_context dev, uint8_t command) argument 236 return dev->advance_func->i2c_read_byte_data_replace(dev, command); 238 if (mraa_i2c_smbus_access(dev->fh, I2C_SMBUS_READ, command, I2C_SMBUS_BYTE_DATA, &d) < 0) { 246 mraa_i2c_read_word_data(mraa_i2c_context dev, uint8_t command) argument 249 return dev->advance_func->i2c_read_word_data_replace(dev, command); 259 mraa_i2c_read_bytes_data(mraa_i2c_context dev, uint8_t command, uint8_t* data, int length) argument 288 uint8_t command = data[0]; local 319 mraa_i2c_write_byte_data(mraa_i2c_context dev, const uint8_t data, const uint8_t command) argument 333 mraa_i2c_write_word_data(mraa_i2c_context dev, const uint16_t data, const uint8_t command) argument [all...] |
/hardware/bsp/intel/peripheral/libmraa/src/usb/ |
H A D | ftdi_ft4222.c | 396 mraa_ftdi_ft4222_i2c_read_word_data(mraa_i2c_context dev, uint8_t command) argument 400 if (mraa_ftdi_ft4222_i2c_context_write(dev, &command, 1) != 1) 409 mraa_ftdi_ft4222_i2c_read_bytes_data(mraa_i2c_context dev, uint8_t command, uint8_t* data, int length) argument 411 if (mraa_ftdi_ft4222_i2c_context_write(dev, &command, 1) != 1) 433 mraa_ftdi_ft4222_i2c_read_byte_data(mraa_i2c_context dev, uint8_t command) argument 435 const uint8_t reg_addr = command; 445 mraa_ftdi_ft4222_i2c_write_byte_data(mraa_i2c_context dev, const uint8_t data, const uint8_t command) argument 448 buf[0] = command; 454 mraa_ftdi_ft4222_i2c_write_word_data(mraa_i2c_context dev, const uint16_t data, const uint8_t command) argument 457 buf[0] = command; [all...] |
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
H A D | eboled.cxx | 60 command(CMD_DISPLAYOFF); 62 command(CMD_SETDISPLAYCLOCKDIV); 63 command(0x80); 65 command(CMD_SETMULTIPLEX); 66 command(0x2f); 68 command(CMD_SETDISPLAYOFFSET); 69 command(0x0); // no offset 71 command(CMD_SETSTARTLINE | 0x0); // line #0 73 command(CMD_CHARGEPUMP); // enable charge pump 74 command( 550 mraa::Result EBOLED::command(uint8_t cmd) function in class:EBOLED [all...] |
H A D | jhd1313m1.cxx | 50 ret = command(LCD_FUNCTIONSET | LCD_2LINE); 53 ret = command(LCD_FUNCTIONSET | LCD_2LINE); 67 ret = command(LCD_ENTRYMODESET | LCD_ENTRYLEFT | LCD_ENTRYSHIFTDECREMENT); 123 mraa::Result Jhd1313m1::command(uint8_t cmd) function in class:Jhd1313m1
|
H A D | lcm1602.cxx | 91 command(LCD_FUNCTIONSET | 0x0f); 92 command(LCD_DISPLAYCONTROL | m_displayControl); 97 command(LCD_ENTRYMODESET | m_entryDisplayMode); 153 command(LCD_FUNCTIONSET | LCD_2LINE | LCD_4BITMODE | LCD_5x8DOTS); 155 command(LCD_DISPLAYCONTROL | m_displayControl); 161 command(LCD_ENTRYMODESET | m_entryDisplayMode); 253 return command(LCD_CMD | offset); 260 ret = command(LCD_CLEARDISPLAY); 261 usleep(2000); // this command takes awhile 269 ret = command(LCD_RETURNHOM 359 mraa::Result Lcm1602::command(uint8_t cmd) function in class:Lcm1602 [all...] |
/hardware/bsp/intel/peripheral/libupm/src/sm130/ |
H A D | sm130.cxx | 65 string command; local 68 command.push_back(0xff); 69 command.push_back(0x00); 71 // compute the length - command + data 72 uint8_t len = 1; // command 76 command.push_back(len); 80 // now the command 81 command.push_back(cmd); 89 command.push_back(data[i]); 95 command [all...] |
/hardware/intel/bootstub/ |
H A D | bootparam.h | 69 __u32 command; member in struct:ist_info
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
H A D | main.c | 444 static inline void process_command(uint32_t cmd_id, unsigned char *command) argument 450 WRITE_SVEN( SVEN_MODULE_EVENT_GV_FW_AUTOAPI_CMD,(int) cmd_id, (int) command, ((int *)command)[0], 451 ((int *)command)[1], ((int *)command)[2], ((int *)command)[3] ); 453 viddec_fw_api_array[groupid].unmarshal[funcid](0, command);
|
/hardware/libhardware/include/hardware/ |
H A D | audio_effect.h | 116 // | | | command must specify a buffer descriptor 119 // | | | EFFECT_CMD_SET_CONFIG command to request input. 124 // | | | command must specify a buffer descriptor 127 // | | | EFFECT_CMD_SET_CONFIG command to request output 295 // buffer provider function installed by the EFFECT_CMD_SET_CONFIG command. 297 // command is received and until the EFFECT_CMD_DISABLE is received. When the engine 298 // receives the EFFECT_CMD_DISABLE command it should turn off the effect gracefully 310 // If NULL, use the configuration passed by EFFECT_CMD_SET_CONFIG command. 313 // If NULL, use the configuration passed by EFFECT_CMD_SET_CONFIG command. 327 // Function: command 356 int32_t (*command)(effect_handle_t self, member in struct:effect_interface_s [all...] |
/hardware/libhardware/modules/soundtrigger/ |
H A D | sound_trigger_hw.c | 19 * To send a trigger from the command line you can type: 31 * To enable this file, you can make with command line parameter 52 #define ERROR_BAD_COMMAND "Bad command" 165 void write_bad_command_error(int conn_socket, char* command) { argument 166 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "Bad command received: %s", command); 519 char* command = strtok(buffer, " "); local 520 char* newline = strchr(command, '\n'); 524 return command; 543 char* command local [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioPolicyManagerBase.cpp | 320 // force routing command to audio hardware when starting a call 329 // force routing command to audio hardware when exiting a call 338 // force routing command to audio hardware when switching between telephony and VoIP 351 // force routing command to audio hardware when ending call 835 // the track stop() command is received and at that time the audio track buffer can 1684 String8 command; local 1691 command = mpClientInterface->getParameters(0, String8("test_cmd_policy")); 1692 AudioParameter param = AudioParameter(command); 1696 ALOGV("Test command %s received", command [all...] |
/hardware/libhardware_legacy/qemu/ |
H A D | qemu.c | 330 char command[256]; local 334 len = qemu_command_vformat( command, sizeof command, fmt, args ); 337 if (len < 0 || len >= (int)sizeof command) { 341 D("%s: too large %d > %d", __FUNCTION__, len, (int)(sizeof command)); 347 return qemu_control_send( command, len );
|
/hardware/libhardware_legacy/wifi/ |
H A D | wifi.c | 614 ALOGV("Not connected to wpa_supplicant - \"%s\" command dropped.\n", cmd); 619 ALOGD("'%s' command timed out.\n", cmd); 796 int wifi_command(const char *command, char *reply, size_t *reply_len) argument 798 return wifi_send_command(command, reply, reply_len);
|
/hardware/qcom/audio/hal/ |
H A D | audio_hw.c | 784 * Enable device command should be sent to modem only after 931 static int send_offload_cmd_l(struct stream_out* out, int command) argument 935 ALOGVV("%s %d", __func__, command); 937 cmd->cmd = command; 1027 ALOGE("%s unknown command received: %d", __func__, cmd->cmd);
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsaucm_test.c | 137 " list IDENTIFIER list command\n" 164 char *command = NULL; local 169 command = strtok_r(cmdStr, " ", &value); 172 if (command == NULL) { 173 fprintf(stderr, "NULL pointer encountered. Invalid value for command"); 178 if (strncmp(cmd->cmd_str, command, strlen(cmd->cmd_str)) == 0) 183 fprintf(stderr, "Unknown command '%s'\n", command); 232 fprintf(stderr, "No card is opened before. %s command can't be executed\n", cmd->cmd_str); 245 fprintf(stderr, "No card is opened before. %s command ca [all...] |
/hardware/qcom/audio/msm8909/hal/ |
H A D | audio_hw.c | 928 * Enable device command should be sent to modem only after 1092 static int send_offload_cmd_l(struct stream_out* out, int command) argument 1097 ALOGE("failed to allocate mem for command 0x%x", command); 1101 ALOGVV("%s %d", __func__, command); 1103 cmd->cmd = command; 1252 ALOGE("%s unknown command received: %d", __func__, cmd->cmd);
|
/hardware/qcom/audio/msm8909/post_proc/ |
H A D | bundle.h | 69 int (*command)(effect_context_t *context, uint32_t cmdCode, uint32_t cmdSize, member in struct:effect_ops_s
|
/hardware/qcom/audio/msm8909/visualizer/ |
H A D | offload_visualizer.c | 56 int (*command)(effect_context_t *context, uint32_t cmdCode, uint32_t cmdSize, member in struct:effect_ops_s 68 bool offload_enabled; /* when offload is enabled we process VISUALIZER_CMD_CAPTURE command. 69 Otherwise non offloaded visualizer has already processed the command 899 ALOGW("%s invalid command %d", __func__, cmdCode); 945 context->ops.command = visualizer_command; 1077 // "%s command %d cmdSize %d", __func__, cmdCode, cmdSize); 1216 if (cmdCode >= EFFECT_CMD_FIRST_PROPRIETARY && context->ops.command) 1217 status = context->ops.command(context, cmdCode, cmdSize, 1220 ALOGW("%s invalid command %d", __func__, cmdCode);
|
/hardware/qcom/audio/post_proc/ |
H A D | bundle.h | 66 int (*command)(effect_context_t *context, uint32_t cmdCode, uint32_t cmdSize, member in struct:effect_ops_s
|
/hardware/qcom/audio/visualizer/ |
H A D | offload_visualizer.c | 66 int (*command)(effect_context_t *context, uint32_t cmdCode, uint32_t cmdSize, member in struct:effect_ops_s 78 bool offload_enabled; /* when offload is enabled we process VISUALIZER_CMD_CAPTURE command. 79 Otherwise non offloaded visualizer has already processed the command 920 ALOGW("%s invalid command %d", __func__, cmdCode); 962 context->ops.command = visualizer_command; 1094 // "%s command %d cmdSize %d", __func__, cmdCode, cmdSize); 1233 if (cmdCode >= EFFECT_CMD_FIRST_PROPRIETARY && context->ops.command) 1234 status = context->ops.command(context, cmdCode, cmdSize, 1237 ALOGW("%s invalid command %d", __func__, cmdCode);
|
/hardware/qcom/camera/QCamera2/HAL/ |
H A D | QCamera2HWI.cpp | 1308 * DESCRIPTION: command to be executed 4496 // we do not need to send the take picture command to interface 5483 * DESCRIPTION: send command impl 5486 * @command : command to be executed 5494 int QCamera2HardwareInterface::sendCommand(int32_t command, argument 5499 switch (command) { 5572 rc = setHistogram(command == CAMERA_CMD_HISTOGRAM_ON? true : false); 5579 mParameters.setFaceDetectionOption(command == CAMERA_CMD_START_FACE_DETECTION? true : false); 5580 rc = setFaceDetection(command [all...] |
/hardware/qcom/camera/QCamera2/HAL/test/ |
H A D | qcamera_test.cpp | 3201 * DESCRIPTION : Get a command from interpreter 3206 * RETURN : command 3383 Interpreter::Command command = local 3387 switch (command.cmd) { 3417 if ( command.arg ) 3418 stat = currentCamera->setVideoSize(command.arg); 3426 if ( command.arg ) 3427 stat = currentCamera->setPreviewSize(command.arg); 3435 if ( command.arg ) 3436 stat = currentCamera->setPictureSize(command [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_qclient.cpp | 191 status_t QClient::notifyCallback(uint32_t command, const Parcel* inParcel, argument 195 switch(command) {
|