Searched defs:duration (Results 1 - 25 of 97) sorted by relevance

1234

/drivers/net/wireless/iwlwifi/mvm/
H A Dtdls.c134 u32 duration = 2 * vif->bss_conf.dtim_period * vif->bss_conf.beacon_int; local
145 iwl_mvm_protect_session(mvm, vif, duration, duration, 100, true);
H A Dtime-event.c249 te_data->end_jiffies = TU_TO_EXP_TIME(te_data->duration);
425 IWL_DEBUG_TE(mvm, "Add new TE, duration %d TU\n",
426 le32_to_cpu(te_cmd->duration));
434 te_data->duration = le32_to_cpu(te_cmd->duration);
477 u32 duration, u32 min_duration,
522 time_cmd.duration = cpu_to_le32(duration);
615 int duration, enum ieee80211_roc_type type)
658 time_cmd.max_frags = min(MSEC_TO_TU(duration)/5
475 iwl_mvm_protect_session(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 min_duration, u32 max_delay, bool wait_for_notif) argument
614 iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int duration, enum ieee80211_roc_type type) argument
703 iwl_mvm_schedule_csa_period(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u32 duration, u32 apply_time) argument
[all...]
H A Dtt.c76 u32 duration = mvm->thermal_throttle.params->ct_kill_duration; local
90 round_jiffies_relative(duration * HZ));
171 u32 duration; local
177 duration = tt->params->ct_kill_duration;
210 round_jiffies(duration * HZ));
/drivers/leds/trigger/
H A Dledtrig-transient.c34 unsigned long duration; member in struct:transient_trig_data
81 transient_data->duration != 0) {
87 jiffies + transient_data->duration);
104 return sprintf(buf, "%lu\n", transient_data->duration);
119 transient_data->duration = state;
155 static DEVICE_ATTR(duration, 0644, transient_duration_show,
/drivers/net/fddi/skfp/
H A Dhwt.c216 * hwt_wait_time(smc,start,duration)
222 * duration time to wait
227 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration) argument
242 if (interval > duration) {
248 } while (diff <= duration) ;
265 } while (diff <= duration) ;
/drivers/media/rc/
H A Dir-lirc-codec.c29 * @duration: the struct ir_raw_event descriptor of the pulse/space
61 lirc->gap_duration = ev.duration;
66 sample = LIRC_TIMEOUT(ev.duration / 1000);
67 IR_dprintk(2, "timeout report (duration: %d)\n", sample);
89 sample = ev.pulse ? LIRC_PULSE(ev.duration / 1000) :
90 LIRC_SPACE(ev.duration / 1000);
92 TO_US(ev.duration), TO_STR(ev.pulse));
112 unsigned int duration = 0; /* signal duration in us */ local
144 if (txbuf[i] > IR_MAX_DURATION / 1000 - duration || !txbu
[all...]
/drivers/net/wireless/iwlegacy/
H A Diwl-spectrum.h43 __le16 duration; member in struct:ieee80211_basic_report
65 __le16 duration; member in struct:ieee80211_measurement_params
/drivers/block/rsxx/
H A Ddev.c132 unsigned long duration = jiffies - start_time; local
140 part_stat_add(cpu, part0, ticks[rw], duration);
/drivers/char/tpm/
H A Dxen-tpmfront.c81 unsigned long duration; local
104 duration = tpm_calc_ordinal_duration(chip, ordinal);
106 if (wait_for_tpm_stat(chip, VTPM_STATUS_IDLE, duration,
H A Dtpm-interface.c315 int duration = 0; local
323 duration = chip->vendor.duration[duration_idx];
324 if (duration <= 0)
327 return duration;
523 goto duration;
572 duration:
588 duration_cap = &tpm_cmd.params.getcap_out.cap.duration;
589 chip->vendor.duration[TPM_SHORT] =
591 chip->vendor.duration[TPM_MEDIU
761 unsigned long duration; local
[all...]
/drivers/cpuidle/governors/
H A Dmenu.c55 * provides us this duration in the "target_residency" field. So all that we
63 * duration always was 50% of the next timer tick, the correction factor will
69 * duration; if we expect 500 milliseconds of idle time the likelihood of
77 * indexed based on the magnitude of the expected duration as well as the
86 * For this, we use a different predictor: We track the duration of the last 8
102 * the predicted duration, the C state is not considered a candidate
142 static inline int which_bucket(unsigned int duration, unsigned long nr_iowaiters) argument
150 * E(duration)|iowait
155 if (duration < 10)
157 if (duration < 10
[all...]
/drivers/input/joystick/iforce/
H A Diforce-ff.c310 u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button,
315 duration = TIME_SCALE(duration);
323 data[3] = LO(duration);
324 data[4] = HI(duration);
309 make_core(struct iforce* iforce, u16 id, u16 mod_id1, u16 mod_id2, u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, u16 interval, u16 direction) argument
/drivers/input/keyboard/
H A Dcros_ec_keyb.c309 unsigned long duration; local
318 duration = jiffies;
326 duration = jiffies - duration;
328 jiffies_to_usecs(duration));
/drivers/md/bcache/
H A Dutil.c171 uint64_t now, duration, last; local
176 duration = time_after64(now, start_time)
181 stats->max_duration = max(stats->max_duration, duration);
184 ewma_add(stats->average_duration, duration, 8, 8);
191 stats->average_duration = duration << 8;
H A Drequest.c605 unsigned long duration = jiffies - s->start_time; local
609 part_stat_add(cpu, &s->d->disk->part0, ticks[rw], duration);
/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c481 int duration)
514 fld_cnt |= duration;
517 fld_cnt |= ((u32) duration) << 16;
685 * FIXME: due to a coding bug the duration was always 0. It's
688 * now just fill in 0 as the duration.
480 medusa_set_decoderduration(struct cx25821_dev *dev, int decoder, int duration) argument
/drivers/net/ieee802154/
H A Dfakehard.c216 * @duration: How long to spend on each channel.
219 * on the channels indicated in the @channels bitmask. The duration of
220 * the scan is measured in terms of superframe duration. Specifically,
227 u8 page, u8 duration)
226 fake_scan_req(struct net_device *dev, u8 type, u32 channels, u8 page, u8 duration) argument
/drivers/net/wireless/brcm80211/brcmfmac/
H A Dbtcoex.c467 enum brcmf_btcoex_mode mode, u16 duration)
480 btci->timeout = duration;
466 brcmf_btcoex_set_mode(struct brcmf_cfg80211_vif *vif, enum brcmf_btcoex_mode mode, u16 duration) argument
/drivers/net/wireless/hostap/
H A Dhostap_80211.h10 __le16 duration; member in struct:hostap_ieee80211_mgmt
/drivers/base/power/
H A Dwakeup.c497 ktime_t duration; local
518 duration = ktime_sub(now, ws->last_time);
519 ws->total_time = ktime_add(ws->total_time, duration);
520 if (ktime_to_ns(duration) > ktime_to_ns(ws->max_time))
521 ws->max_time = duration;
/drivers/media/pci/ivtv/
H A Divtv-streams.c839 unsigned long duration; local
860 duration = ((1000 + HZ / 2) / HZ) * (jiffies - then);
864 IVTV_DEBUG_WARN("%s: waited %lu ms.\n", s->name, duration);
866 IVTV_DEBUG_INFO("%s: EOS took %lu ms to occur.\n", s->name, duration);
/drivers/pci/hotplug/
H A Dpciehp_hpc.c134 unsigned long duration = msecs_to_jiffies(msecs); local
135 unsigned long cmd_timeout = ctrl->cmd_started + duration;
/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_cmdpkt.h57 u16 duration; /* */ member in struct:cmpk_txfb
/drivers/staging/vt6655/
H A Drxtx.h104 __le16 duration; member in struct:vnt_tx_datahead_ab
110 __le16 duration; member in struct:vnt_tx_datahead_a_fb
143 __le16 duration; member in struct:vnt_rts_ab
150 __le16 duration; member in struct:vnt_rts_a_fb
180 __le16 duration; member in struct:vnt_tx_short_buf_head
/drivers/block/drbd/
H A Ddrbd_req.c55 unsigned long duration = jiffies - req->start_jif; local
58 part_stat_add(cpu, &device->vdisk->part0, ticks[rw], duration);

Completed in 1112 milliseconds

1234