/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-io.c | 52 int xf_input_port_init(xf_input_port_t *port, u32 size, u32 align, u32 core) in xf_input_port_init() argument 58 XF_CHK_ERR(port->buffer = xf_mem_alloc(size, align, core, 0), -ENOMEM); in xf_input_port_init() 63 port->buffer = NULL; in xf_input_port_init() 67 xf_msg_queue_init(&port->queue); in xf_input_port_init() 70 port->length = size; in xf_input_port_init() 73 port->flags = XF_INPUT_FLAG_ENABLED | XF_INPUT_FLAG_CREATED; in xf_input_port_init() 76 port->filled = 0, port->access = NULL; in xf_input_port_init() 78 TRACE(INIT, _b("input-port[%p] created - %p@%u[%u]"), port, port->buffer, align, size); in xf_input_port_init() 84 int xf_input_port_put(xf_input_port_t *port, xf_message_t *m) in xf_input_port_put() argument 87 if ((port->flags & XF_INPUT_FLAG_ENABLED) == 0) in xf_input_port_put() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-io.h | 94 static inline int xf_input_port_created(xf_input_port_t *port) in xf_input_port_created() argument 96 return (port->flags & XF_INPUT_FLAG_CREATED); in xf_input_port_created() 100 static inline int xf_input_port_ready(xf_input_port_t *port) in xf_input_port_ready() argument 102 return (xf_msg_queue_head(&port->queue) != NULL); in xf_input_port_ready() 106 static inline int xf_input_port_done(xf_input_port_t *port) in xf_input_port_done() argument 108 return (port->flags & XF_INPUT_FLAG_DONE); in xf_input_port_done() 112 static inline int xf_input_port_bypass(xf_input_port_t *port) in xf_input_port_bypass() argument 114 return port->buffer == NULL; in xf_input_port_bypass() 118 static inline void * xf_input_port_data(xf_input_port_t *port) in xf_input_port_data() argument 120 return port->access; in xf_input_port_data() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Rx/ |
D | RawIp4Rx.h | 30 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr argument 31 #define SIN_FAMILY(port) port.sin_family argument 32 #define SIN_LEN(port) port.sin_family argument 33 #define SIN_PORT(port) port.sin_port argument 57 #define SIN_ADDR(port) port.sin_addr.s_addr argument 58 #define SIN_FAMILY(port) port.sin_family argument 59 #define SIN_LEN(port) port.sin_len argument 60 #define SIN_PORT(port) port.sin_port argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/ |
D | RawIp4Tx.h | 33 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr argument 34 #define SIN_FAMILY(port) port.sin_family argument 35 #define SIN_LEN(port) port.sin_family argument 36 #define SIN_PORT(port) port.sin_port argument 58 #define SIN_ADDR(port) port.sin_addr.s_addr argument 59 #define SIN_FAMILY(port) port.sin_family argument 60 #define SIN_LEN(port) port.sin_len argument 61 #define SIN_PORT(port) port.sin_port argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/ |
D | OobTx.h | 33 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr argument 34 #define SIN_FAMILY(port) port.sin_family argument 35 #define SIN_LEN(port) port.sin_family argument 36 #define SIN_PORT(port) port.sin_port argument 58 #define SIN_ADDR(port) port.sin_addr.s_addr argument 59 #define SIN_FAMILY(port) port.sin_family argument 60 #define SIN_LEN(port) port.sin_len argument 61 #define SIN_PORT(port) port.sin_port argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/ |
D | OobRx.h | 30 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr argument 31 #define SIN_FAMILY(port) port.sin_family argument 32 #define SIN_LEN(port) port.sin_family argument 33 #define SIN_PORT(port) port.sin_port argument 58 #define SIN_ADDR(port) port.sin_addr.s_addr argument 59 #define SIN_FAMILY(port) port.sin_family argument 60 #define SIN_LEN(port) port.sin_len argument 61 #define SIN_PORT(port) port.sin_port argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
D | gopher.py | 41 def open_socket(host, port): argument 42 if not port: 43 port = DEF_PORT 44 elif type(port) == type(''): 45 port = string.atoi(port) 47 s.connect((host, port)) 51 def send_request(selector, host, port): argument 52 s = open_socket(host, port) 58 def get_menu(selector, host, port): argument 59 f = send_request(selector, host, port) [all …]
|
D | udpecho.py | 32 port = eval(sys.argv[2]) 34 port = ECHO_PORT 36 s.bind(('', port)) 48 port = eval(sys.argv[3]) 50 port = ECHO_PORT 51 addr = host, port
|
D | throughput.py | 43 port = eval(sys.argv[2]) 45 port = MY_PORT 47 s.bind(('', port)) 68 port = eval(sys.argv[4]) 70 port = MY_PORT 75 s.connect((host, port))
|
D | ftp.py | 79 port = nextport + FTP_DATA_PORT 82 r.bind((gethostbyname(gethostname()), port)) 84 sendportcmd(s, f, port) 90 def sendportcmd(s, f, port): argument 94 pbytes = [repr(port//256), repr(port%256)]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/gpio/ |
D | rk3399_gpio.c | 66 uint32_t port = GET_GPIO_PORT(gpio_number); in gpio_get_clock() local 69 assert(port < 5); in gpio_get_clock() 71 switch (port) { in gpio_get_clock() 122 uint32_t port = GET_GPIO_PORT(gpio_number); in gpio_put_clock() local 124 switch (port) { in gpio_put_clock() 158 uint32_t port = GET_GPIO_PORT(gpio); in get_pull() local 163 assert((port < 5) && (bank < 4)); in get_pull() 167 if (port == PMU_GPIO_PORT0 || port == PMU_GPIO_PORT1) { in get_pull() 169 port * 16 + bank * 4); in get_pull() 173 (port - 2) * 16 + bank * 4); in get_pull() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/DeviceTree/ |
D | hi6220-coresight.dtsi | 27 port@0 { 35 port@1 { 56 port@0 { 65 port@1 { 84 port@0 { 93 port@1 { 101 port@2 { 121 port@0 { 142 port@0 { 163 port@0 { [all …]
|
/device/google/bonito-sepolicy/vendor/qcom/common/ |
D | port-bridge.te | 1 type port-bridge, domain; 2 type port-bridge_exec, exec_type, vendor_file_type, file_type; 4 init_daemon_domain(port-bridge) 6 r_dir_file(port-bridge, sysfs_msm_subsys) 8 allow port-bridge sysfs_soc:dir search; 9 allow port-bridge sysfs_soc:file r_file_perms; 11 allow port-bridge at_device:chr_file rw_file_perms;
|
/device/google/wahoo/sepolicy/vendor/ |
D | port-bridge.te | 1 type port-bridge, domain; 2 type port-bridge_exec, exec_type, vendor_file_type, file_type; 4 init_daemon_domain(port-bridge) 6 r_dir_file(port-bridge, sysfs_msm_subsys) 8 allow port-bridge sysfs_soc:dir search; 9 allow port-bridge sysfs_soc:file r_file_perms; 11 allow port-bridge at_device:chr_file rw_file_perms;
|
/device/google/crosshatch-sepolicy/vendor/qcom/common/ |
D | port-bridge.te | 1 type port-bridge, domain; 2 type port-bridge_exec, exec_type, vendor_file_type, file_type; 4 init_daemon_domain(port-bridge) 6 r_dir_file(port-bridge, sysfs_msm_subsys) 8 allow port-bridge sysfs_soc:dir search; 9 allow port-bridge sysfs_soc:file r_file_perms; 11 allow port-bridge at_device:chr_file rw_file_perms;
|
/device/google/marlin/sepolicy/ |
D | port-bridge.te | 1 type port-bridge, domain; 2 type port-bridge_exec, exec_type, vendor_file_type, file_type; 4 init_daemon_domain(port-bridge) 7 allow port-bridge at_device:chr_file rw_file_perms; 10 allow port-bridge sysfs:dir r_dir_perms; 11 r_dir_file(port-bridge, sysfs_msm_subsys) 12 r_dir_file(port-bridge, sysfs_soc)
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/ |
D | if_msk.c | 250 INTN port; in msk_phy_readreg() local 254 port = sc_if->msk_md.port; in msk_phy_readreg() 256 …GMAC_WRITE_2 (sc, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD (PHY_ADDR_MARV) | GM_SMI_CT_REG_AD (reg) | G… in msk_phy_readreg() 260 val = GMAC_READ_2 (sc, port, GM_SMI_CTRL); in msk_phy_readreg() 262 val = GMAC_READ_2 (sc, port, GM_SMI_DATA); in msk_phy_readreg() 283 INTN port; in msk_phy_writereg() local 287 port = sc_if->msk_md.port; in msk_phy_writereg() 289 GMAC_WRITE_2 (sc, port, GM_SMI_DATA, val); in msk_phy_writereg() 290 GMAC_WRITE_2 (sc, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD (PHY_ADDR_MARV) | GM_SMI_CT_REG_AD (reg)); in msk_phy_writereg() 293 if ((GMAC_READ_2 (sc, port, GM_SMI_CTRL) & GM_SMI_CT_BUSY) == 0) { in msk_phy_writereg() [all …]
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | TcpStream.cpp | 31 static int _socket_loopback_server(int port, int type) in _socket_loopback_server() argument 37 addr.sin_port = htons(port); in _socket_loopback_server() 82 int TcpStream::listen(unsigned short port) in listen() argument 84 m_sock = _socket_loopback_server(port, SOCK_STREAM); in listen() 113 int TcpStream::connect(unsigned short port) in connect() argument 115 return connect("127.0.0.1",port); in connect() 118 int TcpStream::connect(const char* hostname, unsigned short port) in connect() argument 120 m_sock = socket_network_client(hostname, port, SOCK_STREAM); in connect()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Pp2Dxe/ |
D | Mvpp2LibHw.h | 43 #define MVPP2_RX_DATA_FIFO_SIZE_REG(port) (0x00 + 4 * (port)) argument 44 #define MVPP2_RX_ATTR_FIFO_SIZE_REG(port) (0x20 + 4 * (port)) argument 49 #define MVPP2_RX_CTRL_REG(port) (0x140 + 4 * (port)) argument 68 #define MVPP2_PRS_PORT_LU_MASK(port) (0xff << ((port) * 4)) argument 69 #define MVPP2_PRS_PORT_LU_VAL(port, val) ((val) << ((port) * 4)) argument 70 #define MVPP2_PRS_INIT_OFFS_REG(port) (0x1004 + ((port) & 4)) argument 71 #define MVPP2_PRS_INIT_OFF_MASK(port) (0x3f << (((port) % 4) * 8)) argument 72 #define MVPP2_PRS_INIT_OFF_VAL(port, val) ((val) << (((port) % 4) * 8)) argument 73 #define MVPP2_PRS_MAX_LOOP_REG(port) (0x100c + ((port) & 4)) argument 74 #define MVPP2_PRS_MAX_LOOP_MASK(port) (0xff << (((port) % 4) * 8)) argument [all …]
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | usart.c | 85 void usartOpen(struct usart* __restrict usart, UsartPort port, in usartOpen() argument 95 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit = --port]; in usartOpen() 101 gpioConfigAlt(usart->rx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); in usartOpen() 103 gpioConfigAlt(usart->tx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); in usartOpen() 106 pwrUnitClock(mUsartBusses[port], mUsartPeriphs[port], true); in usartOpen() 109 if (!mUsartHasFlowControl[port]) in usartOpen() 118 baseClk = pwrGetBusSpeed(mUsartBusses[port]); in usartOpen()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/ |
D | IoLibMsc.c | 30 int _inp (unsigned short port); 31 unsigned short _inpw (unsigned short port); 32 unsigned long _inpd (unsigned short port); 33 int _outp (unsigned short port, int databyte ); 34 unsigned short _outpw (unsigned short port, unsigned short dataword ); 35 unsigned long _outpd (unsigned short port, unsigned long dataword );
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_smtplib.py | 51 self.port = test_support.bind_port(self.sock) 65 smtp = smtplib.SMTP(HOST, self.port) 70 smtp = smtplib.SMTP("%s:%s" % (HOST, self.port)) 75 smtp = smtplib.SMTP(HOST, self.port, local_hostname="testhost") 83 smtp = smtplib.SMTP(HOST, self.port) 93 smtp = smtplib.SMTP(HOST, self.port, timeout=None) 100 smtp = smtplib.SMTP(HOST, self.port, timeout=30) 161 self.port = self.serv.socket.getsockname()[1] 182 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3) 186 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3) [all …]
|
D | test_telnetlib.py | 51 self.port = test_support.bind_port(self.sock) 64 telnet = telnetlib.Telnet(HOST, self.port) 71 telnet = telnetlib.Telnet("localhost", self.port) 82 telnet = telnetlib.Telnet(HOST, self.port, timeout=None) 89 telnet = telnetlib.Telnet("localhost", self.port, timeout=30) 95 telnet.open("localhost", self.port, timeout=30) 104 self.port = test_support.bind_port(self.sock) 131 telnet = telnetlib.Telnet(HOST, self.port) 140 telnet = telnetlib.Telnet(HOST, self.port) 153 telnet = telnetlib.Telnet(HOST, self.port) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ssl/ |
D | get-remote-certificate.py | 11 def fetch_server_certificate (host, port): argument 55 (host, port, tfile)) 61 (host, port)) 67 (host, port)) 77 host, port = arg.split(":") variable 78 sys.stdout.write(fetch_server_certificate(host, int(port)))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | smtplib.py | 227 def __init__(self, host='', port=0, local_hostname=None, argument 242 (code, msg) = self.connect(host, port) 272 def _get_socket(self, port, host, timeout): argument 276 print>>stderr, 'connect:', (host, port) 277 return socket.create_connection((port, host), timeout) 279 def connect(self, host='localhost', port=0): argument 290 if not port and (host.find(':') == host.rfind(':')): 293 host, port = host[:i], host[i + 1:] 295 port = int(port) 298 if not port: [all …]
|