Lines Matching refs:mode
423 * mode the device will support.
470 find_obp_consoles(sm_mux_state_t *ms, io_mode_t mode)
478 if (mode == FORINPUT)
480 else if (mode == FOROUTPUT)
508 cn->sm_mode |= mode;
510 if (mode == FORINPUT)
794 io_mode_t *mode)
816 *mode = 0;
819 *mode = FORINPUT;
821 *mode |= FOROUTPUT;
822 if ((*mode & FORIO) == 0)
824 if ((*mode & FOROUTPUT) == 0) {
828 if ((*mode & FORINPUT) == 0) {
845 io_mode_t mode;
854 if ((rv = validate_reservation(info_hdl, &dip, &dev, &mode)) != 0) {
867 if (mode & FORINPUT)
869 if (mode & FOROUTPUT)
922 if (icnt == 0 && (mode & FORINPUT))
924 if (ocnt == 0 && (mode & FOROUTPUT))