Home
last modified time | relevance | path

Searched refs:tim (Results 1 – 25 of 58) sorted by relevance

123

/linux/drivers/memory/
H A Dof_memory.c64 struct lpddr2_timings *tim) in of_do_get_timings() argument
68 ret = of_property_read_u32(np, "max-freq", &tim->max_freq); in of_do_get_timings()
69 ret |= of_property_read_u32(np, "min-freq", &tim->min_freq); in of_do_get_timings()
70 ret |= of_property_read_u32(np, "tRPab", &tim->tRPab); in of_do_get_timings()
71 ret |= of_property_read_u32(np, "tRCD", &tim->tRCD); in of_do_get_timings()
72 ret |= of_property_read_u32(np, "tWR", &tim->tWR); in of_do_get_timings()
73 ret |= of_property_read_u32(np, "tRAS-min", &tim->tRAS_min); in of_do_get_timings()
74 ret |= of_property_read_u32(np, "tRRD", &tim->tRRD); in of_do_get_timings()
75 ret |= of_property_read_u32(np, "tWTR", &tim->tWTR); in of_do_get_timings()
76 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_do_get_timings()
[all …]
/linux/include/linux/
H A Dtime_namespace.h96 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim,
99 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host() argument
104 return tim; in timens_ktime_to_host()
106 return do_timens_ktime_to_host(clockid, tim, &ns->offsets); in timens_ktime_to_host()
162 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host() argument
164 return tim; in timens_ktime_to_host()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_vmlinux.c73 int BPF_KPROBE(handle__kprobe, struct hrtimer *timer, ktime_t tim, u64 delta_ns, in BPF_KPROBE() argument
76 if (tim == MY_TV_NSEC) in BPF_KPROBE()
82 int BPF_PROG(handle__fentry, struct hrtimer *timer, ktime_t tim, u64 delta_ns, in BPF_PROG() argument
85 if (tim == MY_TV_NSEC) in BPF_PROG()
/linux/kernel/time/
H A Dnamespace.c23 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim, in do_timens_ktime_to_host() argument
37 return tim; in do_timens_ktime_to_host()
44 if (tim < offset) { in do_timens_ktime_to_host()
49 tim = 0; in do_timens_ktime_to_host()
51 tim = ktime_sub(tim, offset); in do_timens_ktime_to_host()
52 if (unlikely(tim > KTIME_MAX)) in do_timens_ktime_to_host()
53 tim = KTIME_MAX; in do_timens_ktime_to_host()
56 return tim; in do_timens_ktime_to_host()
H A Dhrtimer.c1164 static inline ktime_t hrtimer_update_lowres(struct hrtimer *timer, ktime_t tim, in hrtimer_update_lowres() argument
1175 tim = ktime_add_safe(tim, hrtimer_resolution); in hrtimer_update_lowres()
1177 return tim; in hrtimer_update_lowres()
1205 static int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in __hrtimer_start_range_ns() argument
1237 tim = ktime_add_safe(tim, base->get_time()); in __hrtimer_start_range_ns()
1239 tim = hrtimer_update_lowres(timer, tim, mode); in __hrtimer_start_range_ns()
1241 hrtimer_set_expires_range_ns(timer, tim, delta_ns); in __hrtimer_start_range_ns()
1273 void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in hrtimer_start_range_ns() argument
1293 if (__hrtimer_start_range_ns(timer, tim, delta_ns, mode, base)) in hrtimer_start_range_ns()
/linux/drivers/video/fbdev/omap/
H A Dsossi.c165 t->tim[0] = tw0 - 1; in calc_rd_timings()
166 t->tim[1] = tw1 - 1; in calc_rd_timings()
204 t->tim[2] = tw0 - 1; in calc_wr_timings()
205 t->tim[3] = tw1 - 1; in calc_wr_timings()
331 t->tim[4] = div; in sossi_convert_timings()
342 sossi.clk_tw0[RD_ACCESS] = t->tim[0]; in sossi_set_timings()
343 sossi.clk_tw1[RD_ACCESS] = t->tim[1]; in sossi_set_timings()
345 sossi.clk_tw0[WR_ACCESS] = t->tim[2]; in sossi_set_timings()
346 sossi.clk_tw1[WR_ACCESS] = t->tim[3]; in sossi_set_timings()
348 sossi.clk_div = t->tim[4]; in sossi_set_timings()
H A Domapfb.h105 u32 tim[5]; /* set by extif->convert_timings */ member
/linux/drivers/net/wireless/intersil/p54/
H A Dmain.c103 u8 *tim; in p54_beacon_format_ie_tim() local
108 tim = p54_find_ie(skb, WLAN_EID_TIM); in p54_beacon_format_ie_tim()
109 if (!tim) in p54_beacon_format_ie_tim()
112 dtim_len = tim[1]; in p54_beacon_format_ie_tim()
113 dtim_period = tim[3]; in p54_beacon_format_ie_tim()
114 next = tim + 2 + dtim_len; in p54_beacon_format_ie_tim()
119 memmove(tim, next, skb_tail_pointer(skb) - next); in p54_beacon_format_ie_tim()
120 tim = skb_tail_pointer(skb) - (dtim_len + 2); in p54_beacon_format_ie_tim()
123 tim[0] = WLAN_EID_TIM; in p54_beacon_format_ie_tim()
124 tim[1] = 3; in p54_beacon_format_ie_tim()
[all …]
H A Dfwio.c263 struct p54_tim *tim; in p54_update_beacon_tim() local
265 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*tim), in p54_update_beacon_tim()
270 tim = skb_put(skb, sizeof(*tim)); in p54_update_beacon_tim()
271 tim->count = 1; in p54_update_beacon_tim()
272 tim->entry[0] = cpu_to_le16(set ? (aid | 0x8000) : aid); in p54_update_beacon_tim()
H A Dtxrx.c298 u8 *tim; in p54_pspoll_workaround() local
313 tim = p54_find_ie(skb, WLAN_EID_TIM); in p54_pspoll_workaround()
314 if (!tim) in p54_pspoll_workaround()
317 tim_len = tim[1]; in p54_pspoll_workaround()
318 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in p54_pspoll_workaround()
/linux/samples/vfs/
H A Dtest-statx.c51 time_t tim; in print_time() local
55 tim = ts->tv_sec; in print_time()
56 if (!localtime_r(&tim, &tm)) { in print_time()
/linux/drivers/net/wireless/ath/carl9170/
H A Drx.c523 u8 *tim; in carl9170_ps_beacon() local
541 tim = carl9170_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in carl9170_ps_beacon()
542 if (!tim) in carl9170_ps_beacon()
545 if (tim[1] < sizeof(*tim_ie)) in carl9170_ps_beacon()
548 tim_len = tim[1]; in carl9170_ps_beacon()
549 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in carl9170_ps_beacon()
/linux/drivers/net/wireless/ti/wl1251/
H A Dcmd.c182 vbm->tim.bitmap_ctrl = bitmap_control; in wl1251_cmd_vbm()
188 memcpy(vbm->tim.pvb_field, bitmap, bitmap_len); in wl1251_cmd_vbm()
189 vbm->tim.identity = identity; in wl1251_cmd_vbm()
190 vbm->tim.length = bitmap_len + 3; in wl1251_cmd_vbm()
/linux/arch/mips/include/asm/mach-rc32434/
H A Dtimer.h44 struct timer_counter tim[TIMER_COUNT]; member
/linux/drivers/ata/
H A Dpata_cs5536.c108 static void cs5536_program_dtc(struct ata_device *adev, u8 tim) in cs5536_program_dtc() argument
116 dtc |= tim << dshift; in cs5536_program_dtc()
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dps.c468 u8 *tim; in rtl_swlps_beacon() local
505 tim = rtl_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in rtl_swlps_beacon()
506 if (!tim) in rtl_swlps_beacon()
509 if (tim[1] < sizeof(*tim_ie)) in rtl_swlps_beacon()
512 tim_len = tim[1]; in rtl_swlps_beacon()
513 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in rtl_swlps_beacon()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dev.c647 u8 *tim; in rt2x00lib_rxdone_check_ps() local
669 tim = rt2x00lib_find_ie(skb->data, skb->len - FCS_LEN, WLAN_EID_TIM); in rt2x00lib_rxdone_check_ps()
670 if (!tim) in rt2x00lib_rxdone_check_ps()
673 if (tim[1] < sizeof(*tim_ie)) in rt2x00lib_rxdone_check_ps()
676 tim_len = tim[1]; in rt2x00lib_rxdone_check_ps()
677 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in rt2x00lib_rxdone_check_ps()
/linux/drivers/mtd/nand/raw/
H A Domap2.c309 unsigned long tim, limit; in omap_nand_data_out_pref() local
339 tim = 0; in omap_nand_data_out_pref()
346 } while (val && (tim++ < limit)); in omap_nand_data_out_pref()
378 unsigned long tim, limit; in omap_nand_dma_transfer() local
417 tim = 0; in omap_nand_dma_transfer()
424 } while (val && (tim++ < limit)); in omap_nand_dma_transfer()
579 unsigned long tim, limit; in omap_nand_data_out_irq_pref() local
609 tim = 0; in omap_nand_data_out_irq_pref()
615 } while (val && (tim++ < limit)); in omap_nand_data_out_irq_pref()
/linux/drivers/net/ieee802154/
H A Dat86rf230.c477 ktime_t tim; in at86rf230_async_state_delay() local
501 tim = c->t_off_to_aack * NSEC_PER_USEC; in at86rf230_async_state_delay()
510 tim = c->t_off_to_tx_on * NSEC_PER_USEC; in at86rf230_async_state_delay()
530 tim = (c->t_frame + c->t_p_ack) * NSEC_PER_USEC; in at86rf230_async_state_delay()
542 tim = c->t_reset_to_off * NSEC_PER_USEC; in at86rf230_async_state_delay()
558 hrtimer_start(&ctx->timer, tim, HRTIMER_MODE_REL); in at86rf230_async_state_delay()
/linux/drivers/net/wireless/ath/ath9k/
H A Drecv.c510 struct ieee80211_tim_ie *tim; in ath_beacon_dtim_pending_cab() local
523 if (elen < sizeof(*tim)) in ath_beacon_dtim_pending_cab()
525 tim = (struct ieee80211_tim_ie *) pos; in ath_beacon_dtim_pending_cab()
526 if (tim->dtim_count != 0) in ath_beacon_dtim_pending_cab()
528 return tim->bitmap_ctrl & 0x01; in ath_beacon_dtim_pending_cab()
/linux/drivers/iio/adc/
H A Dti-tsc2046.c601 ktime_t tim; in tsc2046_adc_reenable_trigger() local
608 tim = ns_to_ktime((priv->scan_interval_us - priv->time_per_scan_us) * in tsc2046_adc_reenable_trigger()
610 hrtimer_start(&priv->trig_timer, tim, HRTIMER_MODE_REL_SOFT); in tsc2046_adc_reenable_trigger()
/linux/net/mac80211/
H A Dsta_info.c961 static inline void __bss_tim_set(u8 *tim, u16 id) in __bss_tim_set() argument
967 tim[id / 8] |= (1 << (id % 8)); in __bss_tim_set()
970 static inline void __bss_tim_clear(u8 *tim, u16 id) in __bss_tim_clear() argument
976 tim[id / 8] &= ~(1 << (id % 8)); in __bss_tim_clear()
979 static inline bool __bss_tim_get(u8 *tim, u16 id) in __bss_tim_get() argument
985 return tim[id / 8] & (1 << (id % 8)); in __bss_tim_get()
1070 if (indicate_tim == __bss_tim_get(ps->tim, id)) in __sta_info_recalc_tim()
1074 __bss_tim_set(ps->tim, id); in __sta_info_recalc_tim()
1076 __bss_tim_clear(ps->tim, id); in __sta_info_recalc_tim()
H A Dparse.c389 elems->tim = (void *)pos; in _ieee802_11_parse_elems_full()
1004 if (elems->tim && !elems->parse_error) { in ieee802_11_parse_elems_full()
1005 const struct ieee80211_tim_ie *tim_ie = elems->tim; in ieee802_11_parse_elems_full()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-npi-defs.h2235 uint64_t tim:1; member
2259 uint64_t tim:1;
2304 uint64_t tim:1; member
2328 uint64_t tim:1;
2375 uint64_t tim:1; member
2399 uint64_t tim:1;
2442 uint64_t tim:1; member
2466 uint64_t tim:1;
/linux/drivers/staging/octeon/
H A Docteon-stubs.h1026 uint64_t tim:1; member
1061 uint64_t tim:1; member
1096 uint64_t tim:1; member
1127 uint64_t tim:1; member

123