/drivers/net/wireless/iwlwifi/mvm/ |
H A D | tdls.c | 134 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 D | time-event.c | 249 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 D | tt.c | 76 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 D | ledtrig-transient.c | 34 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 D | hwt.c | 216 * 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 D | ir-lirc-codec.c | 29 * @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 D | iwl-spectrum.h | 43 __le16 duration; member in struct:ieee80211_basic_report 65 __le16 duration; member in struct:ieee80211_measurement_params
|
/drivers/block/rsxx/ |
H A D | dev.c | 132 unsigned long duration = jiffies - start_time; local 140 part_stat_add(cpu, part0, ticks[rw], duration);
|
/drivers/char/tpm/ |
H A D | xen-tpmfront.c | 81 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 D | tpm-interface.c | 315 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 D | menu.c | 55 * 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 D | iforce-ff.c | 310 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 D | cros_ec_keyb.c | 309 unsigned long duration; local 318 duration = jiffies; 326 duration = jiffies - duration; 328 jiffies_to_usecs(duration));
|
/drivers/md/bcache/ |
H A D | util.c | 171 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 D | request.c | 605 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 D | cx25821-medusa-video.c | 481 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 D | fakehard.c | 216 * @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 D | btcoex.c | 467 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 D | hostap_80211.h | 10 __le16 duration; member in struct:hostap_ieee80211_mgmt
|
/drivers/base/power/ |
H A D | wakeup.c | 497 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 D | ivtv-streams.c | 839 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 D | pciehp_hpc.c | 134 unsigned long duration = msecs_to_jiffies(msecs); local 135 unsigned long cmd_timeout = ctrl->cmd_started + duration;
|
/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_cmdpkt.h | 57 u16 duration; /* */ member in struct:cmpk_txfb
|
/drivers/staging/vt6655/ |
H A D | rxtx.h | 104 __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 D | drbd_req.c | 55 unsigned long duration = jiffies - req->start_jif; local 58 part_stat_add(cpu, &device->vdisk->part0, ticks[rw], duration);
|