| /system/public/zircon/hw/usb/ |
| A D | ums.h | 54 uint8_t opcode; member 65 uint8_t opcode; member 78 uint8_t opcode; member 90 uint8_t opcode; member 119 uint8_t opcode; // UMS_MODE_SENSE6 member
|
| /system/ulib/block-client/ |
| A D | client.c | 105 requests[i].opcode = (requests[i].opcode & BLOCKIO_OP_MASK) | BLOCKIO_GROUP_ITEM; in block_fifo_txn() 108 requests[0].opcode |= BLOCKIO_BARRIER_BEFORE; in block_fifo_txn() 109 requests[count - 1].opcode |= BLOCKIO_GROUP_LAST | BLOCKIO_BARRIER_AFTER; in block_fifo_txn()
|
| /system/utest/ramdisk/ |
| A D | ramdisk.cpp | 413 request.opcode = BLOCKIO_WRITE; in RamdiskTestReleaseDuringFifoAccess() 566 requests[0].opcode = BLOCKIO_READ; in RamdiskTestFifoBasic() 567 requests[1].opcode = BLOCKIO_READ; in RamdiskTestFifoBasic() 659 requests[0].opcode = BLOCKIO_READ; in RamdiskTestFifoNoGroup() 660 requests[1].opcode = BLOCKIO_READ; in RamdiskTestFifoNoGroup() 766 request.opcode = BLOCKIO_CLOSE_VMO; in close_vmo_helper() 1300 request.opcode = BLOCKIO_READ; in RamdiskTestFifoBadClientBadVmo() 1375 requests[0].opcode = BLOCKIO_READ; in RamdiskTestFifoSleepUnavailable() 1376 requests[1].opcode = BLOCKIO_READ; in RamdiskTestFifoSleepUnavailable() 1402 requests[0].opcode = BLOCKIO_READ; in RamdiskTestFifoSleepUnavailable() [all …]
|
| /system/ulib/xdc-server-utils/include/xdc-server-utils/ |
| A D | msg.h | 22 uint8_t opcode; member
|
| /system/ulib/blktest/ |
| A D | blktest.cpp | 221 requests[0].opcode = BLOCKIO_READ; in blkdev_test_fifo_basic() 222 requests[1].opcode = BLOCKIO_READ; in blkdev_test_fifo_basic() 271 request.opcode = BLOCKIO_WRITE; in blkdev_test_fifo_whole_disk() 285 request.opcode = BLOCKIO_READ; in blkdev_test_fifo_whole_disk() 291 request.opcode = BLOCKIO_CLOSE_VMO; in blkdev_test_fifo_whole_disk() 392 request.opcode = BLOCKIO_CLOSE_VMO; in close_vmo_helper() 544 request.opcode = BLOCKIO_CLOSE_VMO; in blkdev_test_fifo_unclean_shutdown() 601 request.opcode = BLOCKIO_WRITE; in blkdev_test_fifo_bad_client_vmoid() 637 request.opcode = BLOCKIO_WRITE; in blkdev_test_fifo_bad_client_unaligned_request() 675 request.opcode = BLOCKIO_WRITE; in blkdev_test_fifo_bad_client_overflow() [all …]
|
| /system/ulib/tftp/ |
| A D | internal.h | 24 uint16_t opcode; member 29 uint16_t opcode; member 35 uint16_t opcode; member
|
| A D | tftp-test.cpp | 292 bool verify_response_opcode(const test_state& ts, uint16_t opcode) { in verify_response_opcode() argument 296 EXPECT_EQ(ntohs(msg->opcode) & 0xff, opcode, "bad opcode"); in verify_response_opcode() 736 EXPECT_EQ(OPCODE_DATA, ntohs(msg->opcode) & 0xff, "bad opcode"); in verify_read_data() 1265 EXPECT_EQ(ntohs(msg->opcode) & 0xff, OPCODE_ACK, "bad opcode"); in test_tftp_receive_data_skipped_block() 1278 EXPECT_EQ(ntohs(msg->opcode) & 0xff, OPCODE_ACK, "bad opcode"); in test_tftp_receive_data_skipped_block() 1353 EXPECT_EQ(ntohs(msg->opcode) & 0xff, OPCODE_ACK, "bad opcode"); in test_tftp_receive_data_windowsize_skipped_block() 1704 unsigned int opcode = data_buf[0] << 8 | data_buf[1]; in test_tftp_send_data_receive_ack_block_wrapping() local 1705 EXPECT_EQ(0x0003, opcode, "incorrect DATA packet opcode"); in test_tftp_send_data_receive_ack_block_wrapping() 1776 unsigned int opcode = htons(msg->opcode); in test_tftp_send_data_receive_ack_skip_block_wrap() local 1783 ack_msg.opcode = htons(OPCODE_ACK); in test_tftp_send_data_receive_ack_skip_block_wrap() [all …]
|
| A D | tftp-example.c | 59 uint16_t opcode = ntohs(*(uint16_t*)msg); in connection_send() local 60 fprintf(stderr, "sending opcode=%u\n", opcode); in connection_send()
|
| A D | tftp.c | 127 (msg)->opcode = htons((value & 0xff) | ((uint16_t)session->opcode_prefix << 8)); \ 129 (msg)->opcode = htons(value); \ 972 uint16_t opcode = ntohs(msg->opcode) & 0xff; in tftp_process_msg() local 973 xprintf("handle_msg opcode=%u length=%d\n", opcode, (int)inlen); in tftp_process_msg() 981 switch (opcode) { in tftp_process_msg()
|
| /system/dev/block/block/ |
| A D | server.cpp | 71 uint32_t OpcodeToCommand(uint32_t opcode) { in OpcodeToCommand() argument 80 return opcode & shared; in OpcodeToCommand() 305 switch (request->opcode & BLOCKIO_OP_MASK) { in ProcessRequest() 347 msg.op()->command = OpcodeToCommand(request->opcode); in ProcessRequest() 375 msg.op()->command = OpcodeToCommand(request->opcode); in ProcessRequest() 432 msg.op()->command = OpcodeToCommand(request->opcode); in ProcessRequest() 438 request->opcode); in ProcessRequest() 458 bool wants_reply = requests[i].opcode & BLOCKIO_GROUP_LAST; in Serve() 459 bool use_group = requests[i].opcode & BLOCKIO_GROUP_ITEM; in Serve()
|
| /system/dev/bluetooth/bt-hci-broadcom/ |
| A D | bt-hci-broadcom.c | 40 uint16_t opcode; member 66 .opcode = 0x0c03, 72 .opcode = 0xfc2e, 78 .opcode = 0x1009, 229 .opcode = BCM_SET_BAUD_RATE_CMD, in bcm_hci_set_baud_rate() 247 .opcode = BCM_SET_BDADDR_CMD, in bcm_hci_set_bdaddr()
|
| /system/utest/zxcrypt/ |
| A D | test-device.h | 103 zx_status_t block_fifo_txn(uint16_t opcode, uint64_t off, uint64_t len) { in block_fifo_txn() argument 104 req_.opcode = opcode; in block_fifo_txn()
|
| /system/dev/block/usb-mass-storage/ |
| A D | usb-mass-storage.c | 171 command.opcode = UMS_INQUIRY; in ums_inquiry() 190 command.opcode = UMS_TEST_UNIT_READY; in ums_test_unit_ready() 201 command.opcode = UMS_REQUEST_SENSE; in ums_request_sense() 220 command.opcode = UMS_READ_CAPACITY10; in ums_read_capacity10() 237 command.opcode = UMS_READ_CAPACITY16; in ums_read_capacity16() 257 command.opcode = UMS_MODE_SENSE6; in ums_mode_sense6() 325 command.opcode = UMS_READ16; in ums_read() 332 command.opcode = UMS_READ10; in ums_read() 340 command.opcode = UMS_READ12; in ums_read() 390 command.opcode = UMS_WRITE16; in ums_write() [all …]
|
| /system/ulib/fs/ |
| A D | block-txn.cpp | 31 if (requests_[i].vmoid != id || requests_[i].opcode != op) { in EnqueueOperation() 51 request.opcode = op; in EnqueueOperation()
|
| /system/uapp/disk-pave/ |
| A D | pave-utils.cpp | 21 request.opcode = BLOCKIO_FLUSH; in FlushClient()
|
| /system/dev/board/gauss/ |
| A D | gauss-led.c | 154 if (txn->opcode == IOTXN_OP_READ) { in i2c_complete() 156 } else if (txn->opcode == IOTXN_OP_WRITE) { in i2c_complete() 424 if (txn->opcode == IOTXN_OP_READ) { in gauss_led_dev_iotxn_queue() 426 } else if (txn->opcode == IOTXN_OP_WRITE) { in gauss_led_dev_iotxn_queue()
|
| /system/core/devmgr/devhost/ |
| A D | rpc-server.cpp | 141 static ssize_t do_sync_io(const fbl::RefPtr<zx_device_t>& dev, uint32_t opcode, void* buf, in do_sync_io() argument 145 if (opcode == DO_READ) { in do_sync_io() 605 static zx_status_t fidl_node_ioctl(void* ctx, uint32_t opcode, uint64_t max_out, in fidl_node_ioctl() argument 623 ssize_t r = do_ioctl(conn->dev, opcode, in_buf, in_count, out, max_out, &out_count); in fidl_node_ioctl() 626 switch (IOCTL_KIND(opcode)) { in fidl_node_ioctl()
|
| /system/dev/block/nvme/ |
| A D | nvme.c | 42 uint8_t opcode; member 340 uint32_t opt = (txn->opcode == NVME_OP_READ) ? ZX_BTI_PERM_WRITE : ZX_BTI_PERM_READ; in io_process_txn() 352 … cmd.cmd = NVME_CMD_CID(utxn->id) | NVME_CMD_PRP | NVME_CMD_NORMAL | NVME_CMD_OPC(txn->opcode); in io_process_txn() 368 txn->opcode == NVME_OP_WRITE ? "WR" : "RD"); in io_process_txn() 532 txn->opcode = NVME_OP_READ; in nvme_queue() 535 txn->opcode = NVME_OP_WRITE; in nvme_queue() 564 txn->opcode == NVME_OP_WRITE ? "wr" : "rd", in nvme_queue()
|
| /system/host/xdc-server/ |
| A D | xdc-server.cpp | 462 switch (msg->opcode) { in HandleCtrlMsg() 490 fprintf(stderr, "unknown msg opcode: %u\n", msg->opcode); in HandleCtrlMsg() 496 .opcode = XDC_NOTIFY_STREAM_STATE, in NotifyStreamState()
|
| /system/public/zircon/device/ |
| A D | block.h | 299 uint32_t opcode; member
|
| /system/ulib/minfs/ |
| A D | writeback.cpp | 76 blk_reqs[i].opcode = BLOCKIO_WRITE; in Flush() 198 request.opcode = BLOCKIO_CLOSE_VMO; in ~WritebackBuffer()
|
| /system/uapp/biotime/ |
| A D | biotime.cpp | 160 req.opcode = a->write ? BLOCKIO_WRITE : BLOCKIO_READ; in bio_random_thread() 181 req.reqid, req.vmoid, req.opcode, req.length, req.vmo_offset, req.dev_offset); in bio_random_thread()
|
| /system/uapp/iotime/ |
| A D | iotime.c | 151 .opcode = is_read ? BLOCKIO_READ : BLOCKIO_WRITE, in iotime_fifo()
|
| /system/ulib/fs/include/fs/ |
| A D | connection.h | 83 zx_status_t NodeIoctl(uint32_t opcode, uint64_t max_out,
|
| /system/ulib/blobfs/ |
| A D | writeback.cpp | 77 blk_reqs[i].opcode = BLOCKIO_WRITE; in Flush() 172 request.opcode = BLOCKIO_CLOSE_VMO; in ~Buffer()
|