Home
last modified time | relevance | path

Searched refs:cmdptr (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_cmd.c47 amd_iommu_cmd_flags_t flags, uint32_t *cmdptr) in create_compl_wait_cmd() argument
62 AMD_IOMMU_REG_SET32(&cmdptr[0], AMD_IOMMU_CMD_COMPL_WAIT_S, 0); in create_compl_wait_cmd()
63 AMD_IOMMU_REG_SET32(&cmdptr[0], AMD_IOMMU_CMD_COMPL_WAIT_I, 1); in create_compl_wait_cmd()
64 AMD_IOMMU_REG_SET32(&cmdptr[0], AMD_IOMMU_CMD_COMPL_WAIT_F, in create_compl_wait_cmd()
66 AMD_IOMMU_REG_SET32(&cmdptr[0], AMD_IOMMU_CMD_COMPL_WAIT_STORE_ADDR_LO, in create_compl_wait_cmd()
68 AMD_IOMMU_REG_SET32(&cmdptr[1], AMD_IOMMU_CMD_OPCODE, 0x01); in create_compl_wait_cmd()
69 AMD_IOMMU_REG_SET32(&cmdptr[1], AMD_IOMMU_CMD_COMPL_WAIT_STORE_ADDR_HI, in create_compl_wait_cmd()
71 cmdptr[2] = 0; in create_compl_wait_cmd()
72 cmdptr[3] = 0; in create_compl_wait_cmd()
79 amd_iommu_cmd_flags_t flags, uint32_t *cmdptr) in create_inval_devtab_entry_cmd() argument
[all …]
/illumos-gate/usr/src/cmd/pg/
H A Dpg.c489 static char cmdbuf[LINSIZ], *cmdptr; variable
492 #define CHECKEND() BLANKS(cmdptr); if (*cmdptr) { BEEP(); break; }
534 cmdptr = cmdbuf; in command()
536 BLANKS(cmdptr); in command()
538 if ((len = mbtowc(&wc, cmdptr, MB_CUR_MAX)) <= 0) { in command()
539 wc = *cmdptr; in command()
542 cmdptr += len; in command()
592 BLANKS(cmdptr); in command()
593 if (!*cmdptr) { in command()
601 if ((sf = fopen(cmdptr, "w")) == NULL) { in command()
[all …]
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c121 char *cmdptr = NULL; /* set with -c command */ in main() local
152 if ( (flag && (flag != CMDFLAG)) || cmdptr || Quietflag ) in main()
154 cmdptr = optarg; in main()
159 || rpcptr || cmdptr || idptr || lflags ) in main()
166 || rpcptr || cmdptr || idptr || lflags ) in main()
173 || rpcptr || cmdptr || idptr || lflags ) in main()
179 || rpcptr || cmdptr || idptr || lflags ) in main()
186 || cmdptr || idptr || lflags ) in main()
215 || rpcptr || cmdptr || idptr || lflags ) in main()
222 || rpcptr || cmdptr || idptr || lflags ) in main()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c72 tavor_cmd_t *cmdptr; in tavor_cmd_post() local
94 status = tavor_outstanding_cmd_alloc(state, &cmdptr, in tavor_cmd_post()
99 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*cmdptr)) in tavor_cmd_post()
110 cmdptr->cmd_status = TAVOR_CMD_INVALID_STATUS; in tavor_cmd_post()
113 token = (uint16_t)cmdptr->cmd_indx; in tavor_cmd_post()
116 tavor_outstanding_cmd_free(state, &cmdptr); in tavor_cmd_post()
129 _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(*cmdptr)) in tavor_cmd_post()
130 mutex_enter(&cmdptr->cmd_comp_lock); in tavor_cmd_post()
131 while (cmdptr->cmd_status == TAVOR_CMD_INVALID_STATUS) { in tavor_cmd_post()
133 cv_wait(&cmdptr->cmd_comp_cv, &cmdptr->cmd_comp_lock); in tavor_cmd_post()
[all …]
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ohci.h680 uint32_t cmdptr);
684 uint32_t cmdptr);
688 uint32_t cmdptr);
692 uint32_t cmdptr);
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cmd.c74 hermon_cmd_t *cmdptr; in hermon_cmd_post() local
111 status = hermon_outstanding_cmd_alloc(state, &cmdptr, in hermon_cmd_post()
116 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*cmdptr)) in hermon_cmd_post()
129 cmdptr->cmd_status = HERMON_CMD_INVALID_STATUS; in hermon_cmd_post()
132 token = (uint16_t)cmdptr->cmd_indx; in hermon_cmd_post()
149 hermon_outstanding_cmd_free(state, &cmdptr); in hermon_cmd_post()
167 _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(*cmdptr)) in hermon_cmd_post()
168 mutex_enter(&cmdptr->cmd_comp_lock); in hermon_cmd_post()
169 while (cmdptr->cmd_status == HERMON_CMD_INVALID_STATUS) { in hermon_cmd_post()
171 cv_wait(&cmdptr->cmd_comp_cv, &cmdptr->cmd_comp_lock); in hermon_cmd_post()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ohci.c2512 hci1394_ohci_atreq_start(hci1394_ohci_handle_t ohci_hdl, uint32_t cmdptr) in hci1394_ohci_atreq_start() argument
2517 &ohci_hdl->ohci_regs->at_req.cmd_ptrlo, cmdptr); in hci1394_ohci_atreq_start()
2560 hci1394_ohci_arresp_start(hci1394_ohci_handle_t ohci_hdl, uint32_t cmdptr) in hci1394_ohci_arresp_start() argument
2565 &ohci_hdl->ohci_regs->ar_resp.cmd_ptrlo, cmdptr); in hci1394_ohci_arresp_start()
2608 hci1394_ohci_arreq_start(hci1394_ohci_handle_t ohci_hdl, uint32_t cmdptr) in hci1394_ohci_arreq_start() argument
2613 &ohci_hdl->ohci_regs->ar_req.cmd_ptrlo, cmdptr); in hci1394_ohci_arreq_start()
2656 hci1394_ohci_atresp_start(hci1394_ohci_handle_t ohci_hdl, uint32_t cmdptr) in hci1394_ohci_atresp_start() argument
2661 &ohci_hdl->ohci_regs->at_resp.cmd_ptrlo, cmdptr); in hci1394_ohci_atresp_start()