Searched refs:address (Results 1 - 25 of 764) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/network/wb840/
H A Ddevice.h16 # define write8(address,value) (*gPci->write_io_8)((address),(value))
17 # define write16(address,value) (*gPci->write_io_16)((address),(value))
18 # define write32(address,value) (*gPci->write_io_32)((address),(value))
19 # define read8(address) ((*gPci->read_io_8)(address))
20 # define read16(address) ((*gPci->read_io_16)(address))
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/arch/ppc/
H A Dpci_io.h12 ppc_out8(vuint8 *address, uint8 value) argument
14 *address = value;
20 ppc_out16(vuint16 *address, uint16 value) argument
22 *address = value;
28 ppc_out16_reverse(vuint16 *address, uint16 value) argument
30 asm volatile("sthbrx %1, 0, %0" : : "r"(address), "r"(value));
36 ppc_out32(vuint32 *address, uint32 value) argument
38 *address = value;
44 ppc_out32_reverse(vuint32 *address, uint32 value) argument
46 asm volatile("stwbrx %1, 0, %0" : : "r"(address), "
52 ppc_in8(const vuint8 *address) argument
61 ppc_in16(const vuint16 *address) argument
70 ppc_in16_reverse(const vuint16 *address) argument
80 ppc_in32(const vuint32 *address) argument
89 ppc_in32_reverse(const vuint32 *address) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/arch/sparc/
H A Dpci_io.h12 sparc_out8(vuint8 *address, uint8 value) argument
14 *address = value;
20 sparc_out16(vuint16 *address, uint16 value) argument
22 *address = value;
28 sparc_out16_reverse(vuint16 *address, uint16 value) argument
30 asm volatile("stha %1, [%0] 0x88" : : "r"(address), "r"(value));
36 sparc_out32(vuint32 *address, uint32 value) argument
38 *address = value;
44 sparc_out32_reverse(vuint32 *address, uint32 value) argument
46 asm volatile("stwa %1, [%0] 0x88" : : "r"(address), "
52 sparc_in8(const vuint8 *address) argument
61 sparc_in16(const vuint16 *address) argument
70 sparc_in16_reverse(const vuint16 *address) argument
80 sparc_in32(const vuint32 *address) argument
89 sparc_in32_reverse(const vuint32 *address) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/arch/m68k/
H A Dpci_io.h15 m68k_out8(vuint8 *address, uint8 value) argument
17 *address = value;
23 m68k_out16(vuint16 *address, uint16 value) argument
25 *address = value;
31 m68k_out16_reverse(vuint16 *address, uint16 value) argument
33 asm volatile("sthbrx %1, 0, %0" : : "r"(address), "r"(value));
40 m68k_out32(vuint32 *address, uint32 value) argument
42 *address = value;
49 m68k_out32_reverse(vuint32 *address, uint32 value) argument
51 asm volatile("stwbrx %1, 0, %0" : : "r"(address), "
57 m68k_in8(const vuint8 *address) argument
66 m68k_in16(const vuint16 *address) argument
76 m68k_in16_reverse(const vuint16 *address) argument
87 m68k_in32(const vuint32 *address) argument
97 m68k_in32_reverse(const vuint32 *address) argument
[all...]
/haiku/headers/private/shared/
H A DBytePointer.h15 char* address; member in struct:BytePointer
17 BytePointer(void* base) { address = (char*)base; }
19 T* operator&() { return reinterpret_cast<T*>(address); }
20 T* operator->() { return reinterpret_cast<T*>(address); }
21 void operator+=(size_t offset) { address += offset; }
22 char* operator+(size_t offset) const { return address + offset; }
/haiku/src/apps/terminal/
H A DHyperLink.cpp23 HyperLink::HyperLink(const BString& address, Type type) argument
25 fText(address),
26 fAddress(address),
32 HyperLink::HyperLink(const BString& text, const BString& address, Type type) argument
35 fAddress(address),
48 BString address(fAddress);
49 address.CharacterEscape(kShellEscapeCharacters, '\\');
51 commandLine.SetToFormat("/bin/open %s", address.String());
/haiku/src/tests/system/boot/loader/
H A Dplatform_mmu.cpp17 printf("platform_allocate_region(address = %p, size = %lu, protection = %u, exactAdress = %d)\n",
20 void *address = malloc(size); local
21 if (address == NULL)
24 *_address = address;
30 platform_free_region(void *address, size_t size) argument
32 free(address);
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/
H A DAreaSupport.cpp7 UserlandFSUtil::get_area_for_address(void* address, int32 size, area_id* area, argument
13 // catch NULL address case
14 if (!address) {
20 *area = area_for(address);
28 *offset = (uint8*)address - (uint8*)areaInfo.address;
32 *areaBaseAddress = areaInfo.address;
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DI2CPort.h32 bool Probe(int address);
35 bool Write(int address, const char * buffer, int length);
37 bool Read(int address, char * buffer, int length);
39 bool Write(int address, const char * buffer, int length, char * output, int outlen);
42 int Register(int address, int index);
44 void SetRegister(int address, int index, int value);
47 int Send(int address, const char * buffer, int length, bool start, bool stop);
49 int Receive(int address, char * buffer, int length, bool start, bool stop);
/haiku/src/system/libroot/os/
H A Dmemory.cpp13 get_memory_properties(team_id teamID, const void* address, uint32* _protected, argument
16 return _kern_get_memory_properties(teamID, address, _protected, _lock);
/haiku/src/data/dts/arch/arm/
H A Dskeleton.dtsi8 #address-cells = <1>;
/haiku/src/kits/debugger/model/
H A DWatchpoint.cpp9 Watchpoint::Watchpoint(target_addr_t address, uint32 type, int32 length) argument
11 fAddress(address),
40 Watchpoint::Contains(target_addr_t address) const
42 return address >= fAddress && address <= (fAddress + fLength);
56 Watchpoint::CompareAddressWatchpoint(const target_addr_t* address, argument
59 if (*address < watchpoint->Address())
61 return *address == watchpoint->Address() ? 0 : 1;
H A DReturnValueInfo.cpp21 ReturnValueInfo::ReturnValueInfo(target_addr_t address, CpuState* state) argument
24 fAddress(address),
39 ReturnValueInfo::SetTo(target_addr_t address, CpuState* state) argument
41 fAddress = address;
H A DSymbolInfo.cpp19 SymbolInfo::SymbolInfo(target_addr_t address, target_size_t size, uint32 type, argument
22 fAddress(address),
36 SymbolInfo::SetTo(target_addr_t address, target_size_t size, uint32 type, argument
39 fAddress = address;
/haiku/src/add-ons/kernel/drivers/graphics/radeon_hd/
H A Ddriver.h25 #define read8(address) (*((volatile uint8*)(address)))
26 #define read16(address) (*((volatile uint16*)(address)))
27 #define read32(address) (*((volatile uint32*)(address)))
28 #define write8(address, data) (*((volatile uint8*)(address)) = (data))
29 #define write16(address, data) (*((volatile uint16*)(address))
[all...]
/haiku/src/system/boot/platform/openfirmware/
H A Dmmu.cpp21 void *address = arch_mmu_allocate(*_address, size, protection, local
23 if (address == NULL)
26 *_address = address;
32 platform_free_region(void *address, size_t size) argument
34 return arch_mmu_free(address, size);
/haiku/headers/os/net/
H A DNetworkAddress.h22 BNetworkAddress(const char* address,
24 BNetworkAddress(const char* address,
26 BNetworkAddress(int family, const char* address,
28 BNetworkAddress(int family, const char* address,
30 BNetworkAddress(const sockaddr& address);
32 const sockaddr_storage& address);
33 BNetworkAddress(const sockaddr_in& address);
34 BNetworkAddress(const sockaddr_in6& address);
35 BNetworkAddress(const sockaddr_dl& address);
36 BNetworkAddress(in_addr_t address,
[all...]
H A DNetworkAddressResolver.h30 BNetworkAddressResolver(const char* address,
32 BNetworkAddressResolver(const char* address,
35 const char* address, uint16 port = 0,
38 const char* address, const char* service,
46 status_t SetTo(const char* address, uint16 port = 0,
48 status_t SetTo(const char* address, const char* service,
50 status_t SetTo(int family, const char* address,
52 status_t SetTo(int family, const char* address,
56 BNetworkAddress& address) const;
58 BNetworkAddress& address) cons
82 CacheEntry(int family, const char* address, const char* service, uint32 flags, BNetworkAddressResolver* resolver) argument
93 Matches(int family, BString address, BString service, uint32 flags) argument
[all...]
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixAddress.cpp111 unix_is_empty_address(const sockaddr *address, bool checkPort) argument
113 return address == NULL || address->sa_len == 0
114 || address->sa_family == AF_UNSPEC
115 || (address->sa_len >= kEmptyAddress.sun_len
116 && memcmp(address, &kEmptyAddress, kEmptyAddress.sun_len) == 0);
121 unix_is_same_family(const sockaddr *address) argument
123 if (address == NULL)
126 return address->sa_family == AF_UNIX;
138 unix_check_mask(const sockaddr *address) argument
167 unix_print_address(const sockaddr *address, char **_buffer, bool printPort) argument
181 unix_get_port(const sockaddr *address) argument
188 unix_set_port(sockaddr *address, uint16 port) argument
195 unix_set_to(sockaddr *address, const sockaddr *from) argument
209 unix_set_to_empty_address(sockaddr *address) argument
216 unix_mask_address(const sockaddr *address, const sockaddr *mask, sockaddr *result) argument
225 unix_set_to_defaults(sockaddr *defaultMask, sockaddr *defaultBroadcast, const sockaddr *address, const sockaddr *netmask) argument
242 unix_update_to(sockaddr *address, const sockaddr *from) argument
257 sockaddr_un* address = (sockaddr_un*)_address; local
[all...]
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_address.cpp25 #define L2CAP_CHECKSUM(address) \
26 (address.b[0] + address.b[1] + address.b[2] + address.b[3] \
27 + address.b[4] + address.b[5])
30 /*! Routing utility function: copies address \a from into a new address
33 address
75 l2cap_mask_address(const sockaddr *address, const sockaddr *mask, sockaddr *result) argument
91 l2cap_is_empty_address(const sockaddr *address, bool checkPort) argument
108 l2cap_is_same_family(const sockaddr *address) argument
223 const sockaddr_l2cap *address = (const sockaddr_l2cap *)_address; local
270 l2cap_get_port(const sockaddr *address) argument
284 l2cap_set_port(sockaddr *address, uint16 port) argument
300 l2cap_set_to(sockaddr *address, const sockaddr *from) argument
317 sockaddr_l2cap *address = (sockaddr_l2cap *)_address; local
344 l2cap_set_to_empty_address(sockaddr *address) argument
371 const sockaddr_l2cap* address = (const sockaddr_l2cap*)_address; local
400 l2cap_checksum_address(struct Checksum *checksum, const sockaddr *address) argument
[all...]
/haiku/src/system/kernel/debug/
H A DBreakpointManager.h22 status_t InstallBreakpoint(void* address);
23 status_t UninstallBreakpoint(void* address);
25 status_t InstallWatchpoint(void* address, uint32 type,
27 status_t UninstallWatchpoint(void* address);
32 static bool CanAccessAddress(const void* address,
39 void PrepareToContinue(void* address);
45 addr_t address; member in struct:BreakpointManager::Breakpoint
58 addr_t address; member in struct:BreakpointManager::InstalledBreakpoint
60 InstalledBreakpoint(addr_t address);
65 addr_t address; member in struct:BreakpointManager::InstalledWatchpoint
[all...]
/haiku/src/bin/network/arp/
H A Darp.cpp40 ethernet_address_to_string(uint8 *address) argument
44 address[0], address[1], address[2], address[3], address[4], address[5]);
50 parse_ethernet_address(const char *string, uint8 *address) argument
52 return sscanf(string, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &address[0], &address[
58 parse_inet_address(const char* string, sockaddr_in& address) argument
159 in_addr address; local
194 list_entries(sockaddr_in *address) argument
221 delete_entry(sockaddr_in *address) argument
237 set_entry(sockaddr_in *address, uint8 *ethernetAddress, uint32 flags) argument
278 sockaddr_in address; local
403 sockaddr_in address; local
[all...]
/haiku/src/servers/print/
H A DResourceManager.cpp13 Resource::Resource(const char* transport, const char* address, const char* connection) argument
15 , fTransportAddress(address)
46 Resource::Equals(const char* transport, const char* address, const char* connection) { argument
48 fTransportAddress == address &&
76 ResourceManager::Find(const char* transport, const char* address, const char* connection) { argument
79 if (r->Equals(transport, address, connection)) return r;
86 ResourceManager::Allocate(const char* transport, const char* address, const char* connection) { argument
87 Resource* r = Find(transport, address, connection);
89 r = new Resource(transport, address, connection);
H A DResourceManager.h26 Resource(const char* transport, const char* address, const char* connection);
31 bool Equals(const char* transport, const char* address, const char* connection);
43 Resource* Find(const char* transport, const char* address, const char* connection);
48 Resource* Allocate(const char* transport, const char* address, const char* connection);
/haiku/src/system/libroot/stubbed/
H A Dgenerate_stubs.py14 # ignore lines without an address
17 (address, type, symbol) = line.split()
30 versionedDataSymbolsByName[symbol] = address
33 dataSymbolsByAddress[address] = symbol
37 versionedFunctionSymbolsByName[symbol] = address
40 functionSymbolsByAddress[address] = symbol
59 address = versionedDataSymbolsByName[symbol] variable
60 targetSymbol = dataSymbolsByAddress[address]
67 address = versionedFunctionSymbolsByName[symbol] variable
68 targetSymbol = functionSymbolsByAddress[address]
[all...]

Completed in 292 milliseconds

1234567891011>>