Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/memory/
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-6.6.21/drivers/rtc/
Drtc-mcp795.c183 static int mcp795_set_time(struct device *dev, struct rtc_time *tim) in mcp795_set_time() argument
200 data[0] = (data[0] & 0x80) | bin2bcd(tim->tm_sec); in mcp795_set_time()
201 data[1] = (data[1] & 0x80) | bin2bcd(tim->tm_min); in mcp795_set_time()
202 data[2] = bin2bcd(tim->tm_hour); in mcp795_set_time()
203 data[3] = (data[3] & 0xF8) | bin2bcd(tim->tm_wday + 1); in mcp795_set_time()
204 data[4] = bin2bcd(tim->tm_mday); in mcp795_set_time()
205 data[5] = (data[5] & MCP795_LP_BIT) | bin2bcd(tim->tm_mon + 1); in mcp795_set_time()
207 if (tim->tm_year > 100) in mcp795_set_time()
208 tim->tm_year -= 100; in mcp795_set_time()
210 data[6] = bin2bcd(tim->tm_year); in mcp795_set_time()
[all …]
/linux-6.6.21/include/linux/
Dtime_namespace.h93 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim,
96 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host() argument
101 return tim; in timens_ktime_to_host()
103 return do_timens_ktime_to_host(clockid, tim, &ns->offsets); in timens_ktime_to_host()
159 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host() argument
161 return tim; in timens_ktime_to_host()
Dhrtimer.h406 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
417 static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, in hrtimer_start() argument
420 hrtimer_start_range_ns(timer, tim, 0, mode); in hrtimer_start()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
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-6.6.21/kernel/time/
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()
Dhrtimer.c1175 static inline ktime_t hrtimer_update_lowres(struct hrtimer *timer, ktime_t tim, in hrtimer_update_lowres() argument
1186 tim = ktime_add_safe(tim, hrtimer_resolution); in hrtimer_update_lowres()
1188 return tim; in hrtimer_update_lowres()
1216 static int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in __hrtimer_start_range_ns() argument
1248 tim = ktime_add_safe(tim, base->get_time()); in __hrtimer_start_range_ns()
1250 tim = hrtimer_update_lowres(timer, tim, mode); in __hrtimer_start_range_ns()
1252 hrtimer_set_expires_range_ns(timer, tim, delta_ns); in __hrtimer_start_range_ns()
1284 void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in hrtimer_start_range_ns() argument
1302 if (__hrtimer_start_range_ns(timer, tim, delta_ns, mode, base)) in hrtimer_start_range_ns()
/linux-6.6.21/drivers/video/fbdev/omap/
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()
Domapfb.h105 u32 tim[5]; /* set by extif->convert_timings */ member
/linux-6.6.21/drivers/net/wireless/intersil/p54/
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 …]
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()
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-6.6.21/samples/vfs/
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-6.6.21/drivers/net/wireless/ath/carl9170/
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-6.6.21/drivers/net/wireless/ti/wl1251/
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-6.6.21/arch/mips/include/asm/mach-rc32434/
Dtimer.h44 struct timer_counter tim[TIMER_COUNT]; member
/linux-6.6.21/drivers/ata/
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-6.6.21/drivers/net/wireless/realtek/rtlwifi/
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-6.6.21/drivers/net/wireless/ralink/rt2x00/
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-6.6.21/drivers/mtd/nand/raw/
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-6.6.21/drivers/net/ieee802154/
Dat86rf230.c478 ktime_t tim; in at86rf230_async_state_delay() local
502 tim = c->t_off_to_aack * NSEC_PER_USEC; in at86rf230_async_state_delay()
511 tim = c->t_off_to_tx_on * NSEC_PER_USEC; in at86rf230_async_state_delay()
531 tim = (c->t_frame + c->t_p_ack) * NSEC_PER_USEC; in at86rf230_async_state_delay()
543 tim = c->t_reset_to_off * NSEC_PER_USEC; in at86rf230_async_state_delay()
559 hrtimer_start(&ctx->timer, tim, HRTIMER_MODE_REL); in at86rf230_async_state_delay()
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
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-6.6.21/drivers/iio/adc/
Dti-tsc2046.c606 ktime_t tim; in tsc2046_adc_reenable_trigger() local
613 tim = ns_to_ktime((priv->scan_interval_us - priv->time_per_scan_us) * in tsc2046_adc_reenable_trigger()
615 hrtimer_start(&priv->trig_timer, tim, HRTIMER_MODE_REL_SOFT); in tsc2046_adc_reenable_trigger()
/linux-6.6.21/net/mac80211/
Dsta_info.c965 static inline void __bss_tim_set(u8 *tim, u16 id) in __bss_tim_set() argument
971 tim[id / 8] |= (1 << (id % 8)); in __bss_tim_set()
974 static inline void __bss_tim_clear(u8 *tim, u16 id) in __bss_tim_clear() argument
980 tim[id / 8] &= ~(1 << (id % 8)); in __bss_tim_clear()
983 static inline bool __bss_tim_get(u8 *tim, u16 id) in __bss_tim_get() argument
989 return tim[id / 8] & (1 << (id % 8)); in __bss_tim_get()
1074 if (indicate_tim == __bss_tim_get(ps->tim, id)) in __sta_info_recalc_tim()
1078 __bss_tim_set(ps->tim, id); in __sta_info_recalc_tim()
1080 __bss_tim_clear(ps->tim, id); in __sta_info_recalc_tim()
/linux-6.6.21/arch/mips/include/asm/octeon/
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;

123