/linux-6.6.21/include/linux/ |
D | pm_wakeup.h | 117 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard); 118 extern void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard); 190 unsigned int msec, bool hard) {} in pm_wakeup_ws_event() argument 192 static inline void pm_wakeup_dev_event(struct device *dev, unsigned int msec, in pm_wakeup_dev_event() argument 207 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument 209 return pm_wakeup_ws_event(ws, msec, false); in __pm_wakeup_event() 212 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event() argument 214 return pm_wakeup_dev_event(dev, msec, false); in pm_wakeup_event()
|
D | ktime.h | 184 static inline ktime_t ktime_add_ms(const ktime_t kt, const u64 msec) in ktime_add_ms() argument 186 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms() 194 static inline ktime_t ktime_sub_ms(const ktime_t kt, const u64 msec) in ktime_sub_ms() argument 196 return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); in ktime_sub_ms()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/aarch64/ |
D | arch_timer.h | 20 #define msec_to_cycles(msec) \ argument 21 (timer_get_cntfrq() * (uint64_t)(msec) / 1000) 129 static inline void timer_set_next_cval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_cval_ms() argument 132 uint64_t next_ct = now_ct + msec_to_cycles(msec); in timer_set_next_cval_ms() 137 static inline void timer_set_next_tval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_tval_ms() argument 139 timer_set_tval(timer, msec_to_cycles(msec)); in timer_set_next_tval_ms()
|
/linux-6.6.21/include/sound/ |
D | soundfont.h | 108 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
|
/linux-6.6.21/kernel/power/ |
D | suspend_test.c | 39 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()
|
/linux-6.6.21/tools/thermal/lib/ |
D | uptimeofday.c | 32 struct timespec msec_to_timespec(int msec) in msec_to_timespec() argument 35 .tv_sec = (msec / 1000), in msec_to_timespec() 36 .tv_nsec = (msec % 1000) * 1000000, in msec_to_timespec()
|
/linux-6.6.21/drivers/watchdog/ |
D | dw_wdt.c | 79 unsigned int msec; member 164 u64 msec; in dw_wdt_get_max_timeout_ms() local 166 msec = (u64)timeout->sec * MSEC_PER_SEC + timeout->msec; in dw_wdt_get_max_timeout_ms() 168 return msec < UINT_MAX ? msec : UINT_MAX; in dw_wdt_get_max_timeout_ms() 427 u64 msec; in dw_wdt_handle_tops() local 438 msec = (u64)tops[val] * MSEC_PER_SEC; in dw_wdt_handle_tops() 439 do_div(msec, dw_wdt->rate); in dw_wdt_handle_tops() 440 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops() 449 tout.msec >= dst->msec)) in dw_wdt_handle_tops()
|
D | da9052_wdt.c | 112 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()
|
/linux-6.6.21/drivers/accel/habanalabs/common/pci/ |
D | pci.c | 94 u64 msec; in hl_pci_elbi_read() local 98 msec = HL_PLDM_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_read() 100 msec = HL_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_read() 108 timeout = ktime_add_ms(ktime_get(), msec); in hl_pci_elbi_read() 157 u64 msec; in hl_pci_elbi_write() local 161 msec = HL_PLDM_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_write() 163 msec = HL_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_write() 173 timeout = ktime_add_ms(ktime_get(), msec); in hl_pci_elbi_write()
|
/linux-6.6.21/tools/testing/selftests/net/forwarding/ |
D | custom_multipath_hash.sh | 186 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 193 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 200 -d 1msec -t udp "sp=0-32768,dp=30000" 207 -d 1msec -t udp "sp=20000,dp=0-32768" 214 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 221 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 237 -d 1msec -t udp "sp=0-32768,dp=30000" 244 -d 1msec -t udp "sp=20000,dp=0-32768"
|
D | gre_custom_multipath_hash.sh | 281 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 288 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 295 -d 1msec -t udp "sp=0-32768,dp=30000" 302 -d 1msec -t udp "sp=20000,dp=0-32768" 309 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 316 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 332 -d 1msec -t udp "sp=0-32768,dp=30000" 339 -d 1msec -t udp "sp=20000,dp=0-32768"
|
D | ip6gre_custom_multipath_hash.sh | 283 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 290 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 297 -d 1msec -t udp "sp=0-32768,dp=30000" 304 -d 1msec -t udp "sp=20000,dp=0-32768" 311 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 318 -d 1msec -c 50 -t udp "sp=20000,dp=30000" 334 -d 1msec -t udp "sp=0-32768,dp=30000" 341 -d 1msec -t udp "sp=20000,dp=0-32768"
|
D | router.sh | 200 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ 249 $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $dmac \ 278 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ 298 $MZ -6 $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ 321 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $rp1mac -B $dip -q
|
D | hw_stats_l3.sh | 170 $MZ $h1.200 -c 21 -d 20msec -p 100 \ 177 $MZ $h1.200 -6 -c 21 -d 20msec -p 100 \ 184 $MZ $h2.200 -c 21 -d 20msec -p 100 \ 191 $MZ $h2.200 -6 -c 21 -d 20msec -p 100 \
|
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_l3_drops.sh | 178 $MZ $h1 -c 0 -p 100 -d 1msec -B $h2_ipv4 -q "$rp1mac $h1mac \ 208 -B $dip -d 1msec -q & 243 -b $rp1mac -B $dip -d 1msec -q & 277 -B $dip -d 1msec -q & 312 -b $rp1mac -B $dip -d 1msec -q & 343 -B $h2_ipv4 -d 1msec -q & 396 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload & 442 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload & 480 "33:33:00:00:00:00" -B $dip -d 1msec -q & 505 "33:33:00:00:00:00" -B $dip -d 1msec -q & [all …]
|
D | devlink_trap_l2_drops.sh | 105 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip -d 1msec -q & 131 $MZ $h1 "$opt" -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 191 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 234 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 304 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 349 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -B $dip -d 1msec -q & 395 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
|
D | tc_sample.sh | 338 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 364 ip vrf exec v${h3}_bond $MZ ${h3}_bond -c 3200 -d 1msec -p 64 \ 390 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 416 ip vrf exec v${h3}_bond $MZ ${h3}_bond -c 3200 -d 1msec -p 64 \ 445 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 460 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 533 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 611 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \
|
/linux-6.6.21/drivers/base/power/ |
D | sysfs.c | 456 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 …]
|
/linux-6.6.21/drivers/net/ethernet/arc/ |
D | emac_mdio.c | 115 msleep(data->msec); in arc_mdio_reset() 160 of_property_read_u32(np, "phy-reset-duration", &data->msec); in arc_mdio_probe() 162 if (data->msec > 1000) in arc_mdio_probe() 163 data->msec = 1; in arc_mdio_probe()
|
/linux-6.6.21/drivers/edac/ |
D | edac_pci.c | 167 int msec; in edac_pci_workq_function() local 183 msec = edac_pci_get_poll_msec(); in edac_pci_workq_function() 184 if (msec == 1000) in edac_pci_workq_function() 185 delay = round_jiffies_relative(msecs_to_jiffies(msec)); in edac_pci_workq_function() 187 delay = msecs_to_jiffies(msec); in edac_pci_workq_function()
|
D | edac_device.c | 354 unsigned msec) in edac_device_workq_setup() argument 362 edac_dev->poll_msec = msec; in edac_device_workq_setup() 363 edac_dev->delay = msecs_to_jiffies(msec); in edac_device_workq_setup() 400 unsigned long msec) in edac_device_reset_delay_period() argument 402 edac_dev->poll_msec = msec; in edac_device_reset_delay_period() 403 edac_dev->delay = msecs_to_jiffies(msec); in edac_device_reset_delay_period()
|
/linux-6.6.21/Documentation/devicetree/bindings/iio/accel/ |
D | lis302.txt | 30 - st,click-click-time-limit: click time limit, from 0 to 127.5msec 31 with step of 0.5 msec 32 - st,click-latency: click latency, from 0 to 255 msec with 33 step of 1 msec. 34 - st,click-window: click window, from 0 to 255 msec with 35 step of 1 msec.
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | tout.c | 67 u64 msec = to_val; in tout_convert_reg_field_to_ms() local 72 msec *= 1000 * int_pow(60, to_mul - 1); in tout_convert_reg_field_to_ms() 74 return msec; in tout_convert_reg_field_to_ms()
|
/linux-6.6.21/Documentation/watchdog/ |
D | mlx-wdt.rst | 16 Actual HW timeout can be defined as a power of 2 msec. 17 e.g. timeout 20 sec will be rounded up to 32768 msec. 18 The maximum timeout period is 32 sec (32768 msec.),
|
/linux-6.6.21/drivers/platform/chrome/ |
D | cros_ec_lightbar.c | 35 unsigned long msec = lb_interval_jiffies * 1000 / HZ; in interval_msec_show() local 37 return sysfs_emit(buf, "%lu\n", msec); in interval_msec_show() 44 unsigned long msec; in interval_msec_store() local 46 if (kstrtoul(buf, 0, &msec)) in interval_msec_store() 49 lb_interval_jiffies = msec * HZ / 1000; in interval_msec_store()
|