Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/drivers/media/platform/omap3isp/
Disppreview.c149 preview_config_luma_enhancement(struct isp_prev_device *prev, in preview_config_luma_enhancement() argument
152 struct isp_device *isp = to_isp_device(prev); in preview_config_luma_enhancement()
168 preview_enable_luma_enhancement(struct isp_prev_device *prev, bool enable) in preview_enable_luma_enhancement() argument
170 struct isp_device *isp = to_isp_device(prev); in preview_enable_luma_enhancement()
183 static void preview_enable_invalaw(struct isp_prev_device *prev, bool enable) in preview_enable_invalaw() argument
185 struct isp_device *isp = to_isp_device(prev); in preview_enable_invalaw()
198 static void preview_config_hmed(struct isp_prev_device *prev, in preview_config_hmed() argument
201 struct isp_device *isp = to_isp_device(prev); in preview_config_hmed()
213 static void preview_enable_hmed(struct isp_prev_device *prev, bool enable) in preview_enable_hmed() argument
215 struct isp_device *isp = to_isp_device(prev); in preview_enable_hmed()
[all …]
/drivers/dma-buf/
Ddma-fence-chain.c23 struct dma_fence *prev; in dma_fence_chain_get_prev() local
26 prev = dma_fence_get_rcu_safe(&chain->prev); in dma_fence_chain_get_prev()
28 return prev; in dma_fence_chain_get_prev()
42 struct dma_fence *prev, *replacement, *tmp; in dma_fence_chain_walk() local
50 while ((prev = dma_fence_chain_get_prev(chain))) { in dma_fence_chain_walk()
52 prev_chain = to_dma_fence_chain(prev); in dma_fence_chain_walk()
59 if (!dma_fence_is_signaled(prev)) in dma_fence_chain_walk()
65 tmp = cmpxchg((struct dma_fence __force **)&chain->prev, in dma_fence_chain_walk()
66 prev, replacement); in dma_fence_chain_walk()
67 if (tmp == prev) in dma_fence_chain_walk()
[all …]
/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h111 struct list_head *next, *prev; member
130 list->next = list->prev = list; in INIT_LIST_HEAD()
135 struct list_head *prev, struct list_head *next) in __list_add() argument
137 next->prev = entry; in __list_add()
139 entry->prev = prev; in __list_add()
140 prev->next = entry; in __list_add()
182 __list_add(entry, head->prev, head); in list_add_tail()
186 __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument
188 next->prev = prev; in __list_del()
189 prev->next = next; in __list_del()
[all …]
/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c53 struct nvkm_mm_node *prev = node(this, prev); in nvkm_mm_free() local
56 if (prev && prev->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free()
57 prev->length += this->length; in nvkm_mm_free()
59 kfree(this); this = prev; in nvkm_mm_free()
72 list_for_each_entry(prev, &mm->free, fl_entry) { in nvkm_mm_free()
73 if (this->offset < prev->offset) in nvkm_mm_free()
77 list_add_tail(&this->fl_entry, &prev->fl_entry); in nvkm_mm_free()
114 struct nvkm_mm_node *prev, *this, *next; in nvkm_mm_head() local
129 prev = node(this, prev); in nvkm_mm_head()
130 if (prev && prev->type != type) in nvkm_mm_head()
[all …]
/drivers/char/agp/
Dfrontend.c67 struct agp_memory *prev; in agp_remove_from_pool() local
75 prev = temp->prev; in agp_remove_from_pool()
77 if (prev != NULL) { in agp_remove_from_pool()
78 prev->next = next; in agp_remove_from_pool()
80 next->prev = prev; in agp_remove_from_pool()
85 next->prev = NULL; in agp_remove_from_pool()
199 struct agp_memory *prev; in agp_insert_into_pool() local
201 prev = agp_fe.current_controller->pool; in agp_insert_into_pool()
203 if (prev != NULL) { in agp_insert_into_pool()
204 prev->prev = temp; in agp_insert_into_pool()
[all …]
/drivers/net/fddi/skfp/
Dsmttimer.c37 struct smt_timer **prev ; in smt_timer_stop() local
47 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { in smt_timer_stop()
49 *prev = tm->tm_next ; in smt_timer_stop()
61 struct smt_timer **prev ; in smt_timer_start() local
88 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { in smt_timer_start()
95 *prev = timer ; in smt_timer_start()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth_sysfs.c56 struct dpaa_fq *prev = NULL; in dpaa_eth_show_fqids() local
93 if (prev && (abs(fq->fqid - prev->fqid) != 1 || in dpaa_eth_show_fqids()
97 "%s: %d\n", prevstr, prev->fqid); in dpaa_eth_show_fqids()
104 if (prev && abs(fq->fqid - prev->fqid) == 1 && in dpaa_eth_show_fqids()
112 prev = fq; in dpaa_eth_show_fqids()
117 if (prev) { in dpaa_eth_show_fqids()
120 prev->fqid); in dpaa_eth_show_fqids()
/drivers/gpu/drm/i915/gt/
Dselftest_ring.c32 u32 next, u32 prev, in check_ring_direction() argument
37 result = intel_ring_direction(ring, next, prev); in check_ring_direction()
45 next, prev, result, expected); in check_ring_direction()
54 u32 prev = x, next = intel_ring_wrap(ring, x + step); in check_ring_step() local
58 err |= check_ring_direction(ring, prev, prev, 0); in check_ring_step()
59 err |= check_ring_direction(ring, next, prev, 1); in check_ring_step()
60 err |= check_ring_direction(ring, prev, next, -1); in check_ring_step()
/drivers/video/fbdev/omap2/omapfb/dss/
Ddss-of.c20 struct device_node *prev) in omapdss_of_get_next_port() argument
27 if (!prev) { in omapdss_of_get_next_port()
44 ports = of_get_parent(prev); in omapdss_of_get_next_port()
49 port = of_get_next_child(ports, prev); in omapdss_of_get_next_port()
54 prev = port; in omapdss_of_get_next_port()
66 struct device_node *prev) in omapdss_of_get_next_endpoint() argument
74 ep = of_get_next_child(parent, prev); in omapdss_of_get_next_endpoint()
77 prev = ep; in omapdss_of_get_next_endpoint()
/drivers/gpu/drm/i915/selftests/
Dintel_uncore.c32 s32 prev; in intel_fw_table_check() local
34 for (i = 0, prev = -1; i < num_ranges; i++, ranges++) { in intel_fw_table_check()
36 if (is_watertight && (prev + 1) != (s32)ranges->start) { in intel_fw_table_check()
38 __func__, i, ranges->start, ranges->end, prev); in intel_fw_table_check()
43 if (prev >= (s32)ranges->start) { in intel_fw_table_check()
45 __func__, i, ranges->start, ranges->end, prev); in intel_fw_table_check()
56 prev = ranges->end; in intel_fw_table_check()
74 s32 prev; in intel_shadow_table_check() local
78 for (i = 0, prev = -1; i < reg_lists[j].size; i++, reg++) { in intel_shadow_table_check()
81 if (prev >= (s32)offset) { in intel_shadow_table_check()
[all …]
Di915_buddy.c117 struct i915_buddy_block *prev; in igt_check_blocks() local
122 prev = NULL; in igt_check_blocks()
133 if (is_contiguous && prev) { in igt_check_blocks()
138 prev_offset = i915_buddy_block_offset(prev); in igt_check_blocks()
139 prev_block_size = i915_buddy_block_size(mm, prev); in igt_check_blocks()
152 prev = block; in igt_check_blocks()
164 if (prev) { in igt_check_blocks()
166 igt_dump_block(mm, prev); in igt_check_blocks()
180 struct i915_buddy_block *prev; in igt_check_mm() local
197 prev = NULL; in igt_check_mm()
[all …]
/drivers/gpu/drm/
Ddrm_lock.c62 unsigned int old, new, prev; in drm_lock_take() local
75 prev = cmpxchg(lock, old, new); in drm_lock_take()
76 } while (prev != old); in drm_lock_take()
111 unsigned int old, new, prev; in drm_lock_transfer() local
118 prev = cmpxchg(lock, old, new); in drm_lock_transfer()
119 } while (prev != old); in drm_lock_transfer()
126 unsigned int old, new, prev; in drm_legacy_lock_free() local
141 prev = cmpxchg(lock, old, new); in drm_legacy_lock_free()
142 } while (prev != old); in drm_legacy_lock_free()
311 unsigned int old, prev; in drm_legacy_idlelock_release() local
[all …]
/drivers/infiniband/hw/mthca/
Dmthca_mcg.c65 u16 *hash, int *prev, int *index) in find_mgm() argument
89 *prev = -1; in find_mgm()
109 *prev = *index; in find_mgm()
126 int index, prev; in mthca_multicast_attach() local
138 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index); in mthca_multicast_attach()
191 err = mthca_READ_MGM(dev, prev, mailbox); in mthca_multicast_attach()
199 err = mthca_WRITE_MGM(dev, prev, mailbox); in mthca_multicast_attach()
220 int prev, index; in mthca_multicast_detach() local
231 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index); in mthca_multicast_detach()
266 if (prev == -1) { in mthca_multicast_detach()
[all …]
/drivers/gpu/drm/i915/
Di915_active.c61 return (struct intel_engine_cs *)READ_ONCE(node->base.cb.node.prev); in __barrier_to_engine()
476 struct dma_fence *prev; in __i915_active_set_fence() local
483 prev = __i915_active_fence_set(active, fence); in __i915_active_set_fence()
484 if (!prev) in __i915_active_set_fence()
487 return prev; in __i915_active_set_fence()
807 struct rb_node *prev, *p; in reuse_idle_barrier() local
826 prev = NULL; in reuse_idle_barrier()
835 prev = p; in reuse_idle_barrier()
848 for (p = prev; p; p = rb_next(p)) { in reuse_idle_barrier()
910 struct llist_node *prev = first; in i915_active_acquire_preallocate_barrier() local
[all …]
/drivers/usb/host/
Dohci-mem.c113 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; in td_free() local
116 while (*prev && *prev != td) in td_free()
117 prev = &(*prev)->td_hash; in td_free()
118 if (*prev) in td_free()
119 *prev = td->td_hash; in td_free()
/drivers/gpu/drm/radeon/
Dmkregtable.c43 struct list_head *next, *prev; member
50 list->prev = list; in INIT_LIST_HEAD()
61 struct list_head *prev, struct list_head *next) in __list_add() argument
63 next->prev = new; in __list_add()
65 new->prev = prev; in __list_add()
66 prev->next = new; in __list_add()
70 struct list_head *prev, struct list_head *next);
83 __list_add(new, head->prev, head); in list_add_tail()
/drivers/staging/media/zoran/
Dvideocodec.c135 struct attached_list *a, *prev; in videocodec_detach() local
153 prev = NULL; in videocodec_detach()
164 if (!prev) { in videocodec_detach()
168 prev->next = a->next; in videocodec_detach()
177 prev = a; in videocodec_detach()
223 struct codec_list *prev = NULL, *h = codeclist_top; in videocodec_unregister() local
247 if (!prev) { in videocodec_unregister()
252 prev->next = h->next; in videocodec_unregister()
259 prev = h; in videocodec_unregister()
/drivers/dma/
Dtxx9dmac.c171 return list_entry(dc->active_list.prev, in txx9dmac_last_active()
183 desc = list_entry(desc->tx_list.prev, typeof(*desc), desc_node); in txx9dmac_last_child()
428 struct txx9dmac_desc *prev = NULL; in txx9dmac_dequeue() local
433 if (prev) { in txx9dmac_dequeue()
434 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_dequeue()
436 prev->txd.phys, ddev->descsize, in txx9dmac_dequeue()
439 prev = txx9dmac_last_child(desc); in txx9dmac_dequeue()
716 struct txx9dmac_desc *prev; in txx9dmac_prep_dma_memcpy() local
728 prev = first = NULL; in txx9dmac_prep_dma_memcpy()
778 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_prep_dma_memcpy()
[all …]
Dsun6i-dma.c365 static void *sun6i_dma_lli_add(struct sun6i_dma_lli *prev, in sun6i_dma_lli_add() argument
370 if ((!prev && !txd) || !next) in sun6i_dma_lli_add()
373 if (!prev) { in sun6i_dma_lli_add()
377 prev->p_lli_next = next_phy; in sun6i_dma_lli_add()
378 prev->v_lli_next = next; in sun6i_dma_lli_add()
690 struct sun6i_dma_lli *v_lli, *prev = NULL; in sun6i_dma_prep_slave_sg() local
745 prev = sun6i_dma_lli_add(prev, v_lli, p_lli, txd); in sun6i_dma_prep_slave_sg()
749 for (prev = txd->v_lli; prev; prev = prev->v_lli_next) in sun6i_dma_prep_slave_sg()
750 sun6i_dma_dump_lli(vchan, prev); in sun6i_dma_prep_slave_sg()
755 for (prev = txd->v_lli; prev; prev = prev->v_lli_next) in sun6i_dma_prep_slave_sg()
[all …]
/drivers/iommu/
Diova.c203 struct rb_node *curr, *prev; in __alloc_and_insert_iova_range() local
227 prev = curr; in __alloc_and_insert_iova_range()
249 iova_insert_rbtree(&iovad->rbroot, new, prev); in __alloc_and_insert_iova_range()
265 struct rb_node *curr, *prev; in __alloc_and_insert_iova_best_fit() local
279 prev = rb_prev(curr); in __alloc_and_insert_iova_best_fit()
280 for (; prev; curr = prev, prev = rb_prev(curr)) { in __alloc_and_insert_iova_best_fit()
282 prev_iova = rb_entry(prev, struct iova, node); in __alloc_and_insert_iova_best_fit()
833 struct iova *prev = NULL, *next = NULL; in split_and_remove_iova() local
837 prev = alloc_and_init_iova(iova->pfn_lo, pfn_lo - 1); in split_and_remove_iova()
838 if (prev == NULL) in split_and_remove_iova()
[all …]
/drivers/net/ethernet/sfc/falcon/
Dmdio_10g.c233 struct ethtool_link_ksettings prev = { in ef4_mdio_set_link_ksettings() local
239 efx->phy_op->get_link_ksettings(efx, &prev); in ef4_mdio_set_link_ksettings()
244 prev.link_modes.advertising); in ef4_mdio_set_link_ksettings()
246 prev.link_modes.supported); in ef4_mdio_set_link_ksettings()
249 cmd->base.speed == prev.base.speed && in ef4_mdio_set_link_ksettings()
250 cmd->base.duplex == prev.base.duplex && in ef4_mdio_set_link_ksettings()
251 cmd->base.port == prev.base.port && in ef4_mdio_set_link_ksettings()
252 cmd->base.autoneg == prev.base.autoneg) in ef4_mdio_set_link_ksettings()
256 if (prev.base.port != PORT_TP || cmd->base.port != PORT_TP) in ef4_mdio_set_link_ksettings()
/drivers/acpi/acpica/
Dexmutex.c46 (obj_desc->mutex.next)->mutex.prev = obj_desc->mutex.prev; in acpi_ex_unlink_mutex()
49 if (obj_desc->mutex.prev) { in acpi_ex_unlink_mutex()
50 (obj_desc->mutex.prev)->mutex.next = obj_desc->mutex.next; in acpi_ex_unlink_mutex()
58 (obj_desc->mutex.prev)->mutex.original_sync_level = in acpi_ex_unlink_mutex()
88 obj_desc->mutex.prev = NULL; in acpi_ex_link_mutex()
94 list_head->mutex.prev = obj_desc; in acpi_ex_link_mutex()
498 obj_desc->mutex.prev = NULL; in acpi_ex_release_all_mutexes()
Dutaddress.c99 struct acpi_address_range *prev; in acpi_ut_remove_address_range() local
110 range_info = prev = acpi_gbl_address_range_list[space_id]; in acpi_ut_remove_address_range()
113 if (range_info == prev) { /* Found at list head */ in acpi_ut_remove_address_range()
117 prev->next = range_info->next; in acpi_ut_remove_address_range()
133 prev = range_info; in acpi_ut_remove_address_range()
Dpsparse.c103 union acpi_parse_object *prev; in acpi_ps_complete_this_op() local
130 prev = op->common.parent->common.value.arg; in acpi_ps_complete_this_op()
131 if (!prev) { in acpi_ps_complete_this_op()
224 if (prev == op) { in acpi_ps_complete_this_op()
245 while (prev) { in acpi_ps_complete_this_op()
249 next = prev->common.next; in acpi_ps_complete_this_op()
258 prev->common.next = in acpi_ps_complete_this_op()
264 prev->common.next = in acpi_ps_complete_this_op()
269 prev = next; in acpi_ps_complete_this_op()
/drivers/mtd/parsers/
Dredboot.c195 struct fis_list *new_fl, **prev; in parse_redboot_partitions() local
222 prev = &fl; in parse_redboot_partitions()
223 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()
224 prev = &(*prev)->next; in parse_redboot_partitions()
225 new_fl->next = *prev; in parse_redboot_partitions()
226 *prev = new_fl; in parse_redboot_partitions()

12345678910>>...16