Searched refs:command (Results 1 - 25 of 320) sorted by last modified time

1234567891011>>

/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_signal.h14 status_t send_l2cap_command(HciConnection* conn, uint8 code, uint8 ident, net_buffer* command);
H A Dl2cap_command.cpp27 NetBufferPrepend<l2cap_command_reject> command(buffer.Get());
28 if (command.Status() != B_OK)
32 command->reason = (uint16)htole16(reason);
45 NetBufferPrepend<l2cap_connection_req> command(buffer.Get());
46 if (command.Status() != B_OK)
50 command->psm = htole16(psm);
51 command->scid = htole16(scid);
64 NetBufferPrepend<l2cap_connection_rsp> command(buffer.Get());
65 if (command.Status() != B_OK)
69 command
[all...]
H A Dl2cap_signal.cpp42 NetBufferHeaderReader<l2cap_connection_req> command(buffer);
43 if (command.Status() != B_OK)
46 const uint16 psm = le16toh(command->psm);
47 const uint16 scid = le16toh(command->scid);
65 NetBufferHeaderReader<l2cap_connection_rsp> command(buffer);
66 if (command.Status() != B_OK)
70 response.dcid = le16toh(command->dcid);
71 response.scid = le16toh(command->scid);
72 response.result = le16toh(command->result);
73 response.status = le16toh(command
336 send_l2cap_command(HciConnection* conn, uint8 code, uint8 ident, net_buffer* command) argument
[all...]
/haiku/headers/os/bluetooth/HCI/
H A DbtHCI_transport.h64 status_t (*SendCommand)(hci_id hciId, void* command);
/haiku/src/add-ons/kernel/busses/mmc/
H A Dsdhci.cpp95 // interrupt trigger on them (we get a "command complete" interrupt on
153 SdhciBus::ExecuteCommand(uint8_t command, uint32_t argument, uint32_t* response) argument
155 TRACE("ExecuteCommand(%d, %x)\n", command, argument);
160 // Check if it's possible to send a command right now.
161 // It is not possible to send a command as long as the command line is busy.
165 // Note that this should normally never happen: the command line is busy
166 // only during command execution, and we don't leave this function with ac
167 // command running.
169 panic("Command execution impossible, command inhibi
365 DoIO(uint8_t command, IOOperation* operation, bool offsetAsSectors) argument
778 execute_command(void* controller, uint8_t command, uint32_t argument, uint32_t* response) argument
787 do_io(void* controller, uint8_t command, IOOperation* operation, bool offsetAsSectors) argument
[all...]
H A Dsdhci.h38 status_t ExecuteCommand(uint8_t command, uint32_t argument,
44 status_t DoIO(uint8_t command, IOOperation* operation,
107 void SendCommand(uint8_t command, uint8_t type) argument
109 fBits = (command << 8) | type;
223 #define SDHCI_INT_CMD_CMP 0x00000001 // command complete enable
320 // SD command generation
326 Command command; member in struct:registers
438 status_t execute_command(void* controller, uint8_t command,
440 status_t do_io(void* controller, uint8_t command,
/haiku/src/add-ons/kernel/bus_managers/mmc/
H A Dmmc_bus.cpp85 MMCBus::ExecuteCommand(uint16_t rca, uint8_t command, uint32_t argument, argument
91 return fController->execute_command(fCookie, command, argument, response);
96 MMCBus::DoIO(uint16_t rca, uint8_t command, IOOperation* operation, argument
102 return fController->do_io(fCookie, command, operation, offsetAsSectors);
159 // This does not work if the bus has not been powered on yet (the command
179 // command. With the default 400kHz clock that would be 20 microseconds,
180 // but we need to wait at least 20ms here, otherwise the next command times
/haiku/src/tools/fs_shell/
H A Dfssh.cpp50 // command line args
163 fprintf(stderr, "No function given for command \"%s\"\n", Name());
188 CommandManager::AddCommand(Command* command) argument
190 // The command name may consist of several aliases. Split them and
191 // register the command for each of them.
194 strcpy(names, command->Name());
198 fCommands[name] = command;
250 Command* command = it->second; local
251 printf("%-16s - %s\n", name, command->Description());
1558 // read command lin
1575 Command* command = CommandManager::Default()->FindCommand(argv[0]); local
[all...]
/haiku/src/apps/terminal/
H A DTermWindow.cpp1806 TermWindow::_MakeFontSizeMenu(uint32 command, uint8 defaultSize) argument
1821 BMessage* message = new BMessage(command);
1836 BMessage* message = new BMessage(command);
/haiku/src/libs/compat/freebsd_network/
H A Dpci.cpp184 uint16_t command = pci_read_config(dev, PCI_command, 2); local
185 pci_write_config(dev, PCI_command, command | bit, 2);
H A Dif.c849 ether_ioctl(struct ifnet *ifp, u_long command, caddr_t data) argument
853 //dprintf("ether_ioctl: received %d\n", command);
855 switch (command) {
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp183 uint16 command = pci->read_pci_config(pcidev, PCI_command, 2); local
184 command |= PCI_command_master | PCI_command_memory;
185 pci->write_pci_config(pcidev, PCI_command, 2, command);
228 command = pci->read_pci_config(pcidev, PCI_command, 2);
229 command &= ~(PCI_command_int_disable);
230 pci->write_pci_config(pcidev, PCI_command, 2, command);
/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.cpp383 uint16 command = fPci->read_pci_config(fDevice, PCI_command, 2); local
384 command &= ~(PCI_command_io | PCI_command_int_disable);
385 command |= PCI_command_master | PCI_command_memory;
387 fPci->write_pci_config(fDevice, PCI_command, 2, command);
1129 // It is possible that while waiting for the stop-endpoint command to
1136 // same time our STOP command was in progress, causing a "Context State"
1989 // The Deconfigure bit in the Configure Endpoint command indicates
2572 TRACE("command[%u] = %" B_PRId32 " (0x%016" B_PRIx64 ", 0x%08" B_PRIx32
2610 TRACE("Received command event\n");
2615 TRACE_ERROR("received command even
[all...]
H A Duhci.cpp559 uint16 command = PCI_command_io | PCI_command_master | PCI_command_memory; local
560 command |= fPci->read_pci_config(fDevice, PCI_command, 2);
562 fPci->write_pci_config(fDevice, PCI_command, 2, command);
781 // Set the run bit in the command register
H A Dohci.cpp308 uint16 command = fPci->read_pci_config(fDevice, PCI_command, 2); local
309 command &= ~PCI_command_io;
310 command |= PCI_command_master | PCI_command_memory;
312 fPci->write_pci_config(fDevice, PCI_command, 2, command);
H A Dehci.cpp421 uint16 command = fPci->read_pci_config(fDevice, PCI_command, 2); local
422 command &= ~PCI_command_io;
423 command |= PCI_command_master | PCI_command_memory;
425 fPci->write_pci_config(fDevice, PCI_command, 2, command);
600 command = fPci->read_pci_config(fDevice, PCI_command, 2);
601 if ((polling || fUseMSI) == ((command & PCI_command_int_disable) == 0)) {
603 command &= ~PCI_command_int_disable;
605 command |= PCI_command_int_disable;
607 fPci->write_pci_config(fDevice, PCI_command, 2, command);
/haiku/src/kits/interface/
H A DMenu.cpp178 "found in \"data\" and the int32 command found in \"what\" (used as "
204 "found in \"data\" and the int32 command found in \"what\" (used as "
1012 BMenu::FindItem(uint32 command) const
1019 if (item->Command() == command)
1023 item = item->Submenu()->FindItem(command);
2611 bool command = false; local
2639 command = true;
2664 if (command) {
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.cpp344 // receiving the command status wrapper failed
418 TRACE_ALWAYS("receiving the command status interrupt failed\n");
442 usb_massbulk_command_block_wrapper command; local
443 command.signature = USB_MASSBULK_CBW_SIGNATURE;
444 command.tag = device->current_tag++;
445 command.data_transfer_length = (dataLength != NULL ? *dataLength : 0);
446 command.flags = (directionIn ? USB_MASSBULK_CBW_DATA_INPUT
448 command.lun = lun->logical_unit_number;
449 command.command_block_length
451 memset(command
[all...]
/haiku/src/kits/tracker/
H A DDeskWindow.cpp320 BString command; local
321 if (message.FindString("command", &command) != B_OK)
330 if (command.StartsWith(addOnPaths.StringAt(i))) {
339 BEntry entry(command);
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c4357 iflib_if_ioctl(if_t ifp, u_long command, caddr_t data) argument
4367 switch (command) {
4390 err = ether_ioctl(ifp, command, data);
4454 err = ifmedia_ioctl(ifp, ifr, ctx->ifc_mediap, command);
4527 err = IFDI_PRIV_IOCTL(ctx, command, data);
4531 err = ether_ioctl(ifp, command, data);
/haiku/src/add-ons/kernel/drivers/disk/mmc/
H A Dmmc_disk.cpp132 uint8_t command; local
134 command = SD_WRITE_MULTIPLE_BLOCKS;
136 command = SD_READ_MULTIPLE_BLOCKS;
138 command, operation, (info->flags & kIoCommandOffsetAsSectors) != 0);
/haiku/src/apps/icon-o-matic/gui/
H A DStyleListView.cpp300 AddStylesCommand* command; local
310 new_style(color, fStyleContainer, &style, &command);
311 fCommandStack->Perform(command);
356 ResetTransformationCommand* command local
359 fCommandStack->Perform(command);
409 ::Command* command = new AssignStyleCommand( local
411 fCommandStack->Perform(command);
476 AddCommand<Style>* command = new(std::nothrow) AddCommand<Style>(
479 if (command == NULL) {
485 fCommandStack->Perform(command);
508 MoveStylesCommand* command = new (nothrow) MoveStylesCommand( local
534 AddCommand<Style>* command local
557 RemoveStylesCommand* command local
[all...]
H A DPathListView.cpp350 ::Command* command; local
352 command = new UnassignPathCommand(fCurrentShape, path);
356 command = new AddPathsCommand(fCurrentShape->Paths(),
359 fCommandStack->Perform(command);
376 AddPathsCommand* command; local
377 new_path(fPathContainer, &path, &command);
378 fCommandStack->Perform(command);
385 AddPathsCommand* command; local
386 new_path(fPathContainer, &path, &command);
394 fCommandStack->Perform(command);
402 AddPathsCommand* command; local
443 AddPathsCommand* command; local
456 ReversePathCommand* command local
469 CleanUpPathCommand* command local
483 RotatePathIndicesCommand* command local
586 MovePathsCommand* command = new (nothrow) MovePathsCommand(fPathContainer, local
612 AddPathsCommand* command = new(nothrow) AddPathsCommand(fPathContainer, local
635 RemovePathsCommand* command = new (nothrow) RemovePathsCommand( local
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DListViews.h74 virtual void SetDragCommand(uint32 command);
H A DListViews.cpp386 DragSortableListView::SetDragCommand(uint32 command) argument
388 fDragCommand = command;

Completed in 172 milliseconds

1234567891011>>