/haiku/src/add-ons/kernel/drivers/audio/sb16/ |
H A D | sb16_hw.c | 27 if (!(gISA->read_io_8(dev->port + SB16_CODEC_WRITE_STATUS) & 0x80)) 31 /* write a byte to the DSP data port */ 32 gISA->write_io_8(dev->port + SB16_CODEC_WRITE_DATA, value); 42 if (gISA->read_io_8(dev->port + SB16_CODEC_READ_STATUS) & 0x80) 46 /* read a byte from the DSP data port */ 47 return gISA->read_io_8(dev->port + SB16_CODEC_READ_DATA); 55 gISA->write_io_8(dev->port + SB16_MIXER_ADDRESS, index); 56 gISA->write_io_8(dev->port + SB16_MIXER_DATA, value); 64 gISA->write_io_8(dev->port + SB16_MIXER_ADDRESS, index); 65 return gISA->read_io_8(dev->port [all...] |
/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | pcm.c | 122 pcm_dev * port, 126 state->control = get_direct(port->card, 0); 127 state->imask = get_direct(port->card, 1); 130 state->regs[ix] = get_indirect(port->card, ix+0x30); 138 pcm_dev * port, 142 set_direct(port->card, 0, state->control, 0xff); 145 set_indirect(port->card, ix, state->regs[ix]+0x30, 0xff); 148 set_direct(port->card, 1, state->imask, 0xff); 154 pcm_dev * port) 156 set_direct(port 165 stop_dma( pcm_dev * port) argument 178 start_dma( pcm_dev * port) argument 259 configure_pcm( pcm_dev * port, pcm_cfg * config, bool force) argument 465 pcm_dev * port = NULL; local 630 pcm_dev * port = (pcm_dev *)cookie; local 688 pcm_dev * port = (pcm_dev *)cookie; local 724 pcm_dev * port = (pcm_dev *)cookie; local 1351 pcm_dev * port = (pcm_dev *)cookie; local 1455 pcm_dev * port = (pcm_dev *)cookie; local 1566 pcm_dev * port = &dev->pcm; local 1660 pcm_dev * port = &dev->pcm; local [all...] |
H A D | mixer.c | 37 int port; member in struct:__anon8 149 val = get_indirect(card, the_mixers[ix].port); 225 set_indirect(card, the_mixers[selector].port, value, mask);
|
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 4463 fssh_port_id port, int32_t token, bool kernel) 4479 status = FS_MOUNT_CALL(mount, open_query, query, flags, port, token, &cookie); 5741 uint32_t flags, fssh_port_id port, int32_t token) 5743 return query_open(device, query, flags, port, token, false); 4462 query_open(fssh_dev_t device, const char *query, uint32_t flags, fssh_port_id port, int32_t token, bool kernel) argument 5740 _kern_open_query(fssh_dev_t device, const char *query, fssh_size_t queryLength, uint32_t flags, fssh_port_id port, int32_t token) argument
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 7228 query_open(dev_t device, const char* query, uint32 flags, port_id port, argument 7246 status = FS_MOUNT_CALL(mount, open_query, query, flags, port, token, 10053 uint32 flags, port_id port, int32 token) 10072 return query_open(device, query, flags, port, token, false); 10052 _user_open_query(dev_t device, const char* userQuery, size_t queryLength, uint32 flags, port_id port, int32 token) argument
|
/haiku/src/add-ons/kernel/network/protocols/tcp/ |
H A D | EndpointManager.cpp | 179 EndpointHashDefinition::HashKey(uint16 port) const 181 return port; 193 EndpointHashDefinition::Compare(uint16 port, TCPEndpoint* endpoint) const argument 195 return endpoint->LocalAddress().Port() == port; 270 uint16 port = local.Port(); local 272 local.SetPort(port); 291 // socket to connect to a different remote (address, port) than it was 409 uint16 port = address.Port(); local 416 if (ntohs(port) <= kLastReservedPort && geteuid() != 0) 422 EndpointTable::ValueIterator portUsers = fEndpointHash.Lookup(port); 479 uint16 port = counter & 0xffff; local [all...] |
H A D | EndpointManager.h | 60 size_t HashKey(uint16 port) const; 62 bool Compare(uint16 port, TCPEndpoint* endpoint) const;
|
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | uhci.cpp | 1895 // the port is automagically powered on 1953 TRACE("reset port %d\n", index); 1955 uint32 port = UHCI_PORTSC1 + index * 2; local 1956 uint16 status = ReadReg16(port); 1958 WriteReg16(port, status | UHCI_PORTSC_RESET); 1961 status = ReadReg16(port); 1963 WriteReg16(port, status & ~UHCI_PORTSC_RESET); 1967 // try to enable the port 1968 status = ReadReg16(port); 1970 WriteReg16(port, statu [all...] |
/haiku/src/bin/network/traceroute/ |
H A D | traceroute.c | 29 * with a ttl of one and increase by one until we get an icmp "port 41 * host to process them so the destination port is set to an 154 * The udp port usage may appear bizarre (well, ok, it is bizarre). 164 * source port (the high bit is set to move the port number out 168 * port number before each probe. 338 u_short port; /* protocol specific base "port" */ variable 353 int fixedPort = 0; /* Use fixed destination port for TCP and UDP */ 410 u_short port; /* defaul member in struct:outproto [all...] |
/haiku/src/add-ons/media/media-add-ons/multi_audio/ |
H A D | MultiAudioNode.cpp | 400 input->destination.port = ControlPort(); 463 output->source.port = ControlPort();
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | accelerant.cpp | 213 Port* port = gInfo->ports[i]; local 214 if (!port) { 215 TRACE("port %" B_PRIu32 ":: INVALID ALLOC!\n", i); 218 TRACE("port %" B_PRIu32 ": %s %s\n", i, port->PortName(), 219 port->IsConnected() ? "connected" : "disconnected"); 228 Port* port = gInfo->ports[i]; local 229 if (type != INTEL_PORT_TYPE_ANY && port->Type() != type) 231 if (portIndex != INTEL_PORT_ANY && port->PortIndex() != portIndex) 349 // Ensure port no [all...] |
H A D | Ports.cpp | 326 // scan all our pipes to find the one connected to the current port 426 ERROR("%s: DVO port unknown\n", __func__); 429 dvo_port port = (dvo_port)config.dvo_port; local 432 found = port == DVO_PORT_HDMIA || port == DVO_PORT_DPA; 435 found = port == DVO_PORT_HDMIB || port == DVO_PORT_DPB; 438 found = port == DVO_PORT_HDMIC || port == DVO_PORT_DPC; 441 found = port 728 Port* port = (Port*)bus->cookie; local [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/ |
H A D | RequestAllocator.cpp | 19 RequestAllocator::RequestAllocator(Port* port) argument 30 Init(port); 41 RequestAllocator::Init(Port* port) argument 44 if (port) { 45 fPort = port; 134 // read the message from the port 200 // port buffer. 206 // get the next free aligned offset in the port buffer 210 // there's enough free space in the port buffer 234 // not enough room in the port' [all...] |
/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | Pipe.cpp | 61 Pipe::SetHubInfo(int8 address, uint8 port) argument 64 fHubPort = port;
|
/haiku/src/system/kernel/events/ |
H A D | event_queue.cpp | 14 #include <port.h>
|
/haiku/src/tests/system/network/tcp_shell/ |
H A D | tcp_shell.cpp | 1404 int port = 1024; local 1409 port = atoi(argv[1]); 1411 fprintf(stderr, "usage: connect [-s|<port-number>]\n"); 1417 // bind to a port first, so the other end can find us 1427 fprintf(stderr, "Could not bind to port 1023: %s\n", strerror(status)); 1438 address.sin_port = htons(port);
|
/haiku/src/add-ons/kernel/drivers/misc/ |
H A D | poke.cpp | 155 ioctl.value = isa->read_io_8(ioctl.port); 158 ioctl.value = isa->read_io_16(ioctl.port); 161 ioctl.value = isa->read_io_32(ioctl.port); 183 isa->write_io_8(ioctl.port, ioctl.value); 186 isa->write_io_16(ioctl.port, ioctl.value); 189 isa->write_io_32(ioctl.port, ioctl.value); 206 isa->write_io_8(ioctl.port, ioctl.size); 207 ioctl.value = isa->read_io_8(ioctl.port + 1); 222 isa->write_io_8(ioctl.port, ioctl.size); 223 isa->write_io_8(ioctl.port [all...] |
/haiku/headers/private/drivers/ |
H A D | poke.h | 42 uint16 port; member in struct:__anon3
|
/haiku/src/servers/app/ |
H A D | Desktop.h | 271 Window* WindowForClientLooperPort(port_id port);
|
H A D | Desktop.cpp | 2612 // 1) port_id - receiver port of a regular app 2613 // 2) port_id - client looper port - for sending messages to the 2708 // 1) port_id reply port 2896 Desktop::WindowForClientLooperPort(port_id port) argument 2902 if (window->ServerWindow()->ClientLooperPort() == port)
|
/haiku/src/tools/remote_disk_server/ |
H A D | remote_disk_server.cpp | 164 // bind it to the port 170 fprintf(stderr, "Error: Failed to bind socket to port %hu: %s\n", 281 reply->port = htons(REMOTE_DISK_SERVER_PORT);
|
/haiku/src/add-ons/kernel/file_systems/packagefs/ |
H A D | kernel_interface.cpp | 973 port_id port, uint32 token, void** _cookie) 977 FUNCTION("volume: %p, query: \"%s\", flags: %#" B_PRIx32 ", port: %" 978 B_PRId32 ", token: %" B_PRIu32 "\n", volume, queryString, flags, port, 984 status_t error = Query::Create(volume, queryString, flags, port, token, 972 packagefs_open_query(fs_volume* fsVolume, const char* queryString, uint32 flags, port_id port, uint32 token, void** _cookie) argument
|
/haiku/src/system/kernel/debug/ |
H A D | debug.cpp | 1251 // The port is gone, there is no need to run anymore 2290 _user_register_syslog_daemon(port_id port) argument 2295 sSyslogPort = port;
|
/haiku/src/system/libnetwork/netresolv/net/ |
H A D | getservbyport.c | 52 getservbyport(int port, const char *proto) argument 57 s = getservbyport_r(port, proto, &_servent_data.serv, &_servent_data);
|
H A D | getservbyport_r.c | 52 _servent_getbyport(struct servent_data *sd, struct servent *sp, int port, argument 67 port = ntohs(port); 75 if (port < 0 || port > 65536) 80 be16enc(buf + 2, port); 91 if (be16dec(data) != port) 106 if (sp->s_port != port) 116 getservbyport_r(int port, const char *proto, struct servent *sp, argument 120 sp = _servent_getbyport(sd, sp, port, prot [all...] |