| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/ |
| H A D | mlan_sdio.h | 6 * Copyright (C) 2008-2017, Marvell International Ltd. 13 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 14 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 16 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 39 /* Host Control Registers */ 40 /** Host Control Registers : Host to Card Event */ 42 /** Host Control Registers : Host terminates Command 53 */ 44 /** Host Control Registers : Host without Command 53 finish host */ 46 /** Host Control Registers : Host power up */ 48 /** Host Control Registers : Host power down */ [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/prserv/ |
| H A D | serv.py | 4 # SPDX-License-Identifier: GPL-2.0-only 26 'get-pr': self.handle_get_pr, 27 'import-one': self.handle_import_one, 29 'is-readonly': self.handle_is_readonly, 123 def __init__(self, dbfile, logfile, host, port): argument 126 self.host = host 127 self.port = port 131 self.prserv.start_tcp_server(socket.gethostbyname(self.host), self.port) 136 if not self.port: 137 self.port = int(self.prserv.address.rsplit(':', 1)[1]) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | test.c | 1 // SPDX-License-Identifier: GPL-2.0 20 res->data = ida; in __ida_init() 26 struct ida *ida = res->data; in __ida_destroy() 47 sw->config.upstream_port_number = upstream_port; in alloc_switch() 48 sw->config.depth = tb_route_length(route); in alloc_switch() 49 sw->config.route_hi = upper_32_bits(route); in alloc_switch() 50 sw->config.route_lo = lower_32_bits(route); in alloc_switch() 51 sw->config.enabled = 0; in alloc_switch() 52 sw->config.max_port_number = max_port_number; in alloc_switch() 54 size = (sw->config.max_port_number + 1) * sizeof(*sw->ports); in alloc_switch() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/server/ |
| H A D | xmlrpcclient.py | 4 # Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer 5 # Copyright (C) 2006 - 2008 Richard Purdie 7 # SPDX-License-Identifier: GPL-2.0-only 24 def make_connection(self, host): argument 26 #HTTP/1.1 keep-alive. 27 if self._connection and host == self._connection[0]: 30 # create a HTTP connection object from a host descriptor 31 chost, self._extra_headers, x509 = self.get_host_info(host) 32 #store the host argument along with the connection object 33 self._connection = host, http.client.HTTPConnection(chost, timeout=self.timeout) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_sdio.h | 7 * Copyright 2008-2021 NXP 14 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 15 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 17 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 40 /* Host Control Registers */ 41 /** Host Control Registers : Host to Card Event */ 43 /** Host Control Registers : Host terminates Command 53 */ 45 /** Host Control Registers : Host without Command 53 finish host */ 47 /** Host Control Registers : Host power up */ 49 /** Host Control Registers : Host power down */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | sx8.c | 2 * sx8.c: Driver for Promise SATA SX8 looks-like-I2O hardware 4 * Copyright 2004-2005 Red Hat, Inc. 19 #include <linux/blk-mq.h> 28 #include <linux/dma-mapping.h> 62 * Therefore, we default to the safe option -- 1 command -- but 75 /* 0xf is just arbitrary, non-zero noise; this is sorta like poisoning */ 107 /* adapter-wide limits */ 114 CARM_MAX_REQ = 64, /* max command msgs per host */ 117 /* S/G limits, host-wide and per-request */ 119 CARM_MAX_HOST_SG = 600, /* max s/g entries per host */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | pata_atp867x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pata_atp867x.c - ARTOP 867X 64bit 4-channel UDMA133 ATA controller driver 5 * (C) 2009 Google Inc. John(Jung-Ik) Lee <jilee@google.com> 9 * 2003-2004 by Eric Uhrhane, Google, Inc. 69 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) 72 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument 73 (port) * ATP867X_IO_CHANNEL_OFFSET) 74 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument 75 ATP867X_IO_PORTBASE((ap), (port))) 77 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument [all …]
|
| H A D | sata_mv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sata_mv.c - Marvell SATA support 5 * Copyright 2008-2009: Marvell Corporation, all rights reserved. 12 * Please ALWAYS copy linux-ide@vger.kernel.org on emails. 18 * --> Develop a low-power-consumption strategy, and implement it. 20 * --> Add sysfs attributes for per-chip / per-HC IRQ coalescing thresholds. 22 * --> [Experiment, Marvell value added] Is it possible to use target 23 * mode to cross-connect two Linux boxes with Marvell cards? If so, 31 * 80x1-B2 errata PCI#11: 34 * should be careful to insert those cards only onto PCI-X bus #0, [all …]
|
| H A D | libahci_platform.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2004-2005 Red Hat, Inc. 27 static void ahci_host_stop(struct ata_host *host); 36 * ahci_platform_enable_phys - Enable PHYs 37 * @hpriv: host private area to store config values 39 * This function enables all the PHYs found in hpriv->phys, if any. 50 for (i = 0; i < hpriv->nports; i++) { in ahci_platform_enable_phys() 51 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys() 55 rc = phy_set_mode(hpriv->phys[i], PHY_MODE_SATA); in ahci_platform_enable_phys() 57 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys() [all …]
|
| H A D | pata_sis.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_sis.c - SiS ATA driver 9 * Copyright (C) 1999-2000 Andre Hedrick <andre@linux-ide.org> 42 u16 device; /* PCI host ID */ 67 while (lap->device) { in sis_short_ata40() 68 if (lap->device == dev->device && in sis_short_ata40() 69 lap->subvendor == dev->subsystem_vendor && in sis_short_ata40() 70 lap->subdevice == dev->subsystem_device) in sis_short_ata40() 79 * sis_old_port_base - return PCI configuration base for dev 82 * Returns the base of the PCI configuration registers for this port [all …]
|
| H A D | sata_vsc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sata_vsc.c - Vitesse VSC7174 4 port DPA SATA 6 * Please ALWAYS copy linux-ide@vger.kernel.org 14 * as Documentation/driver-api/libata.rst 27 #include <linux/dma-mapping.h> 67 /* Port stride */ 88 return -EINVAL; in vsc_sata_scr_read() 89 *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_read() 98 return -EINVAL; in vsc_sata_scr_write() 99 writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); in vsc_sata_scr_write() [all …]
|
| H A D | pata_pdc2027x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org> 15 * as Documentation/driver-api/libata.rst 177 * port_mmio - Get the MMIO address of PDC2027x extended registers 178 * @ap: Port 183 return ap->host->iomap[PDC_MMIO_BAR] + ap->port_no * 0x100 + offset; in port_mmio() 187 * dev_mmio - Get the MMIO address of PDC2027x extended registers 188 * @ap: Port 194 u8 adj = (adev->devno) ? 0x08 : 0x00; in dev_mmio() 199 * pdc2027x_pata_cable_detect - Probe host controller cable detect info [all …]
|
| H A D | pata_icside.c | 1 // SPDX-License-Identifier: GPL-2.0-only 59 } port[2]; member 71 const struct portinfo *port[2]; member 80 #define ICS_TYPE_NOTYPE ((unsigned int)-1) 82 /* ---------------- Version 5 PCB Support Functions --------------------- */ 88 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v5() 90 writeb(0, state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqenable_arcin_v5() 98 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v5() 100 readb(state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqdisable_arcin_v5() 109 /* ---------------- Version 6 PCB Support Functions --------------------- */ [all …]
|
| H A D | sata_qstor.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sata_qstor.c - Pacific Digital Corporation QStor SATA 11 * as Documentation/driver-api/libata.rst 39 QS_HCF_CNFG3 = 0x0003, /* host configuration offset */ 40 QS_HID_HPHY = 0x0004, /* host physical interface info */ 42 QS_HST_SFF = 0x0100, /* host status fifo offset */ 46 QS_HPHY_64BIT = (1 << 1), /* 64-bit bus detected */ 50 /* per-channel register offsets */ 53 QS_CFC_HUFT = 0x0800, /* host upstream fifo threshold */ 54 QS_CFC_HDFT = 0x0804, /* host downstream fifo threshold */ [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/ |
| H A D | oe-git-proxy | 3 # oe-git-proxy is a simple tool to be via GIT_PROXY_COMMAND. It uses socat 6 # protocol, and port. 8 # hosts, host globs (*.example.com), IPs, or CIDR masks (192.168.1.0/24). It 17 # SPDX-License-Identifier: GPL-2.0-only 23 set -f 25 if [ $# -lt 2 -o "$1" = '--help' -o "$1" = '-h' ] ; then 26 echo 'oe-git-proxy: error: the following arguments are required: host port' 27 echo 'Usage: oe-git-proxy host port' 29 echo 'OpenEmbedded git-proxy - a simple tool to be used via GIT_PROXY_COMMAND.' 31 echo 'It uses ALL_PROXY to determine the proxy server, protocol, and port.' [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/ |
| H A D | ssh.py | 6 http://tools.ietf.org/wg/secsh/draft-ietf-secsh-scp-sftp-ssh-uri/ 11 Please note that '/' is used as host, path separator not ':' as you may 15 SRC_URI = "ssh://user@host.example.com/dir/path/file.txt" 16 SRC_URI = "ssh://user@host.example.com/~/file.txt" 30 # SPDX-License-Identifier: GPL-2.0-only 47 (?P<host>\S+?) # non-greedy match of the host 48 (:(?P<port>[0-9]+))? # colon followed by the port (optional) 69 "Invalid protocol - if you wish to fetch from a git " + 75 host = m.group('host') 84 host = m.group('host') [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/ |
| H A D | pci.txt | 3 PCI Bus Binding to: IEEE Std 1275-1994 4 https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf 9 https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf 11 Additionally to the properties specified in the above standards a host bridge 14 - linux,pci-domain: 15 If present this property assigns a fixed PCI domain number to a host bridge, 18 host bridges in the system, otherwise potentially conflicting domain numbers 19 may be assigned to root buses behind different host bridges. The domain 20 number for each host bridge in the system must be unique. 21 - max-link-speed: [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/stable/ |
| H A D | sysfs-driver-ib_srp | 1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target 4 Contact: linux-rdma@vger.kernel.org 7 a comma-separated list of login parameters to this sysfs 10 * id_ext, a 16-digit hexadecimal number specifying the eight 11 byte identifier extension in the 16-byte SRP target port 12 identifier. The target port identifier is sent by ib_srp 14 * ioc_guid, a 16-digit hexadecimal number specifying the eight 15 byte I/O controller GUID portion of the 16-byte target port 17 * dgid, a 32-digit hexadecimal number specifying the 19 * pkey, a four-digit hexadecimal number specifying the [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/cxlflash/ |
| H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 * process_cmd_err() - command error handler 44 struct afu *afu = cmd->parent; in process_cmd_err() 45 struct cxlflash_cfg *cfg = afu->parent; in process_cmd_err() 46 struct device *dev = &cfg->dev->dev; in process_cmd_err() 50 ioasa = &(cmd->sa); in process_cmd_err() 52 if (ioasa->rc.flags & SISL_RC_FLAGS_UNDERRUN) { in process_cmd_err() 53 resid = ioasa->resid; in process_cmd_err() 59 if (ioasa->rc.flags & SISL_RC_FLAGS_OVERRUN) { in process_cmd_err() 62 scp->result = (DID_ERROR << 16); in process_cmd_err() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | setup-pci.c | 2 * Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org> 3 * Copyright (C) 1995-1998 Mark Lord 4 * Copyright (C) 2007-2009 Bartlomiej Zolnierkiewicz 16 #include <linux/dma-mapping.h> 21 * ide_setup_pci_baseregs - place a PCI IDE controller native 45 return -EOPNOTSUPP; in ide_setup_pci_baseregs() 55 return -EOPNOTSUPP; in ide_setup_pci_baseregs() 73 * ide_pci_dma_base - setup BMIBA 75 * @d: IDE port info 77 * Fetch the DMA Bus-Master-I/O-Base-Address (BMIBA) from PCI space. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rapidio/ |
| H A D | rio-scan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * - Added Port-Write/Error Management initialization and handling 14 * - Added Input- Output- enable functionality, to allow full communication 21 #include <linux/dma-mapping.h> 49 * rio_destid_alloc - Allocate next available destID for given network 59 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; in rio_destid_alloc() 61 spin_lock(&idtab->lock); in rio_destid_alloc() 62 destid = find_first_zero_bit(idtab->table, idtab->max); in rio_destid_alloc() 64 if (destid < idtab->max) { in rio_destid_alloc() 65 set_bit(destid, idtab->table); in rio_destid_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | virtio_console.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 #include <linux/dma-mapping.h> 44 /* Used for exporting per-port information to debugfs */ 75 /* The hvc device associated with this console port */ 119 * This is a per-device struct that stores data common to all the 120 * ports for that device (vdev->priv). 150 * guest->host transfers, one for host->guest transfers 155 * A control packet buffer for guest->host requests, protected 160 /* Array of per-port IO virtqueues */ 171 /* This struct holds the per-port data */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/ |
| H A D | pcie-mediatek.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MediaTek PCIe host controller driver. 36 /* PCIe per port registers */ 72 /* PCIe V2 per-port registers */ 125 (GENMASK(((size) - 1), 0) << ((where) & 0x3)) 143 * struct mtk_pcie_soc - differentiate between host generations 144 * @need_fix_class_id: whether this host's class ID needed to be fixed or not 145 * @need_fix_device_id: whether this host's device ID needed to be fixed or not 146 * @device_id: device ID which this host need to be fixed 156 int (*startup)(struct mtk_pcie_port *port); [all …]
|
| /OK3568_Linux_fs/kernel/tools/usb/usbip/src/ |
| H A D | usbip_attach.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * 2005-2007 Takahiro Hirofuchi 5 * Copyright (C) 2015-2016 Samsung Electronics 29 " -r, --remote=<host> The machine with exported USB devices\n" 30 " -b, --busid=<busid> Busid of the device on <host>\n" 31 " -d, --device=<devid> Id of the virtual UDC on <host>\n"; 39 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 54 return -1; in record_connection() 56 return -1; in record_connection() 58 return -1; in record_connection() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/mt7621-pci/ |
| H A D | pci-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0+ 49 /* Host-PCI bridge registers */ 92 * struct mt7621_pcie_port - PCIe port information 94 * @list: port list 95 * @pcie: pointer to PCIe host info 97 * @pcie_rst: pointer to port reset control 99 * @slot: port slot 101 * @enabled: indicates if port is enabled 116 * struct mt7621_pcie - PCIe host information 119 * @mem: non-prefetchable memory resource [all …]
|