/drivers/char/ |
D | ppdev.c | 365 pp->saved_state.phase = info->phase; in pp_do_ioctl() 367 info->phase = pp->state.phase; in pp_do_ioctl() 395 pp->state.phase = init_phase (mode); in pp_do_ioctl() 399 pp->pdev->port->ieee1284.phase = pp->state.phase; in pp_do_ioctl() 420 int phase; in pp_do_ioctl() local 421 if (copy_from_user (&phase, argp, sizeof (phase))) { in pp_do_ioctl() 425 pp->state.phase = phase; in pp_do_ioctl() 428 pp->pdev->port->ieee1284.phase = phase; in pp_do_ioctl() 435 int phase; in pp_do_ioctl() local 438 phase = pp->pdev->port->ieee1284.phase; in pp_do_ioctl() [all …]
|
/drivers/parport/ |
D | ieee1284_ops.c | 57 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 …]
|
D | ieee1284.c | 255 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 …]
|
/drivers/leds/trigger/ |
D | ledtrig-heartbeat.c | 27 unsigned int phase; member 45 switch (heartbeat_data->phase) { in led_heartbeat_function() 58 heartbeat_data->phase++; in led_heartbeat_function() 63 heartbeat_data->phase++; in led_heartbeat_function() 67 heartbeat_data->phase++; in led_heartbeat_function() 73 heartbeat_data->phase = 0; in led_heartbeat_function() 92 heartbeat_data->phase = 0; in heartbeat_trig_activate()
|
/drivers/scsi/pcmcia/ |
D | nsp_cs.c | 231 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 …]
|
/drivers/isdn/i4l/ |
D | isdn_ttyfax.c | 83 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 …]
|
/drivers/scsi/arm/ |
D | fas216.c | 200 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 …]
|
D | acornscsi.c | 396 host->scsi.phase = PHASE_IDLE; in acornscsi_resetcard() 749 host->scsi.phase = PHASE_CONNECTING; in acornscsi_kick() 883 host->scsi.phase = PHASE_IDLE; in acornscsi_done() 1329 host->scsi.phase = PHASE_COMMAND; in acornscsi_sendcommand() 1490 if (host->scsi.phase == PHASE_RECONNECTED) { in acornscsi_message() 1500 host->scsi.phase = PHASE_MSGIN; in acornscsi_message() 1507 if (host->scsi.phase != PHASE_STATUSIN) { in acornscsi_message() 1512 host->scsi.phase = PHASE_DONE; in acornscsi_message() 1526 host->scsi.phase = PHASE_MSGIN; in acornscsi_message() 1541 host->scsi.phase = PHASE_MSGIN; in acornscsi_message() [all …]
|
/drivers/scsi/ |
D | atari_NCR5380.c | 1199 p = hostdata->connected->SCp.phase; in NCR5380_dma_complete() 1392 unsigned char tmp[3], phase; in NCR5380_select() local 1677 phase = PHASE_MSGOUT; in NCR5380_select() 1678 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select() 1717 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument 1720 register unsigned char p = *phase, tmp; in NCR5380_transfer_pio() 1816 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio() 1818 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio() 1820 if (!c || (*phase == p)) in NCR5380_transfer_pio() 1837 unsigned char tmp, *msgptr, phase; in do_abort() local [all …]
|
D | NCR5380.c | 1293 unsigned char tmp[3], phase; in NCR5380_select() local 1531 phase = PHASE_MSGOUT; in NCR5380_select() 1532 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select() 1573 static int NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_pio() argument 1575 unsigned char p = *phase, tmp; in NCR5380_transfer_pio() 1690 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio() 1692 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio() 1694 if (!c || (*phase == p)) in NCR5380_transfer_pio() 1734 unsigned char *msgptr, phase, tmp; in do_abort() local 1772 phase = PHASE_MSGOUT; in do_abort() [all …]
|
D | mesh.c | 95 u8 phase; member 152 enum mesh_phase phase; /* what we're currently trying to do */ member 221 tlp->phase = (ms->msgphase << 4) + ms->phase; in dlog() 252 t, lp->bs1, lp->bs0, lp->phase); in dumplog() 277 lp->bs1, lp->bs0, lp->phase, lp->tgt); in dumpslog() 322 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs() 399 ms->phase = idle; in mesh_init() 427 ms->phase = arbitrating; in mesh_start_cmd() 467 if (ms->phase != arbitrating) in mesh_start_cmd() 475 ms->phase = idle; in mesh_start_cmd() [all …]
|
D | mac53c94.c | 53 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 …]
|
D | sun3_NCR5380.c | 1334 unsigned char tmp[3], phase; in NCR5380_select() local 1618 phase = PHASE_MSGOUT; in NCR5380_select() 1619 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select() 1661 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument 1664 register unsigned char p = *phase, tmp; in NCR5380_transfer_pio() 1758 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio() 1760 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio() 1762 if (!c || (*phase == p)) in NCR5380_transfer_pio() 1779 unsigned char tmp, *msgptr, phase; in do_abort() local 1809 phase = PHASE_MSGOUT; in do_abort() [all …]
|
D | NCR53c406a.c | 687 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 …]
|
D | sym53c416.c | 347 current_command->SCp.phase = idle; in sym53c416_intr_handle() 357 current_command->SCp.phase = idle; in sym53c416_intr_handle() 367 current_command->SCp.phase = idle; in sym53c416_intr_handle() 377 current_command->SCp.phase = idle; in sym53c416_intr_handle() 387 current_command->SCp.phase = idle; in sym53c416_intr_handle() 396 if(current_command->SCp.phase != message_in) in sym53c416_intr_handle() 400 current_command->SCp.phase = idle; in sym53c416_intr_handle() 414 current_command->SCp.phase = data_out; in sym53c416_intr_handle() 436 current_command->SCp.phase = data_in; in sym53c416_intr_handle() 457 current_command->SCp.phase = command_ph; in sym53c416_intr_handle() [all …]
|
D | aha152x.c | 948 CURRENT_SC->SCp.phase |= 1 << 16; in setup_expected_interrupts() 950 if(CURRENT_SC->SCp.phase & selecting) { in setup_expected_interrupts() 956 …ing: (phase change) (busfree) %s\n", CMDINFO(CURRENT_SC), CURRENT_SC->SCp.phase & spiordy ? "(spio… in setup_expected_interrupts() 957 SETPORT(SIMODE0, (CURRENT_SC->SCp.phase & spiordy) ? ENSPIORDY : 0); in setup_expected_interrupts() 984 int phase, void (*done)(Scsi_Cmnd *)) in aha152x_internal_queue() argument 999 SCpnt->SCp.phase = not_issued | phase; in aha152x_internal_queue() 1005 if(SCpnt->SCp.phase & (resetting|check_condition)) { in aha152x_internal_queue() 1028 if ((phase & resetting) || !scsi_sglist(SCpnt)) { in aha152x_internal_queue() 1196 if(SCpnt->SCp.phase & resetted) { in aha152x_device_reset() 1509 CURRENT_SC->SCp.phase &= ~syncneg; in busfree_run() [all …]
|
D | wd7000.c | 507 volatile unchar phase; /* used by interrupt handler */ member 517 volatile unchar phase; /* used by interrupt handler */ member 527 volatile unchar phase; /* used by interrupt handler */ member 538 volatile unchar phase; /* used by interrupt handler */ member 549 volatile unchar phase; /* used by interrupt handler */ member 566 volatile unchar phase; /* used by interrupt handler */ member 574 volatile unchar phase; /* used by interrupt handler */ member 1060 icb->phase = 0; in wd7000_intr() 1065 if (--(SCpnt->SCp.phase) <= 0) { /* all scbs are done */ in wd7000_intr() 1098 SCpnt->SCp.phase = 1; in wd7000_queuecommand_lck() [all …]
|
D | imm.c | 67 dev->cur_cmd->SCp.phase = 1; in got_it() 762 if (cmd->SCp.phase > 1) in imm_interrupt() 786 switch (cmd->SCp.phase) { in imm_engine() 800 cmd->SCp.phase++; in imm_engine() 808 cmd->SCp.phase++; in imm_engine() 818 cmd->SCp.phase++; in imm_engine() 832 cmd->SCp.phase++; in imm_engine() 850 cmd->SCp.phase++; in imm_engine() 866 cmd->SCp.phase++; in imm_engine() 878 cmd->SCp.phase++; in imm_engine() [all …]
|
/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-dds | 36 Stores phase into Y. 40 control the desired phase Y which is added to the phase 48 the desired value in rad. If shared across all phase registers 56 Specifies the active phase Y which is added to the phase 68 phase is controlled by the respective phase and frequency
|
/drivers/staging/tidspbridge/rmgr/ |
D | nldr.c | 231 enum nldr_phase phase; /* Node phase currently being loaded */ member 284 enum nldr_phase phase, u16 depth); 286 enum nldr_phase phase); 297 enum nldr_phase phase); 638 switch (nldr_node_obj->phase) { in nldr_get_fxn_addr() 733 enum nldr_phase phase) in nldr_load() argument 742 nldr_node_obj->phase = phase; in nldr_load() 753 false, nldr_node_obj->lib_path, phase, 0); in nldr_load() 757 switch (phase) { in nldr_load() 780 status = load_ovly(nldr_node_obj, phase); in nldr_load() [all …]
|
/drivers/usb/host/ |
D | uhci-q.c | 611 static int uhci_highest_load(struct uhci_hcd *uhci, int phase, int period) in uhci_highest_load() argument 613 int highest_load = uhci->load[phase]; in uhci_highest_load() 615 for (phase += period; phase < MAX_PHASE; phase += period) in uhci_highest_load() 616 highest_load = max_t(int, highest_load, uhci->load[phase]); in uhci_highest_load() 630 if (qh->phase >= 0) in uhci_check_bandwidth() 631 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period); in uhci_check_bandwidth() 633 int phase, load; in uhci_check_bandwidth() local 636 qh->phase = 0; in uhci_check_bandwidth() 637 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period); in uhci_check_bandwidth() 638 for (phase = 1; phase < max_phase; ++phase) { in uhci_check_bandwidth() [all …]
|
/drivers/staging/tidspbridge/include/dspbridge/ |
D | dbdcd.h | 177 enum nldr_phase phase); 206 enum nldr_phase phase); 236 enum nldr_phase phase,
|
/drivers/target/iscsi/ |
D | iscsi_target_parameters.h | 16 u8 phase; member 205 #define IS_PHASE_SECURITY(p) ((p)->phase & PHASE_SECURITY) 206 #define IS_PHASE_OPERATIONAL(p) ((p)->phase & PHASE_OPERATIONAL) 207 #define IS_PHASE_DECLARATIVE(p) ((p)->phase & PHASE_DECLARATIVE) 208 #define IS_PHASE_FFP0(p) ((p)->phase & PHASE_FFP0)
|
D | iscsi_target_parameters.c | 149 char *name, char *value, u8 phase, u8 scope, u8 sender, in iscsi_set_default_param() argument 173 param->phase = phase; in iscsi_set_default_param() 636 new_param->phase = param->phase; in iscsi_copy_param_list() 1422 int phase, in iscsi_check_key() argument 1459 if (!phase) in iscsi_check_key() 1462 if (!(param->phase & phase)) { in iscsi_check_key() 1465 switch (phase) { in iscsi_check_key() 1482 u8 phase, in iscsi_enforce_integrity_rules() argument 1494 if (!(param->phase & phase)) in iscsi_enforce_integrity_rules() 1523 if (!(param->phase & phase)) in iscsi_enforce_integrity_rules() [all …]
|
/drivers/block/paride/ |
D | pd.c | 354 static enum action (*phase)(void); variable 395 if (!phase) { in run_fsm() 398 phase = do_pd_io_start; in run_fsm() 411 switch(res = phase()) { in run_fsm() 415 phase = NULL; in run_fsm() 446 phase = pd_special; in do_pd_io_start() 505 phase = do_pd_read_drq; in do_pd_read_start() 532 phase = do_pd_write_done; in do_pd_write_start() 551 phase = do_pd_read_start; in do_pd_read_drq() 571 phase = do_pd_write_start; in do_pd_write_done()
|