/drivers/media/platform/ti/omap3isp/ |
D | isppreview.c | 149 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/ |
D | dma-fence-chain.c | 23 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 = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), in dma_fence_chain_walk() 67 if (tmp == prev) in dma_fence_chain_walk() 71 dma_fence_put(prev); in dma_fence_chain_walk() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 53 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/ |
D | frontend.c | 69 struct agp_memory *prev; in agp_remove_from_pool() local 77 prev = temp->prev; in agp_remove_from_pool() 79 if (prev != NULL) { in agp_remove_from_pool() 80 prev->next = next; in agp_remove_from_pool() 82 next->prev = prev; in agp_remove_from_pool() 87 next->prev = NULL; in agp_remove_from_pool() 201 struct agp_memory *prev; in agp_insert_into_pool() local 203 prev = agp_fe.current_controller->pool; in agp_insert_into_pool() 205 if (prev != NULL) { in agp_insert_into_pool() 206 prev->prev = temp; in agp_insert_into_pool() [all …]
|
/drivers/net/fddi/skfp/ |
D | smttimer.c | 33 struct smt_timer **prev ; in smt_timer_stop() local 43 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { in smt_timer_stop() 45 *prev = tm->tm_next ; in smt_timer_stop() 57 struct smt_timer **prev ; in smt_timer_start() local 84 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { in smt_timer_start() 91 *prev = timer ; in smt_timer_start()
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth_sysfs.c | 30 struct dpaa_fq *prev = NULL; in dpaa_eth_show_fqids() local 67 if (prev && (abs(fq->fqid - prev->fqid) != 1 || in dpaa_eth_show_fqids() 71 "%s: %d\n", prevstr, prev->fqid); in dpaa_eth_show_fqids() 78 if (prev && abs(fq->fqid - prev->fqid) == 1 && in dpaa_eth_show_fqids() 86 prev = fq; in dpaa_eth_show_fqids() 91 if (prev) { in dpaa_eth_show_fqids() 94 prev->fqid); in dpaa_eth_show_fqids()
|
/drivers/gpu/drm/i915/gt/ |
D | selftest_ring.c | 32 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/ |
D | dss-of.c | 20 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/ |
D | drm_lock.c | 62 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/gpu/drm/i915/selftests/ |
D | intel_uncore.c | 32 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() 76 s32 prev; in intel_shadow_table_check() local 80 for (i = 0, prev = -1; i < range_lists[j].size; i++, range++) { in intel_shadow_table_check() 87 if (prev >= (s32)range->start) { in intel_shadow_table_check() [all …]
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mcg.c | 65 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/ |
D | i915_active.c | 57 return (struct intel_engine_cs *)READ_ONCE(node->base.cb.node.prev); in __barrier_to_engine() 468 struct dma_fence *prev; in __i915_active_set_fence() local 475 prev = __i915_active_fence_set(active, fence); in __i915_active_set_fence() 476 if (!prev) in __i915_active_set_fence() 479 return prev; in __i915_active_set_fence() 776 struct rb_node *prev, *p; in reuse_idle_barrier() local 795 prev = NULL; in reuse_idle_barrier() 804 prev = p; in reuse_idle_barrier() 817 for (p = prev; p; p = rb_next(p)) { in reuse_idle_barrier() 879 struct llist_node *prev = first; in i915_active_acquire_preallocate_barrier() local [all …]
|
D | i915_request.c | 1082 struct list_head *pos = READ_ONCE(signal->link.prev); in i915_request_await_start() 1083 struct i915_request *prev; in i915_request_await_start() local 1099 prev = list_entry(pos, typeof(*prev), link); in i915_request_await_start() 1100 if (!i915_request_get_rcu(prev)) in i915_request_await_start() 1104 if (unlikely(READ_ONCE(prev->link.next) != &signal->link)) { in i915_request_await_start() 1105 i915_request_put(prev); in i915_request_await_start() 1109 fence = &prev->fence; in i915_request_await_start() 1625 struct i915_request *prev; in __i915_request_ensure_parallel_ordering() local 1629 prev = request_to_parent(rq)->parallel.last_rq; in __i915_request_ensure_parallel_ordering() 1630 if (prev) { in __i915_request_ensure_parallel_ordering() [all …]
|
/drivers/usb/host/ |
D | ohci-mem.c | 113 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/ |
D | mkregtable.c | 43 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/media/pci/zoran/ |
D | videocodec.c | 113 struct attached_list *a, *prev; in videocodec_detach() local 133 prev = NULL; in videocodec_detach() 145 if (!prev) { in videocodec_detach() 149 prev->next = a->next; in videocodec_detach() 157 prev = a; in videocodec_detach() 204 struct codec_list *prev = NULL, *h = codeclist_top; in videocodec_unregister() local 232 if (!prev) { in videocodec_unregister() 237 prev->next = h->next; in videocodec_unregister() 244 prev = h; in videocodec_unregister()
|
/drivers/dma/ |
D | txx9dmac.c | 171 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 …]
|
/drivers/net/ethernet/sfc/falcon/ |
D | mdio_10g.c | 233 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/gpu/drm/tests/ |
D | drm_buddy_test.c | 145 struct drm_buddy_block *prev; in check_blocks() local 150 prev = NULL; in check_blocks() 161 if (is_contiguous && prev) { in check_blocks() 166 prev_offset = drm_buddy_block_offset(prev); in check_blocks() 167 prev_block_size = drm_buddy_block_size(mm, prev); in check_blocks() 180 prev = block; in check_blocks() 192 if (prev) { in check_blocks() 194 dump_block(test, mm, prev); in check_blocks() 206 struct drm_buddy_block *prev; in check_mm() local 223 prev = NULL; in check_mm() [all …]
|
/drivers/of/ |
D | base.c | 225 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes() argument 228 if (!prev) { in __of_find_all_nodes() 230 } else if (prev->child) { in __of_find_all_nodes() 231 np = prev->child; in __of_find_all_nodes() 234 np = prev; in __of_find_all_nodes() 250 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes() argument 256 np = __of_find_all_nodes(prev); in of_find_all_nodes() 258 of_node_put(prev); in of_find_all_nodes() 748 struct device_node *prev) in __of_get_next_child() argument 755 next = prev ? prev->sibling : node->child; in __of_get_next_child() [all …]
|
/drivers/mtd/parsers/ |
D | redboot.c | 194 struct fis_list *new_fl, **prev; in parse_redboot_partitions() local 221 prev = &fl; in parse_redboot_partitions() 222 while (*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions() 223 prev = &(*prev)->next; in parse_redboot_partitions() 224 new_fl->next = *prev; in parse_redboot_partitions() 225 *prev = new_fl; in parse_redboot_partitions()
|
/drivers/acpi/acpica/ |
D | exmutex.c | 46 (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()
|
D | psparse.c | 103 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()
|
D | utaddress.c | 99 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()
|
/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_bo.c | 71 bo->prev = NULL; in __bo_init() 122 temp_bo->next->prev = this; in __bo_search_and_remove_from_free_rbtree() 124 temp_bo->prev = NULL; in __bo_search_and_remove_from_free_rbtree() 195 bo->prev = this; in __bo_insert_to_free_rbtree() 198 this->next->prev = bo; in __bo_insert_to_free_rbtree() 276 if (!bo->prev && !bo->next) { in __bo_take_off_handling() 283 } else if (!bo->prev && bo->next) { in __bo_take_off_handling() 284 bo->next->prev = NULL; in __bo_take_off_handling() 293 } else if (bo->prev && !bo->next) { in __bo_take_off_handling() 294 bo->prev->next = NULL; in __bo_take_off_handling() [all …]
|