Home
last modified time | relevance | path

Searched refs:last (Results 26 – 50 of 2241) sorted by relevance

12345678910>>...90

/openbmc/linux/drivers/memory/tegra/
H A Dtegra210-emc-cc-r21021.c119 struct tegra210_emc_timing *last = emc->last; in update_clock_tree_delay() local
422 if (last->periodic_training && in periodic_compensation_handler()
493 struct tegra210_emc_timing *last = emc->last; in tegra210_emc_r21021_periodic_compensation() local
497 if (last->periodic_training) { in tegra210_emc_r21021_periodic_compensation()
541 delay /= last->rate + 1; in tegra210_emc_r21021_periodic_compensation()
550 last, last); in tegra210_emc_r21021_periodic_compensation()
556 if (last->tree_margin < ((del * 128 * (last->rate / 1000)) / 1000000)) { in tegra210_emc_r21021_periodic_compensation()
607 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; in tegra210_emc_r21021_set_clock() local
964 W2P_war = last->burst_regs[ in tegra210_emc_r21021_set_clock()
1220 if (next->rate < last->rate) { in tegra210_emc_r21021_set_clock()
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregcache-maple.c44 unsigned long index, last; in regcache_maple_write() local
60 last = reg; in regcache_maple_write()
70 last = mas.last; in regcache_maple_write()
94 mas_set_range(&mas, index, last); in regcache_maple_write()
144 if (mas.last > max) { in regcache_maple_drop()
146 upper_last = mas.last; in regcache_maple_drop()
149 ((mas.last - max) * in regcache_maple_drop()
316 int last) in regcache_maple_insert_block() argument
319 MA_STATE(mas, mt, first, last); in regcache_maple_insert_block()
327 for (i = 0; i < last - first + 1; i++) in regcache_maple_insert_block()
[all …]
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c515 last = &mr->mr_invwr; in frwr_unmap_sync()
516 last->next = NULL; in frwr_unmap_sync()
518 last->sg_list = NULL; in frwr_unmap_sync()
519 last->num_sge = 0; in frwr_unmap_sync()
526 *prev = last; in frwr_unmap_sync()
527 prev = &last->next; in frwr_unmap_sync()
618 last = &mr->mr_invwr; in frwr_unmap_async()
619 last->next = NULL; in frwr_unmap_async()
622 last->num_sge = 0; in frwr_unmap_async()
629 *prev = last; in frwr_unmap_async()
[all …]
/openbmc/linux/crypto/asymmetric_keys/
H A Dpkcs7_trust.c27 struct x509_certificate *x509, *last = NULL, *p; in pkcs7_validate_trust_one() local
74 last = x509; in pkcs7_validate_trust_one()
75 sig = last->sig; in pkcs7_validate_trust_one()
81 if (last && (last->sig->auth_ids[0] || last->sig->auth_ids[1])) { in pkcs7_validate_trust_one()
83 last->sig->auth_ids[0], in pkcs7_validate_trust_one()
84 last->sig->auth_ids[1], in pkcs7_validate_trust_one()
87 x509 = last; in pkcs7_validate_trust_one()
/openbmc/linux/drivers/net/team/
H A Dteam_mode_broadcast.c17 struct team_port *last = NULL; in bc_transmit() local
24 if (last) { in bc_transmit()
27 ret = !team_dev_queue_xmit(team, last, in bc_transmit()
33 last = cur; in bc_transmit()
36 if (last) { in bc_transmit()
37 ret = !team_dev_queue_xmit(team, last, skb); in bc_transmit()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Did_table.c51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc()
57 alloc->last += get_random_u32_below(RANDOM_SKIP); in c4iw_id_alloc()
59 alloc->last = obj + 1; in c4iw_id_alloc()
60 if (alloc->last >= alloc->max) in c4iw_id_alloc()
61 alloc->last = 0; in c4iw_id_alloc()
88 alloc->last = get_random_u32_below(RANDOM_SKIP); in c4iw_id_table_alloc()
90 alloc->last = 0; in c4iw_id_table_alloc()
/openbmc/qemu/util/
H A Dhbitmap.c388 uint64_t end = last + 1; in hb_count_between()
420 assert(start <= last); in hb_set_elem()
468 uint64_t last = start + count - 1; in hbitmap_set() local
478 last >>= hb->granularity; in hbitmap_set()
479 assert(last < hb->size); in hbitmap_set()
480 n = last - first + 1; in hbitmap_set()
498 assert(start <= last); in hb_reset_elem()
576 last >>= hb->granularity; in hbitmap_reset()
577 assert(last < hb->size); in hbitmap_reset()
653 last = (last >> hb->granularity) >> BITS_PER_LEVEL; in serialization_chunk()
[all …]
/openbmc/linux/arch/ia64/include/asm/
H A Dswitch_to.h37 #define __switch_to(prev,next,last) do { \ argument
43 (last) = ia64_switch_to((next)); \
53 # define switch_to(prev,next,last) do { \ argument
59 __switch_to(prev, next, last); \
68 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-css-pool.c49 pool->last = IPU3_CSS_POOL_SIZE; in imgu_css_pool_init()
64 u32 n = (pool->last + 1) % IPU3_CSS_POOL_SIZE; in imgu_css_pool_get()
67 pool->last = n; in imgu_css_pool_get()
75 pool->entry[pool->last].valid = false; in imgu_css_pool_put()
76 pool->last = (pool->last + IPU3_CSS_POOL_SIZE - 1) % IPU3_CSS_POOL_SIZE; in imgu_css_pool_put()
92 int i = (pool->last + IPU3_CSS_POOL_SIZE - n) % IPU3_CSS_POOL_SIZE; in imgu_css_pool_last()
/openbmc/linux/net/netfilter/
H A Dnft_set_pipapo_avx2.c243 if (last) in nft_pipapo_avx2_lookup_4b_2()
319 if (last) in nft_pipapo_avx2_lookup_4b_4()
413 if (last) in nft_pipapo_avx2_lookup_4b_8()
503 if (last) in nft_pipapo_avx2_lookup_4b_12()
638 if (last) in nft_pipapo_avx2_lookup_4b_32()
695 if (last) in nft_pipapo_avx2_lookup_8b_1()
759 if (last) in nft_pipapo_avx2_lookup_8b_2()
833 if (last) in nft_pipapo_avx2_lookup_8b_4()
918 if (last) in nft_pipapo_avx2_lookup_8b_6()
1010 if (last) in nft_pipapo_avx2_lookup_8b_16()
[all …]
/openbmc/linux/lib/
H A Dinterval_tree.c8 #define LAST(node) ((node)->last)
34 if (cur->last > state->nodes[0]->last) in interval_tree_span_iter_next_gap()
38 } while (cur && (state->nodes[0]->last >= cur->start || in interval_tree_span_iter_next_gap()
39 state->nodes[0]->last + 1 == cur->start)); in interval_tree_span_iter_next_gap()
73 iter->last_used = iter->nodes[0]->last; in interval_tree_span_iter_first()
91 iter->last_used = iter->nodes[0]->last; in interval_tree_span_iter_next()
103 iter->start_hole = iter->nodes[0]->last + 1; in interval_tree_span_iter_next()
111 iter->start_hole = iter->nodes[0]->last + 1; in interval_tree_span_iter_next()
H A Dtest_maple_tree.c567 last = mas.last; in check_find()
582 MT_BUG_ON(mt, last != mas.last); in check_find()
1568 mas.last = index; in check_gap_combining()
1861 mas.last = 0; in check_forking()
1869 newmas.last = mas.last; in check_forking()
1900 mas.last = 929; in check_iteration()
1969 newmas.last = mas.last; in check_mas_store_gfp()
2004 mas.last = 0; in bench_forking()
2013 newmas.last = mas.last; in bench_forking()
2181 mas.last = 5; in next_prev_test()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dimage.c54 image->last = pcir.last; in nvbios_imagen()
60 image->last = npde.last; in nvbios_imagen()
62 image->last = true; in nvbios_imagen()
76 if (image->last || !nvbios_imagen(bios, image)) { in nvbios_image()
/openbmc/linux/include/linux/
H A Dvhost_iotlb.h11 u64 last; member
33 int vhost_iotlb_add_range_ctx(struct vhost_iotlb *iotlb, u64 start, u64 last,
35 int vhost_iotlb_add_range(struct vhost_iotlb *iotlb, u64 start, u64 last,
37 void vhost_iotlb_del_range(struct vhost_iotlb *iotlb, u64 start, u64 last);
46 vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last);
48 vhost_iotlb_itree_next(struct vhost_iotlb_map *map, u64 start, u64 last);
H A Drculist_nulls.h133 struct hlist_nulls_node *i, *last = NULL; in hlist_nulls_add_tail_rcu() local
137 last = i; in hlist_nulls_add_tail_rcu()
139 if (last) { in hlist_nulls_add_tail_rcu()
140 WRITE_ONCE(n->next, last->next); in hlist_nulls_add_tail_rcu()
141 n->pprev = &last->next; in hlist_nulls_add_tail_rcu()
142 rcu_assign_pointer(hlist_nulls_next_rcu(last), n); in hlist_nulls_add_tail_rcu()
/openbmc/u-boot/post/
H A Dpost.c174 int last; in post_get_env_flags() local
184 last = 0; in post_get_env_flags()
186 while (!last) { in post_get_env_flags()
195 last = 1; in post_get_env_flags()
301 unsigned int last; in post_run() local
307 if (last & POST_FAIL_SAVE) { in post_run()
308 last &= ~POST_FAIL_SAVE; in post_run()
311 if (last < post_list_size && in post_run()
315 post_run_single(post_list + last, in post_run()
316 test_flags[last], in post_run()
[all …]
/openbmc/u-boot/drivers/watchdog/
H A Dtangier_wdt.c30 static unsigned long last; in hw_watchdog_reset() local
39 if (last > now) in hw_watchdog_reset()
40 last = 0; in hw_watchdog_reset()
42 if (unlikely((now - last) > (WDT_PRETIMEOUT / 2) * 1000000)) { in hw_watchdog_reset()
43 last = now; in hw_watchdog_reset()
/openbmc/linux/drivers/crypto/marvell/cesa/
H A Dtdma.c76 dreq->chain.last = NULL; in mv_cesa_dma_cleanup()
101 engine->chain.last = dreq->chain.last; in mv_cesa_tdma_chain()
103 struct mv_cesa_tdma_desc *last; in mv_cesa_tdma_chain() local
105 last = engine->chain.last; in mv_cesa_tdma_chain()
106 last->next = dreq->chain.first; in mv_cesa_tdma_chain()
107 engine->chain.last = dreq->chain.last; in mv_cesa_tdma_chain()
157 engine->chain.last = NULL; in mv_cesa_tdma_process()
203 if (chain->last) { in mv_cesa_dma_add_desc()
205 chain->last->next = new_tdma; in mv_cesa_dma_add_desc()
210 chain->last = new_tdma; in mv_cesa_dma_add_desc()
[all …]
/openbmc/qemu/accel/tcg/
H A Dtb-maint.c608 last >>= TARGET_PAGE_BITS; in page_collection_lock()
609 g_assert(start <= last); in page_collection_lock()
1026 tb_page_addr_t start, last; in tb_invalidate_phys_page() local
1029 last = addr | ~TARGET_PAGE_MASK; in tb_invalidate_phys_page()
1030 tb_invalidate_phys_range(start, last); in tb_invalidate_phys_page()
1046 tb_page_addr_t last; in tb_invalidate_phys_page_unwind() local
1063 last = addr | ~TARGET_PAGE_MASK; in tb_invalidate_phys_page_unwind()
1170 tb_page_addr_t start, last; in tb_invalidate_phys_page() local
1179 last = addr | ~TARGET_PAGE_MASK; in tb_invalidate_phys_page()
1199 index_last = last >> TARGET_PAGE_BITS; in tb_invalidate_phys_range()
[all …]
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbsysfs.c146 char ** last = NULL; in store_bpp() local
169 char **last = NULL; in store_rotate() local
196 char *last = NULL; in store_virtual() local
201 last++; in store_virtual()
202 if (last - buf >= count) in store_virtual()
204 var.yres_virtual = simple_strtoul(last, &last, 0); in store_virtual()
231 char *last = NULL; in store_blank() local
288 char *last = NULL; in store_pan() local
293 last++; in store_pan()
296 var.yoffset = simple_strtoul(last, &last, 0); in store_pan()
[all …]
H A Dcfbcopyarea.c50 unsigned long first, last; in bitcpy() local
71 if (last) in bitcpy()
72 first &= last; in bitcpy()
102 if (last) in bitcpy()
115 if (last) in bitcpy()
116 first &= last; in bitcpy()
216 unsigned long first, last; in bitcpy_rev() local
245 last &= first; in bitcpy_rev()
275 if (last != -1UL) in bitcpy_rev()
289 last &= first; in bitcpy_rev()
[all …]
/openbmc/linux/arch/um/drivers/
H A Dvde_kern.c73 char *remain, *port_str = NULL, *mode_str = NULL, *last; in vde_setup() local
90 init->port = simple_strtoul(port_str, &last, 10); in vde_setup()
91 if ((*last != '\0') || (last == port_str)) { in vde_setup()
99 init->mode = simple_strtoul(mode_str, &last, 8); in vde_setup()
100 if ((*last != '\0') || (last == mode_str)) { in vde_setup()
/openbmc/qemu/block/
H A Dqed-cluster.c37 uint64_t last = table->offsets[index]; in qed_count_contiguous_clusters() local
40 *offset = last; in qed_count_contiguous_clusters()
43 if (qed_offset_is_unalloc_cluster(last)) { in qed_count_contiguous_clusters()
48 } else if (qed_offset_is_zero_cluster(last)) { in qed_count_contiguous_clusters()
55 if (table->offsets[i] != last + s->header.cluster_size) { in qed_count_contiguous_clusters()
58 last = table->offsets[i]; in qed_count_contiguous_clusters()
/openbmc/linux/kernel/time/
H A Dtimekeeping_internal.h19 static inline u64 clocksource_delta(u64 now, u64 last, u64 mask) in clocksource_delta() argument
21 u64 ret = (now - last) & mask; in clocksource_delta()
30 static inline u64 clocksource_delta(u64 now, u64 last, u64 mask) in clocksource_delta() argument
32 return (now - last) & mask; in clocksource_delta()
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dtimer.c59 unsigned long now, last = readl(&timer_base->tcrr); in __udelay() local
63 if (last > now) /* count up timer overflow */ in __udelay()
64 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay()
66 tmo -= now - last; in __udelay()
67 last = now; in __udelay()

12345678910>>...90