Home
last modified time | relevance | path

Searched refs:ioc_cmd (Results 1 – 25 of 140) sorted by relevance

123456

/titanic_50/usr/src/uts/common/io/
H A Dttcompat.c365 switch (iocbp->ioc_cmd) { in ttcompatwput()
387 switch (iocbp->ioc_cmd) { in ttcompatwput()
411 tp->t_ioccmd = iocbp->ioc_cmd; in ttcompatwput()
507 switch (iocp->ioc_cmd) { in ttcompat_do_ioctl()
598 tp->t_ioccmd = iocp->ioc_cmd; in ttcompat_do_ioctl()
601 iocp->ioc_cmd = TCGETS; in ttcompat_do_ioctl()
616 iocp->ioc_cmd = TIOCMBIS; /* turn it into a TIOCMBIS */ in ttcompat_do_ioctl()
635 iocp->ioc_cmd = TIOCMBIC; /* turn it into a TIOCMBIC */ in ttcompat_do_ioctl()
671 iocp->ioc_cmd = TCFLSH; /* turn it into a TCFLSH */ in ttcompat_do_ioctl()
686 iocp->ioc_cmd = TCXONC; /* turn it into a XONC */ in ttcompat_do_ioctl()
[all …]
H A Dsad.c297 switch (SAD_CMD(iocp->ioc_cmd)) { in sadwput()
315 switch (SAD_CMD(iocp->ioc_cmd)) { in sadwput()
328 iocp->ioc_cmd); in sadwput()
360 if (SAD_VER(iocp->ioc_cmd) > AP_VERSION) { in apush_ioctl()
366 switch (SAD_CMD(iocp->ioc_cmd)) { in apush_ioctl()
376 if (SAD_VER(iocp->ioc_cmd) == 1) in apush_ioctl()
631 ASSERT(SAD_CMD(iocp->ioc_cmd) == SAD_VML); in vml_ioctl()
H A Dtimod.c991 int ioc_cmd; in timodrproc() local
1006 ioc_cmd = iocbp->ioc_cmd; in timodrproc()
1011 if (ioc_cmd == TI_CAPABILITY) { in timodrproc()
1074 if (ioc_cmd != TI_GETINFO && ioc_cmd != TI_SYNC) { in timodrproc()
1081 if (iocbp->ioc_cmd == TI_SYNC) { in timodrproc()
1126 if (iocbp->ioc_cmd == TI_SYNC) { in timodrproc()
1335 if (iocbp->ioc_cmd == TI_GETMYNAME) { in timodrproc()
1359 } else if (iocbp->ioc_cmd == TI_GETPEERNAME) { in timodrproc()
1409 if (((iocbp->ioc_cmd == TI_GETMYNAME) || in timodrproc()
1410 (iocbp->ioc_cmd == TI_GETPEERNAME)) && in timodrproc()
[all …]
H A Dconskbd.c830 switch (iocp->ioc_cmd) { in conskbd_ioctl()
905 switch (iocp->ioc_cmd) { in conskbd_virtual_kbd_ioctl()
1033 switch (iocp->ioc_cmd) { in conskbd_legacy_kbd_ioctl()
1215 "ACK/NAK - cmd 0x%x\n", iocp->ioc_cmd)); in conskbdlrput()
1280 ASSERT(iocp->ioc_cmd == CONSOPENPOLLEDIO || in conskbd_handle_downstream_msg()
1281 iocp->ioc_cmd == CONSCLOSEPOLLEDIO || in conskbd_handle_downstream_msg()
1282 iocp->ioc_cmd == KIOCCMD || in conskbd_handle_downstream_msg()
1283 iocp->ioc_cmd == KIOCMKTONE); in conskbd_handle_downstream_msg()
1288 msg->kpm_req_cmd = iocp->ioc_cmd; in conskbd_handle_downstream_msg()
1299 if (iocp->ioc_cmd == CONSCLOSEPOLLEDIO && in conskbd_handle_downstream_msg()
[all …]
H A Dpckt.c616 int32_t ioc_cmd; in add_ctl_info() member
636 niocblk_32.ioc_cmd = iocblk_64->ioc_cmd; in add_ctl_info()
H A Dptem.c287 switch (iocp->ioc_cmd) { in ptemrput()
532 switch (iocp->ioc_cmd) { in ptemwput()
629 switch (iocp->ioc_cmd) { in ptemwmsg()
647 switch (iocp->ioc_cmd) { in ptemwmsg()
896 switch (iocp->ioc_cmd) { in ptioc()
H A Dwscons.c535 switch (iocp->ioc_cmd) { in wcuwput()
725 if ((iocp->ioc_cmd & VTIOC) == VTIOC || in wcioctl()
726 (iocp->ioc_cmd & KDIOC) == KDIOC) { in wcioctl()
731 switch (iocp->ioc_cmd) { in wcioctl()
901 if (iocp->ioc_cmd == TCSBRK) in wcioctl()
1387 switch (iocp->ioc_cmd) { in wclrput()
1433 switch (iocp->ioc_cmd) { in wclrput()
H A Dlogindmux.c416 switch (ioc->ioc_cmd) { in logdmuxuwput()
660 switch (ioc->ioc_cmd) { in logdmuxlrput()
676 " request for ioctl 0x%x", ioc->ioc_cmd); in logdmuxlrput()
853 switch (ioc->ioc_cmd) { in logdmuxlrsrv()
870 ioc->ioc_cmd); in logdmuxlrsrv()
H A Dtty_common.c136 switch (iocp->ioc_cmd) { in ttycommon_ioctl()
291 switch (iocp->ioc_cmd) { in ttycommon_ioctl()
/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_impl.c149 m_event_struct_t *ioc_cmd = NULL; in mptsas_ioc_event_find_by_cmd() local
151 ioc_cmd = mpt->m_ioc_event_cmdq; in mptsas_ioc_event_find_by_cmd()
152 while (ioc_cmd != NULL) { in mptsas_ioc_event_find_by_cmd()
153 if (&(ioc_cmd->m_event_cmd) == cmd) { in mptsas_ioc_event_find_by_cmd()
154 return (ioc_cmd); in mptsas_ioc_event_find_by_cmd()
156 ioc_cmd = ioc_cmd->m_event_linkp; in mptsas_ioc_event_find_by_cmd()
158 ioc_cmd = NULL; in mptsas_ioc_event_find_by_cmd()
159 return (ioc_cmd); in mptsas_ioc_event_find_by_cmd()
165 m_event_struct_t *ioc_cmd = NULL; in mptsas_destroy_ioc_event_cmd() local
167 ioc_cmd = mpt->m_ioc_event_cmdq; in mptsas_destroy_ioc_event_cmd()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/sdp/
H A Dsdpddi.c182 switch (iocp->ioc_cmd) { in sdp_gen_ioctl()
221 iocp->ioc_cmd, (intptr_t)&send_enable, in sdp_gen_ioctl()
225 iocp->ioc_cmd, (intptr_t)&send_enable, in sdp_gen_ioctl()
/titanic_50/usr/src/uts/common/inet/nca/
H A Dncaddi.c106 if (DB_TYPE(mp) == M_IOCTL && iocp->ioc_cmd == NCA_SET_IF) { in nca_wput()
118 switch (iocp->ioc_cmd) { in nca_wput()
/titanic_50/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c162 switch (iocp->ioc_cmd) { in rds_ioctl_copyin_done()
236 err = rds_do_ip_ioctl(iocp->ioc_cmd, sizeof (struct ifreq), in rds_ioctl_copyin_done()
295 switch (iocp->ioc_cmd) { in rds_ioctl_copyin_setup()
324 switch (iocp->ioc_cmd) { in rds_ioctl()
/titanic_50/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_lrp.c74 if (((iocp->ioc_cmd == TCSETS) && (trad_sts == MSU_WTCS_ACK)) || in oplmsu_lrioctl_termios()
75 ((iocp->ioc_cmd == TCSETSW) && (trad_sts == MSU_WTCS_ACK)) || in oplmsu_lrioctl_termios()
76 ((iocp->ioc_cmd == TCSETSF) && (trad_sts == MSU_WTCS_ACK)) || in oplmsu_lrioctl_termios()
77 ((iocp->ioc_cmd == TIOCMSET) && (trad_sts == MSU_WTMS_ACK)) || in oplmsu_lrioctl_termios()
78 ((iocp->ioc_cmd == TIOCSPPS) && (trad_sts == MSU_WPPS_ACK)) || in oplmsu_lrioctl_termios()
79 ((iocp->ioc_cmd == TIOCSWINSZ) && (trad_sts == MSU_WWSZ_ACK)) || in oplmsu_lrioctl_termios()
80 ((iocp->ioc_cmd == TIOCSSOFTCAR) && (trad_sts == MSU_WCAR_ACK))) { in oplmsu_lrioctl_termios()
140 chkflag = temp_iocp->ioc_cmd; in oplmsu_lrioctl_termios()
/titanic_50/usr/src/uts/common/xen/io/
H A Dxencons.c929 iocp->ioc_cmd == TIOCMGET ? "TIOCMGET" : in xcasync_ioctl()
930 iocp->ioc_cmd == TIOCMSET ? "TIOCMSET" : in xcasync_ioctl()
931 iocp->ioc_cmd == TIOCMBIS ? "TIOCMBIS" : in xcasync_ioctl()
932 iocp->ioc_cmd == TIOCMBIC ? "TIOCMBIC" : "other"); in xcasync_ioctl()
934 switch (iocp->ioc_cmd) { in xcasync_ioctl()
975 switch (iocp->ioc_cmd) { in xcasync_ioctl()
990 switch (iocp->ioc_cmd) { in xcasync_ioctl()
1120 switch (((struct iocblk *)mp->b_rptr)->ioc_cmd) { in xenconswput()
1218 ((struct iocblk *)mp->b_rptr)->ioc_cmd == MC_POSIXQUERY) { in xenconswput()
1219 ((struct iocblk *)mp->b_rptr)->ioc_cmd = MC_HAS_POSIX; in xenconswput()
/titanic_50/usr/src/uts/sun4u/starcat/io/
H A Dcvcredir.c265 if (iocp->ioc_cmd == CVC_BREAK) { in cvcr_ioctl()
268 } else if (iocp->ioc_cmd == CVC_DISCONNECT) { in cvcr_ioctl()
/titanic_50/usr/src/uts/common/io/usb/clients/audio/usb_ah/
H A Dusb_ah.c242 mctlmsg.ioc_cmd = HID_GET_PARSER_HANDLE; in usb_ah_open()
435 switch (iocp->ioc_cmd) { in usb_ah_mctl_receive()
748 mctlmsg.ioc_cmd = USB_AUDIO_VOL_CHANGE; in usb_ah_check_usage_send_data()
782 mctlmsg.ioc_cmd = USB_AUDIO_VOL_CHANGE; in usb_ah_check_usage_send_data()
797 mctlmsg.ioc_cmd = USB_AUDIO_MUTE; in usb_ah_check_usage_send_data()
/titanic_50/usr/src/uts/common/io/usb/clients/usbkbm/
H A Dusbkbm.c486 mctlmsg.ioc_cmd = HID_GET_PARSER_HANDLE; in usbkbm_open()
566 mctlmsg.ioc_cmd = CONSSETABORTENABLE; in usbkbm_open()
709 switch (iocp->ioc_cmd) { in usbkbm_ioctl()
821 mctlmsg.ioc_cmd = HID_OPEN_POLLED_INPUT; in usbkbm_ioctl()
848 mctlmsg.ioc_cmd = HID_CLOSE_POLLED_INPUT; in usbkbm_ioctl()
1141 switch (iocp->ioc_cmd) { in usbkbm_mctl_receive()
1223 (void *)reply_mp, iocp->ioc_cmd); in usbkbm_mctl_receive()
1323 mctlmsg.ioc_cmd = HID_SET_REPORT; in usbkbm_streams_setled()
1892 mctlmsg.ioc_cmd = HID_GET_VID_PID; in usbkbm_get_vid_pid()
/titanic_50/usr/src/uts/sun4/io/
H A Dsu_driver.c2809 if (iocp->ioc_cmd == TIOCMGET || in async_ioctl()
2810 iocp->ioc_cmd == TIOCMBIC || in async_ioctl()
2811 iocp->ioc_cmd == TIOCMBIS || in async_ioctl()
2812 iocp->ioc_cmd == TIOCMSET || in async_ioctl()
2813 iocp->ioc_cmd == TIOCGPPS || in async_ioctl()
2814 iocp->ioc_cmd == TIOCSPPS || in async_ioctl()
2815 iocp->ioc_cmd == TIOCGPPSEV || in async_ioctl()
2816 iocp->ioc_cmd == CONSOPENPOLLEDIO || in async_ioctl()
2817 iocp->ioc_cmd == CONSCLOSEPOLLEDIO) in async_ioctl()
2846 switch (iocp->ioc_cmd) { in async_ioctl()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dlogindmux_impl.h104 (((struct iocblk *)((mp)->b_cont->b_rptr))->ioc_cmd == I_UNLINK))
/titanic_50/usr/src/uts/common/io/usb/clients/usbinput/usbwcm/
H A Dusbwcm.c786 mctlmsg.ioc_cmd = HID_GET_VID_PID; in usbwcm_probe()
825 mctlmsg.ioc_cmd = HID_SET_REPORT; in usbwcm_probe()
1154 switch (iocp->ioc_cmd) { in usbwcm_ioctl()
1156 int num = iocp->ioc_cmd & 0xff; in usbwcm_ioctl()
1157 int len = IOCPARM_MASK & (iocp->ioc_cmd >> 16); in usbwcm_ioctl()
1159 if (((iocp->ioc_cmd >> 8) & 0xFF) != 'E') { in usbwcm_ioctl()
1163 } else if ((iocp->ioc_cmd & IOC_INOUT) != IOC_OUT) { in usbwcm_ioctl()
1370 switch (iocp->ioc_cmd) { in usbwcm_mctl()
1391 mctlmsg.ioc_cmd = HID_SET_REPORT; in usbwcm_mctl()
/titanic_50/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c1109 switch (iocbp->ioc_cmd) { in hid_wput()
2261 switch (iocp->ioc_cmd) { in hid_mctl_receive()
2396 if ((iocp->ioc_cmd == HID_SET_REPORT) && in hid_mctl_receive()
2501 def_pipe_arg->hid_default_pipe_arg_mctlmsg.ioc_cmd = iocp->ioc_cmd; in hid_mctl_execute_cmd()
2510 request_type, iocp->ioc_cmd, request_index) != USB_SUCCESS) { in hid_mctl_execute_cmd()
2752 mctlmsg->ioc_cmd = HID_DISCONNECT_EVENT; in hid_save_device_state()
2774 mctlmsg->ioc_cmd = HID_DISCONNECT_EVENT; in hid_save_device_state()
2900 mctlmsg->ioc_cmd = HID_CONNECT_EVENT; in hid_restore_device_state()
2920 mctlmsg->ioc_cmd = HID_CONNECT_EVENT; in hid_restore_device_state()
3120 mctlmsg->ioc_cmd = HID_POWER_OFF; in hid_pwrlvl0()
[all …]
/titanic_50/usr/src/uts/sun/io/ttymux/
H A Dttymux_ioctl.c804 (void) console_cmd(iobp->ioc_cmd, &assoc); in ttymux_link_ioctl()
807 (void) console_cmd(iobp->ioc_cmd, &assoc); in ttymux_link_ioctl()
810 if (iobp->ioc_cmd == TTYMUX_ASSOC) in ttymux_link_ioctl()
814 else if (iobp->ioc_cmd == TTYMUX_DISASSOC) in ttymux_link_ioctl()
1133 cmd = iobp->ioc_cmd; in ttymux_abort_ioctl()
1322 switch (iobp->ioc_cmd) { in sm_ioctl_cmd()
/titanic_50/usr/src/uts/common/rpc/
H A Drpcmod.c896 switch (iocp->ioc_cmd) { in rpcmodwput_other()
900 rmp->rm_type = iocp->ioc_cmd; in rpcmodwput_other()
2404 switch (iocp->ioc_cmd) { in mir_wput_other()
2408 mir->mir_type != iocp->ioc_cmd) { in mir_wput_other()
2418 mir->mir_type = iocp->ioc_cmd; in mir_wput_other()
2442 mir->mir_type != iocp->ioc_cmd) in mir_wput_other()
2453 mir->mir_type = iocp->ioc_cmd; in mir_wput_other()
/titanic_50/usr/src/uts/sun4v/io/
H A Dqcn.c609 iocp->ioc_cmd, TIOC); in qcn_wput()
611 switch (((struct iocblk *)mp->b_rptr)->ioc_cmd) { in qcn_wput()
718 switch (iocp->ioc_cmd) { in qcn_ioctl()
756 switch (iocp->ioc_cmd) { in qcn_ioctl()

123456