Home
last modified time | relevance | path

Searched refs:phase (Results 1 – 25 of 101) sorted by relevance

12345

/linux-2.4.37.9/drivers/char/
Dppdev.c374 pp->saved_state.phase = info->phase; in pp_ioctl()
376 info->phase = pp->state.phase; in pp_ioctl()
404 pp->state.phase = init_phase (mode); in pp_ioctl()
408 pp->pdev->port->ieee1284.phase = pp->state.phase; in pp_ioctl()
429 int phase; in pp_ioctl() local
430 if (copy_from_user (&phase, (int *) arg, sizeof (phase))) { in pp_ioctl()
434 pp->state.phase = phase; in pp_ioctl()
437 pp->pdev->port->ieee1284.phase = phase; in pp_ioctl()
444 int phase; in pp_ioctl() local
447 phase = pp->pdev->port->ieee1284.phase; in pp_ioctl()
[all …]
/linux-2.4.37.9/drivers/parport/
Dieee1284_ops.c56 port->physport->ieee1284.phase = IEEE1284_PH_FWD_DATA; in parport_ieee1284_write_compat()
143 port->physport->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_ieee1284_write_compat()
167 port->physport->ieee1284.phase = IEEE1284_PH_HBUSY_DNA; in parport_ieee1284_read_nibble()
176 port->physport->ieee1284.phase = IEEE1284_PH_REV_IDLE; in parport_ieee1284_read_nibble()
186 port->ieee1284.phase = IEEE1284_PH_REV_DATA; in parport_ieee1284_read_nibble()
233 port->ieee1284.phase = IEEE1284_PH_HBUSY_DNA; in parport_ieee1284_read_nibble()
235 port->ieee1284.phase = IEEE1284_PH_HBUSY_DAVAIL; in parport_ieee1284_read_nibble()
258 port->physport->ieee1284.phase = IEEE1284_PH_HBUSY_DNA; in parport_ieee1284_read_byte()
267 port->physport->ieee1284.phase = IEEE1284_PH_REV_IDLE; in parport_ieee1284_read_byte()
280 port->physport->ieee1284.phase = IEEE1284_PH_REV_DATA; in parport_ieee1284_read_byte()
[all …]
Dieee1284.c254 if (port->ieee1284.phase != IEEE1284_PH_FWD_IDLE) { in parport_ieee1284_terminate()
273 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_ieee1284_terminate()
311 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_ieee1284_terminate()
380 port->ieee1284.phase = IEEE1284_PH_NEGOTIATION; in parport_negotiate()
418 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_negotiate()
519 port->ieee1284.phase = IEEE1284_PH_ECP_SETUP; in parport_negotiate()
535 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_negotiate()
541 port->ieee1284.phase = IEEE1284_PH_REV_IDLE; in parport_negotiate()
544 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_negotiate()
567 port->ieee1284.phase = IEEE1284_PH_HBUSY_DAVAIL; in parport_ieee1284_ack_data_avail()
[all …]
/linux-2.4.37.9/drivers/isdn/
Disdn_ttyfax.c83 if (f->phase == ISDN_FAX_PHASE_A) in isdn_tty_fax_modem_result()
84 f->phase = ISDN_FAX_PHASE_B; in isdn_tty_fax_modem_result()
222 if (f->phase == ISDN_FAX_PHASE_C) { in isdn_tty_fax_command()
233 f->phase = ISDN_FAX_PHASE_E; in isdn_tty_fax_command()
240 f->phase = ISDN_FAX_PHASE_C; in isdn_tty_fax_command()
260 f->phase = ISDN_FAX_PHASE_D; in isdn_tty_fax_command()
266 f->phase = ISDN_FAX_PHASE_B; in isdn_tty_fax_command()
274 f->phase = ISDN_FAX_PHASE_D; in isdn_tty_fax_command()
798 ((f->phase == ISDN_FAX_PHASE_B) || (f->phase == ISDN_FAX_PHASE_D))) { in isdn_tty_cmd_FCLASS2()
807 if (f->phase == ISDN_FAX_PHASE_B) { in isdn_tty_cmd_FCLASS2()
[all …]
/linux-2.4.37.9/drivers/scsi/
Dmac53c94.c48 enum fsc_phase phase; /* what we're currently trying to do */ member
180 if (state->phase == idle) in mac53c94_queue()
254 if (state->phase != idle || state->current_req != NULL) in mac53c94_start()
285 state->phase = selecting; in mac53c94_start()
321 intr, stat, seq, state->phase); in mac53c94_interrupt()
334 intr, stat, seq, state->phase); in mac53c94_interrupt()
342 intr, stat, seq, state->phase); in mac53c94_interrupt()
357 switch (state->phase) { in mac53c94_interrupt()
391 state->phase = dataing; in mac53c94_interrupt()
396 state->phase = completing; in mac53c94_interrupt()
[all …]
Dmac_NCR5380.c1222 p = hostdata->connected->SCp.phase; in NCR5380_dma_complete()
1418 unsigned char tmp[3], phase; in NCR5380_select() local
1703 phase = PHASE_MSGOUT; in NCR5380_select()
1704 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1744 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument
1747 register unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1841 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1843 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1845 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1862 unsigned char tmp, *msgptr, phase; in do_abort() local
[all …]
Datari_NCR5380.c1218 p = hostdata->connected->SCp.phase; in NCR5380_dma_complete()
1414 unsigned char tmp[3], phase; in NCR5380_select() local
1699 phase = PHASE_MSGOUT; in NCR5380_select()
1700 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1740 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument
1743 register unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1837 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1839 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1841 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1858 unsigned char tmp, *msgptr, phase; in do_abort() local
[all …]
Dmesh.c96 u8 phase; member
153 enum mesh_phase phase; /* what we're currently trying to do */ member
437 while(ms->phase != idle) { in mesh_notify_sleep()
443 ms->phase = sleeping; in mesh_notify_sleep()
487 if (ms->phase == idle) in mesh_queue()
530 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs()
648 ms->phase = idle; in mesh_init()
661 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
663 ms->phase, ms); in mesh_start()
667 while (ms->phase == idle) { in mesh_start()
[all …]
DNCR5380.c1459 unsigned char tmp[3], phase; in NCR5380_select() local
1716 phase = PHASE_MSGOUT; in NCR5380_select()
1717 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1754 static int NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_pio() argument
1756 unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1871 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1873 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1875 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1914 unsigned char tmp, *msgptr, phase; in do_abort() local
1944 phase = PHASE_MSGOUT; in do_abort()
[all …]
Dsun3_NCR5380.c1404 unsigned char tmp[3], phase; in NCR5380_select() local
1689 phase = PHASE_MSGOUT; in NCR5380_select()
1690 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1732 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument
1735 register unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1829 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1831 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1833 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1850 unsigned char tmp, *msgptr, phase; in do_abort() local
1880 phase = PHASE_MSGOUT; in do_abort()
[all …]
DNCR53c406a.c677 current_SC->SCp.phase = idle; in wait_intr()
720 current_SC->SCp.phase = command_ph; in NCR53c406a_queue()
829 current_SC->SCp.phase = idle; in NCR53c406a_intr()
838 current_SC->SCp.phase = idle; in NCR53c406a_intr()
847 current_SC->SCp.phase = idle; in NCR53c406a_intr()
855 current_SC->SCp.phase = idle; in NCR53c406a_intr()
863 if(current_SC->SCp.phase != message_in){ /* Unexpected disconnect */ in NCR53c406a_intr()
872 current_SC->SCp.phase = idle; in NCR53c406a_intr()
881 current_SC->SCp.phase = data_out; in NCR53c406a_intr()
910 current_SC->SCp.phase = data_in; in NCR53c406a_intr()
[all …]
Dsym53c416.c372 current_command->SCp.phase = idle; in sym53c416_intr_handle()
382 current_command->SCp.phase = idle; in sym53c416_intr_handle()
392 current_command->SCp.phase = idle; in sym53c416_intr_handle()
402 current_command->SCp.phase = idle; in sym53c416_intr_handle()
412 current_command->SCp.phase = idle; in sym53c416_intr_handle()
421 if(current_command->SCp.phase != message_in) in sym53c416_intr_handle()
425 current_command->SCp.phase = idle; in sym53c416_intr_handle()
439 current_command->SCp.phase = data_out; in sym53c416_intr_handle()
465 current_command->SCp.phase = data_in; in sym53c416_intr_handle()
489 current_command->SCp.phase = command_ph; in sym53c416_intr_handle()
[all …]
Dimm.c87 imm_dev->cur_cmd->SCp.phase++; in imm_wakeup()
107 imm_hosts[host_no].cur_cmd->SCp.phase++; in imm_pb_claim()
876 cmd->SCp.phase = 0; in imm_command()
883 if (cmd->SCp.phase) /* Only disconnect if we have connected */ in imm_command()
946 if (cmd->SCp.phase > 1) in imm_interrupt()
948 if (cmd->SCp.phase > 0) in imm_interrupt()
971 switch (cmd->SCp.phase) { in imm_engine()
985 cmd->SCp.phase++; in imm_engine()
993 cmd->SCp.phase++; in imm_engine()
1003 cmd->SCp.phase++; in imm_engine()
[all …]
Dppa.c74 ppa_dev->cur_cmd->SCp.phase++; in ppa_wakeup()
94 ppa_hosts[host_no].cur_cmd->SCp.phase++; in ppa_pb_claim()
773 cmd->SCp.phase = 0; in ppa_command()
780 if (cmd->SCp.phase) /* Only disconnect if we have connected */ in ppa_command()
843 if (cmd->SCp.phase > 1) in ppa_interrupt()
845 if (cmd->SCp.phase > 0) in ppa_interrupt()
869 switch (cmd->SCp.phase) { in ppa_engine()
904 cmd->SCp.phase++; in ppa_engine()
912 cmd->SCp.phase++; in ppa_engine()
921 cmd->SCp.phase++; in ppa_engine()
[all …]
Daha152x.c1452 CURRENT_SC->SCp.phase |= 1 << 16;
1454 if(CURRENT_SC->SCp.phase & selecting) {
1460 …ing: (phase change) (busfree) %s\n", CMDINFO(CURRENT_SC), CURRENT_SC->SCp.phase & spiordy ? "(spio…
1461 SETPORT(SIMODE0, (CURRENT_SC->SCp.phase & spiordy) ? ENSPIORDY : 0);
1487 int aha152x_internal_queue(Scsi_Cmnd *SCpnt, struct semaphore *sem, int phase, Scsi_Cmnd *done_SC, … argument
1502 SCpnt->SCp.phase = not_issued | phase;
1713 if(cmnd.SCp.phase & resetted) {
1998 CURRENT_SC->SCp.phase &= ~syncneg;
2000 if(CURRENT_SC->SCp.phase & completed) {
2004 } else if(CURRENT_SC->SCp.phase & aborted) {
[all …]
Dwd7000.c478 volatile unchar phase; /* used by interrupt handler */ member
488 volatile unchar phase; /* used by interrupt handler */ member
498 volatile unchar phase; /* used by interrupt handler */ member
509 volatile unchar phase; /* used by interrupt handler */ member
520 volatile unchar phase; /* used by interrupt handler */ member
537 volatile unchar phase; /* used by interrupt handler */ member
545 volatile unchar phase; /* used by interrupt handler */ member
1042 SCpnt->SCp.phase = 0; in wd7000_scsi_done()
1117 if (--(SCpnt->SCp.phase) <= 0) { /* all scbs are done */ in wd7000_intr_handle()
1131 icb->phase = 0; in wd7000_intr_handle()
[all …]
DNCR53C9x.c162 unchar phase; in esp_print_statreg() local
165 phase = statreg & ESP_STAT_PMASK; in esp_print_statreg()
166 printk("%s,", (phase == ESP_DOP ? "DATA-OUT" : in esp_print_statreg()
167 (phase == ESP_DIP ? "DATA-IN" : in esp_print_statreg()
168 (phase == ESP_CMDP ? "COMMAND" : in esp_print_statreg()
169 (phase == ESP_STATP ? "STATUS" : in esp_print_statreg()
170 (phase == ESP_MOP ? "MSG-OUT" : in esp_print_statreg()
171 (phase == ESP_MIP ? "MSG_IN" : in esp_print_statreg()
222 static char *phase_string(int phase) in phase_string() argument
224 switch(phase) { in phase_string()
[all …]
DNCR5380.h209 #define PHASE_SR_TO_TCR(phase) ((phase) >> 2) argument
320 static int NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig…
322 static int NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig…
Desp.c251 u8 phase; in esp_print_statreg() local
254 phase = statreg & ESP_STAT_PMASK; in esp_print_statreg()
255 printk("%s,", (phase == ESP_DOP ? "DATA-OUT" : in esp_print_statreg()
256 (phase == ESP_DIP ? "DATA-IN" : in esp_print_statreg()
257 (phase == ESP_CMDP ? "COMMAND" : in esp_print_statreg()
258 (phase == ESP_STATP ? "STATUS" : in esp_print_statreg()
259 (phase == ESP_MOP ? "MSG-OUT" : in esp_print_statreg()
260 (phase == ESP_MIP ? "MSG_IN" : in esp_print_statreg()
311 static char *phase_string(int phase) in phase_string() argument
313 switch (phase) { in phase_string()
[all …]
/linux-2.4.37.9/Documentation/isdn/
DINTERFACE.fax58 - phase
61 If the phase changes because of an AT command, the LL driver
90 switching to phase C.
93 switching to phase D.
96 switching to phase B.
99 switching to phase B.
110 1: switching to phase B (next document)
115 switching to phase D.
118 OK message, switching to phase E.
/linux-2.4.37.9/drivers/acorn/scsi/
Dfas216.c164 info->scsi.type, info->scsi.phase); in fas216_dumpinfo()
241 if (info->scsi.phase < ARRAY_SIZE(phases) && in fas216_drv_phase()
242 phases[info->scsi.phase]) in fas216_drv_phase()
243 return phases[info->scsi.phase]; in fas216_drv_phase()
531 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_handlesync()
572 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_handlesync()
701 if (info->scsi.phase == PHASE_DATAOUT) in fas216_cleanuptransfer()
741 if (info->scsi.phase == PHASE_DATAOUT) in fas216_transfer()
805 if (info->scsi.phase == PHASE_DATAIN) { in fas216_stoptransfer()
855 info->scsi.phase); in fas216_disconnect_intr()
[all …]
Dacornscsi.c403 host->scsi.phase = PHASE_IDLE; in acornscsi_resetcard()
755 host->scsi.phase = PHASE_CONNECTING; in acornscsi_kick()
889 host->scsi.phase = PHASE_IDLE; in acornscsi_done()
1344 host->scsi.phase = PHASE_COMMAND; in acornscsi_sendcommand()
1505 if (host->scsi.phase == PHASE_RECONNECTED) { in acornscsi_message()
1515 host->scsi.phase = PHASE_MSGIN; in acornscsi_message()
1522 if (host->scsi.phase != PHASE_STATUSIN) { in acornscsi_message()
1527 host->scsi.phase = PHASE_DONE; in acornscsi_message()
1541 host->scsi.phase = PHASE_MSGIN; in acornscsi_message()
1556 host->scsi.phase = PHASE_MSGIN; in acornscsi_message()
[all …]
/linux-2.4.37.9/Documentation/networking/
Dcops.txt52 dummy -seed -phase 2 -net 2000 -addr 2000.10 -zone "1033"
53 lt0 -seed -phase 1 -net 1000 -addr 1000.50 -zone "1033"
56 eth0 -seed -phase 2 -net 3000 -addr 3000.20 -zone "1033"
57 lt0 -seed -phase 1 -net 1000 -addr 1000.50 -zone "1033"
61 lt0 -seed -phase 1 -net 1000 -addr 1000.10 -zone "LocalTalk1"
62 lt1 -seed -phase 1 -net 2000 -addr 2000.20 -zone "LocalTalk2"
63 eth0 -seed -phase 2 -net 3000 -addr 3000.30 -zone "EtherTalk"
/linux-2.4.37.9/drivers/scsi/pcmcia/
Dnsp_cs.c246 SCpnt->SCp.phase = PH_UNDETERMINED; in nsp_queuecommand()
389 unsigned char phase, arbit; in nsphw_start_selection() local
393 phase = nsp_index_read(base, SCSIBUSMON); in nsphw_start_selection()
394 if(phase != BUSMON_BUS_FREE) { in nsphw_start_selection()
401 SCpnt->SCp.phase = PH_ARBSTART; in nsphw_start_selection()
421 SCpnt->SCp.phase = PH_SELSTART; in nsphw_start_selection()
605 unsigned char phase, i_src; in nsp_expect_signal() local
611 phase = nsp_index_read(base, SCSIBUSMON); in nsp_expect_signal()
612 if (phase == 0xff) { in nsp_expect_signal()
621 if ((phase & mask) != 0 && (phase & BUSMON_PHASE_MASK) == current_phase) { in nsp_expect_signal()
[all …]
/linux-2.4.37.9/Documentation/video4linux/
Dradiotrack.txt88 0 0 : "zero" bit phase 1
89 0 1 : "zero" bit phase 2
91 1 0 : "one" bit phase 1
92 1 1 : "one" bit phase 2
138 disable, "zero" bit phase 1, tuner adjust)
140 disable, "zero" bit phase 2, tuner adjust)
143 disable, "one" bit phase 1, tuner adjust)
145 disable, "one" bit phase 2, tuner adjust)

12345