Searched defs:ms (Results 1 - 13 of 13) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Dadafruitms1438-stepper.cxx38 upm::AdafruitMS1438 *ms = local
47 ms->disableStepper(AdafruitMS1438::STEPMOTOR_M12);
50 ms->stepConfig(AdafruitMS1438::STEPMOTOR_M12, 200);
53 ms->setStepperSpeed(AdafruitMS1438::STEPMOTOR_M12, 10);
54 ms->setStepperDirection(AdafruitMS1438::STEPMOTOR_M12,
59 ms->enableStepper(AdafruitMS1438::STEPMOTOR_M12);
62 ms->stepperSteps(AdafruitMS1438::STEPMOTOR_M12, 200);
69 ms->setStepperDirection(AdafruitMS1438::STEPMOTOR_M12,
71 ms->stepperSteps(AdafruitMS1438::STEPMOTOR_M12, 100);
74 ms
[all...]
H A Dadafruitms1438.cxx38 upm::AdafruitMS1438 *ms = local
45 ms->setPWMPeriod(50);
48 ms->disableMotor(AdafruitMS1438::MOTOR_M3);
51 ms->setMotorSpeed(AdafruitMS1438::MOTOR_M3, 50);
52 ms->setMotorDirection(AdafruitMS1438::MOTOR_M3, AdafruitMS1438::DIR_CW);
57 ms->enableMotor(AdafruitMS1438::MOTOR_M3);
62 ms->setMotorDirection(AdafruitMS1438::MOTOR_M3, AdafruitMS1438::DIR_CCW);
67 ms->disableMotor(AdafruitMS1438::MOTOR_M3);
73 delete ms;
/hardware/bsp/intel/peripheral/libupm/src/cjq4435/
H A Dcjq4435.cxx61 void CJQ4435::setPeriodMS(int ms) argument
63 if (mraa_pwm_period_ms(m_pwm, ms) != MRAA_SUCCESS)
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
H A Dpwm.hpp117 * @param ms milliseconds for period
121 period_ms(int ms) argument
123 return (Result) mraa_pwm_period_ms(m_pwm, ms);
150 * @param ms milliseconds for pulsewidth
154 pulsewidth_ms(int ms) argument
156 return (Result) mraa_pwm_pulsewidth_ms(m_pwm, ms);
187 * @param period represented in ms.
188 * @param duty represnted in ms as float.
199 * @param period as represented in ms.
/hardware/akm/AK8975_FS/libsensors/
H A DKionixSensor.cpp127 int ms; local
136 ms = delay_ns / 1000000;
137 if (ioctl(dev_fd, KIONIX_IOCTL_UPDATE_ODR, &ms)) {
/hardware/bsp/intel/peripheral/libupm/src/l298/
H A Dl298.cxx198 void L298::setPeriodMS(int ms) argument
202 if (mraa_pwm_period_ms(m_pwm, ms) != MRAA_SUCCESS)
/hardware/bsp/intel/peripheral/libupm/src/st7735/
H A Dst7735.cxx97 uint16_t ms; local
103 ms = numArgs & DELAY; // If hibit set, delay follows args
109 if(ms) {
110 ms = *(addr++); // Read post-command delay time (ms)
111 if (ms == 255) {
112 ms = 500; // If 255, delay for 500 ms
114 usleep (ms * 1000);
/hardware/bsp/intel/peripheral/libmraa/src/pwm/
H A Dpwm.c317 mraa_pwm_period_ms(mraa_pwm_context dev, int ms) argument
319 return mraa_pwm_period_us(dev, ms * 1000);
339 mraa_pwm_pulsewidth_ms(mraa_pwm_context dev, int ms) argument
341 return mraa_pwm_pulsewidth_us(dev, ms * 1000);
431 mraa_pwm_config_ms(mraa_pwm_context dev, int ms, float ms_float) argument
436 status = mraa_pwm_period_us(dev, ms * 1000);
455 mraa_pwm_config_percent(mraa_pwm_context dev, int ms, float percentage) argument
460 status = mraa_pwm_period_us(dev, ms * 1000);
469 status = mraa_pwm_pulsewidth_us(dev, (ms * 1000) * percentage);
/hardware/qcom/display/msm8996/sdm/include/utils/
H A Dlocker.h142 int WaitFinite(int ms) { argument
146 ts.tv_sec = tv.tv_sec + ms/1000;
147 ts.tv_nsec = tv.tv_usec*1000 + (ms%1000)*1000000;
/hardware/qcom/camera/usbcamcore/src/
H A DQCameraMjpegDecode.cpp130 static int mjpegd_cond_timedwait(pthread_cond_t *p_cond, pthread_mutex_t *p_mutex, uint32_t ms);
485 ALOGI("%s: decoder_test: decoding aborted successfully after %d ms", __func__, diff);
491 "decode time: %d ms", __func__, diff);
497 ALOGI("%s: decode time: %d ms (%d frame(s), total=%dms, avg=%dms/frame)",
681 int mjpegd_cond_timedwait(pthread_cond_t *p_cond, pthread_mutex_t *p_mutex, uint32_t ms) argument
687 if (ms >= 1000) {
688 ts.tv_sec += (ms/1000);
689 ts.tv_nsec += ((ms%1000) * 1000000);
691 ts.tv_nsec += (ms * 1000000);
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dbcmutils.c1089 bcm_mdelay(uint ms) argument
1093 for (i = 0; i < ms; i++) {
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_encodeframe.c2649 const int ms = num_8x8_blocks_wide_lookup[bsize] / 2; local
2660 const int force_horz_split = (mi_row + ms >= cm->mi_rows);
2661 const int force_vert_split = (mi_col + ms >= cm->mi_cols);
2757 const int x_idx = (i & 1) * ms;
2758 const int y_idx = (i >> 1) * ms;
2806 if (sum_rd < best_rd && mi_row + ms < cm->mi_rows) {
2811 nonrd_pick_sb_modes(cpi, tile, mi_row + ms, mi_col,
2846 if (sum_rd < best_rd && mi_col + ms < cm->mi_cols) {
2851 nonrd_pick_sb_modes(cpi, tile, mi_row, mi_col + ms,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc519 GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms);
525 GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601(TimeInMillis ms);
969 // Gets the time of the test program start, in ms from the start of the
1311 // The time of the test program start, in ms from the start of the
1566 StreamableToString(unit_test.elapsed_time()) + "ms");
1576 + "ms");
1587 StreamableToString((test_info.result())->elapsed_time()) + "ms");
4288 printf(" (%s ms)\n", internal::StreamableToString(
4302 printf("%s from %s (%s ms total)\n\n",
4347 printf(" (%s ms tota
4697 FormatTimeInMillisAsSeconds(TimeInMillis ms) argument
4705 FormatEpochTimeInMillisAsIso8601(TimeInMillis ms) argument
[all...]

Completed in 497 milliseconds