/kernel/linux/linux-5.10/drivers/memory/ |
H A D | of_memory.c | 64 struct lpddr2_timings *tim) in of_do_get_timings() 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 in of_do_get_timings() 63 of_do_get_timings(struct device_node *np, struct lpddr2_timings *tim) of_do_get_timings() argument 211 of_lpddr3_do_get_timings(struct device_node *np, struct lpddr3_timings *tim) of_lpddr3_do_get_timings() argument [all...] |
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | of_memory.c | 64 struct lpddr2_timings *tim) in of_do_get_timings() 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 in of_do_get_timings() 63 of_do_get_timings(struct device_node *np, struct lpddr2_timings *tim) of_do_get_timings() argument 211 of_lpddr3_do_get_timings(struct device_node *np, struct lpddr3_timings *tim) of_lpddr3_do_get_timings() argument [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-mcp795.c | 183 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 in mcp795_set_time() 237 mcp795_read_time(struct device *dev, struct rtc_time *tim) mcp795_read_time() argument [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-mcp795.c | 183 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 in mcp795_set_time() 237 mcp795_read_time(struct device *dev, struct rtc_time *tim) mcp795_read_time() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | time_namespace.h | 80 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim, 83 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host() argument 88 return tim; in timens_ktime_to_host() 90 return do_timens_ktime_to_host(clockid, tim, &ns->offsets); in timens_ktime_to_host() 133 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host() argument 135 return tim; in timens_ktime_to_host()
|
H A D | hrtimer.h | 414 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, 420 * @tim: expiry time 425 static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, in hrtimer_start() argument 428 hrtimer_start_range_ns(timer, tim, 0, mode); in hrtimer_start()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | time_namespace.h | 93 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()
|
H A D | hrtimer.h | 406 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, 412 * @tim: expiry time 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_vmlinux.c | 73 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_vmlinux.c | 73 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/ |
H A D | main.c | 103 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[ in p54_beacon_format_ie_tim() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/ |
H A D | sossi.c | 163 t->tim[0] = tw0 - 1; in calc_rd_timings() 164 t->tim[1] = tw1 - 1; in calc_rd_timings() 202 t->tim[2] = tw0 - 1; in calc_wr_timings() 203 t->tim[3] = tw1 - 1; in calc_wr_timings() 329 t->tim[4] = div; in sossi_convert_timings() 340 sossi.clk_tw0[RD_ACCESS] = t->tim[0]; in sossi_set_timings() 341 sossi.clk_tw1[RD_ACCESS] = t->tim[1]; in sossi_set_timings() 343 sossi.clk_tw0[WR_ACCESS] = t->tim[2]; in sossi_set_timings() 344 sossi.clk_tw1[WR_ACCESS] = t->tim[3]; in sossi_set_timings() 346 sossi.clk_div = t->tim[ in sossi_set_timings() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/ |
H A D | sossi.c | 165 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[ in sossi_set_timings() [all...] |
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | opti621.c | 72 u8 tim, misc, addr_pio = pio, clk; in opti621_set_pio_mode() local 110 tim = data_rec_timings[clk][pio]; in opti621_set_pio_mode() 116 write_reg(tim, READ_REG); in opti621_set_pio_mode() 118 write_reg(tim, WRITE_REG); in opti621_set_pio_mode()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | namespace.c | 23 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() 41 * Check that @tim value is in [offset, KTIME_MAX + offset] in do_timens_ktime_to_host() 44 if (tim < offset) { in do_timens_ktime_to_host() 46 * User can specify @tim *absolute* value - if it's lesser than 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 in do_timens_ktime_to_host() [all...] |
/kernel/linux/linux-6.6/kernel/time/ |
H A D | namespace.c | 23 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() 41 * Check that @tim value is in [offset, KTIME_MAX + offset] in do_timens_ktime_to_host() 44 if (tim < offset) { in do_timens_ktime_to_host() 46 * User can specify @tim *absolute* value - if it's lesser than 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 in do_timens_ktime_to_host() [all...] |
H A D | hrtimer.c | 1175 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_n in __hrtimer_start_range_ns() 1284 hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, u64 delta_ns, const enum hrtimer_mode mode) hrtimer_start_range_ns() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/ |
H A D | main.c | 103 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[ in p54_beacon_format_ie_tim() [all...] |
/kernel/linux/linux-5.10/samples/vfs/ |
H A D | test-statx.c | 51 time_t tim; in print_time() local 55 tim = ts->tv_sec; in print_time() 56 if (!localtime_r(&tim, &tm)) { in print_time()
|
/kernel/linux/linux-6.6/samples/vfs/ |
H A D | test-statx.c | 51 time_t tim; in print_time() local 55 tim = ts->tv_sec; in print_time() 56 if (!localtime_r(&tim, &tm)) { in print_time()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 523 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 523 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
H A D | cmd.c | 184 vbm->tim.bitmap_ctrl = bitmap_control; in wl1251_cmd_vbm() 190 memcpy(vbm->tim.pvb_field, bitmap, bitmap_len); in wl1251_cmd_vbm() 191 vbm->tim.identity = identity; in wl1251_cmd_vbm() 192 vbm->tim.length = bitmap_len + 3; in wl1251_cmd_vbm()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/ |
H A D | cmd.c | 182 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()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-rc32434/ |
H A D | timer.h | 44 struct timer_counter tim[TIMER_COUNT]; member
|