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
397 pp->saved_state.phase = info->phase; in pp_do_ioctl()
399 info->phase = pp->state.phase; in pp_do_ioctl()
428 pp->state.phase = init_phase(mode); in pp_do_ioctl()
432 pp->pdev->port->ieee1284.phase = pp->state.phase; in pp_do_ioctl()
452 int phase; in pp_do_ioctl() local
454 if (copy_from_user(&phase, argp, sizeof(phase))) in pp_do_ioctl()
457 /* FIXME: validate phase */ in pp_do_ioctl()
458 pp->state.phase = phase; in pp_do_ioctl()
461 pp->pdev->port->ieee1284.phase = phase; in pp_do_ioctl()
467 int phase; in pp_do_ioctl() local
470 phase = pp->pdev->port->ieee1284.phase; in pp_do_ioctl()
472 phase = pp->state.phase; in pp_do_ioctl()
473 if (copy_to_user(argp, &phase, sizeof(phase))) in pp_do_ioctl()
544 pp->state.phase = info->phase; in pp_do_ioctl()
546 info->phase = pp->saved_state.phase; in pp_do_ioctl()
690 pp->state.phase = init_phase(pp->state.mode); in pp_open()
722 pp->saved_state.phase = info->phase; in pp_release()
724 info->phase = pp->state.phase; in pp_release()
741 pp->state.phase = info->phase; in pp_release()
743 info->phase = pp->saved_state.phase; in pp_release()