Home
last modified time | relevance | path

Searched refs:ctrl (Results 176 – 200 of 326) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/uts/common/io/audio/ac97/
H A Dac97_alc.c166 ac97_ctrl_t *ctrl; in alc_pcm_override() local
169 ctrl = ac97_control_find(ac, AUDIO_CTRL_ID_VOLUME); in alc_pcm_override()
170 if (ctrl != NULL) { in alc_pcm_override()
171 ctrl->actrl_write_fn = alc650_set_pcm; in alc_pcm_override()
/illumos-gate/usr/src/test/nvme-tests/runfiles/
H A Dnon-destruct.run43 'ctrl-block-lock.32',
44 'ctrl-block-lock.64',
60 'ctrl-disc.32',
61 'ctrl-disc.64',
/illumos-gate/usr/src/test/nvme-tests/tests/libnvme/
H A Dctrl-disc.c182 nvme_ctrl_t *ctrl; in main() local
186 libnvme_test_init(&nvme, &ctrl); in main()
199 if (!ctrl_match(nvme, ctrl)) { in main()
229 nvme_ctrl_fini(ctrl); in main()
H A Dinfo-roundtrip.c324 nvme_ctrl_t *ctrl; in main() local
330 libnvme_test_init(&nvme, &ctrl); in main()
331 if (!nvme_ctrl_info_snap(ctrl, &info)) { in main()
332 libnvme_test_ctrl_fatal(ctrl, "failed to take a snapshot"); in main()
467 nvme_ctrl_fini(ctrl); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoec.c588 struct strbuf ctrl; in send_pppoe() local
598 ctrl.len = sizeof (*ptc); in send_pppoe()
599 ctrl.buf = (caddr_t)ptc; in send_pppoe()
652 struct strbuf ctrl; in find_all_servers() local
671 ctrl.maxlen = PKT_OCTL_LEN; in find_all_servers()
672 ctrl.buf = (caddr_t)pkt_octl; in find_all_servers()
685 ctrl.len); in find_all_servers()
1405 struct strbuf ctrl; in find_server() local
1464 ctrl.maxlen = PKT_OCTL_LEN; in find_server()
1465 ctrl.buf = (caddr_t)pkt_octl; in find_server()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c1601 audio_ctrl_t *ctrl; in auclnt_walk_controls() local
1604 for (ctrl = list_head(&d->d_controls); ctrl; in auclnt_walk_controls()
1605 ctrl = list_next(&d->d_controls, ctrl)) { in auclnt_walk_controls()
1606 if (walker(ctrl, arg) == AUDIO_WALK_STOP) in auclnt_walk_controls()
1625 audio_ctrl_t *ctrl; in auclnt_find_control() local
1631 for (ctrl = list_head(&d->d_controls); ctrl; in auclnt_find_control()
1632 ctrl = list_next(&d->d_controls, ctrl)) { in auclnt_find_control()
1633 if (strcmp(ctrl->ctrl_name, name) == 0) { in auclnt_find_control()
1635 return (ctrl); in auclnt_find_control()
1656 ASSERT(ctrl); in auclnt_control_describe()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82540.c272 u32 ctrl, manc; in e1000_reset_hw_82540() local
290 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82540()
296 E1000_WRITE_REG(hw, E1000_CTRL_DUP, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82540()
304 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82540()
413 u32 ctrl; in e1000_setup_copper_link_82540() local
419 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82540()
420 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_82540()
421 ctrl &= ~(E1000_CTRL_FRCSPD | E1000_CTRL_FRCDPX); in e1000_setup_copper_link_82540()
422 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82540()
H A De1000_82571.c1067 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local
1105 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82571()
1475 u32 ctrl; in e1000_led_on_82574() local
1480 ctrl = hw->mac.ledctl_mode2; in e1000_led_on_82574()
1572 u32 ctrl; in e1000_setup_copper_link_82571() local
1577 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82571()
1578 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_82571()
1580 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82571()
1654 u32 ctrl; in e1000_check_for_serdes_link_82571() local
1662 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_check_for_serdes_link_82571()
[all …]
H A De1000_82541.c298 u32 ledctl, ctrl, manc; in e1000_reset_hw_82541() local
315 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82541()
319 E1000_WRITE_REG(hw, E1000_CTRL, (ctrl | E1000_CTRL_PHY_RST)); in e1000_reset_hw_82541()
333 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82541()
336 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82541()
538 u32 ctrl, ledctl; in e1000_setup_copper_link_82541() local
542 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82541()
543 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_82541()
544 ctrl &= ~(E1000_CTRL_FRCSPD | E1000_CTRL_FRCDPX); in e1000_setup_copper_link_82541()
545 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82541()
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm_ofmt.c75 nvme_ctrl_info_t *ctrl = list->nloa_ctrl; in nvmeadm_list_common_ofmt_cb() local
81 ret = strlcpy(buf, nvme_ctrl_info_model(ctrl), buflen); in nvmeadm_list_common_ofmt_cb()
84 ret = strlcpy(buf, nvme_ctrl_info_serial(ctrl), buflen); in nvmeadm_list_common_ofmt_cb()
87 ret = strlcpy(buf, nvme_ctrl_info_fwrev(ctrl), buflen); in nvmeadm_list_common_ofmt_cb()
90 vers = nvme_ctrl_info_version(ctrl); in nvmeadm_list_common_ofmt_cb()
112 nvme_ctrl_info_t *ctrl = list->nloa_ctrl; in nvmeadm_list_ctrl_ofmt_cb() local
118 if (nvme_ctrl_info_cap(ctrl, &u128)) { in nvmeadm_list_ctrl_ofmt_cb()
125 if (nvme_ctrl_info_unalloc_cap(ctrl, &u128)) { in nvmeadm_list_ctrl_ofmt_cb()
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_uwp.c316 ctrl_t *ctrl; in oplmsu_uwioctl_termios() local
347 ctrl = (ctrl_t *)uwq->q_ptr; in oplmsu_uwioctl_termios()
348 if (ctrl != NULL) { in oplmsu_uwioctl_termios()
349 if (ctrl->node_type != MSU_NODE_USER) { in oplmsu_uwioctl_termios()
353 "ctrl node type = %d", ctrl->node_type); in oplmsu_uwioctl_termios()
433 if (ctrl != NULL) { in oplmsu_uwioctl_termios()
435 ctrl->wait_queue = uwq; in oplmsu_uwioctl_termios()
/illumos-gate/usr/src/cmd/more/
H A Dmore.help8 d or ctrl-D Scroll k lines [current scroll size, initially 11]*
12 b or ctrl-B Skip backwards k screenfuls of text [1]
20 ctrl-L Redraw screen
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/
H A Dbasic-identify.c35 const nvme_identify_ctrl_t *ctrl = data; in basic_id_determine_ns_sup() local
36 *nnsp = ctrl->id_nn; in basic_id_determine_ns_sup()
37 *hasns = ctrl->id_oacs.oa_nsmgmt != 0; in basic_id_determine_ns_sup()
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_intr.c62 uint_t ctrl);
429 uint_t ctrl; in ehci_parse_error() local
454 ctrl = (uint_t)Get_QTD(qtd->qtd_ctrl); in ehci_parse_error()
461 if ((error = ehci_check_for_error(ehcip, pp, tw, qtd, ctrl)) != in ehci_parse_error()
488 uint_t ctrl) in ehci_check_for_error() argument
495 (void *)qtd, ctrl); in ehci_check_for_error()
506 status = ctrl & EHCI_QTD_CTRL_XACT_STATUS & ~EHCI_QTD_CTRL_HALTED_XACT; in ehci_check_for_error()
539 if (ctrl & EHCI_QTD_CTRL_HALTED_XACT && (ctrl & in ehci_check_for_error()
557 if (!(ctrl & EHCI_QTD_CTRL_HALTED_XACT)) { in ehci_check_for_error()
599 if ((ctrl & EHCI_QTD_CTRL_HALTED_XACT) && (error == USB_CR_OK)) { in ehci_check_for_error()
H A Dehci_xfer.c417 ctrl = usba_device->usb_addr; in ehci_unpack_endpoint()
442 ctrl |= EHCI_QH_CTRL_DATA_TOGGLE; in ehci_unpack_endpoint()
450 ctrl |= EHCI_QH_CTRL_MAX_NC; in ehci_unpack_endpoint()
520 Set_QH(qh->qh_ctrl, ctrl); in ehci_unpack_endpoint()
1524 uint32_t ctrl = 0; in ehci_insert_ctrl_req() local
1703 uint32_t ctrl = 0; in ehci_insert_bulk_req() local
1755 ctrl = tw->tw_direction; in ehci_insert_bulk_req()
2176 uint_t ctrl = 0; in ehci_insert_intr_req() local
2320 int i, ctrl; in ehci_allocate_qtd_from_pool() local
2331 if (ctrl == EHCI_QTD_FREE) { in ehci_allocate_qtd_from_pool()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_virtio_console.c521 struct pci_vtcon_control resp, *ctrl; in pci_vtcon_control_tx() local
527 ctrl = (struct pci_vtcon_control *)iov->iov_base; in pci_vtcon_control_tx()
529 switch (ctrl->event) { in pci_vtcon_control_tx()
544 tmp = &sc->vsc_ports[ctrl->id]; in pci_vtcon_control_tx()
545 if (ctrl->id >= VTCON_MAXPORTS || !tmp->vsp_enabled) { in pci_vtcon_control_tx()
547 ctrl->id)); in pci_vtcon_control_tx()
553 resp.id = ctrl->id; in pci_vtcon_control_tx()
594 struct pci_vtcon_control *ctrl, const void *payload, size_t len) in pci_vtcon_control_send() argument
609 memcpy(iov.iov_base, ctrl, sizeof(struct pci_vtcon_control)); in pci_vtcon_control_send()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hw.c466 uint64_t next, ctrl; in dapli_tavor_wqe_send_linknext() local
470 ctrl = 0; in dapli_tavor_wqe_send_linknext()
474 ctrl = ctrl | TAVOR_WQE_SEND_SIGNALED_MASK; in dapli_tavor_wqe_send_linknext()
479 ctrl = ctrl | TAVOR_WQE_SEND_SOLICIT_MASK; in dapli_tavor_wqe_send_linknext()
483 ctrl = ctrl | TAVOR_WQE_RCV_EVENT_MASK; in dapli_tavor_wqe_send_linknext()
492 TAVOR_WQE_LINKNEXT(curr_addr, ctrl, next); in dapli_tavor_wqe_send_linknext()
618 uint64_t ctrl = 0; in dapli_tavor_wqe_recv_linknext() local
637 ctrl = TAVOR_WQE_RCV_EVENT_MASK; in dapli_tavor_wqe_recv_linknext()
641 TAVOR_WQE_LINKNEXT(curr_addr, ctrl, next); in dapli_tavor_wqe_recv_linknext()
734 uint64_t ctrl = 0; in dapli_tavor_wqe_srq_linknext() local
[all …]
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.c265 struct busnum_ctrl *ctrl; in cardbus_claim_pci_busnum() local
314 ctrl->rv = DDI_SUCCESS; in cardbus_claim_pci_busnum()
337 struct busnum_ctrl ctrl; in cardbus_fix_hostbridge_busrange() local
370 ctrl.rv = DDI_SUCCESS; in cardbus_fix_hostbridge_busrange()
371 ctrl.dip = dip; in cardbus_fix_hostbridge_busrange()
375 (void*)&ctrl); in cardbus_fix_hostbridge_busrange()
626 ctrl.rv = NDI_SUCCESS; in cardbus_load_cardbus()
629 ctrl.dip = NULL; in cardbus_load_cardbus()
646 ctrl.dip ? ddi_driver_name(ctrl.dip) : "Unknown", in cardbus_load_cardbus()
647 ctrl.dip ? ddi_get_instance(ctrl.dip) : 0, in cardbus_load_cardbus()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_wr.c1320 ctrl = 0; in tavor_wqe_send_linknext()
1324 ctrl = ctrl | TAVOR_WQE_SEND_SIGNALED_MASK; in tavor_wqe_send_linknext()
1329 ctrl = ctrl | TAVOR_WQE_SEND_SOLICIT_MASK; in tavor_wqe_send_linknext()
1334 ctrl = ctrl | TAVOR_WQE_SEND_IMMEDIATE_MASK; in tavor_wqe_send_linknext()
1335 ctrl = ctrl | tavor_wr_get_immediate(prev_wr); in tavor_wqe_send_linknext()
1661 ctrl = ctrl | TAVOR_WQE_MLXHDR_VL15_MASK; in tavor_wqe_mlx_linknext()
1672 ctrl = ctrl | TAVOR_WQE_MLXHDR_SLR_MASK; in tavor_wqe_mlx_linknext()
1676 ctrl = ctrl | ((uint64_t)udav.max_stat_rate << in tavor_wqe_mlx_linknext()
1681 ctrl = ctrl | ((uint64_t)udav.sl << in tavor_wqe_mlx_linknext()
1687 ctrl = ctrl | TAVOR_WQE_MLXHDR_SIGNALED_MASK; in tavor_wqe_mlx_linknext()
[all …]
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c824 int ctrl; /* disk controller */ in docd() local
910 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2) in docd()
915 if (cd[j].number == id && cd[j].controller == ctrl) in docd()
961 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2) in docd()
966 if (cd[j].number == id && cd[j].controller == ctrl) in docd()
992 cd[i].controller = ctrl; in docd()
1086 int ctrl; /* disk controller */ in dormdisk() local
1118 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2) in dormdisk()
1124 ctrl == rmdisk[j].controller && in dormdisk()
1140 if (id == cd[j].id && ctrl == cd[j].controller) { in dormdisk()
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dedit.c87 if ((c = mygetch()) == EOF || c == ctrl('D') || in editall()
88 c == ctrl('Z') || c == KEY_BREAK) { in editall()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c747 struct rsp_ctrl *ctrl; in t4_ring_rx() local
859 struct rsp_ctrl *ctrl; in service_iq() local
2823 uint32_t ctrl; in write_txpkts_wr() local
2890 ctrl += txinfo->len; in write_txpkt_wr()
2928 ctrl |= F_LSO_IPV6; in write_txpkt_wr()
2999 ctrl = txinfo->len; in write_txpkt_wr()
3004 ctrl -= MBLKL(m); in write_txpkt_wr()
3007 ASSERT(ctrl == 0); in write_txpkt_wr()
3022 uint64_t ctrl; in write_ulp_cpl_sgl() local
3031 ctrl = 0; in write_ulp_cpl_sgl()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dpcie.h373 #define pcie_slotctl_attn_indicator_get(ctrl) \ argument
374 (((ctrl) & PCIE_SLOTCTL_ATTN_INDICATOR_MASK) >> 6)
375 #define pcie_slotctl_attn_indicator_set(ctrl, v)\ argument
376 (((ctrl) & ~PCIE_SLOTCTL_ATTN_INDICATOR_MASK) | ((v) << 6))
377 #define pcie_slotctl_pwr_indicator_set(ctrl, v)\ argument
378 (((ctrl) & ~PCIE_SLOTCTL_PWR_INDICATOR_MASK) | ((v) << 8))
/illumos-gate/usr/src/uts/common/io/
H A Dbusra.c942 struct busnum_ctrl ctrl; in pci_resource_setup() local
1117 ctrl.rv = DDI_SUCCESS; in pci_resource_setup()
1118 ctrl.dip = dip; in pci_resource_setup()
1119 ctrl.range = &pci_bus_range; in pci_resource_setup()
1122 claim_pci_busnum, (void *)&ctrl); in pci_resource_setup()
1124 if (ctrl.rv != DDI_SUCCESS) { in pci_resource_setup()
1152 struct busnum_ctrl *ctrl; in claim_pci_busnum() local
1159 ctrl = (struct busnum_ctrl *)arg; in claim_pci_busnum()
1176 if ((pci_bus_range.lo >= ctrl->range->lo) && in claim_pci_busnum()
1177 (pci_bus_range.hi <= ctrl->range->hi)) { in claim_pci_busnum()
[all …]
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_i225.c183 u32 ctrl; in igc_reset_hw_i225() local
205 ctrl = IGC_READ_REG(hw, IGC_CTRL); in igc_reset_hw_i225()
208 IGC_WRITE_REG(hw, IGC_CTRL, ctrl | IGC_CTRL_DEV_RST); in igc_reset_hw_i225()
347 u32 ctrl; in igc_setup_copper_link_i225() local
351 ctrl = IGC_READ_REG(hw, IGC_CTRL); in igc_setup_copper_link_i225()
352 ctrl |= IGC_CTRL_SLU; in igc_setup_copper_link_i225()
353 ctrl &= ~(IGC_CTRL_FRCSPD | IGC_CTRL_FRCDPX); in igc_setup_copper_link_i225()
354 IGC_WRITE_REG(hw, IGC_CTRL, ctrl); in igc_setup_copper_link_i225()

12345678910>>...14