/fuchsia/zircon/system/dev/misc/cpu-trace/ |
H A D | cpu-trace-private.h | 33 const void* cmd, size_t cmdlen, 45 const void* cmd, size_t cmdlen,
|
/fuchsia/zircon/system/dev/audio/intel-hda/controller/ |
H A D | codec-cmd-job.h | 42 CodecCmdJob(CodecCommand cmd) : cmd_(cmd) { } argument 45 CodecCommand cmd) 46 : cmd_(cmd), 43 CodecCmdJob(fbl::RefPtr<dispatcher::Channel>&& response_channel, uint32_t transaction_id, CodecCommand cmd) argument
|
/fuchsia/zircon/system/dev/nand/aml-rawnand/ |
H A D | aml-rawnand.c | 46 int32_t cmd, uint32_t ctrl); 135 uint32_t cmd = 0; local 139 cmd = raw_nand->chip_select | AML_CMD_IDLE | (time & 0x3ff); 140 writel(cmd, reg + P_NAND_CMD); 152 /* wait until cmd fifo is empty */ 166 zxlogf(ERROR, "wait for empty cmd FIFO time out\n"); 171 uint32_t cmd; local 175 cmd = AML_CMD_SEED | (0xc2 + (seed & 0x7fff)); 176 writel(cmd, reg + P_NAND_CMD); 181 uint32_t cmd; local 200 uint32_t cmd; local 213 uint32_t cmd; local 364 uint32_t cmd, cfg; local 389 aml_cmd_ctrl(void* ctx, int32_t cmd, uint32_t ctrl) argument 408 uint32_t cmd; local 500 uint32_t cmd; local 590 uint32_t cmd; local [all...] |
/fuchsia/zircon/third_party/ulib/musl/src/process/ |
H A D | posix_spawn_file_actions_adddup2.c | 10 op->cmd = FDOP_DUP2;
|
H A D | posix_spawn_file_actions_addclose.c | 10 op->cmd = FDOP_CLOSE;
|
H A D | system.c | 9 int system(const char* cmd) { argument 16 if (!cmd) 33 ret = posix_spawn(&pid, "/bin/sh", 0, &attr, (char* []){(char*)"sh", (char*)"-c", (char*)cmd, 0}, __environ);
|
H A D | posix_spawn_file_actions_addopen.c | 12 op->cmd = FDOP_OPEN;
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/arm/ |
H A D | ex_tables.h | 43 arm_exbuf_cmd_t cmd; member in struct:arm_exbuf_data
|
H A D | Gex_tables.c | 88 switch (edata->cmd) 169 edata.cmd = ARM_EXIDX_CMD_DATA_POP; 174 edata.cmd = ARM_EXIDX_CMD_DATA_PUSH; 181 edata.cmd = ARM_EXIDX_CMD_REFUSED; 184 edata.cmd = ARM_EXIDX_CMD_REG_POP; 192 edata.cmd = ARM_EXIDX_CMD_RESERVED; 195 edata.cmd = ARM_EXIDX_CMD_REG_TO_SP; 206 edata.cmd = ARM_EXIDX_CMD_REG_POP; 210 edata.cmd = ARM_EXIDX_CMD_FINISH; 217 edata.cmd [all...] |
/fuchsia/zircon/system/dev/block/nvme/ |
H A D | nvme.c | 232 static zx_status_t nvme_admin_sq_put(nvme_device_t* nvme, nvme_cmd_t* cmd) { argument 240 nvme->admin_sq[nvme->admin_sq_tail] = *cmd; 270 static zx_status_t nvme_io_sq_put(nvme_device_t* nvme, nvme_cmd_t* cmd) { argument 278 nvme->io_sq[nvme->io_sq_tail] = *cmd; 306 static zx_status_t nvme_admin_txn(nvme_device_t* nvme, nvme_cmd_t* cmd, nvme_cpl_t* cpl) { argument 310 if ((r = nvme_admin_sq_put(nvme, cmd)) != ZX_OK) { 380 nvme_cmd_t cmd; local 381 memset(&cmd, 0, sizeof(cmd)); 382 cmd 613 nvme_ioctl(void* ctx, uint32_t op, const void* cmd, size_t cmdlen, void* reply, size_t max, size_t* out_actual) argument 890 nvme_cmd_t cmd; local [all...] |
/fuchsia/zircon/system/dev/misc/tpm/ |
H A D | tpm.cpp | 51 struct tpm_getrandom_cmd cmd; local 52 uint32_t resp_len = tpm_init_getrandom(&cmd, count); 61 zx_status_t status = dev->ExecuteCmd(0, (uint8_t*)&cmd, sizeof(cmd), 86 struct tpm_shutdown_cmd cmd; local 87 uint32_t resp_len = tpm_init_shutdown(&cmd, type); 91 zx_status_t status = ExecuteCmdLocked(0, (uint8_t*)&cmd, sizeof(cmd), 106 zx_status_t Device::ExecuteCmd(Locality loc, const uint8_t* cmd, size_t len, argument 109 return ExecuteCmdLocked(loc, cmd, le 112 ExecuteCmdLocked(Locality loc, const uint8_t* cmd, size_t len, uint8_t* resp, size_t max_len, size_t* actual) argument [all...] |
/fuchsia/zircon/system/core/netsvc/ |
H A D | netboot.c | 135 msg->cmd = NB_ADVERTISE; 150 m.cmd = NB_ACK; 157 static netfilemsg m = { .hdr.magic = NB_MAGIC, .hdr.cmd = NB_ACK}; 190 static nbmsg m = {.magic = NB_MAGIC, .cmd = NB_ACK}; 211 m.cmd = NB_ACK; 271 (last_cmd == msg->cmd) && (last_arg == msg->arg)) { 275 ack.cmd = last_ack_cmd; 280 ack.cmd = NB_ACK; 283 switch (msg->cmd) { 313 ack.cmd [all...] |
/fuchsia/zircon/bootloader/src/ |
H A D | netboot.c | 54 msg->cmd = NB_ACK; 66 msg->cmd = NB_ADVERTISE; 84 // msg->magic, msg->cookie, msg->cmd, msg->arg, len); 87 (last_cmd == msg->cmd) && (last_arg == msg->arg)) { 91 ack.cmd = last_ack_cmd; 96 ack.cmd = NB_ACK; 99 switch (msg->cmd) { 128 ack.cmd = NB_ERROR_BAD_FILE; 141 ack.cmd = NB_ACK; 143 ack.cmd [all...] |
/fuchsia/zircon/system/dev/scpi/aml-scpi-s912/ |
H A D | aml-scpi.h | 26 #define PACK_SCPI_CMD(cmd, sender, txsz) \ 27 ((((cmd) & CMD_ID_MASK) << CMD_ID_SHIFT) | \ 87 #define VALID_CMD(cmd) (cmd>SCPI_CMD_INVALID && cmd<SCPI_CMD_MAX)
|
/fuchsia/zircon/system/host/bootserver/ |
H A D | netboot.c | 50 fprintf(stdout, " < magic = %08x, cookie = %08x, cmd = %08x, arg = %08x\n", 51 ack->magic, ack->cookie, ack->cmd, ack->arg); 65 if (ack->cmd == NB_ACK || ack->cmd == NB_FILE_RECEIVED) { 69 switch (ack->cmd) { 86 fprintf(stderr, "\n%s: error: Unknown command 0x%08X\n", appname, ack->cmd); 129 ack->cmd = 0; 166 if (!r && FD_ISSET(s, &writes) && (ack->cookie == 0 || ack->cmd != NB_ACK)) { 287 msg->cmd = NB_SEND_FILE; 295 msg->cmd [all...] |
/fuchsia/zircon/system/uapp/ihda/ |
H A D | zircon_device.h | 61 static void InitRequest(ReqType* req, ihda_cmd_t cmd) { argument 67 req->hdr.cmd = cmd;
|
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/ |
H A D | rawnand.h | 28 void (*cmd_ctrl)(void *ctx, int32_t cmd, uint32_t ctrl); 67 int32_t cmd, uint32_t ctrl) 69 raw_nand->ops->cmd_ctrl(raw_nand->ctx, cmd, ctrl); 66 raw_nand_cmd_ctrl(raw_nand_protocol_t *raw_nand, int32_t cmd, uint32_t ctrl) argument
|
H A D | mailbox.h | 12 uint32_t cmd; member in struct:__anon955
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | exec.h | 48 const struct builtincmd *cmd; member in union:cmdentry::param
|
/fuchsia/zircon/third_party/ulib/musl/src/stdio/ |
H A D | popen.c | 9 FILE* popen(const char* cmd, const char* mode) { argument 52 if (!(e = posix_spawn(&pid, "/bin/sh", &fa, 0, (char* []){(char*)"sh", (char*)"-c", (char*)cmd, 0},
|
/fuchsia/zircon/system/utest/spawn/ |
H A D | child.c | 91 const char* cmd = argv[1]; local 92 if (!strcmp(cmd, "--argc")) 94 if (!strcmp(cmd, "--flags")) { 111 if (!strcmp(cmd, "--env")) { 133 if (!strcmp(cmd, "--action")) {
|
/fuchsia/zircon/system/dev/nand/nand/ |
H A D | nand_driver_test.c | 48 static zx_status_t nand_test_read(nand_device_t* dev, const void* cmd, size_t cmd_length, argument 62 // Sanity check sizes of cmd and resp buffers. 65 zxlogf(ERROR, "%s: Bad cmd length\n", __func__); 72 cmd_read_page = (nandtest_rw_page_data_oob_t*)cmd; 77 zxlogf(ERROR, "%s: Bad cmd data_len %u\n", __func__, cmd_read_page->data_len); 84 zxlogf(ERROR, "%s: Bad cmd oob_len %u\n", __func__, cmd_read_page->oob_len); 121 static zx_status_t nand_test_write(nand_device_t* dev, const void* cmd, size_t cmd_length, argument 134 // Sanity check sizes of cmd and resp buffers. 137 zxlogf(ERROR, "%s: Bad cmd length\n", __func__); 140 cmd_write_page = (nandtest_rw_page_data_oob_t*)cmd; 203 nand_test_erase_block(nand_device_t* dev, const void* cmd, size_t cmd_length, void* reply, size_t max_reply_sz, size_t* out_actual) argument 251 nand_ioctl(void* ctx, uint32_t op, const void* cmd, size_t cmd_length, void* reply, size_t max_reply_sz, size_t* out_actual) argument [all...] |
/fuchsia/zircon/system/dev/audio/intel-hda/codecs/realtek/ |
H A D | realtek-stream.cpp | 135 zx_status_t RealtekStream::RunCmdLocked(const Command& cmd) { argument 137 bool want_response = (cmd.thunk != nullptr); 140 pending_cmd = PendingCommandAllocator::New(cmd); 145 zx_status_t res = SendCodecCommandLocked(cmd.nid, 146 cmd.verb, 148 VERBOSE_LOG("SEND: nid %2hu verb 0x%05x%s\n", cmd.nid, cmd.verb.val, want_response ? "*" : ""); 196 pending_cmd->cmd().nid, 197 pending_cmd->cmd().verb.val, 223 notif.hdr.cmd 604 ProcessPinWidgetCaps(const Command& cmd, const CodecResponse& resp) argument 625 ProcessPinAmpCaps(const Command& cmd, const CodecResponse& resp) argument 635 ProcessPinCfgDefaults(const Command& cmd, const CodecResponse& resp) argument 640 ProcessPinCaps(const Command& cmd, const CodecResponse& resp) argument 697 ProcessPinState(const Command& cmd, const CodecResponse& resp) argument 703 ProcessConverterWidgetCaps(const Command& cmd, const CodecResponse& resp) argument 736 ProcessConverterAmpCaps(const Command& cmd, const CodecResponse& resp) argument 746 ProcessConverterSampleSizeRate(const Command& cmd, const CodecResponse& resp) argument 752 ProcessConverterSampleFormats(const Command& cmd, const CodecResponse& resp) argument [all...] |
H A D | realtek-codec.cpp | 351 const auto& cmd = cmds[i]; local 352 VERBOSE_LOG("SEND: nid %2hu verb 0x%05x\n", cmd.nid, cmd.verb.val); 353 res = SendCodecCommand(cmd.nid, cmd.verb, true); 356 i + 1, cmd_count, cmd.nid, cmd.verb.val, res);
|
/fuchsia/zircon/system/ulib/audio-utils/ |
H A D | audio-device-stream.cpp | 54 printf("Cmd failure (cmd %04x, res %d)\n", req.hdr.cmd, status); 142 req.hdr.cmd = AUDIO_STREAM_CMD_GET_FORMATS; 166 if (resp.hdr.cmd != AUDIO_STREAM_CMD_GET_FORMATS) { 169 AUDIO_STREAM_CMD_GET_FORMATS, resp.hdr.cmd); 228 req.hdr.cmd = AUDIO_STREAM_CMD_PLUG_DETECT; 242 req.hdr.cmd = static_cast<audio_cmd_t>(AUDIO_STREAM_CMD_PLUG_DETECT | AUDIO_FLAG_NO_ACK); 253 req.hdr.cmd = AUDIO_STREAM_CMD_SET_GAIN; 272 req.hdr.cmd = AUDIO_STREAM_CMD_SET_GAIN; 291 req.hdr.cmd [all...] |