Home
last modified time | relevance | path

Searched refs:msec (Results 1 – 25 of 255) sorted by relevance

1234567891011

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/position/android/src/
H A Dqgeosatelliteinfosource_android.cpp77 void QGeoSatelliteInfoSourceAndroid::setUpdateInterval(int msec) in setUpdateInterval() argument
80msec = (((msec > 0) && (msec < minimumUpdateInterval())) || msec < 0)? minimumUpdateInterval() : m… in setUpdateInterval()
82 if (msec == previousInterval) in setUpdateInterval()
85 QGeoSatelliteInfoSource::setUpdateInterval(msec); in setUpdateInterval()
H A Dqgeopositioninfosource_android.cpp75 void QGeoPositionInfoSourceAndroid::setUpdateInterval(int msec) in setUpdateInterval() argument
78msec = (((msec > 0) && (msec < minimumUpdateInterval())) || msec < 0)? minimumUpdateInterval() : m… in setUpdateInterval()
80 if (msec == previousInterval) in setUpdateInterval()
83 QGeoPositionInfoSource::setUpdateInterval(msec); in setUpdateInterval()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/positionpluginV1/
H A Dplugin.cpp52 void setUpdateInterval(int msec);
90 void DummySource::setUpdateInterval(int msec) in setUpdateInterval() argument
92 if (msec == 0) { in setUpdateInterval()
94 } else if (msec < 1000) { in setUpdateInterval()
95 msec = 1000; in setUpdateInterval()
96 timer->setInterval(msec); in setUpdateInterval()
98 timer->setInterval(msec); in setUpdateInterval()
101 QGeoPositionInfoSource::setUpdateInterval(msec); in setUpdateInterval()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpm_wakeup.h113 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
114 extern void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard);
188 unsigned int msec, bool hard) {} in pm_wakeup_ws_event() argument
190 static inline void pm_wakeup_dev_event(struct device *dev, unsigned int msec, in pm_wakeup_dev_event() argument
195 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
197 return pm_wakeup_ws_event(ws, msec, false); in __pm_wakeup_event()
200 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event() argument
202 return pm_wakeup_dev_event(dev, msec, false); in pm_wakeup_event()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/position/simulator/
H A Dqgeosatelliteinfosource_simulator.cpp91 void QGeoSatelliteInfoSourceSimulator::setUpdateInterval(int msec) in setUpdateInterval() argument
95 if (msec != 0 && msec < minimumUpdateInterval()) in setUpdateInterval()
96 msec = minimumUpdateInterval(); in setUpdateInterval()
98 QGeoSatelliteInfoSource::setUpdateInterval(msec); in setUpdateInterval()
100 timer->setInterval(msec); in setUpdateInterval()
H A Dqgeopositioninfosource_simulator.cpp103 void QGeoPositionInfoSourceSimulator::setUpdateInterval(int msec) in setUpdateInterval() argument
107 if (msec != 0 && msec < minimumUpdateInterval()) in setUpdateInterval()
108 msec = minimumUpdateInterval(); in setUpdateInterval()
110 QGeoPositionInfoSource::setUpdateInterval(msec); in setUpdateInterval()
112 timer->setInterval(msec); in setUpdateInterval()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/positionplugin/
H A Dplugin.cpp53 void setUpdateInterval(int msec);
120 void DummySource::setUpdateInterval(int msec) in setUpdateInterval() argument
122 if (msec == 0) { in setUpdateInterval()
124 } else if (msec < 1000) { in setUpdateInterval()
125 msec = 1000; in setUpdateInterval()
126 timer->setInterval(msec); in setUpdateInterval()
128 timer->setInterval(msec); in setUpdateInterval()
131 QGeoPositionInfoSource::setUpdateInterval(msec); in setUpdateInterval()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/position/serialnmea/
H A Dqnmeasatelliteinfosource.cpp100 void requestUpdate(int msec);
318 void QNmeaSatelliteInfoSourcePrivate::requestUpdate(int msec) in requestUpdate() argument
323 if (msec <= 0 || msec < m_source->minimumUpdateInterval()) { in requestUpdate()
339 m_requestTimer->start(msec); in requestUpdate()
512 void QNmeaSatelliteInfoSource::setUpdateInterval(int msec) in setUpdateInterval() argument
514 int interval = msec; in setUpdateInterval()
516 interval = qMax(msec, minimumUpdateInterval()); in setUpdateInterval()
544 void QNmeaSatelliteInfoSource::requestUpdate(int msec) in requestUpdate() argument
546 d->requestUpdate(msec == 0 ? 60000 * 5 : msec); // 5min default timeout in requestUpdate()
/OK3568_Linux_fs/kernel/include/sound/
H A Dsoundfont.h108 int snd_sf_calc_parm_hold(int msec);
109 int snd_sf_calc_parm_attack(int msec);
110 int snd_sf_calc_parm_decay(int msec);
111 #define snd_sf_calc_parm_delay(msec) (0x8000 - (msec) * 1000 / 725) argument
/OK3568_Linux_fs/buildroot/package/dahdi-linux/
H A D0002-fix-build-with-32-bits-kernel.patch31 + s64 msec = 0;
34 + msec = div_s64_rem(q->worst_lag_usec, 1000, &rem);
41 + q->worst_count, q->overflows, msec, rem);
88 + s64 msec = 0;
96 + msec = div_s64_rem(usec, 1000, &rem);
98 - snprintf(prefix, ARRAY_SIZE(prefix), " %3d> %5lld.%03lld msec",
100 + snprintf(prefix, ARRAY_SIZE(prefix), " %3d> %5lld.%03d msec",
101 + i++, msec, rem);
109 + s64 msec = 0;
119 + msec = div_s64_rem(q->worst_lag_usec, 1000, &rem);
[all …]
/OK3568_Linux_fs/kernel/kernel/power/
H A Dsuspend_test.c39 unsigned msec; in suspend_test_finish() local
41 msec = jiffies_to_msecs(abs(nj)); in suspend_test_finish()
43 msec / 1000, msec % 1000); in suspend_test_finish()
53 WARN(msec > (TEST_SUSPEND_SECONDS * 1000), in suspend_test_finish()
54 "Component: %s, time: %u\n", label, msec); in suspend_test_finish()
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Ddw_wdt.c80 unsigned int msec; member
165 u64 msec; in dw_wdt_get_max_timeout_ms() local
167 msec = (u64)timeout->sec * MSEC_PER_SEC + timeout->msec; in dw_wdt_get_max_timeout_ms()
169 return msec < UINT_MAX ? msec : UINT_MAX; in dw_wdt_get_max_timeout_ms()
430 u64 msec; in dw_wdt_handle_tops() local
441 msec = (u64)tops[val] * MSEC_PER_SEC; in dw_wdt_handle_tops()
442 do_div(msec, dw_wdt->rate); in dw_wdt_handle_tops()
443 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
452 tout.msec >= dst->msec)) in dw_wdt_handle_tops()
H A Dda9052_wdt.c112 unsigned long msec, jnow = jiffies; in da9052_wdt_ping() local
119 msec = (jnow - driver_data->jpast) * 1000/HZ; in da9052_wdt_ping()
120 if (msec < DA9052_TWDMIN) in da9052_wdt_ping()
121 mdelay(msec); in da9052_wdt_ping()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/platforms/
H A Datm7039-actions-generic-wlan.c117 int wifi_set_power(int on, unsigned long msec) in wifi_set_power() argument
122 if (msec) in wifi_set_power()
123 msleep(msec); in wifi_set_power()
126 int wifi_set_reset(int on, unsigned long msec) in wifi_set_reset() argument
131 if (msec) in wifi_set_reset()
132 msleep(msec); in wifi_set_reset()
H A Dh8-generic-wlan.c109 int wifi_set_power(int on, unsigned long msec) in wifi_set_power() argument
114 if (msec) in wifi_set_power()
115 msleep(msec); in wifi_set_power()
118 int wifi_set_reset(int on, unsigned long msec) in wifi_set_reset() argument
123 if (msec) in wifi_set_reset()
124 msleep(msec); in wifi_set_reset()
H A Dh3-generic-wlan.c109 int wifi_set_power(int on, unsigned long msec) in wifi_set_power() argument
114 if (msec) in wifi_set_power()
115 msleep(msec); in wifi_set_power()
118 int wifi_set_reset(int on, unsigned long msec) in wifi_set_reset() argument
123 if (msec) in wifi_set_reset()
124 msleep(msec); in wifi_set_reset()
H A Dt10-generic-wlan.c130 int wifi_set_power(int on, unsigned long msec) in wifi_set_power() argument
135 if (msec) in wifi_set_power()
136 msleep(msec); in wifi_set_power()
139 int wifi_set_reset(int on, unsigned long msec) in wifi_set_reset() argument
144 if (msec) in wifi_set_reset()
145 msleep(msec); in wifi_set_reset()
H A Dv66-generic-wlan.c104 int wifi_set_power(int on, unsigned long msec) in wifi_set_power() argument
109 if (msec) in wifi_set_power()
110 msleep(msec); in wifi_set_power()
113 int wifi_set_reset(int on, unsigned long msec) in wifi_set_reset() argument
118 if (msec) in wifi_set_reset()
119 msleep(msec); in wifi_set_reset()
H A Da33-generic-wlan.c109 int wifi_set_power(int on, unsigned long msec) in wifi_set_power() argument
114 if (msec) in wifi_set_power()
115 msleep(msec); in wifi_set_power()
118 int wifi_set_reset(int on, unsigned long msec) in wifi_set_reset() argument
123 if (msec) in wifi_set_reset()
124 msleep(msec); in wifi_set_reset()
H A Dx1000-generic-wlan.c130 int wifi_set_power(int on, unsigned long msec) in wifi_set_power() argument
135 if (msec) in wifi_set_power()
136 msleep(msec); in wifi_set_power()
139 int wifi_set_reset(int on, unsigned long msec) in wifi_set_reset() argument
144 if (msec) in wifi_set_reset()
145 msleep(msec); in wifi_set_reset()
/OK3568_Linux_fs/u-boot/drivers/sound/
H A Dsound-i2s.c173 int sound_play(uint32_t msec, uint32_t frequency) in sound_play() argument
193 while (msec >= 1000) { in sound_play()
196 msec -= 1000; in sound_play()
198 if (msec) { in sound_play()
200 (data_size * msec) / (sizeof(int) * 1000); in sound_play()
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_l3_drops.sh177 $MZ $h1 -c 0 -p 100 -d 1msec -B $h2_ipv4 -q "$rp1mac $h1mac \
207 -B $dip -d 1msec -q &
242 -b $rp1mac -B $dip -d 1msec -q &
276 -B $dip -d 1msec -q &
311 -b $rp1mac -B $dip -d 1msec -q &
342 -B $h2_ipv4 -d 1msec -q &
395 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload &
441 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload &
479 "33:33:00:00:00:00" -B $dip -d 1msec -q &
504 "33:33:00:00:00:00" -B $dip -d 1msec -q &
[all …]
/OK3568_Linux_fs/kernel/drivers/base/power/
H A Dsysfs.c456 s64 msec; in wakeup_total_time_ms_show() local
461 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
468 return sysfs_emit(buf, "%lld\n", msec); in wakeup_total_time_ms_show()
476 s64 msec; in wakeup_max_time_ms_show() local
481 msec = ktime_to_ms(dev->power.wakeup->max_time); in wakeup_max_time_ms_show()
488 return sysfs_emit(buf, "%lld\n", msec); in wakeup_max_time_ms_show()
497 s64 msec; in wakeup_last_time_ms_show() local
502 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_ms_show()
509 return sysfs_emit(buf, "%lld\n", msec); in wakeup_last_time_ms_show()
527 s64 msec; in wakeup_prevent_sleep_time_ms_show() local
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/position/corelocation/
H A Dqgeopositioninfosource_cl.mm130 void QGeoPositionInfoSourceCL::setUpdateInterval(int msec)
132 // If msec is 0 we send updates as data becomes available, otherwise we force msec to be equal
134 if (msec != 0 && msec < minimumUpdateInterval())
135 msec = minimumUpdateInterval();
137 QGeoPositionInfoSource::setUpdateInterval(msec);
140 m_updateTimeout = msec;
225 void QGeoPositionInfoSourceCL::setTimeoutInterval(int msec)
229 if (msec > 0) m_updateTimer = startTimer(msec);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/position/geoclue/
H A Dqgeosatelliteinfosource_geocluemaster.cpp75 void QGeoSatelliteInfoSourceGeoclueMaster::setUpdateInterval(int msec) in setUpdateInterval() argument
77 if (msec < 0 || (msec > 0 && msec < MINIMUM_UPDATE_INTERVAL)) in setUpdateInterval()
78 msec = MINIMUM_UPDATE_INTERVAL; in setUpdateInterval()
80 QGeoSatelliteInfoSource::setUpdateInterval(msec); in setUpdateInterval()

1234567891011