/kernel/linux/linux-5.10/drivers/memory/ |
D | of_memory.c | 64 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 …]
|
/kernel/linux/linux-5.10/drivers/rtc/ |
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->tm_year); in mcp795_set_time() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
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()
|
D | hrtimer.h | 412 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, 423 static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, in hrtimer_start() argument 426 hrtimer_start_range_ns(timer, tim, 0, mode); in hrtimer_start()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
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/kernel/time/ |
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() 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()
|
D | hrtimer.c | 1085 static inline ktime_t hrtimer_update_lowres(struct hrtimer *timer, ktime_t tim, in hrtimer_update_lowres() argument 1096 tim = ktime_add_safe(tim, hrtimer_resolution); in hrtimer_update_lowres() 1098 return tim; in hrtimer_update_lowres() 1126 static int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in __hrtimer_start_range_ns() argument 1158 tim = ktime_add_safe(tim, base->get_time()); in __hrtimer_start_range_ns() 1160 tim = hrtimer_update_lowres(timer, tim, mode); in __hrtimer_start_range_ns() 1162 hrtimer_set_expires_range_ns(timer, tim, delta_ns); in __hrtimer_start_range_ns() 1200 void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in hrtimer_start_range_ns() argument 1218 if (__hrtimer_start_range_ns(timer, tim, delta_ns, mode, base)) in hrtimer_start_range_ns()
|
/kernel/linux/linux-5.10/drivers/ide/ |
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()
|
D | cs5536.c | 80 static void cs5536_program_dtc(ide_drive_t *drive, u8 tim) in cs5536_program_dtc() argument 88 dtc |= tim << dshift; in cs5536_program_dtc()
|
D | pmac.c | 496 struct ide_timing *tim = ide_timing_find_mode(XFER_PIO_0 + pio); in pmac_ide_set_pio_mode() local 524 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode() 526 accessTime = tim->active; in pmac_ide_set_pio_mode() 539 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode() 541 accessTime = tim->active; in pmac_ide_set_pio_mode()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/ |
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[4]; in sossi_set_timings()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/ |
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[1] = 3; in p54_beacon_format_ie_tim() [all …]
|
D | fwio.c | 265 struct p54_tim *tim; in p54_update_beacon_tim() local 267 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*tim), in p54_update_beacon_tim() 272 tim = skb_put(skb, sizeof(*tim)); in p54_update_beacon_tim() 273 tim->count = 1; in p54_update_beacon_tim() 274 tim->entry[0] = cpu_to_le16(set ? (aid | 0x8000) : aid); in p54_update_beacon_tim()
|
D | txrx.c | 298 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()
|
/kernel/linux/linux-5.10/samples/vfs/ |
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/ |
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/ |
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-5.10/arch/mips/include/asm/mach-rc32434/ |
D | timer.h | 44 struct timer_counter tim[TIMER_COUNT]; member
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | pata_cs5536.c | 108 static void cs5536_program_dtc(struct ata_device *adev, u8 tim) in cs5536_program_dtc() argument 116 dtc |= tim << dshift; in cs5536_program_dtc()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | ps.c | 468 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dev.c | 647 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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | omap2.c | 396 unsigned long tim, limit; in omap_write_buf_pref() local 424 tim = 0; in omap_write_buf_pref() 431 } while (val && (tim++ < limit)); in omap_write_buf_pref() 462 unsigned long tim, limit; in omap_nand_dma_transfer() local 501 tim = 0; in omap_nand_dma_transfer() 508 } while (val && (tim++ < limit)); in omap_nand_dma_transfer() 670 unsigned long tim, limit; in omap_write_buf_irq_pref() local 698 tim = 0; in omap_write_buf_irq_pref() 704 } while (val && (tim++ < limit)); in omap_write_buf_irq_pref()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | recv.c | 510 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()
|
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
D | at86rf230.c | 490 ktime_t tim; in at86rf230_async_state_delay() local 514 tim = c->t_off_to_aack * NSEC_PER_USEC; in at86rf230_async_state_delay() 523 tim = c->t_off_to_tx_on * NSEC_PER_USEC; in at86rf230_async_state_delay() 543 tim = (c->t_frame + c->t_p_ack) * NSEC_PER_USEC; in at86rf230_async_state_delay() 555 tim = c->t_reset_to_off * NSEC_PER_USEC; in at86rf230_async_state_delay() 571 hrtimer_start(&ctx->timer, tim, HRTIMER_MODE_REL); in at86rf230_async_state_delay()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | sta_info.c | 747 static inline void __bss_tim_set(u8 *tim, u16 id) in __bss_tim_set() argument 753 tim[id / 8] |= (1 << (id % 8)); in __bss_tim_set() 756 static inline void __bss_tim_clear(u8 *tim, u16 id) in __bss_tim_clear() argument 762 tim[id / 8] &= ~(1 << (id % 8)); in __bss_tim_clear() 765 static inline bool __bss_tim_get(u8 *tim, u16 id) in __bss_tim_get() argument 771 return tim[id / 8] & (1 << (id % 8)); in __bss_tim_get() 856 if (indicate_tim == __bss_tim_get(ps->tim, id)) in __sta_info_recalc_tim() 860 __bss_tim_set(ps->tim, id); in __sta_info_recalc_tim() 862 __bss_tim_clear(ps->tim, id); in __sta_info_recalc_tim()
|