dep                36 arch/ia64/include/asm/mca_asm.h 	dep	addr	= 0, addr, 61, 3
dep                53 arch/ia64/include/asm/mca_asm.h 	dep	addr	= temp, addr, 61, 3
dep                86 arch/ia64/include/asm/mca_asm.h 	dep	old_psr = 0, old_psr, 32, 32;						\
dep               104 arch/ia64/include/asm/mca_asm.h 	dep	temp2 = 0, temp2, PSR_IC, 2;						\
dep               109 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = 0, temp1, 32, 32;						\
dep               111 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = 0, temp1, PSR_IT, 1;						\
dep               113 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = 0, temp1, PSR_DT, 1;						\
dep               115 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = 0, temp1, PSR_RT, 1;						\
dep               117 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = 0, temp1, PSR_I, 1;						\
dep               119 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = 0, temp1, PSR_IC, 1;						\
dep               121 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = -1, temp1, PSR_MC, 1;						\
dep               168 arch/ia64/include/asm/mca_asm.h 	dep	temp2 = 0, temp2, PSR_IC, 2;			\
dep               189 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = temp2, temp1, PSR_IC, 1;		\
dep               191 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = temp2, temp1, PSR_IT, 1;		\
dep               193 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = temp2, temp1, PSR_DT, 1;		\
dep               195 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = temp2, temp1, PSR_RT, 1;		\
dep               197 arch/ia64/include/asm/mca_asm.h 	dep	temp1 = temp2, temp1, PSR_BN, 1;		\
dep               228 arch/ia64/kernel/minstate.h 	dep.z r17=r26,0,62;			\
dep               232 arch/ia64/kernel/minstate.h 	dep r27=r0,r27,16,14;			\
dep               546 arch/parisc/include/uapi/asm/pdc.h 	unsigned char	dep;
dep              1058 arch/parisc/kernel/drivers.c 	DO(dep);
dep                16 arch/powerpc/include/asm/async_tx.h #define async_tx_find_channel(dep, cap, dst_lst, dst_cnt, src_lst, \
dep                22 arch/powerpc/include/asm/async_tx.h #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \
dep                23 arch/powerpc/include/asm/async_tx.h 	__async_tx_find_channel(dep, type)
dep               245 drivers/acpi/power.c 	struct acpi_power_dependent_device *dep;
dep               249 drivers/acpi/power.c 	list_for_each_entry(dep, &resource->dependents, node) {
dep               251 drivers/acpi/power.c 		if (dep->dev == dev)
dep               255 drivers/acpi/power.c 	dep = kzalloc(sizeof(*dep), GFP_KERNEL);
dep               256 drivers/acpi/power.c 	if (!dep) {
dep               261 drivers/acpi/power.c 	dep->dev = dev;
dep               262 drivers/acpi/power.c 	list_add_tail(&dep->node, &resource->dependents);
dep               274 drivers/acpi/power.c 	struct acpi_power_dependent_device *dep;
dep               277 drivers/acpi/power.c 	list_for_each_entry(dep, &resource->dependents, node) {
dep               278 drivers/acpi/power.c 		if (dep->dev == dev) {
dep               279 drivers/acpi/power.c 			list_del(&dep->node);
dep               280 drivers/acpi/power.c 			kfree(dep);
dep               355 drivers/acpi/power.c 	struct acpi_power_dependent_device *dep;
dep               374 drivers/acpi/power.c 	list_for_each_entry(dep, &resource->dependents, node) {
dep               375 drivers/acpi/power.c 		dev_dbg(dep->dev, "runtime resuming because [%s] turned on\n",
dep               377 drivers/acpi/power.c 		pm_request_resume(dep->dev);
dep              1809 drivers/acpi/scan.c 	struct acpi_dep_data *dep;
dep              1848 drivers/acpi/scan.c 		dep = kzalloc(sizeof(struct acpi_dep_data), GFP_KERNEL);
dep              1849 drivers/acpi/scan.c 		if (!dep)
dep              1852 drivers/acpi/scan.c 		dep->master = dep_devices.handles[i];
dep              1853 drivers/acpi/scan.c 		dep->slave  = adev->handle;
dep              1857 drivers/acpi/scan.c 		list_add_tail(&dep->node , &acpi_dep_list);
dep              2024 drivers/acpi/scan.c 	struct acpi_dep_data *dep, *tmp;
dep              2028 drivers/acpi/scan.c 	list_for_each_entry_safe(dep, tmp, &acpi_dep_list, node) {
dep              2029 drivers/acpi/scan.c 		if (dep->master == handle) {
dep              2030 drivers/acpi/scan.c 			acpi_bus_get_device(dep->slave, &adev);
dep              2037 drivers/acpi/scan.c 			list_del(&dep->node);
dep              2038 drivers/acpi/scan.c 			kfree(dep);
dep              1337 drivers/dma/dmaengine.c 	struct dma_async_tx_descriptor *dep = txd_next(tx);
dep              1341 drivers/dma/dmaengine.c 	if (!dep)
dep              1346 drivers/dma/dmaengine.c 	chan = dep->chan;
dep              1352 drivers/dma/dmaengine.c 	for (; dep; dep = dep_next) {
dep              1353 drivers/dma/dmaengine.c 		txd_lock(dep);
dep              1354 drivers/dma/dmaengine.c 		txd_clear_parent(dep);
dep              1355 drivers/dma/dmaengine.c 		dep_next = txd_next(dep);
dep              1357 drivers/dma/dmaengine.c 			txd_clear_next(dep); /* ->next will be submitted */
dep              1360 drivers/dma/dmaengine.c 		txd_unlock(dep);
dep              1362 drivers/dma/dmaengine.c 		dep->tx_submit(dep);
dep              1189 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		struct amdgpu_cs_post_dep *dep = &p->post_deps[i];
dep              1191 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		dep->chain = NULL;
dep              1193 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 			dep->chain = kmalloc(sizeof(*dep->chain), GFP_KERNEL);
dep              1194 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 			if (!dep->chain)
dep              1198 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		dep->syncobj = drm_syncobj_find(p->filp,
dep              1200 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		if (!dep->syncobj) {
dep              1201 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 			kfree(dep->chain);
dep              1204 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		dep->point = syncobj_deps[i].point;
dep              1165 drivers/gpu/drm/i915/i915_request.c 							 &rq->dep,
dep               163 drivers/gpu/drm/i915/i915_request.h 	struct i915_dependency dep;
dep               234 drivers/gpu/drm/i915/i915_scheduler.c 	struct i915_dependency *dep, *p;
dep               271 drivers/gpu/drm/i915/i915_scheduler.c 	list_for_each_entry(dep, &dfs, dfs_link) {
dep               272 drivers/gpu/drm/i915/i915_scheduler.c 		struct i915_sched_node *node = dep->signaler;
dep               285 drivers/gpu/drm/i915/i915_scheduler.c 			GEM_BUG_ON(p == dep); /* no cycles! */
dep               317 drivers/gpu/drm/i915/i915_scheduler.c 	list_for_each_entry_safe_reverse(dep, p, &dfs, dfs_link) {
dep               318 drivers/gpu/drm/i915/i915_scheduler.c 		INIT_LIST_HEAD(&dep->dfs_link);
dep               320 drivers/gpu/drm/i915/i915_scheduler.c 		node = dep->signaler;
dep               405 drivers/gpu/drm/i915/i915_scheduler.c i915_dependency_free(struct i915_dependency *dep)
dep               407 drivers/gpu/drm/i915/i915_scheduler.c 	kmem_cache_free(global.slab_dependencies, dep);
dep               412 drivers/gpu/drm/i915/i915_scheduler.c 				      struct i915_dependency *dep,
dep               420 drivers/gpu/drm/i915/i915_scheduler.c 		INIT_LIST_HEAD(&dep->dfs_link);
dep               421 drivers/gpu/drm/i915/i915_scheduler.c 		dep->signaler = signal;
dep               422 drivers/gpu/drm/i915/i915_scheduler.c 		dep->waiter = node;
dep               423 drivers/gpu/drm/i915/i915_scheduler.c 		dep->flags = flags;
dep               431 drivers/gpu/drm/i915/i915_scheduler.c 		list_add(&dep->signal_link, &node->signalers_list);
dep               432 drivers/gpu/drm/i915/i915_scheduler.c 		list_add_rcu(&dep->wait_link, &signal->waiters_list);
dep               455 drivers/gpu/drm/i915/i915_scheduler.c 	struct i915_dependency *dep;
dep               457 drivers/gpu/drm/i915/i915_scheduler.c 	dep = i915_dependency_alloc();
dep               458 drivers/gpu/drm/i915/i915_scheduler.c 	if (!dep)
dep               461 drivers/gpu/drm/i915/i915_scheduler.c 	if (!__i915_sched_node_add_dependency(node, signal, dep,
dep               464 drivers/gpu/drm/i915/i915_scheduler.c 		i915_dependency_free(dep);
dep               471 drivers/gpu/drm/i915/i915_scheduler.c 	struct i915_dependency *dep, *tmp;
dep               481 drivers/gpu/drm/i915/i915_scheduler.c 	list_for_each_entry_safe(dep, tmp, &node->signalers_list, signal_link) {
dep               482 drivers/gpu/drm/i915/i915_scheduler.c 		GEM_BUG_ON(!node_signaled(dep->signaler));
dep               483 drivers/gpu/drm/i915/i915_scheduler.c 		GEM_BUG_ON(!list_empty(&dep->dfs_link));
dep               485 drivers/gpu/drm/i915/i915_scheduler.c 		list_del(&dep->wait_link);
dep               486 drivers/gpu/drm/i915/i915_scheduler.c 		if (dep->flags & I915_DEPENDENCY_ALLOC)
dep               487 drivers/gpu/drm/i915/i915_scheduler.c 			i915_dependency_free(dep);
dep               491 drivers/gpu/drm/i915/i915_scheduler.c 	list_for_each_entry_safe(dep, tmp, &node->waiters_list, wait_link) {
dep               492 drivers/gpu/drm/i915/i915_scheduler.c 		GEM_BUG_ON(dep->signaler != node);
dep               493 drivers/gpu/drm/i915/i915_scheduler.c 		GEM_BUG_ON(!list_empty(&dep->dfs_link));
dep               495 drivers/gpu/drm/i915/i915_scheduler.c 		list_del(&dep->signal_link);
dep               496 drivers/gpu/drm/i915/i915_scheduler.c 		if (dep->flags & I915_DEPENDENCY_ALLOC)
dep               497 drivers/gpu/drm/i915/i915_scheduler.c 			i915_dependency_free(dep);
dep                32 drivers/gpu/drm/i915/i915_scheduler.h 				      struct i915_dependency *dep,
dep               213 drivers/pnp/interface.c 	int ret, dep = 0, set = 0;
dep               227 drivers/pnp/interface.c 			if (!dep || pnp_option_set(option) != set) {
dep               229 drivers/pnp/interface.c 				dep = 1;
dep               235 drivers/pnp/interface.c 			dep = 0;
dep               206 drivers/usb/dwc3/core.c u32 dwc3_core_fifo_space(struct dwc3_ep *dep, u8 type)
dep               208 drivers/usb/dwc3/core.c 	struct dwc3		*dwc = dep->dwc;
dep               212 drivers/usb/dwc3/core.c 			DWC3_GDBGFIFOSPACE_NUM(dep->number) |
dep               882 drivers/usb/dwc3/core.h 	struct dwc3_ep		*dep;
dep              1395 drivers/usb/dwc3/core.h u32 dwc3_core_fifo_space(struct dwc3_ep *dep, u8 type);
dep              1430 drivers/usb/dwc3/core.h int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned cmd,
dep              1446 drivers/usb/dwc3/core.h static inline int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned cmd,
dep               635 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               636 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               641 drivers/usb/dwc3/debugfs.c 	val = dwc3_core_fifo_space(dep, DWC3_TXFIFO);
dep               654 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               655 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               660 drivers/usb/dwc3/debugfs.c 	val = dwc3_core_fifo_space(dep, DWC3_RXFIFO);
dep               673 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               674 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               679 drivers/usb/dwc3/debugfs.c 	val = dwc3_core_fifo_space(dep, DWC3_TXREQQ);
dep               688 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               689 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               694 drivers/usb/dwc3/debugfs.c 	val = dwc3_core_fifo_space(dep, DWC3_RXREQQ);
dep               703 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               704 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               709 drivers/usb/dwc3/debugfs.c 	val = dwc3_core_fifo_space(dep, DWC3_RXINFOQ);
dep               718 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               719 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               724 drivers/usb/dwc3/debugfs.c 	val = dwc3_core_fifo_space(dep, DWC3_DESCFETCHQ);
dep               733 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               734 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               739 drivers/usb/dwc3/debugfs.c 	val = dwc3_core_fifo_space(dep, DWC3_EVENTQ);
dep               748 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               749 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               753 drivers/usb/dwc3/debugfs.c 	if (!(dep->flags & DWC3_EP_ENABLED) ||
dep               754 drivers/usb/dwc3/debugfs.c 			!dep->endpoint.desc) {
dep               759 drivers/usb/dwc3/debugfs.c 	switch (usb_endpoint_type(dep->endpoint.desc)) {
dep               784 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               785 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               790 drivers/usb/dwc3/debugfs.c 	if (dep->number <= 1) {
dep               798 drivers/usb/dwc3/debugfs.c 		struct dwc3_trb *trb = &dep->trb_pool[i];
dep               810 drivers/usb/dwc3/debugfs.c 				dep->trb_enqueue == i ? 'E' : ' ',
dep               811 drivers/usb/dwc3/debugfs.c 				dep->trb_dequeue == i ? 'D' : ' ');
dep               822 drivers/usb/dwc3/debugfs.c 	struct dwc3_ep		*dep = s->private;
dep               823 drivers/usb/dwc3/debugfs.c 	struct dwc3		*dwc = dep->dwc;
dep               831 drivers/usb/dwc3/debugfs.c 	reg = DWC3_GDBGLSPMUX_EPSELECT(dep->number);
dep               868 drivers/usb/dwc3/debugfs.c static void dwc3_debugfs_create_endpoint_files(struct dwc3_ep *dep,
dep               877 drivers/usb/dwc3/debugfs.c 		debugfs_create_file(name, S_IRUGO, parent, dep, fops);
dep               881 drivers/usb/dwc3/debugfs.c static void dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep,
dep               886 drivers/usb/dwc3/debugfs.c 	dir = debugfs_create_dir(dep->name, parent);
dep               887 drivers/usb/dwc3/debugfs.c 	dwc3_debugfs_create_endpoint_files(dep, dir);
dep               896 drivers/usb/dwc3/debugfs.c 		struct dwc3_ep	*dep = dwc->eps[i];
dep               898 drivers/usb/dwc3/debugfs.c 		if (!dep)
dep               901 drivers/usb/dwc3/debugfs.c 		dwc3_debugfs_create_endpoint_dir(dep, parent);
dep                30 drivers/usb/dwc3/ep0.c static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
dep                32 drivers/usb/dwc3/ep0.c 		struct dwc3_ep *dep, struct dwc3_request *req);
dep                34 drivers/usb/dwc3/ep0.c static void dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep,
dep                40 drivers/usb/dwc3/ep0.c 	dwc = dep->dwc;
dep                41 drivers/usb/dwc3/ep0.c 	trb = &dwc->ep0_trb[dep->trb_enqueue];
dep                44 drivers/usb/dwc3/ep0.c 		dep->trb_enqueue++;
dep                60 drivers/usb/dwc3/ep0.c 	trace_dwc3_prepare_trb(dep, trb);
dep                63 drivers/usb/dwc3/ep0.c static int dwc3_ep0_start_trans(struct dwc3_ep *dep)
dep                69 drivers/usb/dwc3/ep0.c 	if (dep->flags & DWC3_EP_TRANSFER_STARTED)
dep                72 drivers/usb/dwc3/ep0.c 	dwc = dep->dwc;
dep                78 drivers/usb/dwc3/ep0.c 	ret = dwc3_send_gadget_ep_cmd(dep, DWC3_DEPCMD_STARTTRANSFER, &params);
dep                87 drivers/usb/dwc3/ep0.c static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
dep                90 drivers/usb/dwc3/ep0.c 	struct dwc3		*dwc = dep->dwc;
dep                94 drivers/usb/dwc3/ep0.c 	req->epnum		= dep->number;
dep                96 drivers/usb/dwc3/ep0.c 	list_add_tail(&req->list, &dep->pending_list);
dep               107 drivers/usb/dwc3/ep0.c 	if (dep->flags & DWC3_EP_PENDING_REQUEST) {
dep               110 drivers/usb/dwc3/ep0.c 		direction = !!(dep->flags & DWC3_EP0_DIR_IN);
dep               119 drivers/usb/dwc3/ep0.c 		dep->flags &= ~(DWC3_EP_PENDING_REQUEST |
dep               182 drivers/usb/dwc3/ep0.c 		dep->flags &= ~DWC3_EP0_DIR_IN;
dep               192 drivers/usb/dwc3/ep0.c 	struct dwc3_ep			*dep = to_dwc3_ep(ep);
dep               193 drivers/usb/dwc3/ep0.c 	struct dwc3			*dwc = dep->dwc;
dep               200 drivers/usb/dwc3/ep0.c 	if (!dep->endpoint.desc) {
dep               202 drivers/usb/dwc3/ep0.c 				dep->name);
dep               208 drivers/usb/dwc3/ep0.c 	if (!list_empty(&dep->pending_list)) {
dep               213 drivers/usb/dwc3/ep0.c 	ret = __dwc3_gadget_ep0_queue(dep, req);
dep               223 drivers/usb/dwc3/ep0.c 	struct dwc3_ep		*dep;
dep               226 drivers/usb/dwc3/ep0.c 	dep = dwc->eps[1];
dep               227 drivers/usb/dwc3/ep0.c 	dep->flags = DWC3_EP_ENABLED;
dep               230 drivers/usb/dwc3/ep0.c 	dep = dwc->eps[0];
dep               231 drivers/usb/dwc3/ep0.c 	__dwc3_gadget_ep_set_halt(dep, 1, false);
dep               232 drivers/usb/dwc3/ep0.c 	dep->flags = DWC3_EP_ENABLED;
dep               235 drivers/usb/dwc3/ep0.c 	if (!list_empty(&dep->pending_list)) {
dep               238 drivers/usb/dwc3/ep0.c 		req = next_request(&dep->pending_list);
dep               239 drivers/usb/dwc3/ep0.c 		dwc3_gadget_giveback(dep, req, -ECONNRESET);
dep               248 drivers/usb/dwc3/ep0.c 	struct dwc3_ep			*dep = to_dwc3_ep(ep);
dep               249 drivers/usb/dwc3/ep0.c 	struct dwc3			*dwc = dep->dwc;
dep               258 drivers/usb/dwc3/ep0.c 	struct dwc3_ep			*dep = to_dwc3_ep(ep);
dep               259 drivers/usb/dwc3/ep0.c 	struct dwc3			*dwc = dep->dwc;
dep               272 drivers/usb/dwc3/ep0.c 	struct dwc3_ep			*dep;
dep               277 drivers/usb/dwc3/ep0.c 	dep = dwc->eps[0];
dep               278 drivers/usb/dwc3/ep0.c 	dwc3_ep0_prepare_one_trb(dep, dwc->ep0_trb_addr, 8,
dep               280 drivers/usb/dwc3/ep0.c 	ret = dwc3_ep0_start_trans(dep);
dep               286 drivers/usb/dwc3/ep0.c 	struct dwc3_ep		*dep;
dep               294 drivers/usb/dwc3/ep0.c 	dep = dwc->eps[epnum];
dep               295 drivers/usb/dwc3/ep0.c 	if (dep->flags & DWC3_EP_ENABLED)
dep               296 drivers/usb/dwc3/ep0.c 		return dep;
dep               310 drivers/usb/dwc3/ep0.c 	struct dwc3_ep		*dep;
dep               349 drivers/usb/dwc3/ep0.c 		dep = dwc3_wIndex_to_dep(dwc, ctrl->wIndex);
dep               350 drivers/usb/dwc3/ep0.c 		if (!dep)
dep               353 drivers/usb/dwc3/ep0.c 		if (dep->flags & DWC3_EP_STALL)
dep               363 drivers/usb/dwc3/ep0.c 	dep = dwc->eps[0];
dep               364 drivers/usb/dwc3/ep0.c 	dwc->ep0_usb_req.dep = dep;
dep               369 drivers/usb/dwc3/ep0.c 	return __dwc3_gadget_ep0_queue(dep, &dwc->ep0_usb_req);
dep               509 drivers/usb/dwc3/ep0.c 	struct dwc3_ep		*dep;
dep               517 drivers/usb/dwc3/ep0.c 		dep = dwc3_wIndex_to_dep(dwc, ctrl->wIndex);
dep               518 drivers/usb/dwc3/ep0.c 		if (!dep)
dep               521 drivers/usb/dwc3/ep0.c 		if (set == 0 && (dep->flags & DWC3_EP_WEDGE))
dep               524 drivers/usb/dwc3/ep0.c 		ret = __dwc3_gadget_ep_set_halt(dep, set, true);
dep               655 drivers/usb/dwc3/ep0.c 	struct dwc3_ep	*dep = to_dwc3_ep(ep);
dep               656 drivers/usb/dwc3/ep0.c 	struct dwc3	*dwc = dep->dwc;
dep               699 drivers/usb/dwc3/ep0.c 	struct dwc3_ep	*dep;
dep               722 drivers/usb/dwc3/ep0.c 	dep = dwc->eps[0];
dep               723 drivers/usb/dwc3/ep0.c 	dwc->ep0_usb_req.dep = dep;
dep               724 drivers/usb/dwc3/ep0.c 	dwc->ep0_usb_req.request.length = dep->endpoint.maxpacket;
dep               728 drivers/usb/dwc3/ep0.c 	return __dwc3_gadget_ep0_queue(dep, &dwc->ep0_usb_req);
dep               881 drivers/usb/dwc3/ep0.c 	struct dwc3_ep		*dep;
dep               885 drivers/usb/dwc3/ep0.c 	dep = dwc->eps[0];
dep               888 drivers/usb/dwc3/ep0.c 	trace_dwc3_complete_trb(dep, trb);
dep               890 drivers/usb/dwc3/ep0.c 	if (!list_empty(&dep->pending_list)) {
dep               891 drivers/usb/dwc3/ep0.c 		r = next_request(&dep->pending_list);
dep               893 drivers/usb/dwc3/ep0.c 		dwc3_gadget_giveback(dep, r, 0);
dep               919 drivers/usb/dwc3/ep0.c 	struct dwc3_ep		*dep = dwc->eps[event->endpoint_number];
dep               921 drivers/usb/dwc3/ep0.c 	dep->flags &= ~DWC3_EP_TRANSFER_STARTED;
dep               922 drivers/usb/dwc3/ep0.c 	dep->resource_index = 0;
dep               943 drivers/usb/dwc3/ep0.c 		struct dwc3_ep *dep, struct dwc3_request *req)
dep               947 drivers/usb/dwc3/ep0.c 	req->direction = !!dep->number;
dep               950 drivers/usb/dwc3/ep0.c 		dwc3_ep0_prepare_one_trb(dep, dwc->ep0_trb_addr, 0,
dep               952 drivers/usb/dwc3/ep0.c 		ret = dwc3_ep0_start_trans(dep);
dep               953 drivers/usb/dwc3/ep0.c 	} else if (!IS_ALIGNED(req->request.length, dep->endpoint.maxpacket)
dep               954 drivers/usb/dwc3/ep0.c 			&& (dep->number == 0)) {
dep               959 drivers/usb/dwc3/ep0.c 				&req->request, dep->number);
dep               963 drivers/usb/dwc3/ep0.c 		maxpacket = dep->endpoint.maxpacket;
dep               968 drivers/usb/dwc3/ep0.c 		dwc3_ep0_prepare_one_trb(dep, req->request.dma,
dep               973 drivers/usb/dwc3/ep0.c 		req->trb = &dwc->ep0_trb[dep->trb_enqueue - 1];
dep               976 drivers/usb/dwc3/ep0.c 		dwc3_ep0_prepare_one_trb(dep, dwc->bounce_addr,
dep               980 drivers/usb/dwc3/ep0.c 		ret = dwc3_ep0_start_trans(dep);
dep               981 drivers/usb/dwc3/ep0.c 	} else if (IS_ALIGNED(req->request.length, dep->endpoint.maxpacket) &&
dep               985 drivers/usb/dwc3/ep0.c 				&req->request, dep->number);
dep               990 drivers/usb/dwc3/ep0.c 		dwc3_ep0_prepare_one_trb(dep, req->request.dma,
dep               995 drivers/usb/dwc3/ep0.c 		req->trb = &dwc->ep0_trb[dep->trb_enqueue - 1];
dep               998 drivers/usb/dwc3/ep0.c 		dwc3_ep0_prepare_one_trb(dep, dwc->bounce_addr,
dep              1001 drivers/usb/dwc3/ep0.c 		ret = dwc3_ep0_start_trans(dep);
dep              1004 drivers/usb/dwc3/ep0.c 				&req->request, dep->number);
dep              1008 drivers/usb/dwc3/ep0.c 		dwc3_ep0_prepare_one_trb(dep, req->request.dma,
dep              1012 drivers/usb/dwc3/ep0.c 		req->trb = &dwc->ep0_trb[dep->trb_enqueue];
dep              1014 drivers/usb/dwc3/ep0.c 		ret = dwc3_ep0_start_trans(dep);
dep              1020 drivers/usb/dwc3/ep0.c static int dwc3_ep0_start_control_status(struct dwc3_ep *dep)
dep              1022 drivers/usb/dwc3/ep0.c 	struct dwc3		*dwc = dep->dwc;
dep              1028 drivers/usb/dwc3/ep0.c 	dwc3_ep0_prepare_one_trb(dep, dwc->ep0_trb_addr, 0, type, false);
dep              1029 drivers/usb/dwc3/ep0.c 	return dwc3_ep0_start_trans(dep);
dep              1032 drivers/usb/dwc3/ep0.c static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep)
dep              1034 drivers/usb/dwc3/ep0.c 	WARN_ON(dwc3_ep0_start_control_status(dep));
dep              1040 drivers/usb/dwc3/ep0.c 	struct dwc3_ep		*dep = dwc->eps[event->endpoint_number];
dep              1042 drivers/usb/dwc3/ep0.c 	__dwc3_ep0_do_control_status(dwc, dep);
dep              1045 drivers/usb/dwc3/ep0.c static void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep)
dep              1051 drivers/usb/dwc3/ep0.c 	if (!dep->resource_index)
dep              1056 drivers/usb/dwc3/ep0.c 	cmd |= DWC3_DEPCMD_PARAM(dep->resource_index);
dep              1058 drivers/usb/dwc3/ep0.c 	ret = dwc3_send_gadget_ep_cmd(dep, cmd, &params);
dep              1060 drivers/usb/dwc3/ep0.c 	dep->resource_index = 0;
dep              1078 drivers/usb/dwc3/ep0.c 			struct dwc3_ep	*dep = dwc->eps[dwc->ep0_expect_in];
dep              1081 drivers/usb/dwc3/ep0.c 			dwc3_ep0_end_control_data(dwc, dep);
dep              1095 drivers/usb/dwc3/ep0.c 			struct dwc3_ep *dep = dwc->eps[0];
dep              1103 drivers/usb/dwc3/ep0.c 			if (!list_empty(&dep->pending_list)) {
dep              1120 drivers/usb/dwc3/ep0.c 	struct dwc3_ep	*dep = dwc->eps[event->endpoint_number];
dep              1140 drivers/usb/dwc3/ep0.c 			dep->flags &= ~DWC3_EP_END_TRANSFER_PENDING;
dep              1141 drivers/usb/dwc3/ep0.c 			dep->flags &= ~DWC3_EP_TRANSFER_STARTED;
dep               158 drivers/usb/dwc3/gadget.c static void dwc3_ep_inc_enq(struct dwc3_ep *dep)
dep               160 drivers/usb/dwc3/gadget.c 	dwc3_ep_inc_trb(&dep->trb_enqueue);
dep               167 drivers/usb/dwc3/gadget.c static void dwc3_ep_inc_deq(struct dwc3_ep *dep)
dep               169 drivers/usb/dwc3/gadget.c 	dwc3_ep_inc_trb(&dep->trb_dequeue);
dep               172 drivers/usb/dwc3/gadget.c static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep,
dep               175 drivers/usb/dwc3/gadget.c 	struct dwc3			*dwc = dep->dwc;
dep               191 drivers/usb/dwc3/gadget.c 	if (dep->number > 1)
dep               205 drivers/usb/dwc3/gadget.c void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,
dep               208 drivers/usb/dwc3/gadget.c 	struct dwc3			*dwc = dep->dwc;
dep               210 drivers/usb/dwc3/gadget.c 	dwc3_gadget_del_and_unmap_request(dep, req, status);
dep               214 drivers/usb/dwc3/gadget.c 	usb_gadget_giveback_request(&dep->endpoint, &req->request);
dep               268 drivers/usb/dwc3/gadget.c int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned cmd,
dep               271 drivers/usb/dwc3/gadget.c 	const struct usb_endpoint_descriptor *desc = dep->endpoint.desc;
dep               272 drivers/usb/dwc3/gadget.c 	struct dwc3		*dwc = dep->dwc;
dep               320 drivers/usb/dwc3/gadget.c 	dwc3_writel(dep->regs, DWC3_DEPCMDPAR0, params->param0);
dep               321 drivers/usb/dwc3/gadget.c 	dwc3_writel(dep->regs, DWC3_DEPCMDPAR1, params->param1);
dep               322 drivers/usb/dwc3/gadget.c 	dwc3_writel(dep->regs, DWC3_DEPCMDPAR2, params->param2);
dep               345 drivers/usb/dwc3/gadget.c 	dwc3_writel(dep->regs, DWC3_DEPCMD, cmd);
dep               347 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dep->regs, DWC3_DEPCMD);
dep               385 drivers/usb/dwc3/gadget.c 	trace_dwc3_gadget_ep_cmd(dep, cmd, params, cmd_status);
dep               388 drivers/usb/dwc3/gadget.c 		dep->flags |= DWC3_EP_TRANSFER_STARTED;
dep               389 drivers/usb/dwc3/gadget.c 		dwc3_gadget_ep_get_transfer_index(dep);
dep               401 drivers/usb/dwc3/gadget.c static int dwc3_send_clear_stall_ep_cmd(struct dwc3_ep *dep)
dep               403 drivers/usb/dwc3/gadget.c 	struct dwc3 *dwc = dep->dwc;
dep               415 drivers/usb/dwc3/gadget.c 	if (dep->direction && (dwc->revision >= DWC3_REVISION_260A) &&
dep               421 drivers/usb/dwc3/gadget.c 	return dwc3_send_gadget_ep_cmd(dep, cmd, &params);
dep               424 drivers/usb/dwc3/gadget.c static dma_addr_t dwc3_trb_dma_offset(struct dwc3_ep *dep,
dep               427 drivers/usb/dwc3/gadget.c 	u32		offset = (char *) trb - (char *) dep->trb_pool;
dep               429 drivers/usb/dwc3/gadget.c 	return dep->trb_pool_dma + offset;
dep               432 drivers/usb/dwc3/gadget.c static int dwc3_alloc_trb_pool(struct dwc3_ep *dep)
dep               434 drivers/usb/dwc3/gadget.c 	struct dwc3		*dwc = dep->dwc;
dep               436 drivers/usb/dwc3/gadget.c 	if (dep->trb_pool)
dep               439 drivers/usb/dwc3/gadget.c 	dep->trb_pool = dma_alloc_coherent(dwc->sysdev,
dep               441 drivers/usb/dwc3/gadget.c 			&dep->trb_pool_dma, GFP_KERNEL);
dep               442 drivers/usb/dwc3/gadget.c 	if (!dep->trb_pool) {
dep               443 drivers/usb/dwc3/gadget.c 		dev_err(dep->dwc->dev, "failed to allocate trb pool for %s\n",
dep               444 drivers/usb/dwc3/gadget.c 				dep->name);
dep               451 drivers/usb/dwc3/gadget.c static void dwc3_free_trb_pool(struct dwc3_ep *dep)
dep               453 drivers/usb/dwc3/gadget.c 	struct dwc3		*dwc = dep->dwc;
dep               456 drivers/usb/dwc3/gadget.c 			dep->trb_pool, dep->trb_pool_dma);
dep               458 drivers/usb/dwc3/gadget.c 	dep->trb_pool = NULL;
dep               459 drivers/usb/dwc3/gadget.c 	dep->trb_pool_dma = 0;
dep               462 drivers/usb/dwc3/gadget.c static int dwc3_gadget_set_xfer_resource(struct dwc3_ep *dep)
dep               470 drivers/usb/dwc3/gadget.c 	return dwc3_send_gadget_ep_cmd(dep, DWC3_DEPCMD_SETTRANSFRESOURCE,
dep               507 drivers/usb/dwc3/gadget.c static int dwc3_gadget_start_config(struct dwc3_ep *dep)
dep               515 drivers/usb/dwc3/gadget.c 	if (dep->number)
dep               520 drivers/usb/dwc3/gadget.c 	dwc = dep->dwc;
dep               522 drivers/usb/dwc3/gadget.c 	ret = dwc3_send_gadget_ep_cmd(dep, cmd, &params);
dep               527 drivers/usb/dwc3/gadget.c 		struct dwc3_ep *dep = dwc->eps[i];
dep               529 drivers/usb/dwc3/gadget.c 		if (!dep)
dep               532 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_set_xfer_resource(dep);
dep               540 drivers/usb/dwc3/gadget.c static int dwc3_gadget_set_ep_config(struct dwc3_ep *dep, unsigned int action)
dep               545 drivers/usb/dwc3/gadget.c 	struct dwc3 *dwc = dep->dwc;
dep               547 drivers/usb/dwc3/gadget.c 	comp_desc = dep->endpoint.comp_desc;
dep               548 drivers/usb/dwc3/gadget.c 	desc = dep->endpoint.desc;
dep               557 drivers/usb/dwc3/gadget.c 		u32 burst = dep->endpoint.maxburst;
dep               563 drivers/usb/dwc3/gadget.c 		params.param2 |= dep->saved_state;
dep               568 drivers/usb/dwc3/gadget.c 	if (dep->number <= 1 || usb_endpoint_xfer_isoc(desc))
dep               574 drivers/usb/dwc3/gadget.c 		dep->stream_capable = true;
dep               586 drivers/usb/dwc3/gadget.c 	params.param1 |= DWC3_DEPCFG_EP_NUMBER(dep->number);
dep               592 drivers/usb/dwc3/gadget.c 	if (dep->direction)
dep               593 drivers/usb/dwc3/gadget.c 		params.param0 |= DWC3_DEPCFG_FIFO_NUMBER(dep->number >> 1);
dep               597 drivers/usb/dwc3/gadget.c 		dep->interval = 1 << (desc->bInterval - 1);
dep               600 drivers/usb/dwc3/gadget.c 	return dwc3_send_gadget_ep_cmd(dep, DWC3_DEPCMD_SETEPCONFIG, &params);
dep               611 drivers/usb/dwc3/gadget.c static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep, unsigned int action)
dep               613 drivers/usb/dwc3/gadget.c 	const struct usb_endpoint_descriptor *desc = dep->endpoint.desc;
dep               614 drivers/usb/dwc3/gadget.c 	struct dwc3		*dwc = dep->dwc;
dep               619 drivers/usb/dwc3/gadget.c 	if (!(dep->flags & DWC3_EP_ENABLED)) {
dep               620 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_start_config(dep);
dep               625 drivers/usb/dwc3/gadget.c 	ret = dwc3_gadget_set_ep_config(dep, action);
dep               629 drivers/usb/dwc3/gadget.c 	if (!(dep->flags & DWC3_EP_ENABLED)) {
dep               633 drivers/usb/dwc3/gadget.c 		dep->type = usb_endpoint_type(desc);
dep               634 drivers/usb/dwc3/gadget.c 		dep->flags |= DWC3_EP_ENABLED;
dep               637 drivers/usb/dwc3/gadget.c 		reg |= DWC3_DALEPENA_EP(dep->number);
dep               644 drivers/usb/dwc3/gadget.c 		dep->trb_dequeue = 0;
dep               645 drivers/usb/dwc3/gadget.c 		dep->trb_enqueue = 0;
dep               646 drivers/usb/dwc3/gadget.c 		memset(dep->trb_pool, 0,
dep               650 drivers/usb/dwc3/gadget.c 		trb_st_hw = &dep->trb_pool[0];
dep               652 drivers/usb/dwc3/gadget.c 		trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1];
dep               653 drivers/usb/dwc3/gadget.c 		trb_link->bpl = lower_32_bits(dwc3_trb_dma_offset(dep, trb_st_hw));
dep               654 drivers/usb/dwc3/gadget.c 		trb_link->bph = upper_32_bits(dwc3_trb_dma_offset(dep, trb_st_hw));
dep               663 drivers/usb/dwc3/gadget.c 	if ((usb_endpoint_xfer_bulk(desc) && !dep->stream_capable) ||
dep               671 drivers/usb/dwc3/gadget.c 		trb = &dep->trb_pool[0];
dep               672 drivers/usb/dwc3/gadget.c 		trb_dma = dwc3_trb_dma_offset(dep, trb);
dep               679 drivers/usb/dwc3/gadget.c 		ret = dwc3_send_gadget_ep_cmd(dep, cmd, &params);
dep               685 drivers/usb/dwc3/gadget.c 	trace_dwc3_gadget_ep_enable(dep);
dep               690 drivers/usb/dwc3/gadget.c static void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force,
dep               692 drivers/usb/dwc3/gadget.c static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep)
dep               696 drivers/usb/dwc3/gadget.c 	dwc3_stop_active_transfer(dep, true, false);
dep               699 drivers/usb/dwc3/gadget.c 	while (!list_empty(&dep->started_list)) {
dep               700 drivers/usb/dwc3/gadget.c 		req = next_request(&dep->started_list);
dep               702 drivers/usb/dwc3/gadget.c 		dwc3_gadget_giveback(dep, req, -ESHUTDOWN);
dep               705 drivers/usb/dwc3/gadget.c 	while (!list_empty(&dep->pending_list)) {
dep               706 drivers/usb/dwc3/gadget.c 		req = next_request(&dep->pending_list);
dep               708 drivers/usb/dwc3/gadget.c 		dwc3_gadget_giveback(dep, req, -ESHUTDOWN);
dep               711 drivers/usb/dwc3/gadget.c 	while (!list_empty(&dep->cancelled_list)) {
dep               712 drivers/usb/dwc3/gadget.c 		req = next_request(&dep->cancelled_list);
dep               714 drivers/usb/dwc3/gadget.c 		dwc3_gadget_giveback(dep, req, -ESHUTDOWN);
dep               728 drivers/usb/dwc3/gadget.c static int __dwc3_gadget_ep_disable(struct dwc3_ep *dep)
dep               730 drivers/usb/dwc3/gadget.c 	struct dwc3		*dwc = dep->dwc;
dep               733 drivers/usb/dwc3/gadget.c 	trace_dwc3_gadget_ep_disable(dep);
dep               735 drivers/usb/dwc3/gadget.c 	dwc3_remove_requests(dwc, dep);
dep               738 drivers/usb/dwc3/gadget.c 	if (dep->flags & DWC3_EP_STALL)
dep               739 drivers/usb/dwc3/gadget.c 		__dwc3_gadget_ep_set_halt(dep, 0, false);
dep               742 drivers/usb/dwc3/gadget.c 	reg &= ~DWC3_DALEPENA_EP(dep->number);
dep               745 drivers/usb/dwc3/gadget.c 	dep->stream_capable = false;
dep               746 drivers/usb/dwc3/gadget.c 	dep->type = 0;
dep               747 drivers/usb/dwc3/gadget.c 	dep->flags = 0;
dep               750 drivers/usb/dwc3/gadget.c 	if (dep->number > 1) {
dep               751 drivers/usb/dwc3/gadget.c 		dep->endpoint.comp_desc = NULL;
dep               752 drivers/usb/dwc3/gadget.c 		dep->endpoint.desc = NULL;
dep               776 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep;
dep               791 drivers/usb/dwc3/gadget.c 	dep = to_dwc3_ep(ep);
dep               792 drivers/usb/dwc3/gadget.c 	dwc = dep->dwc;
dep               794 drivers/usb/dwc3/gadget.c 	if (dev_WARN_ONCE(dwc->dev, dep->flags & DWC3_EP_ENABLED,
dep               796 drivers/usb/dwc3/gadget.c 					dep->name))
dep               800 drivers/usb/dwc3/gadget.c 	ret = __dwc3_gadget_ep_enable(dep, DWC3_DEPCFG_ACTION_INIT);
dep               808 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep;
dep               818 drivers/usb/dwc3/gadget.c 	dep = to_dwc3_ep(ep);
dep               819 drivers/usb/dwc3/gadget.c 	dwc = dep->dwc;
dep               821 drivers/usb/dwc3/gadget.c 	if (dev_WARN_ONCE(dwc->dev, !(dep->flags & DWC3_EP_ENABLED),
dep               823 drivers/usb/dwc3/gadget.c 					dep->name))
dep               827 drivers/usb/dwc3/gadget.c 	ret = __dwc3_gadget_ep_disable(dep);
dep               837 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep = to_dwc3_ep(ep);
dep               843 drivers/usb/dwc3/gadget.c 	req->direction	= dep->direction;
dep               844 drivers/usb/dwc3/gadget.c 	req->epnum	= dep->number;
dep               845 drivers/usb/dwc3/gadget.c 	req->dep	= dep;
dep               871 drivers/usb/dwc3/gadget.c static struct dwc3_trb *dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index)
dep               878 drivers/usb/dwc3/gadget.c 	return &dep->trb_pool[tmp - 1];
dep               881 drivers/usb/dwc3/gadget.c static u32 dwc3_calc_trbs_left(struct dwc3_ep *dep)
dep               893 drivers/usb/dwc3/gadget.c 	if (dep->trb_enqueue == dep->trb_dequeue) {
dep               894 drivers/usb/dwc3/gadget.c 		tmp = dwc3_ep_prev_trb(dep, dep->trb_enqueue);
dep               901 drivers/usb/dwc3/gadget.c 	trbs_left = dep->trb_dequeue - dep->trb_enqueue;
dep               904 drivers/usb/dwc3/gadget.c 	if (dep->trb_dequeue < dep->trb_enqueue)
dep               910 drivers/usb/dwc3/gadget.c static void __dwc3_prepare_one_trb(struct dwc3_ep *dep, struct dwc3_trb *trb,
dep               914 drivers/usb/dwc3/gadget.c 	struct dwc3		*dwc = dep->dwc;
dep               922 drivers/usb/dwc3/gadget.c 	switch (usb_endpoint_type(dep->endpoint.desc)) {
dep               954 drivers/usb/dwc3/gadget.c 				struct usb_ep *ep = &dep->endpoint;
dep               984 drivers/usb/dwc3/gadget.c 				usb_endpoint_type(dep->endpoint.desc));
dep               991 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_dir_out(dep->endpoint.desc)) {
dep               992 drivers/usb/dwc3/gadget.c 		if (!dep->stream_capable)
dep              1000 drivers/usb/dwc3/gadget.c 			(dwc3_calc_trbs_left(dep) == 1))
dep              1006 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_bulk(dep->endpoint.desc) && dep->stream_capable)
dep              1011 drivers/usb/dwc3/gadget.c 	dwc3_ep_inc_enq(dep);
dep              1013 drivers/usb/dwc3/gadget.c 	trace_dwc3_prepare_trb(dep, trb);
dep              1023 drivers/usb/dwc3/gadget.c static void dwc3_prepare_one_trb(struct dwc3_ep *dep,
dep              1041 drivers/usb/dwc3/gadget.c 	trb = &dep->trb_pool[dep->trb_enqueue];
dep              1046 drivers/usb/dwc3/gadget.c 		req->trb_dma = dwc3_trb_dma_offset(dep, trb);
dep              1051 drivers/usb/dwc3/gadget.c 	__dwc3_prepare_one_trb(dep, trb, dma, length, chain, node,
dep              1055 drivers/usb/dwc3/gadget.c static void dwc3_prepare_one_trb_sg(struct dwc3_ep *dep,
dep              1067 drivers/usb/dwc3/gadget.c 		unsigned int maxp = usb_endpoint_maxp(dep->endpoint.desc);
dep              1081 drivers/usb/dwc3/gadget.c 		if (rem && usb_endpoint_dir_out(dep->endpoint.desc) && !chain) {
dep              1082 drivers/usb/dwc3/gadget.c 			struct dwc3	*dwc = dep->dwc;
dep              1088 drivers/usb/dwc3/gadget.c 			dwc3_prepare_one_trb(dep, req, true, i);
dep              1091 drivers/usb/dwc3/gadget.c 			trb = &dep->trb_pool[dep->trb_enqueue];
dep              1093 drivers/usb/dwc3/gadget.c 			__dwc3_prepare_one_trb(dep, trb, dwc->bounce_addr,
dep              1099 drivers/usb/dwc3/gadget.c 			dwc3_prepare_one_trb(dep, req, chain, i);
dep              1114 drivers/usb/dwc3/gadget.c 		if (!dwc3_calc_trbs_left(dep))
dep              1119 drivers/usb/dwc3/gadget.c static void dwc3_prepare_one_trb_linear(struct dwc3_ep *dep,
dep              1123 drivers/usb/dwc3/gadget.c 	unsigned int maxp = usb_endpoint_maxp(dep->endpoint.desc);
dep              1126 drivers/usb/dwc3/gadget.c 	if ((!length || rem) && usb_endpoint_dir_out(dep->endpoint.desc)) {
dep              1127 drivers/usb/dwc3/gadget.c 		struct dwc3	*dwc = dep->dwc;
dep              1133 drivers/usb/dwc3/gadget.c 		dwc3_prepare_one_trb(dep, req, true, 0);
dep              1136 drivers/usb/dwc3/gadget.c 		trb = &dep->trb_pool[dep->trb_enqueue];
dep              1138 drivers/usb/dwc3/gadget.c 		__dwc3_prepare_one_trb(dep, trb, dwc->bounce_addr, maxp - rem,
dep              1144 drivers/usb/dwc3/gadget.c 		struct dwc3	*dwc = dep->dwc;
dep              1150 drivers/usb/dwc3/gadget.c 		dwc3_prepare_one_trb(dep, req, true, 0);
dep              1153 drivers/usb/dwc3/gadget.c 		trb = &dep->trb_pool[dep->trb_enqueue];
dep              1155 drivers/usb/dwc3/gadget.c 		__dwc3_prepare_one_trb(dep, trb, dwc->bounce_addr, 0,
dep              1160 drivers/usb/dwc3/gadget.c 		dwc3_prepare_one_trb(dep, req, false, 0);
dep              1172 drivers/usb/dwc3/gadget.c static void dwc3_prepare_trbs(struct dwc3_ep *dep)
dep              1188 drivers/usb/dwc3/gadget.c 	list_for_each_entry(req, &dep->started_list, list) {
dep              1190 drivers/usb/dwc3/gadget.c 			dwc3_prepare_one_trb_sg(dep, req);
dep              1192 drivers/usb/dwc3/gadget.c 		if (!dwc3_calc_trbs_left(dep))
dep              1196 drivers/usb/dwc3/gadget.c 	list_for_each_entry_safe(req, n, &dep->pending_list, list) {
dep              1197 drivers/usb/dwc3/gadget.c 		struct dwc3	*dwc = dep->dwc;
dep              1201 drivers/usb/dwc3/gadget.c 						    dep->direction);
dep              1211 drivers/usb/dwc3/gadget.c 			dwc3_prepare_one_trb_sg(dep, req);
dep              1213 drivers/usb/dwc3/gadget.c 			dwc3_prepare_one_trb_linear(dep, req);
dep              1215 drivers/usb/dwc3/gadget.c 		if (!dwc3_calc_trbs_left(dep))
dep              1220 drivers/usb/dwc3/gadget.c static int __dwc3_gadget_kick_transfer(struct dwc3_ep *dep)
dep              1228 drivers/usb/dwc3/gadget.c 	if (!dwc3_calc_trbs_left(dep))
dep              1231 drivers/usb/dwc3/gadget.c 	starting = !(dep->flags & DWC3_EP_TRANSFER_STARTED);
dep              1233 drivers/usb/dwc3/gadget.c 	dwc3_prepare_trbs(dep);
dep              1234 drivers/usb/dwc3/gadget.c 	req = next_request(&dep->started_list);
dep              1236 drivers/usb/dwc3/gadget.c 		dep->flags |= DWC3_EP_PENDING_REQUEST;
dep              1247 drivers/usb/dwc3/gadget.c 		if (dep->stream_capable)
dep              1250 drivers/usb/dwc3/gadget.c 		if (usb_endpoint_xfer_isoc(dep->endpoint.desc))
dep              1251 drivers/usb/dwc3/gadget.c 			cmd |= DWC3_DEPCMD_PARAM(dep->frame_number);
dep              1254 drivers/usb/dwc3/gadget.c 			DWC3_DEPCMD_PARAM(dep->resource_index);
dep              1257 drivers/usb/dwc3/gadget.c 	ret = dwc3_send_gadget_ep_cmd(dep, cmd, &params);
dep              1266 drivers/usb/dwc3/gadget.c 		dwc3_gadget_del_and_unmap_request(dep, req, ret);
dep              1323 drivers/usb/dwc3/gadget.c static int dwc3_gadget_start_isoc_quirk(struct dwc3_ep *dep)
dep              1329 drivers/usb/dwc3/gadget.c 	while (dep->combo_num < 2) {
dep              1338 drivers/usb/dwc3/gadget.c 		test_frame_number = dep->frame_number & 0x3fff;
dep              1339 drivers/usb/dwc3/gadget.c 		test_frame_number |= dep->combo_num << 14;
dep              1340 drivers/usb/dwc3/gadget.c 		test_frame_number += max_t(u32, 4, dep->interval);
dep              1342 drivers/usb/dwc3/gadget.c 		params.param0 = upper_32_bits(dep->dwc->bounce_addr);
dep              1343 drivers/usb/dwc3/gadget.c 		params.param1 = lower_32_bits(dep->dwc->bounce_addr);
dep              1347 drivers/usb/dwc3/gadget.c 		cmd_status = dwc3_send_gadget_ep_cmd(dep, cmd, &params);
dep              1351 drivers/usb/dwc3/gadget.c 			dep->start_cmd_status = 0;
dep              1352 drivers/usb/dwc3/gadget.c 			dep->combo_num = 0;
dep              1357 drivers/usb/dwc3/gadget.c 		if (dep->combo_num == 0)
dep              1358 drivers/usb/dwc3/gadget.c 			dep->start_cmd_status = cmd_status;
dep              1360 drivers/usb/dwc3/gadget.c 		dep->combo_num++;
dep              1367 drivers/usb/dwc3/gadget.c 			dwc3_stop_active_transfer(dep, true, true);
dep              1373 drivers/usb/dwc3/gadget.c 	test0 = (dep->start_cmd_status == 0);
dep              1377 drivers/usb/dwc3/gadget.c 		dep->combo_num = 1;
dep              1379 drivers/usb/dwc3/gadget.c 		dep->combo_num = 2;
dep              1381 drivers/usb/dwc3/gadget.c 		dep->combo_num = 3;
dep              1383 drivers/usb/dwc3/gadget.c 		dep->combo_num = 0;
dep              1385 drivers/usb/dwc3/gadget.c 	dep->frame_number &= 0x3fff;
dep              1386 drivers/usb/dwc3/gadget.c 	dep->frame_number |= dep->combo_num << 14;
dep              1387 drivers/usb/dwc3/gadget.c 	dep->frame_number += max_t(u32, 4, dep->interval);
dep              1390 drivers/usb/dwc3/gadget.c 	dep->start_cmd_status = 0;
dep              1391 drivers/usb/dwc3/gadget.c 	dep->combo_num = 0;
dep              1393 drivers/usb/dwc3/gadget.c 	return __dwc3_gadget_kick_transfer(dep);
dep              1396 drivers/usb/dwc3/gadget.c static int __dwc3_gadget_start_isoc(struct dwc3_ep *dep)
dep              1398 drivers/usb/dwc3/gadget.c 	struct dwc3 *dwc = dep->dwc;
dep              1402 drivers/usb/dwc3/gadget.c 	if (list_empty(&dep->pending_list)) {
dep              1403 drivers/usb/dwc3/gadget.c 		dep->flags |= DWC3_EP_PENDING_REQUEST;
dep              1413 drivers/usb/dwc3/gadget.c 		if (dwc->gadget.speed <= USB_SPEED_HIGH && dep->direction)
dep              1414 drivers/usb/dwc3/gadget.c 			return dwc3_gadget_start_isoc_quirk(dep);
dep              1418 drivers/usb/dwc3/gadget.c 		dep->frame_number = DWC3_ALIGN_FRAME(dep, i + 1);
dep              1420 drivers/usb/dwc3/gadget.c 		ret = __dwc3_gadget_kick_transfer(dep);
dep              1428 drivers/usb/dwc3/gadget.c static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req)
dep              1430 drivers/usb/dwc3/gadget.c 	struct dwc3		*dwc = dep->dwc;
dep              1432 drivers/usb/dwc3/gadget.c 	if (!dep->endpoint.desc) {
dep              1434 drivers/usb/dwc3/gadget.c 				dep->name);
dep              1438 drivers/usb/dwc3/gadget.c 	if (WARN(req->dep != dep, "request %pK belongs to '%s'\n",
dep              1439 drivers/usb/dwc3/gadget.c 				&req->request, req->dep->name))
dep              1444 drivers/usb/dwc3/gadget.c 				dep->name, &req->request))
dep              1454 drivers/usb/dwc3/gadget.c 	list_add_tail(&req->list, &dep->pending_list);
dep              1458 drivers/usb/dwc3/gadget.c 	if (dep->flags & DWC3_EP_END_TRANSFER_PENDING) {
dep              1459 drivers/usb/dwc3/gadget.c 		dep->flags |= DWC3_EP_DELAY_START;
dep              1471 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) {
dep              1472 drivers/usb/dwc3/gadget.c 		if (!(dep->flags & DWC3_EP_PENDING_REQUEST) &&
dep              1473 drivers/usb/dwc3/gadget.c 				!(dep->flags & DWC3_EP_TRANSFER_STARTED))
dep              1476 drivers/usb/dwc3/gadget.c 		if ((dep->flags & DWC3_EP_PENDING_REQUEST)) {
dep              1477 drivers/usb/dwc3/gadget.c 			if (!(dep->flags & DWC3_EP_TRANSFER_STARTED)) {
dep              1478 drivers/usb/dwc3/gadget.c 				return __dwc3_gadget_start_isoc(dep);
dep              1483 drivers/usb/dwc3/gadget.c 	return __dwc3_gadget_kick_transfer(dep);
dep              1490 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep = to_dwc3_ep(ep);
dep              1491 drivers/usb/dwc3/gadget.c 	struct dwc3			*dwc = dep->dwc;
dep              1498 drivers/usb/dwc3/gadget.c 	ret = __dwc3_gadget_ep_queue(dep, req);
dep              1504 drivers/usb/dwc3/gadget.c static void dwc3_gadget_ep_skip_trbs(struct dwc3_ep *dep, struct dwc3_request *req)
dep              1521 drivers/usb/dwc3/gadget.c 		trb = &dep->trb_pool[dep->trb_dequeue];
dep              1523 drivers/usb/dwc3/gadget.c 		dwc3_ep_inc_deq(dep);
dep              1529 drivers/usb/dwc3/gadget.c static void dwc3_gadget_ep_cleanup_cancelled_requests(struct dwc3_ep *dep)
dep              1534 drivers/usb/dwc3/gadget.c 	list_for_each_entry_safe(req, tmp, &dep->cancelled_list, list) {
dep              1535 drivers/usb/dwc3/gadget.c 		dwc3_gadget_ep_skip_trbs(dep, req);
dep              1536 drivers/usb/dwc3/gadget.c 		dwc3_gadget_giveback(dep, req, -ECONNRESET);
dep              1546 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep = to_dwc3_ep(ep);
dep              1547 drivers/usb/dwc3/gadget.c 	struct dwc3			*dwc = dep->dwc;
dep              1556 drivers/usb/dwc3/gadget.c 	list_for_each_entry(r, &dep->pending_list, list) {
dep              1562 drivers/usb/dwc3/gadget.c 		list_for_each_entry(r, &dep->started_list, list) {
dep              1568 drivers/usb/dwc3/gadget.c 			dwc3_stop_active_transfer(dep, true, true);
dep              1574 drivers/usb/dwc3/gadget.c 			if (dep->flags & DWC3_EP_TRANSFER_STARTED)
dep              1586 drivers/usb/dwc3/gadget.c 	dwc3_gadget_giveback(dep, req, -ECONNRESET);
dep              1594 drivers/usb/dwc3/gadget.c int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol)
dep              1597 drivers/usb/dwc3/gadget.c 	struct dwc3				*dwc = dep->dwc;
dep              1600 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) {
dep              1601 drivers/usb/dwc3/gadget.c 		dev_err(dwc->dev, "%s is of Isochronous type\n", dep->name);
dep              1613 drivers/usb/dwc3/gadget.c 		if (dep->number > 1)
dep              1614 drivers/usb/dwc3/gadget.c 			trb = dwc3_ep_prev_trb(dep, dep->trb_enqueue);
dep              1616 drivers/usb/dwc3/gadget.c 			trb = &dwc->ep0_trb[dep->trb_enqueue];
dep              1619 drivers/usb/dwc3/gadget.c 		started = !list_empty(&dep->started_list);
dep              1621 drivers/usb/dwc3/gadget.c 		if (!protocol && ((dep->direction && transfer_in_flight) ||
dep              1622 drivers/usb/dwc3/gadget.c 				(!dep->direction && started))) {
dep              1626 drivers/usb/dwc3/gadget.c 		ret = dwc3_send_gadget_ep_cmd(dep, DWC3_DEPCMD_SETSTALL,
dep              1630 drivers/usb/dwc3/gadget.c 					dep->name);
dep              1632 drivers/usb/dwc3/gadget.c 			dep->flags |= DWC3_EP_STALL;
dep              1635 drivers/usb/dwc3/gadget.c 		ret = dwc3_send_clear_stall_ep_cmd(dep);
dep              1638 drivers/usb/dwc3/gadget.c 					dep->name);
dep              1640 drivers/usb/dwc3/gadget.c 			dep->flags &= ~(DWC3_EP_STALL | DWC3_EP_WEDGE);
dep              1648 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep = to_dwc3_ep(ep);
dep              1649 drivers/usb/dwc3/gadget.c 	struct dwc3			*dwc = dep->dwc;
dep              1656 drivers/usb/dwc3/gadget.c 	ret = __dwc3_gadget_ep_set_halt(dep, value, false);
dep              1664 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep = to_dwc3_ep(ep);
dep              1665 drivers/usb/dwc3/gadget.c 	struct dwc3			*dwc = dep->dwc;
dep              1670 drivers/usb/dwc3/gadget.c 	dep->flags |= DWC3_EP_WEDGE;
dep              1672 drivers/usb/dwc3/gadget.c 	if (dep->number == 0 || dep->number == 1)
dep              1675 drivers/usb/dwc3/gadget.c 		ret = __dwc3_gadget_ep_set_halt(dep, 1, false);
dep              1955 drivers/usb/dwc3/gadget.c 	struct dwc3_ep		*dep;
dep              1990 drivers/usb/dwc3/gadget.c 	dep = dwc->eps[0];
dep              1991 drivers/usb/dwc3/gadget.c 	ret = __dwc3_gadget_ep_enable(dep, DWC3_DEPCFG_ACTION_INIT);
dep              1993 drivers/usb/dwc3/gadget.c 		dev_err(dwc->dev, "failed to enable %s\n", dep->name);
dep              1997 drivers/usb/dwc3/gadget.c 	dep = dwc->eps[1];
dep              1998 drivers/usb/dwc3/gadget.c 	ret = __dwc3_gadget_ep_enable(dep, DWC3_DEPCFG_ACTION_INIT);
dep              2000 drivers/usb/dwc3/gadget.c 		dev_err(dwc->dev, "failed to enable %s\n", dep->name);
dep              2204 drivers/usb/dwc3/gadget.c static int dwc3_gadget_init_control_endpoint(struct dwc3_ep *dep)
dep              2206 drivers/usb/dwc3/gadget.c 	struct dwc3 *dwc = dep->dwc;
dep              2208 drivers/usb/dwc3/gadget.c 	usb_ep_set_maxpacket_limit(&dep->endpoint, 512);
dep              2209 drivers/usb/dwc3/gadget.c 	dep->endpoint.maxburst = 1;
dep              2210 drivers/usb/dwc3/gadget.c 	dep->endpoint.ops = &dwc3_gadget_ep0_ops;
dep              2211 drivers/usb/dwc3/gadget.c 	if (!dep->direction)
dep              2212 drivers/usb/dwc3/gadget.c 		dwc->gadget.ep0 = &dep->endpoint;
dep              2214 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_control = true;
dep              2219 drivers/usb/dwc3/gadget.c static int dwc3_gadget_init_in_endpoint(struct dwc3_ep *dep)
dep              2221 drivers/usb/dwc3/gadget.c 	struct dwc3 *dwc = dep->dwc;
dep              2229 drivers/usb/dwc3/gadget.c 	size = dwc3_readl(dwc->regs, DWC3_GTXFIFOSIZ(dep->number >> 1));
dep              2250 drivers/usb/dwc3/gadget.c 	usb_ep_set_maxpacket_limit(&dep->endpoint, size);
dep              2252 drivers/usb/dwc3/gadget.c 	dep->endpoint.max_streams = 15;
dep              2253 drivers/usb/dwc3/gadget.c 	dep->endpoint.ops = &dwc3_gadget_ep_ops;
dep              2254 drivers/usb/dwc3/gadget.c 	list_add_tail(&dep->endpoint.ep_list,
dep              2256 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_iso = true;
dep              2257 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_bulk = true;
dep              2258 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_int = true;
dep              2260 drivers/usb/dwc3/gadget.c 	return dwc3_alloc_trb_pool(dep);
dep              2263 drivers/usb/dwc3/gadget.c static int dwc3_gadget_init_out_endpoint(struct dwc3_ep *dep)
dep              2265 drivers/usb/dwc3/gadget.c 	struct dwc3 *dwc = dep->dwc;
dep              2298 drivers/usb/dwc3/gadget.c 	usb_ep_set_maxpacket_limit(&dep->endpoint, size);
dep              2299 drivers/usb/dwc3/gadget.c 	dep->endpoint.max_streams = 15;
dep              2300 drivers/usb/dwc3/gadget.c 	dep->endpoint.ops = &dwc3_gadget_ep_ops;
dep              2301 drivers/usb/dwc3/gadget.c 	list_add_tail(&dep->endpoint.ep_list,
dep              2303 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_iso = true;
dep              2304 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_bulk = true;
dep              2305 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.type_int = true;
dep              2307 drivers/usb/dwc3/gadget.c 	return dwc3_alloc_trb_pool(dep);
dep              2312 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep;
dep              2317 drivers/usb/dwc3/gadget.c 	dep = kzalloc(sizeof(*dep), GFP_KERNEL);
dep              2318 drivers/usb/dwc3/gadget.c 	if (!dep)
dep              2321 drivers/usb/dwc3/gadget.c 	dep->dwc = dwc;
dep              2322 drivers/usb/dwc3/gadget.c 	dep->number = epnum;
dep              2323 drivers/usb/dwc3/gadget.c 	dep->direction = direction;
dep              2324 drivers/usb/dwc3/gadget.c 	dep->regs = dwc->regs + DWC3_DEP_BASE(epnum);
dep              2325 drivers/usb/dwc3/gadget.c 	dwc->eps[epnum] = dep;
dep              2326 drivers/usb/dwc3/gadget.c 	dep->combo_num = 0;
dep              2327 drivers/usb/dwc3/gadget.c 	dep->start_cmd_status = 0;
dep              2329 drivers/usb/dwc3/gadget.c 	snprintf(dep->name, sizeof(dep->name), "ep%u%s", num,
dep              2332 drivers/usb/dwc3/gadget.c 	dep->endpoint.name = dep->name;
dep              2334 drivers/usb/dwc3/gadget.c 	if (!(dep->number > 1)) {
dep              2335 drivers/usb/dwc3/gadget.c 		dep->endpoint.desc = &dwc3_gadget_ep0_desc;
dep              2336 drivers/usb/dwc3/gadget.c 		dep->endpoint.comp_desc = NULL;
dep              2340 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_init_control_endpoint(dep);
dep              2342 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_init_in_endpoint(dep);
dep              2344 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_init_out_endpoint(dep);
dep              2349 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.dir_in = direction;
dep              2350 drivers/usb/dwc3/gadget.c 	dep->endpoint.caps.dir_out = !direction;
dep              2352 drivers/usb/dwc3/gadget.c 	INIT_LIST_HEAD(&dep->pending_list);
dep              2353 drivers/usb/dwc3/gadget.c 	INIT_LIST_HEAD(&dep->started_list);
dep              2354 drivers/usb/dwc3/gadget.c 	INIT_LIST_HEAD(&dep->cancelled_list);
dep              2378 drivers/usb/dwc3/gadget.c 	struct dwc3_ep			*dep;
dep              2382 drivers/usb/dwc3/gadget.c 		dep = dwc->eps[epnum];
dep              2383 drivers/usb/dwc3/gadget.c 		if (!dep)
dep              2395 drivers/usb/dwc3/gadget.c 			dwc3_free_trb_pool(dep);
dep              2396 drivers/usb/dwc3/gadget.c 			list_del(&dep->endpoint.ep_list);
dep              2399 drivers/usb/dwc3/gadget.c 		kfree(dep);
dep              2405 drivers/usb/dwc3/gadget.c static int dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep,
dep              2411 drivers/usb/dwc3/gadget.c 	dwc3_ep_inc_deq(dep);
dep              2413 drivers/usb/dwc3/gadget.c 	trace_dwc3_complete_trb(dep, trb);
dep              2433 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_isoc(dep->endpoint.desc) &&
dep              2438 drivers/usb/dwc3/gadget.c 		frame_number &= ~(dep->interval - 1);
dep              2469 drivers/usb/dwc3/gadget.c static int dwc3_gadget_ep_reclaim_trb_sg(struct dwc3_ep *dep,
dep              2473 drivers/usb/dwc3/gadget.c 	struct dwc3_trb *trb = &dep->trb_pool[dep->trb_dequeue];
dep              2481 drivers/usb/dwc3/gadget.c 		trb = &dep->trb_pool[dep->trb_dequeue];
dep              2486 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_ep_reclaim_completed_trb(dep, req,
dep              2495 drivers/usb/dwc3/gadget.c static int dwc3_gadget_ep_reclaim_trb_linear(struct dwc3_ep *dep,
dep              2499 drivers/usb/dwc3/gadget.c 	struct dwc3_trb *trb = &dep->trb_pool[dep->trb_dequeue];
dep              2501 drivers/usb/dwc3/gadget.c 	return dwc3_gadget_ep_reclaim_completed_trb(dep, req, trb,
dep              2510 drivers/usb/dwc3/gadget.c static int dwc3_gadget_ep_cleanup_completed_request(struct dwc3_ep *dep,
dep              2517 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_ep_reclaim_trb_sg(dep, req, event,
dep              2520 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_ep_reclaim_trb_linear(dep, req, event,
dep              2524 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_ep_reclaim_trb_linear(dep, req, event,
dep              2532 drivers/usb/dwc3/gadget.c 		__dwc3_gadget_kick_transfer(dep);
dep              2536 drivers/usb/dwc3/gadget.c 	dwc3_gadget_giveback(dep, req, status);
dep              2542 drivers/usb/dwc3/gadget.c static void dwc3_gadget_ep_cleanup_completed_requests(struct dwc3_ep *dep,
dep              2548 drivers/usb/dwc3/gadget.c 	list_for_each_entry_safe(req, tmp, &dep->started_list, list) {
dep              2551 drivers/usb/dwc3/gadget.c 		ret = dwc3_gadget_ep_cleanup_completed_request(dep, event,
dep              2558 drivers/usb/dwc3/gadget.c static void dwc3_gadget_endpoint_frame_from_event(struct dwc3_ep *dep,
dep              2561 drivers/usb/dwc3/gadget.c 	dep->frame_number = event->parameters;
dep              2564 drivers/usb/dwc3/gadget.c static void dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep,
dep              2567 drivers/usb/dwc3/gadget.c 	struct dwc3		*dwc = dep->dwc;
dep              2571 drivers/usb/dwc3/gadget.c 	dwc3_gadget_endpoint_frame_from_event(dep, event);
dep              2579 drivers/usb/dwc3/gadget.c 		if (list_empty(&dep->started_list))
dep              2583 drivers/usb/dwc3/gadget.c 	dwc3_gadget_ep_cleanup_completed_requests(dep, event, status);
dep              2586 drivers/usb/dwc3/gadget.c 		dwc3_stop_active_transfer(dep, true, true);
dep              2597 drivers/usb/dwc3/gadget.c 			dep = dwc->eps[i];
dep              2599 drivers/usb/dwc3/gadget.c 			if (!(dep->flags & DWC3_EP_ENABLED))
dep              2602 drivers/usb/dwc3/gadget.c 			if (!list_empty(&dep->started_list))
dep              2614 drivers/usb/dwc3/gadget.c static void dwc3_gadget_endpoint_transfer_not_ready(struct dwc3_ep *dep,
dep              2617 drivers/usb/dwc3/gadget.c 	dwc3_gadget_endpoint_frame_from_event(dep, event);
dep              2618 drivers/usb/dwc3/gadget.c 	(void) __dwc3_gadget_start_isoc(dep);
dep              2624 drivers/usb/dwc3/gadget.c 	struct dwc3_ep		*dep;
dep              2628 drivers/usb/dwc3/gadget.c 	dep = dwc->eps[epnum];
dep              2630 drivers/usb/dwc3/gadget.c 	if (!(dep->flags & DWC3_EP_ENABLED)) {
dep              2631 drivers/usb/dwc3/gadget.c 		if (!(dep->flags & DWC3_EP_TRANSFER_STARTED))
dep              2646 drivers/usb/dwc3/gadget.c 		dwc3_gadget_endpoint_transfer_in_progress(dep, event);
dep              2649 drivers/usb/dwc3/gadget.c 		dwc3_gadget_endpoint_transfer_not_ready(dep, event);
dep              2655 drivers/usb/dwc3/gadget.c 			dep->flags &= ~DWC3_EP_END_TRANSFER_PENDING;
dep              2656 drivers/usb/dwc3/gadget.c 			dep->flags &= ~DWC3_EP_TRANSFER_STARTED;
dep              2657 drivers/usb/dwc3/gadget.c 			dwc3_gadget_ep_cleanup_cancelled_requests(dep);
dep              2658 drivers/usb/dwc3/gadget.c 			if ((dep->flags & DWC3_EP_DELAY_START) &&
dep              2659 drivers/usb/dwc3/gadget.c 			    !usb_endpoint_xfer_isoc(dep->endpoint.desc))
dep              2660 drivers/usb/dwc3/gadget.c 				__dwc3_gadget_kick_transfer(dep);
dep              2662 drivers/usb/dwc3/gadget.c 			dep->flags &= ~DWC3_EP_DELAY_START;
dep              2711 drivers/usb/dwc3/gadget.c static void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force,
dep              2714 drivers/usb/dwc3/gadget.c 	struct dwc3 *dwc = dep->dwc;
dep              2719 drivers/usb/dwc3/gadget.c 	if (!(dep->flags & DWC3_EP_TRANSFER_STARTED) ||
dep              2720 drivers/usb/dwc3/gadget.c 	    (dep->flags & DWC3_EP_END_TRANSFER_PENDING))
dep              2757 drivers/usb/dwc3/gadget.c 	cmd |= DWC3_DEPCMD_PARAM(dep->resource_index);
dep              2759 drivers/usb/dwc3/gadget.c 	ret = dwc3_send_gadget_ep_cmd(dep, cmd, &params);
dep              2761 drivers/usb/dwc3/gadget.c 	dep->resource_index = 0;
dep              2764 drivers/usb/dwc3/gadget.c 		dep->flags &= ~DWC3_EP_TRANSFER_STARTED;
dep              2766 drivers/usb/dwc3/gadget.c 		dep->flags |= DWC3_EP_END_TRANSFER_PENDING;
dep              2777 drivers/usb/dwc3/gadget.c 		struct dwc3_ep *dep;
dep              2780 drivers/usb/dwc3/gadget.c 		dep = dwc->eps[epnum];
dep              2781 drivers/usb/dwc3/gadget.c 		if (!dep)
dep              2784 drivers/usb/dwc3/gadget.c 		if (!(dep->flags & DWC3_EP_STALL))
dep              2787 drivers/usb/dwc3/gadget.c 		dep->flags &= ~DWC3_EP_STALL;
dep              2789 drivers/usb/dwc3/gadget.c 		ret = dwc3_send_clear_stall_ep_cmd(dep);
dep              2867 drivers/usb/dwc3/gadget.c 	struct dwc3_ep		*dep;
dep              2966 drivers/usb/dwc3/gadget.c 	dep = dwc->eps[0];
dep              2967 drivers/usb/dwc3/gadget.c 	ret = __dwc3_gadget_ep_enable(dep, DWC3_DEPCFG_ACTION_MODIFY);
dep              2969 drivers/usb/dwc3/gadget.c 		dev_err(dwc->dev, "failed to enable %s\n", dep->name);
dep              2973 drivers/usb/dwc3/gadget.c 	dep = dwc->eps[1];
dep              2974 drivers/usb/dwc3/gadget.c 	ret = __dwc3_gadget_ep_enable(dep, DWC3_DEPCFG_ACTION_MODIFY);
dep              2976 drivers/usb/dwc3/gadget.c 		dev_err(dwc->dev, "failed to enable %s\n", dep->name);
dep                82 drivers/usb/dwc3/gadget.h 	struct dwc3_ep		*dep = req->dep;
dep                85 drivers/usb/dwc3/gadget.h 	list_move_tail(&req->list, &dep->started_list);
dep                97 drivers/usb/dwc3/gadget.h 	struct dwc3_ep		*dep = req->dep;
dep               100 drivers/usb/dwc3/gadget.h 	list_move_tail(&req->list, &dep->cancelled_list);
dep               103 drivers/usb/dwc3/gadget.h void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,
dep               113 drivers/usb/dwc3/gadget.h int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol);
dep               122 drivers/usb/dwc3/gadget.h static inline void dwc3_gadget_ep_get_transfer_index(struct dwc3_ep *dep)
dep               126 drivers/usb/dwc3/gadget.h 	res_id = dwc3_readl(dep->regs, DWC3_DEPCMD);
dep               127 drivers/usb/dwc3/gadget.h 	dep->resource_index = DWC3_DEPCMD_GET_RSC_IDX(res_id);
dep               105 drivers/usb/dwc3/trace.h 		__string(name, req->dep->name)
dep               115 drivers/usb/dwc3/trace.h 		__assign_str(name, req->dep->name);
dep               184 drivers/usb/dwc3/trace.h 	TP_PROTO(struct dwc3_ep *dep, unsigned int cmd,
dep               186 drivers/usb/dwc3/trace.h 	TP_ARGS(dep, cmd, params, cmd_status),
dep               188 drivers/usb/dwc3/trace.h 		__string(name, dep->name)
dep               196 drivers/usb/dwc3/trace.h 		__assign_str(name, dep->name);
dep               212 drivers/usb/dwc3/trace.h 	TP_PROTO(struct dwc3_ep *dep, unsigned int cmd,
dep               214 drivers/usb/dwc3/trace.h 	TP_ARGS(dep, cmd, params, cmd_status)
dep               218 drivers/usb/dwc3/trace.h 	TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb),
dep               219 drivers/usb/dwc3/trace.h 	TP_ARGS(dep, trb),
dep               221 drivers/usb/dwc3/trace.h 		__string(name, dep->name)
dep               232 drivers/usb/dwc3/trace.h 		__assign_str(name, dep->name);
dep               238 drivers/usb/dwc3/trace.h 		__entry->type = usb_endpoint_type(dep->endpoint.desc);
dep               275 drivers/usb/dwc3/trace.h 	TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb),
dep               276 drivers/usb/dwc3/trace.h 	TP_ARGS(dep, trb)
dep               280 drivers/usb/dwc3/trace.h 	TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb),
dep               281 drivers/usb/dwc3/trace.h 	TP_ARGS(dep, trb)
dep               285 drivers/usb/dwc3/trace.h 	TP_PROTO(struct dwc3_ep *dep),
dep               286 drivers/usb/dwc3/trace.h 	TP_ARGS(dep),
dep               288 drivers/usb/dwc3/trace.h 		__string(name, dep->name)
dep               299 drivers/usb/dwc3/trace.h 		__assign_str(name, dep->name);
dep               300 drivers/usb/dwc3/trace.h 		__entry->maxpacket = dep->endpoint.maxpacket;
dep               301 drivers/usb/dwc3/trace.h 		__entry->maxpacket_limit = dep->endpoint.maxpacket_limit;
dep               302 drivers/usb/dwc3/trace.h 		__entry->max_streams = dep->endpoint.max_streams;
dep               303 drivers/usb/dwc3/trace.h 		__entry->maxburst = dep->endpoint.maxburst;
dep               304 drivers/usb/dwc3/trace.h 		__entry->flags = dep->flags;
dep               305 drivers/usb/dwc3/trace.h 		__entry->direction = dep->direction;
dep               306 drivers/usb/dwc3/trace.h 		__entry->trb_enqueue = dep->trb_enqueue;
dep               307 drivers/usb/dwc3/trace.h 		__entry->trb_dequeue = dep->trb_dequeue;
dep               324 drivers/usb/dwc3/trace.h 	TP_PROTO(struct dwc3_ep *dep),
dep               325 drivers/usb/dwc3/trace.h 	TP_ARGS(dep)
dep               329 drivers/usb/dwc3/trace.h 	TP_PROTO(struct dwc3_ep *dep),
dep               330 drivers/usb/dwc3/trace.h 	TP_ARGS(dep)
dep              1959 drivers/usb/gadget/udc/net2280.c 		writel(0, &dev->dep[i].dep_cfg);
dep              2009 drivers/usb/gadget/udc/net2280.c 	writel(tmp, &dev->dep[1].dep_cfg);
dep              2010 drivers/usb/gadget/udc/net2280.c 	writel(tmp, &dev->dep[3].dep_cfg);
dep              2011 drivers/usb/gadget/udc/net2280.c 	writel(tmp, &dev->dep[4].dep_cfg);
dep              2012 drivers/usb/gadget/udc/net2280.c 	writel(tmp, &dev->dep[5].dep_cfg);
dep              2189 drivers/usb/gadget/udc/net2280.c 		writel(EP_DONTUSE, &dev->dep[tmp].dep_cfg);
dep              2297 drivers/usb/gadget/udc/net2280.c 	writel(0x0D, &dev->dep[0].dep_cfg);
dep              2298 drivers/usb/gadget/udc/net2280.c 	writel(0x0D, &dev->dep[1].dep_cfg);
dep              2299 drivers/usb/gadget/udc/net2280.c 	writel(0x0E, &dev->dep[2].dep_cfg);
dep              2300 drivers/usb/gadget/udc/net2280.c 	writel(0x0E, &dev->dep[3].dep_cfg);
dep              2301 drivers/usb/gadget/udc/net2280.c 	writel(0x0F, &dev->dep[4].dep_cfg);
dep              2302 drivers/usb/gadget/udc/net2280.c 	writel(0x0C, &dev->dep[5].dep_cfg);
dep              3672 drivers/usb/gadget/udc/net2280.c 	dev->dep = (struct net2280_dep_regs __iomem *) (base + 0x0200);
dep               178 drivers/usb/gadget/udc/net2280.h 	struct net2280_dep_regs		__iomem *dep;
dep               137 drivers/usb/host/xhci-dbgcap.c 	struct dbc_ep		*dep = req->dep;
dep               138 drivers/usb/host/xhci-dbgcap.c 	struct xhci_dbc		*dbc = dep->dbc;
dep               154 drivers/usb/host/xhci-dbgcap.c 			 dbc_ep_dma_direction(dep));
dep               175 drivers/usb/host/xhci-dbgcap.c static void xhci_dbc_flush_endpoint_requests(struct dbc_ep *dep)
dep               179 drivers/usb/host/xhci-dbgcap.c 	list_for_each_entry_safe(req, tmp, &dep->list_pending, list_pending)
dep               190 drivers/usb/host/xhci-dbgcap.c dbc_alloc_request(struct dbc_ep *dep, gfp_t gfp_flags)
dep               198 drivers/usb/host/xhci-dbgcap.c 	req->dep = dep;
dep               201 drivers/usb/host/xhci-dbgcap.c 	req->direction = dep->direction;
dep               209 drivers/usb/host/xhci-dbgcap.c dbc_free_request(struct dbc_ep *dep, struct dbc_request *req)
dep               239 drivers/usb/host/xhci-dbgcap.c static int xhci_dbc_queue_bulk_tx(struct dbc_ep *dep,
dep               245 drivers/usb/host/xhci-dbgcap.c 	struct xhci_dbc		*dbc = dep->dbc;
dep               246 drivers/usb/host/xhci-dbgcap.c 	struct xhci_ring	*ring = dep->ring;
dep               283 drivers/usb/host/xhci-dbgcap.c 	writel(DBC_DOOR_BELL_TARGET(dep->direction), &dbc->regs->doorbell);
dep               289 drivers/usb/host/xhci-dbgcap.c dbc_ep_do_queue(struct dbc_ep *dep, struct dbc_request *req)
dep               293 drivers/usb/host/xhci-dbgcap.c 	struct xhci_dbc		*dbc = dep->dbc;
dep               307 drivers/usb/host/xhci-dbgcap.c 				  dbc_ep_dma_direction(dep));
dep               313 drivers/usb/host/xhci-dbgcap.c 	ret = xhci_dbc_queue_bulk_tx(dep, req);
dep               319 drivers/usb/host/xhci-dbgcap.c 				 dbc_ep_dma_direction(dep));
dep               323 drivers/usb/host/xhci-dbgcap.c 	list_add_tail(&req->list_pending, &dep->list_pending);
dep               328 drivers/usb/host/xhci-dbgcap.c int dbc_ep_queue(struct dbc_ep *dep, struct dbc_request *req,
dep               332 drivers/usb/host/xhci-dbgcap.c 	struct xhci_dbc		*dbc = dep->dbc;
dep               337 drivers/usb/host/xhci-dbgcap.c 		ret = dbc_ep_do_queue(dep, req);
dep               349 drivers/usb/host/xhci-dbgcap.c 	struct dbc_ep		*dep;
dep               352 drivers/usb/host/xhci-dbgcap.c 	dep			= &dbc->eps[direction];
dep               353 drivers/usb/host/xhci-dbgcap.c 	dep->dbc		= dbc;
dep               354 drivers/usb/host/xhci-dbgcap.c 	dep->direction		= direction;
dep               355 drivers/usb/host/xhci-dbgcap.c 	dep->ring		= direction ? dbc->ring_in : dbc->ring_out;
dep               357 drivers/usb/host/xhci-dbgcap.c 	INIT_LIST_HEAD(&dep->list_pending);
dep               592 drivers/usb/host/xhci-dbgcap.c 	struct dbc_ep		*dep;
dep               603 drivers/usb/host/xhci-dbgcap.c 	dep		= (ep_id == EPID_OUT) ?
dep               605 drivers/usb/host/xhci-dbgcap.c 	ring		= dep->ring;
dep               628 drivers/usb/host/xhci-dbgcap.c 	list_for_each_entry(r, &dep->list_pending, list_pending) {
dep               650 drivers/usb/host/xhci-dbgcap.c 	struct dbc_ep		*dep;
dep               711 drivers/usb/host/xhci-dbgcap.c 				dep = get_in_ep(xhci);
dep               712 drivers/usb/host/xhci-dbgcap.c 				xhci_dbc_flush_endpoint_requests(dep);
dep               716 drivers/usb/host/xhci-dbgcap.c 				dep = get_out_ep(xhci);
dep               717 drivers/usb/host/xhci-dbgcap.c 				xhci_dbc_flush_endpoint_requests(dep);
dep                97 drivers/usb/host/xhci-dbgcap.h 	struct dbc_ep			*dep;
dep               202 drivers/usb/host/xhci-dbgcap.h struct dbc_request *dbc_alloc_request(struct dbc_ep *dep, gfp_t gfp_flags);
dep               203 drivers/usb/host/xhci-dbgcap.h void dbc_free_request(struct dbc_ep *dep, struct dbc_request *req);
dep               204 drivers/usb/host/xhci-dbgcap.h int dbc_ep_queue(struct dbc_ep *dep, struct dbc_request *req, gfp_t gfp_flags);
dep               128 drivers/usb/host/xhci-dbgtty.c static void xhci_dbc_free_req(struct dbc_ep *dep, struct dbc_request *req)
dep               131 drivers/usb/host/xhci-dbgtty.c 	dbc_free_request(dep, req);
dep               135 drivers/usb/host/xhci-dbgtty.c xhci_dbc_alloc_requests(struct dbc_ep *dep, struct list_head *head,
dep               142 drivers/usb/host/xhci-dbgtty.c 		req = dbc_alloc_request(dep, GFP_KERNEL);
dep               149 drivers/usb/host/xhci-dbgtty.c 			dbc_free_request(dep, req);
dep               161 drivers/usb/host/xhci-dbgtty.c xhci_dbc_free_requests(struct dbc_ep *dep, struct list_head *head)
dep               168 drivers/usb/host/xhci-dbgtty.c 		xhci_dbc_free_req(dep, req);
dep               869 fs/fscache/object.c 	struct fscache_object *dep;
dep               880 fs/fscache/object.c 		dep = list_entry(object->dependents.next,
dep               882 fs/fscache/object.c 		list_del_init(&dep->dep_link);
dep               884 fs/fscache/object.c 		fscache_raise_event(dep, event);
dep               885 fs/fscache/object.c 		fscache_put_object(dep, fscache_obj_put_enq_dep);
dep               521 fs/hpfs/namei.c 	struct hpfs_dirent *dep, *nde;
dep               545 fs/hpfs/namei.c 	if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) {
dep               550 fs/hpfs/namei.c 	copy_de(&de, dep);
dep               555 fs/hpfs/namei.c 		if ((r = hpfs_remove_dirent(old_dir, dno, dep, &qbh, 1)) != 2) {
dep               582 fs/hpfs/namei.c 		if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) {
dep               588 fs/hpfs/namei.c 	if ((r = hpfs_remove_dirent(old_dir, dno, dep, &qbh, 0))) {
dep               232 fs/xfs/libxfs/xfs_da_format.c 	struct xfs_dir2_data_entry *dep)
dep               239 fs/xfs/libxfs/xfs_da_format.c 	struct xfs_dir2_data_entry *dep,
dep               247 fs/xfs/libxfs/xfs_da_format.c 	struct xfs_dir2_data_entry *dep)
dep               249 fs/xfs/libxfs/xfs_da_format.c 	uint8_t		ftype = dep->name[dep->namelen];
dep               258 fs/xfs/libxfs/xfs_da_format.c 	struct xfs_dir2_data_entry *dep,
dep               262 fs/xfs/libxfs/xfs_da_format.c 	ASSERT(dep->namelen != 0);
dep               264 fs/xfs/libxfs/xfs_da_format.c 	dep->name[dep->namelen] = type;
dep               272 fs/xfs/libxfs/xfs_da_format.c 	struct xfs_dir2_data_entry *dep)
dep               274 fs/xfs/libxfs/xfs_da_format.c 	return (__be16 *)((char *)dep +
dep               275 fs/xfs/libxfs/xfs_da_format.c 		xfs_dir2_data_entsize(dep->namelen) - sizeof(__be16));
dep               280 fs/xfs/libxfs/xfs_da_format.c 	struct xfs_dir2_data_entry *dep)
dep               282 fs/xfs/libxfs/xfs_da_format.c 	return (__be16 *)((char *)dep +
dep               283 fs/xfs/libxfs/xfs_da_format.c 		xfs_dir3_data_entsize(dep->namelen) - sizeof(__be16));
dep                50 fs/xfs/libxfs/xfs_dir2.h 	uint8_t (*data_get_ftype)(struct xfs_dir2_data_entry *dep);
dep                51 fs/xfs/libxfs/xfs_dir2.h 	void	(*data_put_ftype)(struct xfs_dir2_data_entry *dep,
dep                53 fs/xfs/libxfs/xfs_dir2.h 	__be16 * (*data_entry_tag_p)(struct xfs_dir2_data_entry *dep);
dep               152 fs/xfs/libxfs/xfs_dir2.h 		struct xfs_buf *bp, struct xfs_dir2_data_entry *dep);
dep               329 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_entry_t	*dep;		/* block data entry */
dep               522 fs/xfs/libxfs/xfs_dir2_block.c 	dep = (xfs_dir2_data_entry_t *)dup;
dep               528 fs/xfs/libxfs/xfs_dir2_block.c 				(char *)dep - (char *)hdr));
dep               541 fs/xfs/libxfs/xfs_dir2_block.c 	dep->inumber = cpu_to_be64(args->inumber);
dep               542 fs/xfs/libxfs/xfs_dir2_block.c 	dep->namelen = args->namelen;
dep               543 fs/xfs/libxfs/xfs_dir2_block.c 	memcpy(dep->name, args->name, args->namelen);
dep               544 fs/xfs/libxfs/xfs_dir2_block.c 	dp->d_ops->data_put_ftype(dep, args->filetype);
dep               545 fs/xfs/libxfs/xfs_dir2_block.c 	tagp = dp->d_ops->data_entry_tag_p(dep);
dep               546 fs/xfs/libxfs/xfs_dir2_block.c 	*tagp = cpu_to_be16((char *)dep - (char *)hdr);
dep               555 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_log_entry(args, bp, dep);
dep               608 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_entry_t	*dep;		/* block data entry */
dep               629 fs/xfs/libxfs/xfs_dir2_block.c 	dep = (xfs_dir2_data_entry_t *)((char *)hdr +
dep               635 fs/xfs/libxfs/xfs_dir2_block.c 	args->inumber = be64_to_cpu(dep->inumber);
dep               636 fs/xfs/libxfs/xfs_dir2_block.c 	args->filetype = dp->d_ops->data_get_ftype(dep);
dep               637 fs/xfs/libxfs/xfs_dir2_block.c 	error = xfs_dir_cilookup_result(args, dep->name, dep->namelen);
dep               656 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_entry_t	*dep;		/* block data entry */
dep               714 fs/xfs/libxfs/xfs_dir2_block.c 		dep = (xfs_dir2_data_entry_t *)
dep               721 fs/xfs/libxfs/xfs_dir2_block.c 		cmp = mp->m_dirnameops->compname(args, dep->name, dep->namelen);
dep               758 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_entry_t	*dep;		/* block data entry */
dep               785 fs/xfs/libxfs/xfs_dir2_block.c 	dep = (xfs_dir2_data_entry_t *)((char *)hdr +
dep               793 fs/xfs/libxfs/xfs_dir2_block.c 		(xfs_dir2_data_aoff_t)((char *)dep - (char *)hdr),
dep               794 fs/xfs/libxfs/xfs_dir2_block.c 		dp->d_ops->data_entsize(dep->namelen), &needlog, &needscan);
dep               838 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_entry_t	*dep;		/* block data entry */
dep               859 fs/xfs/libxfs/xfs_dir2_block.c 	dep = (xfs_dir2_data_entry_t *)((char *)hdr +
dep               862 fs/xfs/libxfs/xfs_dir2_block.c 	ASSERT(be64_to_cpu(dep->inumber) != args->inumber);
dep               866 fs/xfs/libxfs/xfs_dir2_block.c 	dep->inumber = cpu_to_be64(args->inumber);
dep               867 fs/xfs/libxfs/xfs_dir2_block.c 	dp->d_ops->data_put_ftype(dep, args->filetype);
dep               868 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_log_entry(args, bp, dep);
dep              1049 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_entry_t	*dep;		/* data entry pointer */
dep              1152 fs/xfs/libxfs/xfs_dir2_block.c 	dep = dp->d_ops->data_dot_entry_p(hdr);
dep              1153 fs/xfs/libxfs/xfs_dir2_block.c 	dep->inumber = cpu_to_be64(dp->i_ino);
dep              1154 fs/xfs/libxfs/xfs_dir2_block.c 	dep->namelen = 1;
dep              1155 fs/xfs/libxfs/xfs_dir2_block.c 	dep->name[0] = '.';
dep              1156 fs/xfs/libxfs/xfs_dir2_block.c 	dp->d_ops->data_put_ftype(dep, XFS_DIR3_FT_DIR);
dep              1157 fs/xfs/libxfs/xfs_dir2_block.c 	tagp = dp->d_ops->data_entry_tag_p(dep);
dep              1158 fs/xfs/libxfs/xfs_dir2_block.c 	*tagp = cpu_to_be16((char *)dep - (char *)hdr);
dep              1159 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_log_entry(args, bp, dep);
dep              1162 fs/xfs/libxfs/xfs_dir2_block.c 				(char *)dep - (char *)hdr));
dep              1166 fs/xfs/libxfs/xfs_dir2_block.c 	dep = dp->d_ops->data_dotdot_entry_p(hdr);
dep              1167 fs/xfs/libxfs/xfs_dir2_block.c 	dep->inumber = cpu_to_be64(dp->d_ops->sf_get_parent_ino(sfp));
dep              1168 fs/xfs/libxfs/xfs_dir2_block.c 	dep->namelen = 2;
dep              1169 fs/xfs/libxfs/xfs_dir2_block.c 	dep->name[0] = dep->name[1] = '.';
dep              1170 fs/xfs/libxfs/xfs_dir2_block.c 	dp->d_ops->data_put_ftype(dep, XFS_DIR3_FT_DIR);
dep              1171 fs/xfs/libxfs/xfs_dir2_block.c 	tagp = dp->d_ops->data_entry_tag_p(dep);
dep              1172 fs/xfs/libxfs/xfs_dir2_block.c 	*tagp = cpu_to_be16((char *)dep - (char *)hdr);
dep              1173 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_data_log_entry(args, bp, dep);
dep              1176 fs/xfs/libxfs/xfs_dir2_block.c 				(char *)dep - (char *)hdr));
dep              1217 fs/xfs/libxfs/xfs_dir2_block.c 		dep = (xfs_dir2_data_entry_t *)((char *)hdr + newoffset);
dep              1218 fs/xfs/libxfs/xfs_dir2_block.c 		dep->inumber = cpu_to_be64(dp->d_ops->sf_get_ino(sfp, sfep));
dep              1219 fs/xfs/libxfs/xfs_dir2_block.c 		dep->namelen = sfep->namelen;
dep              1220 fs/xfs/libxfs/xfs_dir2_block.c 		dp->d_ops->data_put_ftype(dep, dp->d_ops->sf_get_ftype(sfep));
dep              1221 fs/xfs/libxfs/xfs_dir2_block.c 		memcpy(dep->name, sfep->name, dep->namelen);
dep              1222 fs/xfs/libxfs/xfs_dir2_block.c 		tagp = dp->d_ops->data_entry_tag_p(dep);
dep              1223 fs/xfs/libxfs/xfs_dir2_block.c 		*tagp = cpu_to_be16((char *)dep - (char *)hdr);
dep              1224 fs/xfs/libxfs/xfs_dir2_block.c 		xfs_dir2_data_log_entry(args, bp, dep);
dep              1230 fs/xfs/libxfs/xfs_dir2_block.c 						 (char *)dep - (char *)hdr));
dep                41 fs/xfs/libxfs/xfs_dir2_data.c 	xfs_dir2_data_entry_t	*dep;		/* data entry */
dep               171 fs/xfs/libxfs/xfs_dir2_data.c 		dep = (xfs_dir2_data_entry_t *)p;
dep               172 fs/xfs/libxfs/xfs_dir2_data.c 		if (dep->namelen == 0)
dep               174 fs/xfs/libxfs/xfs_dir2_data.c 		if (xfs_dir_ino_validate(mp, be64_to_cpu(dep->inumber)))
dep               176 fs/xfs/libxfs/xfs_dir2_data.c 		if (endp < p + ops->data_entsize(dep->namelen))
dep               178 fs/xfs/libxfs/xfs_dir2_data.c 		if (be16_to_cpu(*ops->data_entry_tag_p(dep)) !=
dep               179 fs/xfs/libxfs/xfs_dir2_data.c 		    (char *)dep - (char *)hdr)
dep               181 fs/xfs/libxfs/xfs_dir2_data.c 		if (ops->data_get_ftype(dep) >= XFS_DIR3_FT_MAX)
dep               189 fs/xfs/libxfs/xfs_dir2_data.c 						((char *)dep - (char *)hdr));
dep               190 fs/xfs/libxfs/xfs_dir2_data.c 			name.name = dep->name;
dep               191 fs/xfs/libxfs/xfs_dir2_data.c 			name.len = dep->namelen;
dep               201 fs/xfs/libxfs/xfs_dir2_data.c 		p += ops->data_entsize(dep->namelen);
dep               570 fs/xfs/libxfs/xfs_dir2_data.c 	xfs_dir2_data_entry_t	*dep;		/* active data entry */
dep               610 fs/xfs/libxfs/xfs_dir2_data.c 			dep = (xfs_dir2_data_entry_t *)p;
dep               611 fs/xfs/libxfs/xfs_dir2_data.c 			ASSERT((char *)dep - (char *)hdr ==
dep               612 fs/xfs/libxfs/xfs_dir2_data.c 			       be16_to_cpu(*ops->data_entry_tag_p(dep)));
dep               613 fs/xfs/libxfs/xfs_dir2_data.c 			p += ops->data_entsize(dep->namelen);
dep               711 fs/xfs/libxfs/xfs_dir2_data.c 	xfs_dir2_data_entry_t	*dep)		/* data entry pointer */
dep               720 fs/xfs/libxfs/xfs_dir2_data.c 	xfs_trans_log_buf(args->trans, bp, (uint)((char *)dep - (char *)hdr),
dep               721 fs/xfs/libxfs/xfs_dir2_data.c 		(uint)((char *)(args->dp->d_ops->data_entry_tag_p(dep) + 1) -
dep               574 fs/xfs/libxfs/xfs_dir2_leaf.c 	struct xfs_dir2_data_entry *dep;	/* data block entry */
dep               814 fs/xfs/libxfs/xfs_dir2_leaf.c 	dep = (xfs_dir2_data_entry_t *)dup;
dep               815 fs/xfs/libxfs/xfs_dir2_leaf.c 	dep->inumber = cpu_to_be64(args->inumber);
dep               816 fs/xfs/libxfs/xfs_dir2_leaf.c 	dep->namelen = args->namelen;
dep               817 fs/xfs/libxfs/xfs_dir2_leaf.c 	memcpy(dep->name, args->name, dep->namelen);
dep               818 fs/xfs/libxfs/xfs_dir2_leaf.c 	dp->d_ops->data_put_ftype(dep, args->filetype);
dep               819 fs/xfs/libxfs/xfs_dir2_leaf.c 	tagp = dp->d_ops->data_entry_tag_p(dep);
dep               820 fs/xfs/libxfs/xfs_dir2_leaf.c 	*tagp = cpu_to_be16((char *)dep - (char *)hdr);
dep               831 fs/xfs/libxfs/xfs_dir2_leaf.c 	xfs_dir2_data_log_entry(args, dbp, dep);
dep              1113 fs/xfs/libxfs/xfs_dir2_leaf.c 	xfs_dir2_data_entry_t	*dep;		/* data block entry */
dep              1144 fs/xfs/libxfs/xfs_dir2_leaf.c 	dep = (xfs_dir2_data_entry_t *)
dep              1150 fs/xfs/libxfs/xfs_dir2_leaf.c 	args->inumber = be64_to_cpu(dep->inumber);
dep              1151 fs/xfs/libxfs/xfs_dir2_leaf.c 	args->filetype = dp->d_ops->data_get_ftype(dep);
dep              1152 fs/xfs/libxfs/xfs_dir2_leaf.c 	error = xfs_dir_cilookup_result(args, dep->name, dep->namelen);
dep              1173 fs/xfs/libxfs/xfs_dir2_leaf.c 	xfs_dir2_data_entry_t	*dep;		/* data entry */
dep              1242 fs/xfs/libxfs/xfs_dir2_leaf.c 		dep = (xfs_dir2_data_entry_t *)((char *)dbp->b_addr +
dep              1250 fs/xfs/libxfs/xfs_dir2_leaf.c 		cmp = mp->m_dirnameops->compname(args, dep->name, dep->namelen);
dep              1304 fs/xfs/libxfs/xfs_dir2_leaf.c 	xfs_dir2_data_entry_t	*dep;		/* data entry structure */
dep              1340 fs/xfs/libxfs/xfs_dir2_leaf.c 	dep = (xfs_dir2_data_entry_t *)((char *)hdr +
dep              1352 fs/xfs/libxfs/xfs_dir2_leaf.c 		(xfs_dir2_data_aoff_t)((char *)dep - (char *)hdr),
dep              1353 fs/xfs/libxfs/xfs_dir2_leaf.c 		dp->d_ops->data_entsize(dep->namelen), &needlog, &needscan);
dep              1446 fs/xfs/libxfs/xfs_dir2_leaf.c 	xfs_dir2_data_entry_t	*dep;		/* data block entry */
dep              1474 fs/xfs/libxfs/xfs_dir2_leaf.c 	dep = (xfs_dir2_data_entry_t *)
dep              1477 fs/xfs/libxfs/xfs_dir2_leaf.c 	ASSERT(args->inumber != be64_to_cpu(dep->inumber));
dep              1481 fs/xfs/libxfs/xfs_dir2_leaf.c 	dep->inumber = cpu_to_be64(args->inumber);
dep              1482 fs/xfs/libxfs/xfs_dir2_leaf.c 	dp->d_ops->data_put_ftype(dep, args->filetype);
dep              1484 fs/xfs/libxfs/xfs_dir2_leaf.c 	xfs_dir2_data_log_entry(args, dbp, dep);
dep               721 fs/xfs/libxfs/xfs_dir2_node.c 	xfs_dir2_data_entry_t	*dep;		/* data block entry */
dep               808 fs/xfs/libxfs/xfs_dir2_node.c 		dep = (xfs_dir2_data_entry_t *)((char *)curbp->b_addr +
dep               816 fs/xfs/libxfs/xfs_dir2_node.c 		cmp = mp->m_dirnameops->compname(args, dep->name, dep->namelen);
dep               823 fs/xfs/libxfs/xfs_dir2_node.c 			args->inumber = be64_to_cpu(dep->inumber);
dep               824 fs/xfs/libxfs/xfs_dir2_node.c 			args->filetype = dp->d_ops->data_get_ftype(dep);
dep               829 fs/xfs/libxfs/xfs_dir2_node.c 			state->extrablk.index = (int)((char *)dep -
dep              1207 fs/xfs/libxfs/xfs_dir2_node.c 	xfs_dir2_data_entry_t	*dep;		/* data block entry */
dep              1258 fs/xfs/libxfs/xfs_dir2_node.c 	dep = (xfs_dir2_data_entry_t *)((char *)hdr + off);
dep              1263 fs/xfs/libxfs/xfs_dir2_node.c 		dp->d_ops->data_entsize(dep->namelen), &needlog, &needscan);
dep              1853 fs/xfs/libxfs/xfs_dir2_node.c 	struct xfs_dir2_data_entry *dep;	/* data entry pointer */
dep              1925 fs/xfs/libxfs/xfs_dir2_node.c 	dep = (xfs_dir2_data_entry_t *)dup;
dep              1926 fs/xfs/libxfs/xfs_dir2_node.c 	dep->inumber = cpu_to_be64(args->inumber);
dep              1927 fs/xfs/libxfs/xfs_dir2_node.c 	dep->namelen = args->namelen;
dep              1928 fs/xfs/libxfs/xfs_dir2_node.c 	memcpy(dep->name, args->name, dep->namelen);
dep              1929 fs/xfs/libxfs/xfs_dir2_node.c 	dp->d_ops->data_put_ftype(dep, args->filetype);
dep              1930 fs/xfs/libxfs/xfs_dir2_node.c 	tagp = dp->d_ops->data_entry_tag_p(dep);
dep              1931 fs/xfs/libxfs/xfs_dir2_node.c 	*tagp = cpu_to_be16((char *)dep - (char *)hdr);
dep              1932 fs/xfs/libxfs/xfs_dir2_node.c 	xfs_dir2_data_log_entry(args, dbp, dep);
dep              2057 fs/xfs/libxfs/xfs_dir2_node.c 		xfs_dir2_data_entry_t	*dep;
dep              2059 fs/xfs/libxfs/xfs_dir2_node.c 		dep = (xfs_dir2_data_entry_t *)
dep              2062 fs/xfs/libxfs/xfs_dir2_node.c 		rval = xfs_dir_cilookup_result(args, dep->name, dep->namelen);
dep              2153 fs/xfs/libxfs/xfs_dir2_node.c 	xfs_dir2_data_entry_t	*dep;		/* data entry changed */
dep              2207 fs/xfs/libxfs/xfs_dir2_node.c 		dep = (xfs_dir2_data_entry_t *)
dep              2211 fs/xfs/libxfs/xfs_dir2_node.c 		ASSERT(inum != be64_to_cpu(dep->inumber));
dep              2215 fs/xfs/libxfs/xfs_dir2_node.c 		dep->inumber = cpu_to_be64(inum);
dep              2216 fs/xfs/libxfs/xfs_dir2_node.c 		args->dp->d_ops->data_put_ftype(dep, ftype);
dep              2217 fs/xfs/libxfs/xfs_dir2_node.c 		xfs_dir2_data_log_entry(args, state->extrablk.bp, dep);
dep                56 fs/xfs/libxfs/xfs_dir2_sf.c 	xfs_dir2_data_entry_t	*dep;		/* data entry in the block */
dep                90 fs/xfs/libxfs/xfs_dir2_sf.c 		dep = (xfs_dir2_data_entry_t *)((char *)hdr +
dep                97 fs/xfs/libxfs/xfs_dir2_sf.c 		isdot = dep->namelen == 1 && dep->name[0] == '.';
dep                99 fs/xfs/libxfs/xfs_dir2_sf.c 			dep->namelen == 2 &&
dep               100 fs/xfs/libxfs/xfs_dir2_sf.c 			dep->name[0] == '.' && dep->name[1] == '.';
dep               103 fs/xfs/libxfs/xfs_dir2_sf.c 			i8count += be64_to_cpu(dep->inumber) > XFS_DIR2_MAX_SHORT_INUM;
dep               108 fs/xfs/libxfs/xfs_dir2_sf.c 			namelen += dep->namelen + has_ftype;
dep               110 fs/xfs/libxfs/xfs_dir2_sf.c 			parent = be64_to_cpu(dep->inumber);
dep               144 fs/xfs/libxfs/xfs_dir2_sf.c 	xfs_dir2_data_entry_t	*dep;		/* data entry pointer */
dep               195 fs/xfs/libxfs/xfs_dir2_sf.c 		dep = (xfs_dir2_data_entry_t *)ptr;
dep               199 fs/xfs/libxfs/xfs_dir2_sf.c 		if (dep->namelen == 1 && dep->name[0] == '.')
dep               200 fs/xfs/libxfs/xfs_dir2_sf.c 			ASSERT(be64_to_cpu(dep->inumber) == dp->i_ino);
dep               204 fs/xfs/libxfs/xfs_dir2_sf.c 		else if (dep->namelen == 2 &&
dep               205 fs/xfs/libxfs/xfs_dir2_sf.c 			 dep->name[0] == '.' && dep->name[1] == '.')
dep               206 fs/xfs/libxfs/xfs_dir2_sf.c 			ASSERT(be64_to_cpu(dep->inumber) ==
dep               212 fs/xfs/libxfs/xfs_dir2_sf.c 			sfep->namelen = dep->namelen;
dep               215 fs/xfs/libxfs/xfs_dir2_sf.c 				((char *)dep - (char *)hdr));
dep               216 fs/xfs/libxfs/xfs_dir2_sf.c 			memcpy(sfep->name, dep->name, dep->namelen);
dep               218 fs/xfs/libxfs/xfs_dir2_sf.c 					      be64_to_cpu(dep->inumber));
dep               220 fs/xfs/libxfs/xfs_dir2_sf.c 					dp->d_ops->data_get_ftype(dep));
dep               224 fs/xfs/libxfs/xfs_dir2_sf.c 		ptr += dp->d_ops->data_entsize(dep->namelen);
dep               243 fs/xfs/scrub/dir.c 		struct xfs_dir2_data_entry	*dep;
dep               251 fs/xfs/scrub/dir.c 		dep = (struct xfs_dir2_data_entry *)p;
dep               252 fs/xfs/scrub/dir.c 		if (dep == dent)
dep               254 fs/xfs/scrub/dir.c 		p += mp->m_dir_inode_ops->data_entsize(dep->namelen);
dep               394 fs/xfs/scrub/dir.c 			struct xfs_dir2_data_entry	*dep;
dep               396 fs/xfs/scrub/dir.c 			dep = (struct xfs_dir2_data_entry *)ptr;
dep               397 fs/xfs/scrub/dir.c 			newlen = d_ops->data_entsize(dep->namelen);
dep               140 fs/xfs/xfs_dir2_readdir.c 	xfs_dir2_data_entry_t	*dep;		/* block data entry */
dep               191 fs/xfs/xfs_dir2_readdir.c 		dep = (xfs_dir2_data_entry_t *)ptr;
dep               196 fs/xfs/xfs_dir2_readdir.c 		ptr += dp->d_ops->data_entsize(dep->namelen);
dep               200 fs/xfs/xfs_dir2_readdir.c 		if ((char *)dep - (char *)hdr < wantoff)
dep               204 fs/xfs/xfs_dir2_readdir.c 					    (char *)dep - (char *)hdr);
dep               207 fs/xfs/xfs_dir2_readdir.c 		filetype = dp->d_ops->data_get_ftype(dep);
dep               211 fs/xfs/xfs_dir2_readdir.c 		if (!dir_emit(ctx, (char *)dep->name, dep->namelen,
dep               212 fs/xfs/xfs_dir2_readdir.c 			    be64_to_cpu(dep->inumber),
dep               348 fs/xfs/xfs_dir2_readdir.c 	xfs_dir2_data_entry_t	*dep;		/* data entry */
dep               422 fs/xfs/xfs_dir2_readdir.c 					dep = (xfs_dir2_data_entry_t *)ptr;
dep               424 fs/xfs/xfs_dir2_readdir.c 					   dp->d_ops->data_entsize(dep->namelen);
dep               454 fs/xfs/xfs_dir2_readdir.c 		dep = (xfs_dir2_data_entry_t *)ptr;
dep               455 fs/xfs/xfs_dir2_readdir.c 		length = dp->d_ops->data_entsize(dep->namelen);
dep               456 fs/xfs/xfs_dir2_readdir.c 		filetype = dp->d_ops->data_get_ftype(dep);
dep               459 fs/xfs/xfs_dir2_readdir.c 		if (!dir_emit(ctx, (char *)dep->name, dep->namelen,
dep               460 fs/xfs/xfs_dir2_readdir.c 			    be64_to_cpu(dep->inumber),
dep               100 include/linux/async_tx.h #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \
dep               101 include/linux/async_tx.h 	 __async_tx_find_channel(dep, type)
dep                27 include/net/netfilter/nf_tables_offload.h 	} dep;
dep              1010 include/sound/pcm.h 			int dep, ...);
dep               181 kernel/time/tick-sched.c static bool check_tick_dependency(atomic_t *dep)
dep               183 kernel/time/tick-sched.c 	int val = atomic_read(dep);
dep               282 kernel/time/tick-sched.c static void tick_nohz_dep_set_all(atomic_t *dep,
dep               287 kernel/time/tick-sched.c 	prev = atomic_fetch_or(BIT(bit), dep);
dep                62 net/netfilter/nf_tables_offload.c 	ctx->dep.type = NFT_OFFLOAD_DEP_UNSPEC;
dep                75 net/netfilter/nf_tables_offload.c 	flow->proto = ctx->dep.l3num;
dep               108 net/netfilter/nf_tables_offload.c 	ctx->dep.type = type;
dep               114 net/netfilter/nf_tables_offload.c 	switch (ctx->dep.type) {
dep               117 net/netfilter/nf_tables_offload.c 		memcpy(&ctx->dep.l3num, data, sizeof(__u16));
dep               121 net/netfilter/nf_tables_offload.c 		memcpy(&ctx->dep.protonum, data, sizeof(__u8));
dep               126 net/netfilter/nf_tables_offload.c 	ctx->dep.type = NFT_OFFLOAD_DEP_UNSPEC;
dep               263 net/netfilter/nft_payload.c 	switch (ctx->dep.l3num) {
dep               339 net/netfilter/nft_payload.c 	switch (ctx->dep.protonum) {
dep               105 net/sched/sch_sfq.c 	struct sfq_head dep; /* anchor in dep[] chains */
dep               133 net/sched/sch_sfq.c 	struct sfq_head	dep[SFQ_MAX_DEPTH + 1];
dep               153 net/sched/sch_sfq.c 		return &q->slots[val].dep;
dep               154 net/sched/sch_sfq.c 	return &q->dep[val - SFQ_MAX_FLOWS];
dep               210 net/sched/sch_sfq.c 	n = q->dep[qlen].next;
dep               212 net/sched/sch_sfq.c 	slot->dep.next = n;
dep               213 net/sched/sch_sfq.c 	slot->dep.prev = p;
dep               215 net/sched/sch_sfq.c 	q->dep[qlen].next = x;		/* sfq_dep_head(q, p)->next = x */
dep               221 net/sched/sch_sfq.c 		n = q->slots[x].dep.next;	\
dep               222 net/sched/sch_sfq.c 		p = q->slots[x].dep.prev;	\
dep               303 net/sched/sch_sfq.c 		x = q->dep[d].next;
dep               368 net/sched/sch_sfq.c 		x = q->dep[0].next; /* get a free slot */
dep               568 net/sched/sch_sfq.c 			x = q->dep[0].next; /* get a free slot */
dep               746 net/sched/sch_sfq.c 		q->dep[i].next = i + SFQ_MAX_FLOWS;
dep               747 net/sched/sch_sfq.c 		q->dep[i].prev = i + SFQ_MAX_FLOWS;
dep               852 scripts/kconfig/expr.c int expr_contains_symbol(struct expr *dep, struct symbol *sym)
dep               854 scripts/kconfig/expr.c 	if (!dep)
dep               857 scripts/kconfig/expr.c 	switch (dep->type) {
dep               860 scripts/kconfig/expr.c 		return expr_contains_symbol(dep->left.expr, sym) ||
dep               861 scripts/kconfig/expr.c 		       expr_contains_symbol(dep->right.expr, sym);
dep               863 scripts/kconfig/expr.c 		return dep->left.sym == sym;
dep               870 scripts/kconfig/expr.c 		return dep->left.sym == sym ||
dep               871 scripts/kconfig/expr.c 		       dep->right.sym == sym;
dep               873 scripts/kconfig/expr.c 		return expr_contains_symbol(dep->left.expr, sym);
dep               880 scripts/kconfig/expr.c bool expr_depends_symbol(struct expr *dep, struct symbol *sym)
dep               882 scripts/kconfig/expr.c 	if (!dep)
dep               885 scripts/kconfig/expr.c 	switch (dep->type) {
dep               887 scripts/kconfig/expr.c 		return expr_depends_symbol(dep->left.expr, sym) ||
dep               888 scripts/kconfig/expr.c 		       expr_depends_symbol(dep->right.expr, sym);
dep               890 scripts/kconfig/expr.c 		return dep->left.sym == sym;
dep               892 scripts/kconfig/expr.c 		if (dep->left.sym == sym) {
dep               893 scripts/kconfig/expr.c 			if (dep->right.sym == &symbol_yes || dep->right.sym == &symbol_mod)
dep               898 scripts/kconfig/expr.c 		if (dep->left.sym == sym) {
dep               899 scripts/kconfig/expr.c 			if (dep->right.sym == &symbol_no)
dep                49 scripts/kconfig/expr.h #define EXPR_NOT(dep)		(2-(dep))
dep               254 scripts/kconfig/expr.h 	struct expr *dep;
dep               308 scripts/kconfig/expr.h int expr_contains_symbol(struct expr *dep, struct symbol *sym);
dep               309 scripts/kconfig/expr.h bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
dep                72 scripts/kconfig/lkc.h void menu_add_dep(struct expr *dep);
dep                73 scripts/kconfig/lkc.h void menu_add_visibility(struct expr *dep);
dep                74 scripts/kconfig/lkc.h struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep);
dep                75 scripts/kconfig/lkc.h void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep);
dep                76 scripts/kconfig/lkc.h void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
dep               106 scripts/kconfig/menu.c void menu_add_dep(struct expr *dep)
dep               108 scripts/kconfig/menu.c 	current_entry->dep = expr_alloc_and(current_entry->dep, dep);
dep               127 scripts/kconfig/menu.c static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep)
dep               133 scripts/kconfig/menu.c 	prop->visible.expr = dep;
dep               177 scripts/kconfig/menu.c struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep)
dep               179 scripts/kconfig/menu.c 	return menu_add_prop(type, prompt, NULL, dep);
dep               188 scripts/kconfig/menu.c void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep)
dep               190 scripts/kconfig/menu.c 	menu_add_prop(type, NULL, expr, dep);
dep               193 scripts/kconfig/menu.c void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep)
dep               195 scripts/kconfig/menu.c 	menu_add_prop(type, NULL, expr_alloc_symbol(sym), dep);
dep               295 scripts/kconfig/menu.c 	struct expr *parentdep, *basedep, *dep, *dep2, **ep;
dep               334 scripts/kconfig/menu.c 			parentdep = parent->dep;
dep               342 scripts/kconfig/menu.c 			basedep = rewrite_m(menu->dep);
dep               346 scripts/kconfig/menu.c 			menu->dep = basedep;
dep               386 scripts/kconfig/menu.c 				dep = rewrite_m(prop->visible.expr);
dep               387 scripts/kconfig/menu.c 				dep = expr_transform(dep);
dep               388 scripts/kconfig/menu.c 				dep = expr_alloc_and(expr_copy(basedep), dep);
dep               389 scripts/kconfig/menu.c 				dep = expr_eliminate_dups(dep);
dep               391 scripts/kconfig/menu.c 					dep = expr_trans_bool(dep);
dep               392 scripts/kconfig/menu.c 				prop->visible.expr = dep;
dep               401 scripts/kconfig/menu.c 							expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep)));
dep               405 scripts/kconfig/menu.c 							expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep)));
dep               449 scripts/kconfig/menu.c 			dep = menu->prompt ? menu->prompt->visible.expr : menu->dep;
dep               450 scripts/kconfig/menu.c 			if (!expr_contains_symbol(dep, sym))
dep               453 scripts/kconfig/menu.c 			if (expr_depends_symbol(dep, sym))
dep               466 scripts/kconfig/menu.c 			dep = expr_trans_compare(dep, E_UNEQUAL, &symbol_no);
dep               467 scripts/kconfig/menu.c 			dep = expr_eliminate_dups(expr_transform(dep));
dep               469 scripts/kconfig/menu.c 			expr_eliminate_eq(&dep, &dep2);
dep               470 scripts/kconfig/menu.c 			expr_free(dep);
dep               490 scripts/kconfig/menu.c 		sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep);
dep               517 scripts/kconfig/menu.c 				menu->dep = expr_alloc_and(basedep, menu->dep);
dep              1112 sound/core/pcm_lib.c 			int dep, ...)
dep              1118 sound/core/pcm_lib.c 	va_start(args, dep);
dep              1142 sound/core/pcm_lib.c 		c->deps[k++] = dep;
dep              1143 sound/core/pcm_lib.c 		if (dep < 0)
dep              1145 sound/core/pcm_lib.c 		dep = va_arg(args, int);