Home
last modified time | relevance | path

Searched refs:Socket (Results 1 – 25 of 53) sorted by relevance

123

/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/I2CLib/
DI2CLib.c40 I2C_Disable(UINT32 Socket,UINT8 Port) in I2C_Disable() argument
47 UINTN Base = GetI2cBase(Socket, Port); in I2C_Disable()
82 I2C_Enable(UINT32 Socket,UINT8 Port) in I2C_Enable() argument
87 UINTN Base = GetI2cBase(Socket, Port); in I2C_Enable()
106 void I2C_SetTarget(UINT32 Socket,UINT8 Port,UINT32 I2cDeviceAddr) in I2C_SetTarget() argument
109 UINTN Base = GetI2cBase(Socket, Port); in I2C_SetTarget()
122 I2CInit(UINT32 Socket, UINT32 Port, SPEED_MODE SpeedMode) in I2CInit() argument
132 UINTN Base = GetI2cBase(Socket, Port); in I2CInit()
134 if((Socket >= MAX_SOCKET) || (Port >= I2C_PORT_MAX) || (SpeedMode >= SPEED_MODE_MAX)){ in I2CInit()
139 Status = I2C_Disable(Socket,Port); in I2CInit()
[all …]
DI2CLibRuntime.c32 UINTN GetI2cBase (UINT32 Socket, UINT8 Port) in GetI2cBase() argument
34 if (gI2cBase[Socket][Port] == 0) { in GetI2cBase()
35 gI2cBase[Socket][Port] = PlatformGetI2cBase(Socket, Port); in GetI2cBase()
38 return gI2cBase[Socket][Port]; in GetI2cBase()
48 UINT32 Socket; in I2cLibVirtualNotifyEvent() local
53 for (Socket = 0; Socket < MAX_SOCKET; Socket++) { in I2cLibVirtualNotifyEvent()
55 if (gI2cBase[Socket][Port] != 0) { in I2cLibVirtualNotifyEvent()
56 EfiConvertPointer (0x0, (VOID **)&gI2cBase[Socket][Port]); in I2cLibVirtualNotifyEvent()
65 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port) in I2cLibRuntimeSetup() argument
69 UINTN Base = GetI2cBase (Socket, Port); in I2cLibRuntimeSetup()
DI2CLibCommon.c24 UINTN GetI2cBase (UINT32 Socket, UINT8 Port) in GetI2cBase() argument
26 return PlatformGetI2cBase(Socket, Port); in GetI2cBase()
30 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port) in I2cLibRuntimeSetup() argument
DI2CLibInternal.h22 UINTN GetI2cBase (UINT32 Socket, UINT8 Port);
25 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port);
/device/generic/goldfish/dhcp/common/include/
Dsocket.h25 class Socket {
27 Socket();
28 Socket(const Socket&) = delete;
29 ~Socket();
31 Socket& operator=(const Socket&) = delete;
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/OemMiscLib2P/
DOemMiscLib2PHi1610.c35 BOOLEAN OemIsSocketPresent (UINTN Socket) in OemIsSocketPresent() argument
37 if (0 == Socket) in OemIsSocketPresent()
42 if(1 == Socket) in OemIsSocketPresent()
70 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel) in OemGetDimmSlot() argument
/device/generic/goldfish/dhcp/common/
Dsocket.cpp64 Socket::Socket() : mSocketFd(-1) { in Socket() function in Socket
67 Socket::~Socket() { in ~Socket()
75 Result Socket::open(int domain, int type, int protocol) { in open()
86 Result Socket::bind(const void* sockaddr, size_t sockaddrLength) { in bind()
101 Result Socket::bindIp(in_addr_t address, uint16_t port) { in bindIp()
111 Result Socket::bindRaw(unsigned int interfaceIndex) { in bindRaw()
121 Result Socket::sendOnInterface(unsigned int interfaceIndex, in sendOnInterface()
166 Result Socket::sendRawUdp(in_addr_t source, in sendRawUdp()
234 Result Socket::receiveFromInterface(Message* message, in receiveFromInterface()
267 Result Socket::receiveRawUdp(uint16_t expectedPort, in receiveRawUdp()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/Library/OemMiscLibD02/
DOemMiscLibD02.c29 BOOLEAN OemIsSocketPresent (UINTN Socket) in OemIsSocketPresent() argument
31 if (0 == Socket) in OemIsSocketPresent()
44 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel) in OemGetDimmSlot() argument
DBoardFeatureD02.c29 .Socket = 0,
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D05/Library/OemMiscLibD05/
DOemMiscLibD05.c41 BOOLEAN OemIsSocketPresent (UINTN Socket) in OemIsSocketPresent() argument
43 if (PcdGet32(PcdSocketMask) & (1 << Socket)) { in OemIsSocketPresent()
68 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel) in OemGetDimmSlot() argument
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Include/Library/
DPlatformSysCtrlLib.h52 UINTN PlatformGetI2cBase(UINT32 Socket,UINT8 Port);
60 DawFindFreeWindow (UINTN Socket, UINTN *DawIndex);
62 VOID DawSetWindow (UINTN Socket, UINTN WindowIndex, UINT32 Value);
83 UINTN PlatformGetCpuFreq (UINT8 Socket);
DI2CLib.h41 UINT32 Socket; member
50 I2CInit(UINT32 Socket, UINT32 Port, SPEED_MODE SpeedMode);
70 I2CSdaConfig(UINT32 Socket, UINT32 Port);
DOemMiscLib.h34 BOOLEAN OemIsSocketPresent (UINTN Socket);
41 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_ssl.c117 PySocketSockObject *Socket; /* Socket on which we're layered */ member
196 if (ret == 0 || !obj->Socket) { in PySSL_SetError()
202 return obj->Socket->errorhandler(); in PySSL_SetError()
283 self->Socket = NULL; in newPySSLObject()
407 self->Socket = Sock; in newPySSLObject()
408 Py_INCREF(self->Socket); in newPySSLObject()
465 nonblocking = (self->Socket->sock_timeout >= 0.0); in PySSL_SSLdo_handshake()
480 sockstate = check_socket_and_wait_for_timeout(self->Socket, 0); in PySSL_SSLdo_handshake()
482 sockstate = check_socket_and_wait_for_timeout(self->Socket, 1); in PySSL_SSLdo_handshake()
1101 Py_XDECREF(self->Socket); in PySSL_dealloc()
[all …]
/device/linaro/poplar/sepolicy/
Dhal_bluetooth_default.te4 # Socket creation under /data/misc/bluedroid.
14 # Socket creation under /data/misc/bluedroid.
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DSockInterface.c397 SOCKET *Socket; in SockAccept() local
443 Socket = NET_LIST_USER_STRUCT (ListEntry, SOCKET, ConnectionList); in SockAccept()
445 if (SOCK_IS_CONNECTED (Socket)) { in SockAccept()
446 ListenToken->NewChildHandle = Socket->SockHandle; in SockAccept()
451 ASSERT (Socket->Parent != NULL); in SockAccept()
453 Socket->Parent->ConnCnt--; in SockAccept()
458 Socket->Parent->ConnCnt) in SockAccept()
460 Socket->Parent = NULL; in SockAccept()
/device/google/cuttlefish/tests/ril/src/com/android/cuttlefish/ril/tests/
DRilE2eTests.java40 import java.net.Socket;
109 try (Socket s = new Socket("google.com", 80)) { in testRilConnects()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp268 SharedFD SharedFD::Socket(int domain, int socket_type, int protocol) { in Socket() function in cvd::SharedFD
286 SharedFD rval = SharedFD::Socket(PF_UNIX, in_type, 0); in SocketLocalClient()
301 SharedFD rval = SharedFD::Socket(AF_INET, type, 0); in SocketLocalClient()
318 SharedFD rval = SharedFD::Socket(AF_INET, type, 0); in SocketLocalServer()
349 SharedFD rval = SharedFD::Socket(PF_UNIX, in_type, 0); in SocketLocalServer()
386 auto vsock = cvd::SharedFD::Socket(AF_VSOCK, type, 0); in VsockServer()
413 auto vsock = cvd::SharedFD::Socket(AF_VSOCK, type, 0); in VsockClient()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
DMiscProcessorInformationFunction.c160 CHAR16 *Socket=NULL;
268 Socket = SmbiosMiscGetString (TokenToGet);
269 SocketStrLen = StrLen(Socket);
337 SmbiosRecord-> Socket= 1;
440 UnicodeStrToAsciiStr(Socket, OptionalStrStart);
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DSockInterface.c411 SOCKET *Socket; in SockAccept() local
460 Socket = NET_LIST_USER_STRUCT (ListEntry, SOCKET, ConnectionList); in SockAccept()
462 if (SOCK_IS_CONNECTED (Socket)) { in SockAccept()
463 ListenToken->NewChildHandle = Socket->SockHandle; in SockAccept()
468 ASSERT (Socket->Parent != NULL); in SockAccept()
470 Socket->Parent->ConnCnt--; in SockAccept()
475 Socket->Parent->ConnCnt) in SockAccept()
477 Socket->Parent = NULL; in SockAccept()
/device/google/cuttlefish/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java36 import java.net.Socket;
182 try (Socket s = new Socket("google.com", 80)) { in testWifiConnects()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSource/
DDataSource.c52 int Socket = -1; variable
337 if ( -1 != Socket ) { in SocketClose()
341 CloseStatus = close ( Socket ); in SocketClose()
345 Socket )); in SocketClose()
346 Socket = -1; in SocketClose()
434 ConnectStatus = connect ( Socket, in SocketConnect()
519 Socket = socket ( Family, in SocketNew()
522 if ( -1 != Socket ) { in SocketNew()
525 Socket )); in SocketNew()
528 } while ( -1 == Socket ); in SocketNew()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/OemNicConfigD02/
DOemNicConfigD02.c58 stI2cDev.Socket = 0; in OemGetMacE2prom()
88 stI2cDev.Socket = 0; in OemSetMacE2prom()
/device/generic/goldfish/dhcp/client/
Ddhcpclient.h101 Socket mSocket;
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/
DNetUtil.inf2 # BSD Socket Library, Infrastructure functions.

123