Lines Matching refs:mode

72 static int	vcc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
92 caddr_t buf, int mode);
93 static int i_vcc_del_cons_ok(vcc_t *vccp, caddr_t buf, int mode);
422 attr.mode = LDC_MODE_RAW;
1326 i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, caddr_t buf, int mode)
1377 sizeof (vcc_console_t), mode)) {
1408 sizeof (vcc_console_t), mode) != 0) {
1456 i_vcc_cons_info(vcc_t *vccp, caddr_t buf, int mode)
1464 if (ddi_copyin((void*)buf, &portno, sizeof (uint_t), mode)) {
1502 sizeof (vcc_console_t), mode) != 0) {
1519 i_vcc_inquiry(vcc_t *vccp, caddr_t buf, int mode)
1546 sizeof (msg), mode) == -1) {
1560 sizeof (msg), mode) == -1) {
1612 i_vcc_force_close(vcc_t *vccp, caddr_t buf, int mode)
1619 if (ddi_copyin((void*)buf, &portno, sizeof (uint_t), mode)) {
1649 i_vcc_cons_status(vcc_t *vccp, caddr_t buf, int mode)
1655 if (ddi_copyin((void*)buf, &console, sizeof (console), mode)) {
1684 if (ddi_copyout(&console, (void *)buf, sizeof (console), mode) == -1) {
1694 i_vcc_ctrl_ioctl(vcc_t *vccp, int cmd, void* arg, int mode)
1710 sizeof (int), mode));
1714 return (i_vcc_cons_tbl(vccp, num_ports, (caddr_t)arg, mode));
1719 return (i_vcc_inquiry(vccp, (caddr_t)arg, mode));
1723 return (i_vcc_cons_info(vccp, (caddr_t)arg, mode));
1727 return (i_vcc_force_close(vccp, (caddr_t)arg, mode));
1731 return (i_vcc_cons_status(vccp, (caddr_t)arg, mode));
1792 int mode)
1827 return (ddi_copyout(&term, arg, sizeof (term), mode));
1834 if (ddi_copyin(arg, &term, sizeof (term), mode) != 0) {
1888 if (ddi_copyin(arg, &cmd, sizeof (int), mode) != 0) {
1945 vcc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
1979 return (i_vcc_ctrl_ioctl(vccp, cmd, (void *)arg, mode));
1983 return (i_vcc_port_ioctl(vccp, minor, portno, cmd, (void *)arg, mode));