| /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 | ep0.c | 30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep); 32 struct dwc3_ep *dep, struct dwc3_request *req); 36 static void dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep, in dwc3_ep0_prepare_one_trb() argument 42 dwc = dep->dwc; in dwc3_ep0_prepare_one_trb() 43 trb = &dwc->ep0_trb[dep->trb_enqueue]; in dwc3_ep0_prepare_one_trb() 46 dep->trb_enqueue++; in dwc3_ep0_prepare_one_trb() 62 trace_dwc3_prepare_trb(dep, trb); in dwc3_ep0_prepare_one_trb() 65 static int dwc3_ep0_start_trans(struct dwc3_ep *dep) in dwc3_ep0_start_trans() argument 71 if (dep->flags & DWC3_EP_TRANSFER_STARTED) in dwc3_ep0_start_trans() 74 dwc = dep->dwc; in dwc3_ep0_start_trans() [all …]
|
| H A D | gadget.h | 84 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_started_request() local 87 list_move_tail(&req->list, &dep->started_list); in dwc3_gadget_move_started_request() 101 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_cancelled_request() local 104 list_move_tail(&req->list, &dep->cancelled_list); in dwc3_gadget_move_cancelled_request() 107 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, 113 void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep); 119 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol); 121 void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt); 131 static inline void dwc3_gadget_ep_get_transfer_index(struct dwc3_ep *dep) in dwc3_gadget_ep_get_transfer_index() argument 135 res_id = dwc3_readl(dep->regs, DWC3_DEPCMD); in dwc3_gadget_ep_get_transfer_index() [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) in menu_add_dep() argument 132 current_entry->dep = expr_alloc_and(current_entry->dep, dep); in menu_add_dep() 152 struct expr *dep) in menu_add_prop() argument 163 prop->visible.expr = dep; in menu_add_prop() 180 struct expr *dep) in menu_add_prompt() argument 182 struct property *prop = menu_add_prop(type, NULL, dep); in menu_add_prompt() 217 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument 219 menu_add_prop(type, expr, dep); in menu_add_expr() 222 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol() argument 224 menu_add_prop(type, expr_alloc_symbol(sym), dep); in menu_add_symbol() [all …]
|
| H A D | lkc.h | 85 void menu_add_dep(struct expr *dep); 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/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/fs/xfs/libxfs/ |
| H A D | xfs_dir2_data.c | 44 struct xfs_dir2_data_entry *dep) in xfs_dir2_data_entry_tag_p() argument 46 return (__be16 *)((char *)dep + in xfs_dir2_data_entry_tag_p() 47 xfs_dir2_data_entsize(mp, dep->namelen) - sizeof(__be16)); in xfs_dir2_data_entry_tag_p() 53 struct xfs_dir2_data_entry *dep) in xfs_dir2_data_get_ftype() argument 56 uint8_t ftype = dep->name[dep->namelen]; in xfs_dir2_data_get_ftype() 68 struct xfs_dir2_data_entry *dep, in xfs_dir2_data_put_ftype() argument 72 ASSERT(dep->namelen != 0); in xfs_dir2_data_put_ftype() 75 dep->name[dep->namelen] = ftype; in xfs_dir2_data_put_ftype() 180 struct xfs_dir2_data_entry *dep = bp->b_addr + offset; in __xfs_dir3_data_check() local 240 if (dep->namelen == 0) in __xfs_dir3_data_check() [all …]
|
| H A D | xfs_dir2_sf.c | 176 xfs_dir2_data_entry_t *dep; /* data entry in the block */ in xfs_dir2_block_sfsize() local 210 dep = (xfs_dir2_data_entry_t *)((char *)hdr + in xfs_dir2_block_sfsize() 217 isdot = dep->namelen == 1 && dep->name[0] == '.'; in xfs_dir2_block_sfsize() 219 dep->namelen == 2 && in xfs_dir2_block_sfsize() 220 dep->name[0] == '.' && dep->name[1] == '.'; in xfs_dir2_block_sfsize() 223 i8count += be64_to_cpu(dep->inumber) > XFS_DIR2_MAX_SHORT_INUM; in xfs_dir2_block_sfsize() 228 namelen += dep->namelen + has_ftype; in xfs_dir2_block_sfsize() 230 parent = be64_to_cpu(dep->inumber); in xfs_dir2_block_sfsize() 290 struct xfs_dir2_data_entry *dep = bp->b_addr + offset; in xfs_dir2_block_to_sf() local 303 if (dep->namelen == 1 && dep->name[0] == '.') in xfs_dir2_block_to_sf() [all …]
|
| 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/drivers/usb/host/ |
| H A D | xhci-dbgcap.c | 200 static void xhci_dbc_flush_endpoint_requests(struct dbc_ep *dep) in xhci_dbc_flush_endpoint_requests() argument 204 list_for_each_entry_safe(req, tmp, &dep->list_pending, list_pending) in xhci_dbc_flush_endpoint_requests() 272 static int xhci_dbc_queue_bulk_tx(struct dbc_ep *dep, in xhci_dbc_queue_bulk_tx() argument 279 struct xhci_ring *ring = dep->ring; in xhci_dbc_queue_bulk_tx() 316 writel(DBC_DOOR_BELL_TARGET(dep->direction), &dbc->regs->doorbell); in xhci_dbc_queue_bulk_tx() 327 struct dbc_ep *dep = &dbc->eps[req->direction]; in dbc_ep_do_queue() local 338 dbc_ep_dma_direction(dep)); in dbc_ep_do_queue() 344 ret = xhci_dbc_queue_bulk_tx(dep, req); in dbc_ep_do_queue() 350 dbc_ep_dma_direction(dep)); in dbc_ep_do_queue() 354 list_add_tail(&req->list_pending, &dep->list_pending); in dbc_ep_do_queue() [all …]
|
| /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(sizeof(*dep), GFP_KERNEL); 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 …]
|
| /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/power/sequencing/ |
| H A D | core.c | 139 struct pwrseq_unit_dep *dep; in pwrseq_unit_dep_new() local 141 dep = kzalloc(sizeof(*dep), GFP_KERNEL); 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/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/tools/testing/selftests/vsock/ |
| H A D | vmtest.sh | 142 for dep in vng ${QEMU} busybox pkill ssh; do 143 if [[ ! -x $(command -v "${dep}") ]]; then 144 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 …]
|