Lines Matching full:phase
20 * SETPHASE set the IEEE 1284 phase of a particular mode. Not to be
37 * GETPHASE gets the current IEEE1284 phase
404 pp->saved_state.phase = info->phase; in pp_do_ioctl()
406 info->phase = pp->state.phase; in pp_do_ioctl()
435 pp->state.phase = init_phase(mode); in pp_do_ioctl()
439 pp->pdev->port->ieee1284.phase = pp->state.phase; in pp_do_ioctl()
459 int phase; in pp_do_ioctl() local
461 if (copy_from_user(&phase, argp, sizeof(phase))) in pp_do_ioctl()
464 /* FIXME: validate phase */ in pp_do_ioctl()
465 pp->state.phase = phase; in pp_do_ioctl()
468 pp->pdev->port->ieee1284.phase = phase; in pp_do_ioctl()
474 int phase; in pp_do_ioctl() local
477 phase = pp->pdev->port->ieee1284.phase; in pp_do_ioctl()
479 phase = pp->state.phase; in pp_do_ioctl()
480 if (copy_to_user(argp, &phase, sizeof(phase))) in pp_do_ioctl()
551 pp->state.phase = info->phase; in pp_do_ioctl()
553 info->phase = pp->saved_state.phase; in pp_do_ioctl()
697 pp->state.phase = init_phase(pp->state.mode); in pp_open()
729 pp->saved_state.phase = info->phase; in pp_release()
731 info->phase = pp->state.phase; in pp_release()
748 pp->state.phase = info->phase; in pp_release()
750 info->phase = pp->saved_state.phase; in pp_release()