/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_clientmgr.c | 599 * rewrite the time-stamp of the event record with the curren time 614 event->time.time = snd_seq_timer_get_cur_time(q->timer, true); in update_timestamp_of_queue() 617 event->time.tick = snd_seq_timer_get_cur_tick(q->timer); in update_timestamp_of_queue() 741 /* convert time according to flag with subscription */ in __deliver_to_subscribers() 869 /* add the duration time */ in snd_seq_dispatch_event() 872 cell->event.time.tick += ev->data.note.duration; in snd_seq_dispatch_event() 876 ev->time.time in snd_seq_dispatch_event() [all...] |
/kernel/linux/linux-6.6/sound/pci/riptide/ |
H A D | riptide.c | 826 unsigned int time = 0; in sendcmd() local 861 for (j = 0, time = 0; time < CMDIF_TIMEOUT; j++, time += 2) { in sendcmd() 873 time < CMDIF_TIMEOUT) { in sendcmd() 875 time++; in sendcmd() 877 if (time < CMDIF_TIMEOUT) { /* read response */ in sendcmd() 891 if (time == CMDIF_TIMEOUT) { in sendcmd() 898 cif->cmdtime += time; in sendcmd() 899 if (time > ci in sendcmd() [all...] |
/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | i2c_test.c | 251 uint32_t time = 0; in I2cTestStartThread() local 279 time++; in I2cTestStartThread() 280 if (time > I2C_TEST_WAIT_TIMEOUT) { in I2cTestStartThread() 340 // liteos the accuracy of the obtained time is too large and inaccurate. in I2cTestPeformance()
|
H A D | i3c_test.c | 370 uint32_t time = 0; in I3cTestStartThread() local 398 time++; in I3cTestStartThread() 399 if (time > I3C_TEST_WAIT_TIMEOUT) { in I3cTestStartThread()
|
H A D | platform_dumper_test.c | 341 uint32_t time = 0; in PlatformDumperTestStartThread() local 369 time++; in PlatformDumperTestStartThread() 370 if (time > PLAT_DUMPER_TEST_WAIT_TIMEOUT) { in PlatformDumperTestStartThread()
|
/drivers/liteos/hievent/src/ |
H A D | hiview_hievent.c | 257 event->time = seconds; in HiviewHieventSetTime() 460 /* fill time */ in HiviewHieventConvertString() 461 if (event->time) { in HiviewHieventConvertString() 462 tmplen = snprintf_s(tmp, len, len - 1, " -t %lld", event->time); in HiviewHieventConvertString()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 194 struct AudioTimeStamp time; member 385 int32_t AudioRenderGetRenderPosition(struct AudioRender *render, uint64_t *frames, struct AudioTimeStamp *time); 393 int32_t AudioRenderGetMmapPosition(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
|
/drivers/peripheral/location/gnss/hdi_service/ |
H A D | location_vendor_lib.h | 497 * time - Timestamp when the nmea was reported. Milliseconds since January 1, 1970. 501 typedef void (*OnGnssNmeaChange)(int64_t time, const char* nmea, int length); 539 * period of time. See GnssStartCategory for the definition of startCategory. 550 * GNSS reference time. 555 /* UTC time received from the NTP server, Milliseconds since January 1, 1970. */ 556 int64_t time; member 561 /* This is uncertainty of time. The unit is milliseconds. */ 578 GnssRefTime time; member 850 * Indicates the clock time of the GNSS receiver, the unit is nanosecond. 861 * The difference between receiverClockTime and the true GPS time sinc [all...] |
/drivers/peripheral/usb/sample/host/src/ |
H A D | usbhost_sdkapi_speed.c | 29 #include <sys/time.h> 416 struct timeval time; in main() local 445 gettimeofday(&time, NULL); in main()
|
/kernel/linux/linux-5.10/drivers/extcon/ |
H A D | extcon-max8997.c | 153 * max8997_muic_set_debounce_time - Set the debounce time of ADC 155 * @time: the debounce time of ADC 158 enum max8997_muic_adc_debounce_time time) in max8997_muic_set_debounce_time() 162 switch (time) { in max8997_muic_set_debounce_time() 169 time << CONTROL3_ADCDBSET_SHIFT, in max8997_muic_set_debounce_time() 172 dev_err(info->dev, "failed to set ADC debounce time\n"); in max8997_muic_set_debounce_time() 177 dev_err(info->dev, "invalid ADC debounce time\n"); in max8997_muic_set_debounce_time() 713 * Default delay time for detecting cable state in max8997_muic_probe() 714 * after certain time in max8997_muic_probe() 157 max8997_muic_set_debounce_time(struct max8997_muic_info *info, enum max8997_muic_adc_debounce_time time) max8997_muic_set_debounce_time() argument [all...] |
H A D | extcon-max14577.c | 153 * max14577_muic_set_debounce_time - Set the debounce time of ADC 155 * @time: the debounce time of ADC 158 enum max14577_muic_adc_debounce_time time) in max14577_muic_set_debounce_time() 162 switch (time) { in max14577_muic_set_debounce_time() 170 time << CTRL3_ADCDBSET_SHIFT); in max14577_muic_set_debounce_time() 172 dev_err(info->dev, "failed to set ADC debounce time\n"); in max14577_muic_set_debounce_time() 177 dev_err(info->dev, "invalid ADC debounce time\n"); in max14577_muic_set_debounce_time() 751 /* Set ADC debounce time */ in max14577_muic_probe() 157 max14577_muic_set_debounce_time(struct max14577_muic_info *info, enum max14577_muic_adc_debounce_time time) max14577_muic_set_debounce_time() argument
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
H A D | ipmi_bt_sm.c | 147 * This cannot be called by two threads at the same time and in status2txt() 171 /* called externally at insmod time, and internally on cleanup */ 177 /* external: one-time only things */ in bt_init_data() 450 static enum si_sm_result bt_event(struct si_sm_data *bt, long time) in bt_event() argument 463 time); in bt_event() 468 * Commands that time out may still (eventually) provide a response. in bt_event() 482 bt->timeout -= time; in bt_event()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | acinterp.h | 300 acpi_status acpi_ex_system_do_sleep(u64 time); 302 acpi_status acpi_ex_system_do_stall(u32 time); 307 acpi_ex_system_wait_event(union acpi_operand_object *time,
|
/kernel/linux/build/test/unittest/accesstokenid/ |
H A D | accesstokenid_test.cpp | 70 struct timespec time = {0, 0}; in GenRand64() local 81 clock_gettime(CLOCK_REALTIME, &time); in GenRand64() 83 return randvalue + time.tv_nsec; in GenRand64()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | cpufreq_governor.c | 74 * written, but it will be corrected next time a sample is in store_sampling_rate() 132 * idle, so do not add the iowait time to the CPU idle time then. in dbs_update() 171 * time-window, because it would show near-zero load, in dbs_update() 177 * time-window and give this task a chance to start with in dbs_update() 183 * computed again next time. in dbs_update() 199 * between time_elapsed and "busy time" obtained in dbs_update() 200 * from CPU statistics. Then, the "busy time" in dbs_update() 206 * the time (on the rough average) during the in dbs_update() 269 static void dbs_update_util_handler(struct update_util_data *data, u64 time, in dbs_update_util_handler() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | hdlc_cisco.c | 44 __be32 time; member 116 data->time = htonl((jiffies - INITIAL_JIFFIES) * (1000 / HZ)); in cisco_keepalive_send() 229 sec = ntohl(cisco_data->time) / 1000; in cisco_rx()
|
/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | cpufreq_cooling.c | 42 * struct time_in_idle - Idle time stats 43 * @time: previous reading of the absolute time that this cpu was idle 44 * @timestamp: wall time of the last invocation of get_cpu_idle_time_us() 47 u64 time; member 65 * @idle_time: idle time stats 151 delta_idle = now_idle - idle_time->time; in get_load() 159 idle_time->time = now_idle; in get_load()
|
/kernel/linux/linux-5.10/drivers/usb/ |
H A D | usb-skeleton.c | 588 int time; in skel_draw_down() local 590 time = usb_wait_anchor_empty_timeout(&dev->submitted, 1000); in skel_draw_down() 591 if (!time) in skel_draw_down()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | parport.h | 153 unsigned long int time; member 382 unsigned long int timeslip = (jiffies - dev->time); in parport_yield() 400 unsigned long int timeslip = (jiffies - dev->time); in parport_yield_blocking()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | dst.h | 230 static inline void dst_use_noref(struct dst_entry *dst, unsigned long time) in dst_use_noref() argument 232 if (unlikely(time != dst->lastuse)) { in dst_use_noref() 234 dst->lastuse = time; in dst_use_noref()
|
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
H A D | seq_oss_event.c | 233 tmp.echo = (q->t.time << 8) | SEQ_ECHO; in timing_event() 249 return snd_seq_oss_timer_tempo(dp->timer, q->t.time); in timing_event() 437 snd_seq_oss_writeq_wakeup(dp->writeq, rec->t.time); in snd_seq_oss_event_input()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | rt715-sdw.c | 542 unsigned long time; in rt715_dev_resume() local 550 time = wait_for_completion_timeout(&slave->initialization_complete, in rt715_dev_resume() 552 if (!time) { in rt715_dev_resume()
|
H A D | rt711-sdw.c | 501 unsigned long time; in rt711_dev_resume() local 509 time = wait_for_completion_timeout(&slave->initialization_complete, in rt711_dev_resume() 511 if (!time) { in rt711_dev_resume()
|
H A D | rt700-sdw.c | 499 unsigned long time; in rt700_dev_resume() local 507 time = wait_for_completion_timeout(&slave->initialization_complete, in rt700_dev_resume() 509 if (!time) { in rt700_dev_resume()
|
/kernel/linux/linux-5.10/sound/usb/hiface/ |
H A D | pcm.c | 185 int i, time; in hiface_pcm_stream_stop() local 191 time = usb_wait_anchor_empty_timeout( in hiface_pcm_stream_stop() 193 if (!time) in hiface_pcm_stream_stop()
|