Home
last modified time | relevance | path

Searched refs:last (Results 126 – 150 of 2241) sorted by relevance

12345678910>>...90

/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_resource.c67 dma_resv_assert_held(pos->last->bo->base.resv); in ttm_lru_bulk_move_tail()
71 &pos->last->lru); in ttm_lru_bulk_move_tail()
88 if (pos->last != res) { in ttm_lru_bulk_move_pos_tail()
91 list_move(&res->lru, &pos->last->lru); in ttm_lru_bulk_move_pos_tail()
92 pos->last = res; in ttm_lru_bulk_move_pos_tail()
104 pos->last = res; in ttm_lru_bulk_move_add()
117 (pos->first == res && pos->last == res))) { in ttm_lru_bulk_move_del()
119 pos->last = NULL; in ttm_lru_bulk_move_del()
122 } else if (pos->last == res) { in ttm_lru_bulk_move_del()
123 pos->last = list_prev_entry(res, lru); in ttm_lru_bulk_move_del()
[all …]
/openbmc/linux/include/asm-generic/
H A Dswitch_to.h21 #define switch_to(prev, next, last) \ argument
23 ((last) = __switch_to((prev), (next))); \
/openbmc/linux/arch/nios2/include/asm/
H A Dswitch_to.h17 #define switch_to(prev, next, last) \ argument
28 (last) = _last; \
/openbmc/linux/arch/parisc/include/asm/
H A Dswitch_to.h9 #define switch_to(prev, next, last) do { \ argument
10 (last) = _switch_to(prev, next); \
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dsrio.c76 int idx, first, last; in srio_erratum_a004034() local
140 last = first; in srio_erratum_a004034()
142 last = first + 3; in srio_erratum_a004034()
147 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
154 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
164 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
171 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_memory_region.c92 static resource_size_t random_page(resource_size_t last) in random_page() argument
95 return get_random_u32_below(last >> PAGE_SHIFT) << PAGE_SHIFT; in random_page()
102 resource_size_t last, page; in iomemtest() local
108 last = mem->io_size - PAGE_SIZE; in iomemtest()
122 for (page = 0; page <= last; page += PAGE_SIZE) { in iomemtest()
132 err = iopagetest(mem, last, caller); in iomemtest()
136 err = iopagetest(mem, random_page(last), caller); in iomemtest()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-digicolor.c55 int last; member
104 bool last = (i2c->msgbuf_ptr + 1 == i2c->msg->len); in dc_i2c_next_read() local
106 dc_i2c_cmd(i2c, last ? II_CMD_GET_NOACK : II_CMD_GET_ACK); in dc_i2c_next_read()
112 if (i2c->last) in dc_i2c_stop()
214 int last) in dc_i2c_xfer_msg() argument
222 i2c->last = last; in dc_i2c_xfer_msg()
/openbmc/linux/include/linux/
H A Dmaple_tree.h316 unsigned long last, void *entry, gfp_t gfp);
325 unsigned long last, void *entry, gfp_t gfp);
383 unsigned long last; /* The last index we're operating on - range end */ member
440 .last = end, \
499 mas->index = mas->last = addr; in mas_init()
564 unsigned long last) in __mas_set_range() argument
567 mas->last = last; in __mas_set_range()
581 void mas_set_range(struct ma_state *mas, unsigned long start, unsigned long last) in mas_set_range() argument
583 __mas_set_range(mas, start, last); in mas_set_range()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddesignware_udc.c266 u32 last; in dw_write_noniso_tx_fifo() local
271 last = min_t(u32, urb->actual_length - endpoint->sent, in dw_write_noniso_tx_fifo()
274 if (last) { in dw_write_noniso_tx_fifo()
287 last = min(last, sizeof(int) - align); in dw_write_noniso_tx_fifo()
290 endpoint->sent, endpoint->tx_packetSize, last); in dw_write_noniso_tx_fifo()
293 USB_ENDPOINT_NUMBER_MASK, cp, last); in dw_write_noniso_tx_fifo()
295 endpoint->last = last; in dw_write_noniso_tx_fifo()
417 endpoint->sent += endpoint->last; in dw_udc_ep0_tx()
430 (endpoint->last != endpoint->tx_packetSize))) { in dw_udc_ep0_tx()
503 (endpoint->last == endpoint->tx_packetSize) && in dw_udc_epn_tx()
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-stmpe.c173 u8 value, last = stmpe_pwm->last_duty; in stmpe_24xx_pwm_config() local
191 if (value == last) { in stmpe_24xx_pwm_config()
205 if (last < value) in stmpe_24xx_pwm_config()
207 incdec = RAMPUP | (value - last); in stmpe_24xx_pwm_config()
210 incdec = RAMPDOWN | (last - value); in stmpe_24xx_pwm_config()
221 pwm->hwpwm, value, last, program[0], program[1], in stmpe_24xx_pwm_config()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Ddriver.c854 int last = RCV_PKT_OK; in handle_receive_interrupt_nodma_rtail() local
859 last = RCV_PKT_DONE; in handle_receive_interrupt_nodma_rtail()
868 last = RCV_PKT_DONE; in handle_receive_interrupt_nodma_rtail()
875 return last; in handle_receive_interrupt_nodma_rtail()
881 int last = RCV_PKT_OK; in handle_receive_interrupt_dma_rtail() local
887 last = RCV_PKT_DONE; in handle_receive_interrupt_dma_rtail()
897 last = RCV_PKT_DONE; in handle_receive_interrupt_dma_rtail()
904 return last; in handle_receive_interrupt_dma_rtail()
1018 last = RCV_PKT_DONE; in handle_receive_interrupt()
1074 if (!last && lseq) in handle_receive_interrupt()
[all …]
/openbmc/linux/drivers/net/fddi/skfp/
H A Dsmttimer.c117 struct smt_timer **last ; in timer_done() local
121 last = &smc->t.st_queue ; in timer_done()
127 last = &tm->tm_next ; in timer_done()
136 *last = NULL; in timer_done()
/openbmc/linux/drivers/comedi/drivers/
H A Daddi_apci_16xx.c94 unsigned int last; in apci16xx_auto_attach() local
118 last = board->n_chan - (n_subdevs * 32); in apci16xx_auto_attach()
121 last = 0; in apci16xx_auto_attach()
133 s->n_chan = ((i * 32) < board->n_chan) ? 32 : last; in apci16xx_auto_attach()
/openbmc/linux/arch/microblaze/include/asm/
H A Dswitch_to.h15 #define switch_to(prev, next, last) \ argument
17 (last) = _switch_to(task_thread_info(prev), \
/openbmc/linux/drivers/iommu/iommufd/
H A Dio_pagetable.c166 unsigned long last; in iopt_check_iova() local
173 if (check_add_overflow(iova, length - 1, &last)) in iopt_check_iova()
177 if (iopt_reserved_iter_first(iopt, iova, last)) in iopt_check_iova()
181 if (iopt_area_iter_first(iopt, iova, last)) in iopt_check_iova()
211 area->pages_node.last = area->pages_node.last / PAGE_SIZE; in iopt_insert_area()
452 elm->length = (last - iter.cur_iova) + 1; in iopt_get_pages()
495 if (area_first < start || area_last > last) { in iopt_unmap_iova_range()
594 allowed->node.last)) { in iopt_set_allow_iova()
605 unsigned long last, void *owner) in iopt_reserve_iova() argument
611 if (iopt_area_iter_first(iopt, start, last) || in iopt_reserve_iova()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/pipeline/src/
H A Dpipeline.c276 struct ia_css_pipeline_stage *last, *new_stage = NULL; in ia_css_pipeline_create_and_add_stage() local
282 last = pipeline->stages; in ia_css_pipeline_create_and_add_stage()
295 while (last && last->next) in ia_css_pipeline_create_and_add_stage()
296 last = last->next; in ia_css_pipeline_create_and_add_stage()
306 if (last && last->args.out_frame[0]) in ia_css_pipeline_create_and_add_stage()
307 stage_desc->in_frame = last->args.out_frame[0]; in ia_css_pipeline_create_and_add_stage()
321 if (last) in ia_css_pipeline_create_and_add_stage()
322 last->next = new_stage; in ia_css_pipeline_create_and_add_stage()
/openbmc/linux/lib/vdso/
H A Dgettimeofday.c14 u64 vdso_calc_delta(u64 cycles, u64 last, u64 mask, u32 mult) in vdso_calc_delta() argument
16 return ((cycles - last) & mask) * mult; in vdso_calc_delta()
55 u64 cycles, last, ns; in do_hres_timens() local
77 last = vd->cycle_last; in do_hres_timens()
78 ns += vdso_calc_delta(cycles, last, vd->mask, vd->mult); in do_hres_timens()
114 u64 cycles, last, sec, ns; in do_hres() local
148 last = vd->cycle_last; in do_hres()
149 ns += vdso_calc_delta(cycles, last, vd->mask, vd->mult); in do_hres()
/openbmc/linux/sound/isa/gus/
H A Dgus_mem.c59 if (alloc->last == NULL) { in snd_gf1_mem_xalloc()
61 alloc->first = alloc->last = nblock; in snd_gf1_mem_xalloc()
63 nblock->prev = alloc->last; in snd_gf1_mem_xalloc()
64 alloc->last->next = nblock; in snd_gf1_mem_xalloc()
65 alloc->last = nblock; in snd_gf1_mem_xalloc()
86 if (alloc->last == block) { in snd_gf1_mem_xfree()
87 alloc->last = block->prev; in snd_gf1_mem_xfree()
236 alloc->first = alloc->last = NULL; in snd_gf1_mem_init()
/openbmc/linux/arch/arc/include/asm/
H A Dswitch_to.h17 #define switch_to(prev, next, last) \ argument
21 last = __switch_to(prev, next);\
/openbmc/linux/arch/m68k/include/asm/
H A Dswitch_to.h31 #define switch_to(prev,next,last) do { \ argument
39 (last) = _last; \
/openbmc/linux/fs/adfs/
H A Ddir_f.c76 int last = 5 - 26; in adfs_dir_checkbyte() local
85 last += 26; in adfs_dir_checkbyte()
90 } while (i < (last & ~3)); in adfs_dir_checkbyte()
91 } while (dir_u8(last) != 0); in adfs_dir_checkbyte()
97 if (i != last) { in adfs_dir_checkbyte()
99 end.ptr8 = ptr.ptr8 + last - i; in adfs_dir_checkbyte()
/openbmc/qemu/hw/vfio/
H A Dpci-quirks.c897 if (addr != last->addr || data != last->data || size != last->size) { in vfio_nvidia_quirk_mirror_write()
898 last->addr = addr; in vfio_nvidia_quirk_mirror_write()
899 last->data = data; in vfio_nvidia_quirk_mirror_write()
900 last->size = size; in vfio_nvidia_quirk_mirror_write()
901 last->hits = 1; in vfio_nvidia_quirk_mirror_write()
912 last->added++; in vfio_nvidia_quirk_mirror_write()
915 last->added++; in vfio_nvidia_quirk_mirror_write()
935 last->addr = last->data = last->size = last->hits = last->added = 0; in vfio_nvidia_bar0_quirk_reset()
944 LastDataSet *last; in vfio_probe_nvidia_bar0_quirk() local
960 last->quirk = quirk; in vfio_probe_nvidia_bar0_quirk()
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs4renewd.c62 unsigned long last, now; in nfs4_renew_state() local
72 last = clp->cl_last_renewal; in nfs4_renew_state()
75 if (time_after(now, last + lease/3)) in nfs4_renew_state()
/openbmc/linux/arch/arm/include/asm/
H A Dswitch_to.h27 #define switch_to(prev,next,last) \ argument
32 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
/openbmc/linux/arch/loongarch/include/asm/
H A Dswitch_to.h35 #define switch_to(prev, next, last) \ argument
40 (last) = __switch_to(prev, next, task_thread_info(next), \

12345678910>>...90