Home
last modified time | relevance | path

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

1234567

/linux-2.6.39/drivers/char/
Dppdev.c369 pp->saved_state.phase = info->phase; in pp_do_ioctl()
371 info->phase = pp->state.phase; in pp_do_ioctl()
399 pp->state.phase = init_phase (mode); in pp_do_ioctl()
403 pp->pdev->port->ieee1284.phase = pp->state.phase; in pp_do_ioctl()
424 int phase; in pp_do_ioctl() local
425 if (copy_from_user (&phase, argp, sizeof (phase))) { in pp_do_ioctl()
429 pp->state.phase = phase; in pp_do_ioctl()
432 pp->pdev->port->ieee1284.phase = phase; in pp_do_ioctl()
439 int phase; in pp_do_ioctl() local
442 phase = pp->pdev->port->ieee1284.phase; in pp_do_ioctl()
[all …]
/linux-2.6.39/drivers/leds/
Dledtrig-heartbeat.c24 unsigned int phase; member
37 switch (heartbeat_data->phase) { in led_heartbeat_function()
50 heartbeat_data->phase++; in led_heartbeat_function()
55 heartbeat_data->phase++; in led_heartbeat_function()
59 heartbeat_data->phase++; in led_heartbeat_function()
65 heartbeat_data->phase = 0; in led_heartbeat_function()
84 heartbeat_data->phase = 0; in heartbeat_trig_activate()
/linux-2.6.39/drivers/parport/
Dieee1284_ops.c57 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()
176 port->ieee1284.phase = IEEE1284_PH_REV_DATA; in parport_ieee1284_read_nibble()
229 port->physport->ieee1284.phase = IEEE1284_PH_REV_IDLE; in parport_ieee1284_read_nibble()
232 port->physport->ieee1284.phase = IEEE1284_PH_HBUSY_DAVAIL; in parport_ieee1284_read_nibble()
267 port->physport->ieee1284.phase = IEEE1284_PH_REV_DATA; in parport_ieee1284_read_byte()
317 port->physport->ieee1284.phase = IEEE1284_PH_REV_IDLE; in parport_ieee1284_read_byte()
320 port->physport->ieee1284.phase = IEEE1284_PH_HBUSY_DAVAIL; in parport_ieee1284_read_byte()
357 port->ieee1284.phase = IEEE1284_PH_REV_IDLE; in ecp_forward_to_reverse()
361 port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN; in ecp_forward_to_reverse()
[all …]
Dieee1284.c255 if (port->ieee1284.phase != IEEE1284_PH_FWD_IDLE) { in parport_ieee1284_terminate()
274 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_ieee1284_terminate()
312 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_ieee1284_terminate()
381 port->ieee1284.phase = IEEE1284_PH_NEGOTIATION; in parport_negotiate()
419 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_negotiate()
520 port->ieee1284.phase = IEEE1284_PH_ECP_SETUP; in parport_negotiate()
536 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_negotiate()
542 port->ieee1284.phase = IEEE1284_PH_REV_IDLE; in parport_negotiate()
545 port->ieee1284.phase = IEEE1284_PH_FWD_IDLE; in parport_negotiate()
568 port->ieee1284.phase = IEEE1284_PH_HBUSY_DAVAIL; in parport_ieee1284_ack_data_avail()
[all …]
/linux-2.6.39/sound/firewire/
Damdtp.c169 unsigned int phase, data_blocks; in calculate_data_blocks() local
175 phase = s->data_block_state; in calculate_data_blocks()
187 data_blocks = 5 + ((phase & 1) ^ in calculate_data_blocks()
188 (phase == 0 || phase >= 40)); in calculate_data_blocks()
191 data_blocks = 11 * (s->sfc >> 1) + (phase == 0); in calculate_data_blocks()
192 if (++phase >= (80 >> (s->sfc >> 1))) in calculate_data_blocks()
193 phase = 0; in calculate_data_blocks()
194 s->data_block_state = phase; in calculate_data_blocks()
203 unsigned int syt_offset, phase, index, syt; in calculate_syt() local
219 phase = s->syt_offset_state; in calculate_syt()
[all …]
/linux-2.6.39/drivers/scsi/pcmcia/
Dnsp_cs.c231 SCpnt->SCp.phase = PH_UNDETERMINED; in nsp_queuecommand_lck()
372 unsigned char phase, arbit; in nsphw_start_selection() local
376 phase = nsp_index_read(base, SCSIBUSMON); in nsphw_start_selection()
377 if(phase != BUSMON_BUS_FREE) { in nsphw_start_selection()
384 SCpnt->SCp.phase = PH_ARBSTART; in nsphw_start_selection()
404 SCpnt->SCp.phase = PH_SELSTART; in nsphw_start_selection()
551 unsigned char phase, i_src; in nsp_expect_signal() local
557 phase = nsp_index_read(base, SCSIBUSMON); in nsp_expect_signal()
558 if (phase == 0xff) { in nsp_expect_signal()
567 if ((phase & mask) != 0 && (phase & BUSMON_PHASE_MASK) == current_phase) { in nsp_expect_signal()
[all …]
/linux-2.6.39/drivers/isdn/i4l/
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.6.39/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-dds34 Stores phase into Y.
38 control the desired phase Y which is added to the phase
46 desired value in rad. If shared across all phase registers
54 Specifies the active phase Y which is added to the phase
65 ddsX_pincontrol_en: Both, the active frequency and phase is
66 controlled by the respective phase and frequency control inputs.
/linux-2.6.39/drivers/scsi/arm/
Dfas216.c199 info->scsi.type, info->scsi.phase); in fas216_dumpinfo()
276 if (info->scsi.phase < ARRAY_SIZE(phases) && in fas216_drv_phase()
277 phases[info->scsi.phase]) in fas216_drv_phase()
278 return phases[info->scsi.phase]; in fas216_drv_phase()
566 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_handlesync()
607 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_handlesync()
636 SCp->phase -= bytes_transferred; in fas216_updateptrs()
718 total = info->scsi.SCp.phase; in fas216_cleanuptransfer()
736 if (info->scsi.phase == PHASE_DATAOUT) in fas216_cleanuptransfer()
756 info->scsi.SCp.phase); in fas216_transfer()
[all …]
Dacornscsi.c397 host->scsi.phase = PHASE_IDLE; in acornscsi_resetcard()
750 host->scsi.phase = PHASE_CONNECTING; in acornscsi_kick()
884 host->scsi.phase = PHASE_IDLE; in acornscsi_done()
1330 host->scsi.phase = PHASE_COMMAND; in acornscsi_sendcommand()
1491 if (host->scsi.phase == PHASE_RECONNECTED) { in acornscsi_message()
1501 host->scsi.phase = PHASE_MSGIN; in acornscsi_message()
1508 if (host->scsi.phase != PHASE_STATUSIN) { in acornscsi_message()
1513 host->scsi.phase = PHASE_DONE; in acornscsi_message()
1527 host->scsi.phase = PHASE_MSGIN; in acornscsi_message()
1542 host->scsi.phase = PHASE_MSGIN; in acornscsi_message()
[all …]
/linux-2.6.39/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.6.39/drivers/scsi/
Dmac53c94.c53 enum fsc_phase phase; /* what we're currently trying to do */ member
96 if (state->phase == idle) in mac53c94_queue_lck()
152 if (state->phase != idle || state->current_req != NULL) in mac53c94_start()
177 state->phase = selecting; in mac53c94_start()
212 intr, stat, seq, state->phase); in mac53c94_interrupt()
225 intr, stat, seq, state->phase); in mac53c94_interrupt()
233 intr, stat, seq, state->phase); in mac53c94_interrupt()
247 switch (state->phase) { in mac53c94_interrupt()
278 state->phase = dataing; in mac53c94_interrupt()
283 state->phase = completing; in mac53c94_interrupt()
[all …]
Datari_NCR5380.c1220 p = hostdata->connected->SCp.phase; in NCR5380_dma_complete()
1413 unsigned char tmp[3], phase; in NCR5380_select() local
1698 phase = PHASE_MSGOUT; in NCR5380_select()
1699 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1738 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument
1741 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 …]
DNCR5380.c1300 unsigned char tmp[3], phase; in NCR5380_select() local
1538 phase = PHASE_MSGOUT; in NCR5380_select()
1539 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1580 static int NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_pio() argument
1582 unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1697 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1699 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1701 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1741 unsigned char *msgptr, phase, tmp; in do_abort() local
1779 phase = PHASE_MSGOUT; in do_abort()
[all …]
Dmesh.c96 u8 phase; member
153 enum mesh_phase phase; /* what we're currently trying to do */ member
222 tlp->phase = (ms->msgphase << 4) + ms->phase; in dlog()
253 t, lp->bs1, lp->bs0, lp->phase); in dumplog()
278 lp->bs1, lp->bs0, lp->phase, lp->tgt); in dumpslog()
323 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs()
400 ms->phase = idle; in mesh_init()
429 ms->phase = arbitrating; in mesh_start_cmd()
469 if (ms->phase != arbitrating) in mesh_start_cmd()
477 ms->phase = idle; in mesh_start_cmd()
[all …]
Dsun3_NCR5380.c1408 unsigned char tmp[3], phase; in NCR5380_select() local
1692 phase = PHASE_MSGOUT; in NCR5380_select()
1693 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1735 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument
1738 register unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1832 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1834 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1836 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1853 unsigned char tmp, *msgptr, phase; in do_abort() local
1883 phase = PHASE_MSGOUT; in do_abort()
[all …]
Dsym53c416.c348 current_command->SCp.phase = idle; in sym53c416_intr_handle()
358 current_command->SCp.phase = idle; in sym53c416_intr_handle()
368 current_command->SCp.phase = idle; in sym53c416_intr_handle()
378 current_command->SCp.phase = idle; in sym53c416_intr_handle()
388 current_command->SCp.phase = idle; in sym53c416_intr_handle()
397 if(current_command->SCp.phase != message_in) in sym53c416_intr_handle()
401 current_command->SCp.phase = idle; in sym53c416_intr_handle()
415 current_command->SCp.phase = data_out; in sym53c416_intr_handle()
437 current_command->SCp.phase = data_in; in sym53c416_intr_handle()
458 current_command->SCp.phase = command_ph; in sym53c416_intr_handle()
[all …]
DNCR53c406a.c687 current_SC->SCp.phase = idle;
711 current_SC->SCp.phase = command_ph; in NCR53c406a_queue_lck()
818 current_SC->SCp.phase = idle; in NCR53c406a_intr()
826 current_SC->SCp.phase = idle; in NCR53c406a_intr()
835 current_SC->SCp.phase = idle; in NCR53c406a_intr()
843 current_SC->SCp.phase = idle; in NCR53c406a_intr()
851 if (current_SC->SCp.phase != message_in) { /* Unexpected disconnect */ in NCR53c406a_intr()
859 current_SC->SCp.phase = idle; in NCR53c406a_intr()
868 current_SC->SCp.phase = data_out; in NCR53c406a_intr()
890 current_SC->SCp.phase = data_in; in NCR53c406a_intr()
[all …]
Daha152x.c940 CURRENT_SC->SCp.phase |= 1 << 16; in setup_expected_interrupts()
942 if(CURRENT_SC->SCp.phase & selecting) { in setup_expected_interrupts()
948 …ing: (phase change) (busfree) %s\n", CMDINFO(CURRENT_SC), CURRENT_SC->SCp.phase & spiordy ? "(spio… in setup_expected_interrupts()
949 SETPORT(SIMODE0, (CURRENT_SC->SCp.phase & spiordy) ? ENSPIORDY : 0); in setup_expected_interrupts()
976 int phase, void (*done)(Scsi_Cmnd *)) in aha152x_internal_queue() argument
991 SCpnt->SCp.phase = not_issued | phase; in aha152x_internal_queue()
997 if(SCpnt->SCp.phase & (resetting|check_condition)) { in aha152x_internal_queue()
1020 if ((phase & resetting) || !scsi_sglist(SCpnt)) { in aha152x_internal_queue()
1188 if(SCpnt->SCp.phase & resetted) { in aha152x_device_reset()
1501 CURRENT_SC->SCp.phase &= ~syncneg; in busfree_run()
[all …]
/linux-2.6.39/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.6.39/drivers/staging/tidspbridge/include/dspbridge/
Ddbdcd.h177 enum nldr_phase phase);
206 enum nldr_phase phase);
236 enum nldr_phase phase,
/linux-2.6.39/kernel/
Drcutree_plugin.h150 int phase; in rcu_preempt_note_context_switch() local
179 phase = (rnp->gpnum + !(rnp->qsmask & rdp->grpmask)) & 0x1; in rcu_preempt_note_context_switch()
180 list_add(&t->rcu_node_entry, &rnp->blocked_tasks[phase]); in rcu_preempt_note_context_switch()
217 int phase = rnp->gpnum & 0x1; in rcu_preempted_readers() local
219 return !list_empty(&rnp->blocked_tasks[phase]) || in rcu_preempted_readers()
220 !list_empty(&rnp->blocked_tasks[phase + 2]); in rcu_preempted_readers()
371 int phase; in rcu_print_detail_task_stall_rnp() local
376 phase = rnp->gpnum & 0x1; in rcu_print_detail_task_stall_rnp()
377 lp = &rnp->blocked_tasks[phase]; in rcu_print_detail_task_stall_rnp()
412 int phase; in rcu_print_task_stall() local
[all …]
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Dnldr.c233 enum nldr_phase phase; /* Node phase currently being loaded */ member
288 enum nldr_phase phase, u16 depth);
290 enum nldr_phase phase);
301 enum nldr_phase phase);
682 switch (nldr_node_obj->phase) { in nldr_get_fxn_addr()
798 enum nldr_phase phase) in nldr_load() argument
810 nldr_node_obj->phase = phase; in nldr_load()
821 false, nldr_node_obj->lib_path, phase, 0); in nldr_load()
825 switch (phase) { in nldr_load()
849 status = load_ovly(nldr_node_obj, phase); in nldr_load()
[all …]
/linux-2.6.39/drivers/usb/host/
Duhci-q.c610 static int uhci_highest_load(struct uhci_hcd *uhci, int phase, int period) in uhci_highest_load() argument
612 int highest_load = uhci->load[phase]; in uhci_highest_load()
614 for (phase += period; phase < MAX_PHASE; phase += period) in uhci_highest_load()
615 highest_load = max_t(int, highest_load, uhci->load[phase]); in uhci_highest_load()
629 if (qh->phase >= 0) in uhci_check_bandwidth()
630 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period); in uhci_check_bandwidth()
632 int phase, load; in uhci_check_bandwidth() local
635 qh->phase = 0; in uhci_check_bandwidth()
636 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period); in uhci_check_bandwidth()
637 for (phase = 1; phase < max_phase; ++phase) { in uhci_check_bandwidth()
[all …]
/linux-2.6.39/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)

1234567