Searched defs:duration (Results 26 - 50 of 97) sorted by relevance

1234

/drivers/media/rc/
H A Drc-core-priv.h136 static inline void decrease_duration(struct ir_raw_event *ev, unsigned duration) argument
138 if (duration > ev->duration)
139 ev->duration = 0;
141 ev->duration -= duration;
150 #define TO_US(duration) DIV_ROUND_CLOSEST((duration), 1000)
/drivers/media/usb/uvc/
H A Duvc_video.c859 unsigned int duration; local
875 duration = ts.tv_sec * 1000 + ts.tv_nsec / 1000000;
876 if (duration != 0)
878 / duration;
/drivers/net/wireless/ath/wil6210/
H A Dcfg80211.c573 unsigned int duration,
579 /* TODO: handle duration */
580 wil_info(wil, "%s(%d, %d ms)\n", __func__, chan->center_freq, duration);
570 wil_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev, struct ieee80211_channel *chan, unsigned int duration, u64 *cookie) argument
/drivers/net/wireless/iwlegacy/
H A D3945-rs.c190 u32 packet_count, duration, pps; local
204 duration =
207 D_RATE("Tx'd %d packets in %dms\n", packet_count, duration);
210 if (duration)
211 pps = (packet_count * 1000) / duration;
216 duration = (IL_AVERAGE_PACKETS * 1000) / pps;
217 if (duration < RATE_FLUSH_MIN)
218 duration = RATE_FLUSH_MIN;
219 else if (duration > RATE_FLUSH_MAX)
220 duration
[all...]
/drivers/net/wireless/rt2x00/
H A Drt2x00queue.c243 unsigned int duration; local
275 duration = GET_DURATION(data_length, hwrate->bitrate);
278 duration++;
287 txdesc->u.plcp.length_high = (duration >> 8) & 0xff;
288 txdesc->u.plcp.length_low = duration & 0xff;
/drivers/regulator/
H A Dwm8350-regulator.c312 u16 trigger, u16 duration, u16 on_ramp, u16 off_ramp,
320 duration | on_ramp | off_ramp | drive);
326 duration | on_ramp | off_ramp | drive);
311 wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode, u16 trigger, u16 duration, u16 on_ramp, u16 off_ramp, u16 drive) argument
/drivers/s390/net/
H A Dctcm_fsms.c253 unsigned long duration; local
258 duration =
261 if (duration > ch->prof.tx_time)
262 ch->prof.tx_time = duration;
1227 unsigned long duration; local
1237 duration =
1240 if (duration > ch->prof.tx_time)
1241 ch->prof.tx_time = duration;
/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.h54 u16 duration; member in struct:tag_cmd_pkt_tx_feedback
/drivers/staging/vt6656/
H A Drxtx.c29 * vnt_get_duration_le - get tx data required duration
30 * vnt_get_rtscts_duration_le- get rtx/cts required duration
342 buf->duration = vnt_get_duration_le(priv, pkt_type, need_ack);
351 return le16_to_cpu(buf->duration);
372 buf->duration = dur;
374 buf->duration = vnt_get_duration_le(priv, tx_context->pkt_type,
382 return le16_to_cpu(buf->duration);
386 struct ieee80211_rts *rts, __le16 duration)
391 rts->duration = duration;
385 vnt_fill_ieee80211_rts(struct vnt_usb_send_context *tx_context, struct ieee80211_rts *rts, __le16 duration) argument
[all...]
H A Drxtx.h103 __le16 duration; member in struct:vnt_tx_datahead_ab
110 __le16 duration; member in struct:vnt_tx_datahead_a_fb
146 __le16 duration; member in struct:vnt_rts_ab
154 __le16 duration; member in struct:vnt_rts_a_fb
243 __le16 duration; member in struct:vnt_tx_short_buf_head
/drivers/usb/core/
H A Dsysfs.c359 * get the duration that the device was actually active.
367 int duration; local
370 duration = jiffies_to_msecs(jiffies + udev->active_duration);
372 duration = jiffies_to_msecs(udev->active_duration);
373 return sprintf(buf, "%u\n", duration);
/drivers/usb/gadget/function/
H A Df_acm.c594 static int acm_send_break(struct gserial *port, int duration) argument
601 if (duration)
H A Du_serial.c989 static int gs_break_ctl(struct tty_struct *tty, int duration) argument
996 port->port_num, duration);
1001 status = gser->send_break(gser, duration);
/drivers/acpi/apei/
H A Dghes.c605 unsigned long long now, duration, period, max_period = 0; local
620 duration = now - cache->time_in;
621 if (duration >= GHES_ESTATUS_IN_CACHE_MAX_NSEC) {
627 period = duration;
/drivers/md/
H A Ddm-stats.c447 bool end, unsigned long duration)
485 p->ticks[idx] += duration;
497 bool end, unsigned long duration,
526 stats_aux->merged, end, duration);
535 unsigned long duration, struct dm_stats_aux *stats_aux)
564 __dm_stat_bio(s, bi_rw, bi_sector, end_sector, end, duration, stats_aux);
445 dm_stat_for_entry(struct dm_stat *s, size_t entry, unsigned long bi_rw, sector_t len, bool merged, bool end, unsigned long duration) argument
495 __dm_stat_bio(struct dm_stat *s, unsigned long bi_rw, sector_t bi_sector, sector_t end_sector, bool end, unsigned long duration, struct dm_stats_aux *stats_aux) argument
533 dm_stats_account_io(struct dm_stats *stats, unsigned long bi_rw, sector_t bi_sector, unsigned bi_sectors, bool end, unsigned long duration, struct dm_stats_aux *stats_aux) argument
/drivers/net/hamradio/
H A Dscc.c1419 scc_start_calibrate(struct scc_channel *scc, int duration, unsigned char pattern) argument
1431 scc->tx_wdog.expires = jiffies + HZ*duration;
/drivers/net/wireless/mwifiex/
H A Dsta_ioctl.c1109 unsigned int duration)
1123 roc_cfg.duration = cpu_to_le32(duration);
1107 mwifiex_remain_on_chan_cfg(struct mwifiex_private *priv, u16 action, struct ieee80211_channel *chan, unsigned int duration) argument
/drivers/net/wireless/rtl818x/rtl8180/
H A Ddev.c498 * RTS rate and RTS duration will be used also for CTS-to-self.
524 __le16 duration; local
528 duration = ieee80211_generic_frame_duration(dev, priv->vif,
532 frame_duration = priv->ack_time + le16_to_cpu(duration);
1210 reg |= 1<<30; /* "duration procedure mode" */
1525 /* when preamble changes, acktime duration changes, and erp must
/drivers/net/wireless/
H A Dzd1201.c1486 short enabled, duration, level; local
1492 duration = vwrq->value;
1494 ZD1201_RID_CNFMAXSLEEPDURATION, duration);
1501 ZD1201_RID_CNFMAXSLEEPDURATION, &duration);
1504 level = vwrq->value * 4 / duration;
1525 short enabled, level, duration; local
1534 err = zd1201_getconfig16(zd, ZD1201_RID_CNFMAXSLEEPDURATION, &duration);
1540 vwrq->value = duration;
1543 vwrq->value = duration * level / 4;
/drivers/nfc/pn544/
H A Dpn544.c349 u8 duration[2]; local
363 duration[0] = 0x18;
364 duration[1] = 0x6a;
366 PN544_PL_EMULATION, duration, 2);
/drivers/power/
H A Dcharger-manager.c537 * check_charging_duration - Monitor charging/discharging duration
540 * If whole charging duration exceed 'charging_max_duration_ms',
542 * duration exceed 'discharging _max_duration_ms', charger cable is
550 u64 duration; local
558 duration = curr - cm->charging_start_time;
560 if (duration > desc->charging_max_duration_ms) {
561 dev_info(cm->dev, "Charging duration exceed %ums\n",
568 duration = curr - cm->charging_end_time;
570 if (duration > desc->charging_max_duration_ms &&
572 dev_info(cm->dev, "Discharging duration excee
[all...]
/drivers/scsi/qla4xxx/
H A Dql4_83xx.c698 * qla4_83xx_poll_reg - Poll the given CRB addr for duration msecs till
703 * @duration : Poll for total of "duration" msecs
708 int duration, uint32_t test_mask,
719 retries = duration / 10;
722 msleep(duration / 10);
707 qla4_83xx_poll_reg(struct scsi_qla_host *ha, uint32_t addr, int duration, uint32_t test_mask, uint32_t test_result) argument
/drivers/staging/rtl8188eu/include/
H A Dieee80211_ext.h177 u16 duration; member in struct:ieee80211_mgmt
/drivers/thermal/
H A Dintel_powerclamp.c26 * compensation is added to clamping duration when excessive amount
69 /* Default idle injection duration, driver adjust sleep time to meet target
96 static unsigned int duration; variable
114 duration = clamp(new_duration, 6ul, 25ul);
128 module_param_cb(duration, &duration_ops, &duration, 0644);
129 MODULE_PARM_DESC(duration, "forced idle time for each attempt in msec.");
387 unsigned int duration_jiffies = msecs_to_jiffies(duration);
794 if (!duration)
795 duration
[all...]
/drivers/tty/serial/
H A D68328serial.c906 static void send_break(struct m68k_serial * info, unsigned int duration) argument
915 msleep_interruptible(duration);

Completed in 594 milliseconds

1234