Lines Matching defs:command
168 const unsigned char *command;
203 const char *command,
209 ret = i2c_master_send(client, command, SHT3X_CMD_LENGTH);
271 ret = sht3x_read_from_command(client, data, data->command, buf,
445 data->command = sht3x_cmd_measure_periodic_mode;
449 data->command = sht3x_cmd_measure_single_hpm;
452 data->command = sht3x_cmd_measure_single_mpm;
455 data->command = sht3x_cmd_measure_single_lpm;
554 const char *command;
571 * have to send a break command to the sensor, which then falls back
584 command = periodic_measure_commands_hpm[mode - 1];
586 command = periodic_measure_commands_mpm[mode - 1];
588 command = periodic_measure_commands_lpm[mode - 1];
591 ret = i2c_master_send(client, command, SHT3X_CMD_LENGTH);
596 /* select mode and command */