Lines Matching refs:mode
62 * For interrupt mode
78 #define GLVC_TIMEOUT_POLL 5000000 /* Timeout in intr mode */
79 #define GLVC_POLLMODE_POLL 500000 /* Interval in polling mode */
94 static int glvc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
160 uint8_t intr_mode; /* 1 = polling mode, 2 = interrupt mode */
200 intptr_t arg, int mode);
373 * we are in the polling mode
476 " polling mode", instance);
489 "err = %d , use polling mode", instance, err));
663 * we miss an interrupt or in polling mode.
747 * we miss an interrupt or in polling mode.
865 * we miss an interrupt or in polling mode.
894 glvc_ioctl_opt_op(glvc_soft_state_t *softsp, intptr_t arg, int mode)
902 sizeof (glvc_xport_opt_op_t), mode) != 0) {
912 mode);
927 mode);
948 glvc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p,
962 retval = glvc_ioctl_opt_op(softsp, arg, mode);
972 switch (ddi_model_convert_from(mode)) {
977 mode) == -1) {
994 msg_peek_cmd32.buflen32, mode) == -1) {
1001 sizeof (glvc_xport_msg_peek32_t), mode)
1009 sizeof (glvc_xport_msg_peek_t), mode) == -1)
1023 msg_peek_cmd.buflen, mode) == -1) {
1030 sizeof (glvc_xport_msg_peek_t), mode) == -1)