| /linux/drivers/usb/dwc3/ |
| H A D | gadget.c | 179 static void dwc3_ep_inc_enq(struct dwc3_ep *dep) in dwc3_ep_inc_enq() argument 181 dwc3_ep_inc_trb(&dep->trb_enqueue); in dwc3_ep_inc_enq() 188 static void dwc3_ep_inc_deq(struct dwc3_ep *dep) in dwc3_ep_inc_deq() argument 190 dwc3_ep_inc_trb(&dep->trb_dequeue); in dwc3_ep_inc_deq() 193 static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, in dwc3_gadget_del_and_unmap_request() argument 196 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() 212 if (dep->number > 1) in dwc3_gadget_del_and_unmap_request() 226 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, in dwc3_gadget_giveback() argument 229 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() 238 dwc3_gadget_del_and_unmap_request(dep, req, status); in dwc3_gadget_giveback() [all …]
|
| H A D | debugfs.c | 682 struct dwc3_ep *dep = s->private; in dwc3_tx_fifo_size_show() local 683 struct dwc3 *dwc = dep->dwc; in dwc3_tx_fifo_size_show() 694 val = dwc3_core_fifo_space(dep, DWC3_TXFIFO); in dwc3_tx_fifo_size_show() 711 struct dwc3_ep *dep = s->private; in dwc3_rx_fifo_size_show() local 712 struct dwc3 *dwc = dep->dwc; in dwc3_rx_fifo_size_show() 723 val = dwc3_core_fifo_space(dep, DWC3_RXFIFO); in dwc3_rx_fifo_size_show() 740 struct dwc3_ep *dep = s->private; in dwc3_tx_request_queue_show() local 741 struct dwc3 *dwc = dep->dwc; in dwc3_tx_request_queue_show() 751 val = dwc3_core_fifo_space(dep, DWC3_TXREQQ); in dwc3_tx_request_queue_show() 762 struct dwc3_ep *dep = s->private; in dwc3_rx_request_queue_show() local [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_scheduler.c | 160 struct i915_dependency *dep, *p; in __i915_schedule() local 193 list_for_each_entry(dep, &dfs, dfs_link) { in __i915_schedule() 194 struct i915_sched_node *node = dep->signaler; in __i915_schedule() 207 GEM_BUG_ON(p == dep); /* no cycles! */ in __i915_schedule() 239 list_for_each_entry_safe_reverse(dep, p, &dfs, dfs_link) { in __i915_schedule() 240 struct i915_request *from = container_of(dep->signaler, in __i915_schedule() 243 INIT_LIST_HEAD(&dep->dfs_link); in __i915_schedule() 245 node = dep->signaler; in __i915_schedule() 323 i915_dependency_free(struct i915_dependency *dep) in i915_dependency_free() argument 325 kmem_cache_free(slab_dependencies, dep); in i915_dependency_free() [all …]
|
| /linux/scripts/kconfig/ |
| H A D | menu.c | 130 void menu_add_dep(struct expr *dep, struct expr *cond) in menu_add_dep() argument 139 dep = expr_alloc_or(dep, in menu_add_dep() 142 current_entry->dep = expr_alloc_and(current_entry->dep, dep); in menu_add_dep() 162 struct expr *dep) in menu_add_prop() argument 173 prop->visible.expr = dep; in menu_add_prop() 190 struct expr *dep) in menu_add_prompt() argument 192 struct property *prop = menu_add_prop(type, NULL, dep); in menu_add_prompt() 227 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument 229 menu_add_prop(type, expr, dep); in menu_add_expr() 232 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol() argument [all …]
|
| H A D | lkc.h | 85 void menu_add_dep(struct expr *dep, struct expr *cond); 86 void menu_add_visibility(struct expr *dep); 88 struct expr *dep); 89 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 90 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
| H A D | expr.h | 57 #define EXPR_NOT(dep) (2-(dep)) argument 265 struct expr *dep; member 309 bool expr_contains_symbol(struct expr *dep, struct symbol *sym); 310 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
|
| H A D | expr.c | 713 bool expr_contains_symbol(struct expr *dep, struct symbol *sym) in expr_contains_symbol() argument 715 if (!dep) in expr_contains_symbol() 718 switch (dep->type) { in expr_contains_symbol() 721 return expr_contains_symbol(dep->left.expr, sym) || in expr_contains_symbol() 722 expr_contains_symbol(dep->right.expr, sym); in expr_contains_symbol() 724 return dep->left.sym == sym; in expr_contains_symbol() 731 return dep->left.sym == sym || in expr_contains_symbol() 732 dep->right.sym == sym; in expr_contains_symbol() 734 return expr_contains_symbol(dep->left.expr, sym); in expr_contains_symbol() 741 bool expr_depends_symbol(struct expr *dep, struct symbol *sym) in expr_depends_symbol() argument [all …]
|
| H A D | streamline_config.pl | 225 my $dep = $3; 227 if ($dep !~ /^\s*(y|m|n)\s*$/) { 228 $dep =~ s/.*\sif\s+//; 229 $depends{$config} .= " " . $dep; 230 dprint "Added default depends $dep to $config\n";
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_tlb_inval_job.c | 22 struct xe_dep_job dep; member 51 container_of(dep_job, typeof(*job), dep); in xe_tlb_inval_job_run() 71 container_of(dep_job, typeof(*job), dep); in xe_tlb_inval_job_free() 122 job->dep.ops = &dep_job_ops; in xe_tlb_inval_job_create() 135 err = drm_sched_job_init(&job->dep.drm, entity, 1, NULL, in xe_tlb_inval_job_create() 193 drm_sched_job_cleanup(&job->dep.drm); in xe_tlb_inval_job_destroy() 212 xe_assert(gt_to_xe(job->q->gt), !xa_load(&job->dep.drm.dependencies, 0)); in xe_tlb_inval_job_alloc_dep() 215 return drm_sched_job_add_dependency(&job->dep.drm, in xe_tlb_inval_job_alloc_dep() 249 xa_load(&job->dep.drm.dependencies, 0) == in xe_tlb_inval_job_push() 253 ptr = xa_store(&job->dep.drm.dependencies, 0, fence, in xe_tlb_inval_job_push() [all …]
|
| /linux/scripts/ |
| H A D | headerdep.pl | 105 if(my($dep) = ($line =~ m/^#\s*include\s*<(.*?)>/)) { 106 push @queue, $dep; 107 push @{$deps{$header}}, [$i + 1, $dep]; 148 for my $dep (@{$deps{$name}}) { 149 my $chain = [@$top, [$dep->[0], $dep->[1]]]; 153 if(grep { $_->[1] eq $dep->[1] } @$top) { 186 for my $dep (@{$deps{$header}}) { 188 mangle($header), mangle($dep->[1]);
|
| H A D | generate_rust_analyzer.py | 44 "deps": [{"crate": crates_indexes[dep], "name": dep} for dep in deps],
|
| /linux/drivers/acpi/ |
| H A D | power.c | 258 struct acpi_power_dependent_device *dep; in acpi_power_resource_add_dependent() local 262 list_for_each_entry(dep, &resource->dependents, node) { in acpi_power_resource_add_dependent() 264 if (dep->dev == dev) in acpi_power_resource_add_dependent() 268 dep = kzalloc_obj(*dep); in acpi_power_resource_add_dependent() 269 if (!dep) { in acpi_power_resource_add_dependent() 274 dep->dev = dev; in acpi_power_resource_add_dependent() 275 list_add_tail(&dep->node, &resource->dependents); in acpi_power_resource_add_dependent() 288 struct acpi_power_dependent_device *dep; in acpi_power_resource_remove_dependent() local 291 list_for_each_entry(dep, &resource->dependents, node) { in acpi_power_resource_remove_dependent() 292 if (dep->dev == dev) { in acpi_power_resource_remove_dependent() [all …]
|
| H A D | scan.c | 1833 struct acpi_dep_data *dep; in acpi_scan_dep_init() local 1835 list_for_each_entry(dep, &acpi_dep_list, node) { in acpi_scan_dep_init() 1836 if (dep->consumer == adev->handle) { in acpi_scan_dep_init() 1837 if (dep->honor_dep) in acpi_scan_dep_init() 1840 if (!dep->met) in acpi_scan_dep_init() 2013 struct acpi_dep_data *dep; in acpi_scan_add_dep() local 2030 dep = kzalloc_obj(*dep); in acpi_scan_add_dep() 2031 if (!dep) in acpi_scan_add_dep() 2036 dep->supplier = dep_devices->handles[i]; in acpi_scan_add_dep() 2037 dep->consumer = handle; in acpi_scan_add_dep() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | async_tx.h | 16 #define async_tx_find_channel(dep, cap, dst_lst, dst_cnt, src_lst, \ argument 22 #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \ argument 23 __async_tx_find_channel(dep, type)
|
| /linux/drivers/usb/host/ |
| H A D | xhci-dbgcap.c | 215 static void xhci_dbc_flush_endpoint_requests(struct dbc_ep *dep) in xhci_dbc_flush_endpoint_requests() argument 219 list_for_each_entry_safe(req, tmp, &dep->list_pending, list_pending) in xhci_dbc_flush_endpoint_requests() 287 static int xhci_dbc_queue_bulk_tx(struct dbc_ep *dep, in xhci_dbc_queue_bulk_tx() argument 294 struct xhci_ring *ring = dep->ring; in xhci_dbc_queue_bulk_tx() 331 writel(DBC_DOOR_BELL_TARGET(dep->direction), &dbc->regs->doorbell); in xhci_dbc_queue_bulk_tx() 342 struct dbc_ep *dep = &dbc->eps[req->direction]; in dbc_ep_do_queue() local 353 dbc_ep_dma_direction(dep)); in dbc_ep_do_queue() 359 ret = xhci_dbc_queue_bulk_tx(dep, req); in dbc_ep_do_queue() 365 dbc_ep_dma_direction(dep)); in dbc_ep_do_queue() 369 list_add_tail(&req->list_pending, &dep->list_pending); in dbc_ep_do_queue() [all …]
|
| /linux/drivers/power/sequencing/ |
| H A D | core.c | 139 struct pwrseq_unit_dep *dep; in pwrseq_unit_dep_new() local 141 dep = kzalloc_obj(*dep); in pwrseq_unit_dep_new() 142 if (!dep) in pwrseq_unit_dep_new() 145 dep->unit = unit; in pwrseq_unit_dep_new() 147 return dep; in pwrseq_unit_dep_new() 158 struct pwrseq_unit_dep *dep, *next; in pwrseq_unit_free_deps() local 160 list_for_each_entry_safe(dep, next, list, list) { in pwrseq_unit_free_deps() 161 list_del(&dep->list); in pwrseq_unit_free_deps() 162 pwrseq_unit_dep_free(dep); in pwrseq_unit_free_deps() 390 struct pwrseq_unit_dep *dep; in pwrseq_unit_setup_deps() local [all …]
|
| /linux/net/sched/ |
| H A D | sch_sfq.c | 99 struct sfq_head dep; /* anchor in dep[] chains */ member 126 struct sfq_head dep[SFQ_MAX_DEPTH + 1]; member 146 return &q->slots[val].dep; in sfq_dep_head() 147 return &q->dep[val - SFQ_MAX_FLOWS]; in sfq_dep_head() 203 n = q->dep[qlen].next; in sfq_link() 205 slot->dep.next = n; in sfq_link() 206 slot->dep.prev = p; in sfq_link() 208 q->dep[qlen].next = x; /* sfq_dep_head(q, p)->next = x */ in sfq_link() 214 n = q->slots[x].dep.next; \ 215 p = q->slots[x].dep.prev; \ [all …]
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_ttm_move.c | 435 struct dma_fence *dep) in i915_ttm_memcpy_work_arm() argument 442 ret = dma_fence_add_callback(dep, &work->cb, __memcpy_cb); in i915_ttm_memcpy_work_arm() 445 dma_fence_wait(dep, false); in i915_ttm_memcpy_work_arm() 448 dep->error); in i915_ttm_memcpy_work_arm() 498 struct dma_fence *dep = fence; in __i915_ttm_move() local 512 fence = i915_ttm_memcpy_work_arm(copy_work, dep); in __i915_ttm_move() 514 dma_fence_wait(dep, false); in __i915_ttm_move() 518 dma_fence_put(dep); in __i915_ttm_move()
|
| /linux/tools/memory-model/ |
| H A D | linux-kernel.bell | 93 let carry-dep = (data ; [~ Srcu-unlock] ; rfi)* 94 let addr = carry-dep ; addr 95 let ctrl = carry-dep ; ctrl 96 let data = carry-dep ; data
|
| /linux/drivers/dma/ |
| H A D | dmaengine.c | 1590 struct dma_async_tx_descriptor *dep = txd_next(tx); in dma_run_dependencies() local 1594 if (!dep) in dma_run_dependencies() 1599 chan = dep->chan; in dma_run_dependencies() 1605 for (; dep; dep = dep_next) { in dma_run_dependencies() 1606 txd_lock(dep); in dma_run_dependencies() 1607 txd_clear_parent(dep); in dma_run_dependencies() 1608 dep_next = txd_next(dep); in dma_run_dependencies() 1610 txd_clear_next(dep); /* ->next will be submitted */ in dma_run_dependencies() 1613 txd_unlock(dep); in dma_run_dependencies() 1615 dep->tx_submit(dep); in dma_run_dependencies()
|
| /linux/net/netfilter/ |
| H A D | nf_tables_offload.c | 120 ctx->dep.type = NFT_OFFLOAD_DEP_UNSPEC; in nft_flow_rule_create() 135 flow->proto = ctx->dep.l3num; in nft_flow_rule_create() 168 ctx->dep.type = type; in nft_offload_set_dependency() 174 switch (ctx->dep.type) { in nft_offload_update_dependency() 177 memcpy(&ctx->dep.l3num, data, sizeof(__u16)); in nft_offload_update_dependency() 181 memcpy(&ctx->dep.protonum, data, sizeof(__u8)); in nft_offload_update_dependency() 186 ctx->dep.type = NFT_OFFLOAD_DEP_UNSPEC; in nft_offload_update_dependency()
|
| /linux/drivers/pnp/ |
| H A D | interface.c | 214 int ret, dep = 0, set = 0; in options_show() local 228 if (!dep || pnp_option_set(option) != set) { in options_show() 230 dep = 1; in options_show() 236 dep = 0; in options_show()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_dir2_priv.h | 66 struct xfs_dir2_data_entry *dep); 68 struct xfs_dir2_data_entry *dep); 70 struct xfs_dir2_data_entry *dep, uint8_t ftype);
|
| /linux/tools/testing/selftests/vsock/ |
| H A D | vmtest.sh | 290 for dep in vng ${QEMU} busybox pkill ssh ss socat; do 291 if [[ ! -x $(command -v "${dep}") ]]; then 292 echo -e "skip: dependency ${dep} not found!\n"
|
| /linux/tools/testing/ktest/ |
| H A D | ktest.pl | 3262 foreach my $dep (@{$arr}) { 3263 print "ADD DEP $dep\n"; 3264 @deps = (@deps, get_dependencies $dep); 3644 my ($config, $dep) = @_; 3647 $depends{$config} .= " " . $dep; 3649 $depends{$config} = $dep; 3653 if (defined $depcount{$dep}) { 3654 $depcount{$dep}++; 3656 $depcount{$dep} = 1; 3813 my ($dep) = @_; [all …]
|