| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/ |
| H A D | hg.py | 26 def supports(self, ud, d): argument 30 return ud.type in ['hg'] 39 def urldata_init(self, ud, d): argument 43 if not "module" in ud.parm: 44 raise MissingParameterError('module', ud.url) 46 ud.module = ud.parm["module"] 48 if 'protocol' in ud.parm: 49 ud.proto = ud.parm['protocol'] 50 elif not ud.host: 51 ud.proto = 'file' [all …]
|
| H A D | clearcase.py | 66 def supports(self, ud, d): argument 70 return ud.type in ['ccrc'] 75 def urldata_init(self, ud, d): argument 79 ud.proto = "https" 80 if 'protocol' in ud.parm: 81 ud.proto = ud.parm['protocol'] 82 if not ud.proto in ('http', 'https'): 83 raise ParameterError("Invalid protocol type", ud.url) 85 ud.vob = '' 86 if 'vob' in ud.parm: [all …]
|
| H A D | git.py | 126 def supports(self, ud, d): argument 130 return ud.type in ['git'] 135 def urldata_init(self, ud, d): argument 140 if 'protocol' in ud.parm: 141 ud.proto = ud.parm['protocol'] 142 elif not ud.host: 143 ud.proto = 'file' 145 ud.proto = "git" 146 if ud.host == "github.com" and ud.proto == "git": 149 ud.proto = "https" [all …]
|
| H A D | svn.py | 24 def supports(self, ud, d): argument 28 return ud.type in ['svn'] 30 def urldata_init(self, ud, d): argument 34 if not "module" in ud.parm: 35 raise MissingParameterError('module', ud.url) 37 … ud.basecmd = d.getVar("FETCHCMD_svn") or "/usr/bin/env svn --non-interactive --trust-server-cert" 39 ud.module = ud.parm["module"] 41 if not "path_spec" in ud.parm: 42 ud.path_spec = ud.module 44 ud.path_spec = ud.parm["path_spec"] [all …]
|
| H A D | perforce.py | 66 def supports(self, ud, d): argument 68 return ud.type in ['p4'] 70 def urldata_init(self, ud, d): argument 76 ud.basecmd = d.getVar("FETCHCMD_p4") or "/usr/bin/env p4" 78 ud.dldir = d.getVar("P4DIR") or (d.getVar("DL_DIR") + "/p4") 80 path = ud.url.split('://')[1] 84 (ud.user, ud.pswd) = path.split('@')[0].split(':') 85 ud.path = path.split('@')[1] 87 ud.path = path 89 ud.usingp4config = False [all …]
|
| H A D | cvs.py | 25 def supports(self, ud, d): argument 29 return ud.type in ['cvs'] 31 def urldata_init(self, ud, d): argument 32 if not "module" in ud.parm: 33 raise MissingParameterError("module", ud.url) 34 ud.module = ud.parm["module"] 36 ud.tag = ud.parm.get('tag', "") 39 if 'date' in ud.parm: 40 ud.date = ud.parm['date'] 41 elif ud.tag: [all …]
|
| H A D | osc.py | 26 def supports(self, ud, d): argument 30 return ud.type in ['osc'] 32 def urldata_init(self, ud, d): argument 33 if not "module" in ud.parm: 34 raise MissingParameterError('module', ud.url) 36 ud.module = ud.parm["module"] 40 relpath = self._strip_leading_slashes(ud.path) 41 ud.oscdir = oscdir 42 ud.pkgdir = os.path.join(oscdir, ud.host) 43 ud.moddir = os.path.join(ud.pkgdir, relpath, ud.module) [all …]
|
| H A D | npm.py | 131 def supports(self, ud, d): argument 133 return ud.type in ["npm"] 135 def urldata_init(self, ud, d): argument 137 ud.package = None 138 ud.version = None 139 ud.registry = None 142 if "package" in ud.parm: 143 ud.package = ud.parm.get("package") 145 if not ud.package: 146 raise MissingParameterError("Parameter 'package' required", ud.url) [all …]
|
| H A D | bzr.py | 24 def supports(self, ud, d): argument 25 return ud.type in ['bzr'] 27 def urldata_init(self, ud, d): argument 33 relpath = self._strip_leading_slashes(ud.path) 34 ud.pkgdir = os.path.join(bzrdir, ud.host, relpath) 36 ud.setup_revisions(d) 38 if not ud.revision: 39 ud.revision = self.latest_revision(ud, d) 41 … ud.localfile = d.expand('bzr_%s_%s_%s.tar.gz' % (ud.host, ud.path.replace('/', '.'), ud.revision)) 43 def _buildbzrcommand(self, ud, d, command): argument [all …]
|
| H A D | repo.py | 22 def supports(self, ud, d): argument 26 return ud.type in ["repo"] 28 def urldata_init(self, ud, d): argument 36 ud.basecmd = d.getVar("FETCHCMD_repo") or "/usr/bin/env repo" 38 ud.proto = ud.parm.get('protocol', 'git') 39 ud.branch = ud.parm.get('branch', 'master') 40 ud.manifest = ud.parm.get('manifest', 'default.xml') 41 if not ud.manifest.endswith('.xml'): 42 ud.manifest += '.xml' 44 …ud.localfile = d.expand("repo_%s%s_%s_%s.tar.gz" % (ud.host, ud.path.replace("/", "."), ud.manifes… [all …]
|
| H A D | gitannex.py | 16 def supports(self, ud, d): argument 20 return ud.type in ['gitannex'] 22 def urldata_init(self, ud, d): argument 23 super(GitANNEX, self).urldata_init(ud, d) 24 if ud.shallow: 25 ud.shallow_extra_refs += ['refs/heads/git-annex', 'refs/heads/synced/*'] 27 def uses_annex(self, ud, d, wd): argument 28 for name in ud.names: 30 runfetchcmd("%s rev-list git-annex" % (ud.basecmd), d, quiet=True, workdir=wd) 37 def update_annex(self, ud, d, wd): argument [all …]
|
| H A D | gitsm.py | 31 def supports(self, ud, d): argument 35 return ud.type in ['gitsm'] 37 def process_submodules(self, ud, workdir, function, d): argument 65 for name in ud.names: 67 …gitmodules = runfetchcmd("%s show %s:.gitmodules" % (ud.basecmd, ud.revisions[name]), d, quiet=Tru… 74 …module_hash = runfetchcmd("%s ls-tree -z -d %s %s" % (ud.basecmd, ud.revisions[name], md['path']),… 86 revision[m] = ud.revisions[name] 92 newud = copy.copy(ud) 112 …fers to relative ssh reference %s. References may fail if not absolute." % (ud.url, uris[module])) 118 if url.endswith("{}{}".format(ud.host, ud.path)): [all …]
|
| H A D | npmsw.py | 62 def supports(self, ud, d): argument 64 return ud.type in ["npmsw"] 66 def urldata_init(self, ud, d): argument 70 ud.shrinkwrap_file = re.sub(r"^npmsw://", "", ud.url.split(";")[0]) 73 ud.dev = bb.utils.to_boolean(ud.parm.get("dev"), False) 76 ud.deps = [] 150 raise ParameterError("Invalid git url: %s" % version, ud.url) 168 raise ParameterError("Unsupported dependency: %s" % name, ud.url) 170 ud.deps.append({ 179 with open(ud.shrinkwrap_file, "r") as f: [all …]
|
| H A D | s3.py | 65 def supports(self, ud, d): argument 69 return ud.type in ['s3'] 74 def urldata_init(self, ud, d): argument 75 if 'downloadfilename' in ud.parm: 76 ud.basename = ud.parm['downloadfilename'] 78 ud.basename = os.path.basename(ud.path) 80 ud.localfile = d.expand(urllib.parse.unquote(ud.basename)) 82 ud.basecmd = d.getVar("FETCHCMD_s3") or "/usr/bin/env aws s3" 84 def download(self, ud, d): argument 90 cmd = '%s cp s3://%s%s %s' % (ud.basecmd, ud.host, ud.path, ud.localpath) [all …]
|
| H A D | __init__.py | 424 def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None): argument 425 if not ud.url or not uri_find or not uri_replace: 428 uri_decoded = list(decodeurl(ud.url)) 472 elif ud.localpath and ud.method.supports_checksum(ud): 473 basename = os.path.basename(ud.localpath) 486 if result == ud.url: 488 logger.debug2("For url %s returning %s" % (ud.url, result)) 548 def verify_checksum(ud, d, precomputed={}): argument 563 if ud.ignore_checksums or not ud.method.supports_checksum(ud): 567 checksum_name = getattr(ud, "%s_name" % checksum_id) [all …]
|
| H A D | az.py | 25 def supports(self, ud, d): argument 29 return ud.type in ['az'] 32 def checkstatus(self, fetch, ud, d, try_again=True): argument 35 ud.url = ud.url.replace('az://','https://').split(';')[0] 38 if az_sas and az_sas not in ud.url: 39 ud.url += az_sas 41 return Wget.checkstatus(self, fetch, ud, d, try_again) 44 def download(self, ud, d, retries=3): argument 52 # ud.localfile either has the downloadfilename or ud.path 53 localpath = os.path.join(d.getVar("DL_DIR"), ud.localfile) [all …]
|
| H A D | wget.py | 68 def supports(self, ud, d): argument 72 return ud.type in ['http', 'https', 'ftp', 'ftps'] 77 def urldata_init(self, ud, d): argument 78 if 'protocol' in ud.parm: 79 if ud.parm['protocol'] == 'git': 80 …a git repository using http, you need to instead use the git:// prefix with protocol=http", ud.url) 82 if 'downloadfilename' in ud.parm: 83 ud.basename = ud.parm['downloadfilename'] 85 ud.basename = os.path.basename(ud.path) 87 ud.localfile = d.expand(urllib.parse.unquote(ud.basename)) [all …]
|
| H A D | crate.py | 29 def supports(self, ud, d): argument 33 return ud.type in ['crate'] 38 def urldata_init(self, ud, d): argument 43 if ud.type == 'crate': 44 self._crate_urldata_init(ud, d) 46 super(Crate, self).urldata_init(ud, d) 48 def _crate_urldata_init(self, ud, d): argument 55 parts = ud.url.split('/') 57 raise bb.fetch2.ParameterError("Invalid URL: Must be crate://HOST/NAME/VERSION", ud.url) 70 ud.url = "https://%s/%s/%s/download" % (host, name, version) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/usbip/ |
| H A D | usbip_event.c | 16 struct usbip_device *ud; member 22 static void set_event(struct usbip_device *ud, unsigned long event) in set_event() argument 26 spin_lock_irqsave(&ud->lock, flags); in set_event() 27 ud->event |= event; in set_event() 28 spin_unlock_irqrestore(&ud->lock, flags); in set_event() 31 static void unset_event(struct usbip_device *ud, unsigned long event) in unset_event() argument 35 spin_lock_irqsave(&ud->lock, flags); in unset_event() 36 ud->event &= ~event; in unset_event() 37 spin_unlock_irqrestore(&ud->lock, flags); in unset_event() 43 struct usbip_device *ud = NULL; in get_event() local [all …]
|
| H A D | stub_dev.c | 29 spin_lock_irq(&sdev->ud.lock); in usbip_status_show() 30 status = sdev->ud.status; in usbip_status_show() 31 spin_unlock_irq(&sdev->ud.lock); in usbip_status_show() 66 mutex_lock(&sdev->ud.sysfs_lock); in usbip_sockfd_store() 67 spin_lock_irq(&sdev->ud.lock); in usbip_sockfd_store() 69 if (sdev->ud.status != SDEV_ST_AVAILABLE) { in usbip_sockfd_store() 87 spin_unlock_irq(&sdev->ud.lock); in usbip_sockfd_store() 88 tcp_rx = kthread_create(stub_rx_loop, &sdev->ud, "stub_rx"); in usbip_sockfd_store() 93 tcp_tx = kthread_create(stub_tx_loop, &sdev->ud, "stub_tx"); in usbip_sockfd_store() 104 /* lock and update sdev->ud state */ in usbip_sockfd_store() [all …]
|
| H A D | vudc_sysfs.c | 115 mutex_lock(&udc->ud.sysfs_lock); in usbip_sockfd_store() 131 spin_lock_irq(&udc->ud.lock); in usbip_sockfd_store() 133 if (udc->ud.status != SDEV_ST_AVAILABLE) { in usbip_sockfd_store() 153 spin_unlock_irq(&udc->ud.lock); in usbip_sockfd_store() 156 tcp_rx = kthread_create(&v_rx_loop, &udc->ud, "vudc_rx"); in usbip_sockfd_store() 159 mutex_unlock(&udc->ud.sysfs_lock); in usbip_sockfd_store() 162 tcp_tx = kthread_create(&v_tx_loop, &udc->ud, "vudc_tx"); in usbip_sockfd_store() 166 mutex_unlock(&udc->ud.sysfs_lock); in usbip_sockfd_store() 174 /* lock and update udc->ud state */ in usbip_sockfd_store() 176 spin_lock_irq(&udc->ud.lock); in usbip_sockfd_store() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/ti/ |
| H A D | k3-udma.c | 215 struct udma_dev *ud; member 335 static int navss_psil_pair(struct udma_dev *ud, u32 src_thread, u32 dst_thread) in navss_psil_pair() argument 337 struct udma_tisci_rm *tisci_rm = &ud->tisci_rm; in navss_psil_pair() 345 static int navss_psil_unpair(struct udma_dev *ud, u32 src_thread, in navss_psil_unpair() argument 348 struct udma_tisci_rm *tisci_rm = &ud->tisci_rm; in navss_psil_unpair() 365 struct device *dev = uc->ud->dev; in udma_dump_chan_stdata() 442 struct udma_dev *ud = uc->ud; in udma_free_hwdesc() local 444 dma_free_coherent(ud->dev, d->hwdesc[0].cppi5_desc_size, in udma_free_hwdesc() 454 struct udma_dev *ud = container_of(work, typeof(*ud), purge_work); in udma_purge_desc_work() local 459 spin_lock_irqsave(&ud->lock, flags); in udma_purge_desc_work() [all …]
|
| H A D | k3-udma-private.c | 7 int xudma_navss_psil_pair(struct udma_dev *ud, u32 src_thread, u32 dst_thread) in xudma_navss_psil_pair() argument 9 return navss_psil_pair(ud, src_thread, dst_thread); in xudma_navss_psil_pair() 13 int xudma_navss_psil_unpair(struct udma_dev *ud, u32 src_thread, u32 dst_thread) in xudma_navss_psil_unpair() argument 15 return navss_psil_unpair(ud, src_thread, dst_thread); in xudma_navss_psil_unpair() 23 struct udma_dev *ud; in of_xudma_dev_get() local 42 ud = platform_get_drvdata(pdev); in of_xudma_dev_get() 43 if (!ud) { in of_xudma_dev_get() 49 return ud; in of_xudma_dev_get() 53 u32 xudma_dev_get_psil_base(struct udma_dev *ud) in xudma_dev_get_psil_base() argument 55 return ud->psil_base; in xudma_dev_get_psil_base() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/shaders/clear_kernel/ |
| H A D | ivb.asm | 39 add(1) g1.2<1>UD g1.2<0,1,0>UD 0x00000001UD { align1 1N }; /* Loop count to del… 40 cmp.z.f0.0(1) null<1>UD g1.3<0,1,0>UD 0x00000000UD { align1 1N }; 48 mov(8) g3<1>UD 0x00000000UD { align1 1Q }; 60 mov(8) g5<1>UD 0x00000000UD { align1 1Q }; 64 mov(8) g4<1>UD g0<8,8,1>UD { align1 1Q }; /* Initialize messag… 65 mov(1) g4<1>UD g3.3<0,1,0>UD { align1 1N }; /* Block offset */ 66 mov(1) g4.1<1>UD g3.2<0,1,0>UD { align1 1N }; /* Block offset */ 67 mov(1) g4.2<1>UD 0x00000003UD { align1 1N }; /* Block size (1 row… 68 and(1) g4.3<1>UD g4.3<0,1,0>UW 0xffffffffUD { align1 1N }; 71 sendc(8) g5<1>UD g4<8,8,1>F 0x02190001 [all …]
|
| H A D | hsw.asm | 39 add(1) g1.2<1>UD g1.2<0,1,0>UD 0x00000001UD { align1 1N }; /* Loop count to del… 40 cmp.z.f0.0(1) null<1>UD g1.3<0,1,0>UD 0x00000000UD { align1 1N }; 48 mov(8) g3<1>UD 0x00000000UD { align1 1Q }; 60 mov(8) g5<1>UD 0x00000000UD { align1 1Q }; 64 mov(8) g4<1>UD g0<8,8,1>UD { align1 1Q }; /* Initialize messag… 65 mov(1) g4<1>UD g3.3<0,1,0>UD { align1 1N }; /* Block offset */ 66 mov(1) g4.1<1>UD g3.2<0,1,0>UD { align1 1N }; /* Block offset */ 67 mov(1) g4.2<1>UD 0x00000003UD { align1 1N }; /* Block size (1 row… 68 and(1) g4.3<1>UD g4.3<0,1,0>UW 0xffffffffUD { align1 1N }; 71 sendc(8) g5<1>UD g4<8,8,1>F 0x02190001 [all …]
|