Home
last modified time | relevance | path

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

12345678910>>...25

/netbsd-src/sys/arch/amiga/dev/
H A Dsci.c205 int flags, phase, stat; in sci_donextcmd() local
212 phase = DATA_IN_PHASE; in sci_donextcmd()
214 phase = DATA_OUT_PHASE; in sci_donextcmd()
216 phase = STATUS_PHASE; in sci_donextcmd()
223 if (phase == STATUS_PHASE || flags & XS_CTL_POLL) in sci_donextcmd()
225 xs->data, xs->datalen, phase); in sci_donextcmd()
406 int phase) in sci_ixfer_out() argument
415 *dev->sci_tcmd = phase; in sci_ixfer_out()
446 sci_ixfer_in(struct sci_softc *dev, int len, register u_char *buf, int phase) in sci_ixfer_in() argument
461 *dev->sci_tcmd = phase; in sci_ixfer_in()
[all …]
H A Dwstsc.c80 register u_char *buf, int phase);
82 register u_char *buf, int phase);
84 register u_short *buf, int phase);
86 register u_short *buf, int phase);
205 int phase) in wstsc_dma_xfer_in() argument
216 *dev->sci_tcmd = phase; in wstsc_dma_xfer_in()
289 int phase) in wstsc_dma_xfer_out() argument
301 *dev->sci_tcmd = phase; in wstsc_dma_xfer_out()
339 int phase) in wstsc_dma_xfer_in2() argument
353 *dev->sci_tcmd = phase; in wstsc_dma_xfer_in2()
[all …]
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_ccu_phase.c61 struct sunxi_ccu_phase *phase = &clk->u.phase; in sunxi_ccu_phase_get_rate() local
77 val = CCU_READ(sc, phase->reg); in sunxi_ccu_phase_get_rate()
78 delay = __SHIFTOUT(val, phase->mask); in sunxi_ccu_phase_get_rate()
87 struct sunxi_ccu_phase *phase = &clk->u.phase; in sunxi_ccu_phase_set_rate() local
109 val = CCU_READ(sc, phase->reg); in sunxi_ccu_phase_set_rate()
110 val &= ~phase->mask; in sunxi_ccu_phase_set_rate()
111 val |= __SHIFTIN(delay, phase->mask); in sunxi_ccu_phase_set_rate()
112 CCU_WRITE(sc, phase->reg, val); in sunxi_ccu_phase_set_rate()
121 struct sunxi_ccu_phase *phase = &clk->u.phase; in sunxi_ccu_phase_get_parent() local
125 return phase->parent; in sunxi_ccu_phase_get_parent()
/netbsd-src/sys/arch/atari/dev/
H A Dncr5380.c308 reqp->phase = NR_PHASE; in ncr5380_scsi_request()
376 tmp->phase = NR_PHASE; in ncr5380_scsi_request()
649 transfer_dma(reqp, reqp->phase, 0); in ncr_dma_intr()
680 connected->phase, 0); in ncr_ctrl_intr()
711 uint8_t phase; in scsi_select() local
885 reqp->phase = PH_CMD; in scsi_select()
896 phase = PH_MSGOUT; in scsi_select()
908 if (transfer_pio(&phase, tmp, &cnt, 0) || cnt) { in scsi_select()
910 if ((phase == PH_CMD) && (sc->sc_selected & targ_bit) == 0) { in scsi_select()
914 reqp->phase = PH_CMD; in scsi_select()
[all …]
/netbsd-src/sys/arch/mac68k/dev/
H A Dncr5380.c300 reqp->phase = NR_PHASE; in ncr5380_scsi_request()
369 tmp->phase = NR_PHASE; in ncr5380_scsi_request()
634 transfer_dma(reqp, reqp->phase, 0); in ncr_dma_intr()
661 transfer_dma(connected, connected->phase, 0); in ncr_ctrl_intr()
692 u_char phase; in scsi_select() local
865 reqp->phase = PH_CMD; in scsi_select()
876 phase = PH_MSGOUT; in scsi_select()
888 if (transfer_pio(&phase, tmp, &cnt, 0) || cnt) { in scsi_select()
890 if ((phase == PH_CMD) && !(sc->sc_selected & targ_bit)) { in scsi_select()
894 reqp->phase = PH_CMD; in scsi_select()
[all …]
/netbsd-src/sys/arch/hp300/stand/common/
H A Dscsi.c210 ixfer_start(volatile struct scsidevice *hd, int len, uint8_t phase, int wait) in ixfer_start() argument
216 hd->scsi_pctl = phase; in ixfer_start()
271 uint8_t phase, ints; in scsiicmd() local
284 phase = CMD_PHASE; in scsiicmd()
287 switch (phase) { in scsiicmd()
290 if (ixfer_start(hd, clen, phase, wait)) in scsiicmd()
293 phase = xferphase; in scsiicmd()
300 if (ixfer_start(hd, len, phase, wait) || in scsiicmd()
303 phase = STATUS_PHASE; in scsiicmd()
310 if (ixfer_start(hd, len, phase, wait)) in scsiicmd()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/contrib/
H A Ddglib.pm230 my $phase = ""; # compile/link/execute
236 $phase = "compile";
240 $phase = "link";
242 $phase = "execute";
247 $phase = "compile";
249 $phase = "execute";
283 $currtest->{detail} = "$phase phase";
312 if($phase and $failwhy) {
313 $currtest->{detail} = "$phase phase; $failwhy" if $phase;
314 } elsif($phase) {
[all …]
/netbsd-src/external/gpl3/gcc/dist/contrib/
H A Ddglib.pm230 my $phase = ""; # compile/link/execute
236 $phase = "compile";
240 $phase = "link";
242 $phase = "execute";
247 $phase = "compile";
249 $phase = "execute";
283 $currtest->{detail} = "$phase phase";
312 if($phase and $failwhy) {
313 $currtest->{detail} = "$phase phase; $failwhy" if $phase;
314 } elsif($phase) {
[all …]
/netbsd-src/external/gpl3/binutils/dist/ld/
H A Dldexp.c336 if (expld.phase == lang_final_phase_enum in update_definedness()
348 if (expld.phase == lang_first_phase_enum in fold_segment_end()
353 else if (seg->phase == exp_seg_align_seen in fold_segment_end()
354 || seg->phase == exp_seg_relro_seen) in fold_segment_end()
356 seg->phase = exp_seg_end_seen; in fold_segment_end()
359 else if (seg->phase == exp_seg_done in fold_segment_end()
360 || seg->phase == exp_seg_adjust in fold_segment_end()
361 || seg->phase == exp_seg_relro_adjust) in fold_segment_end()
378 if (expld.phase != lang_first_phase_enum) in fold_unary()
406 if (expld.phase != lang_first_phase_enum) in fold_unary()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/ld/
H A Dldexp.c335 if (expld.phase == lang_final_phase_enum in update_definedness()
347 if (expld.phase == lang_first_phase_enum in fold_segment_end()
352 else if (seg->phase == exp_seg_align_seen in fold_segment_end()
353 || seg->phase == exp_seg_relro_seen) in fold_segment_end()
355 seg->phase = exp_seg_end_seen; in fold_segment_end()
358 else if (seg->phase == exp_seg_done in fold_segment_end()
359 || seg->phase == exp_seg_adjust in fold_segment_end()
360 || seg->phase == exp_seg_relro_adjust) in fold_segment_end()
377 if (expld.phase != lang_first_phase_enum) in fold_unary()
405 if (expld.phase != lang_first_phase_enum) in fold_unary()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgcov-iov.c36 char phase = 0; in main() local
56 phase = argv[2][0]; in main()
57 if (phase == '\0' in main()
59 phase = '*'; in main()
64 v[3] = phase; in main()
71 argv[1], major, minor, argv[2], phase); in main()
H A Ddumpfile.h568 extern void dump_function (int phase, tree fn);
639 extern void dump_function (int phase, tree fn);
681 get_dump_file_info (int phase) const;
689 get_dump_file_name (int phase, int part = -1) const;
703 dump_start (int phase, dump_flags_t *flag_ptr);
708 dump_finish (int phase);
711 dump_begin (int phase, dump_flags_t *flag_ptr, int part);
715 dump_initialized_p (int phase) const;
719 dump_flag_name (int phase) const;
726 dump_phase_enabled_p (int phase) const;
H A Ddumpfile.c275 get_dump_file_info (int phase) const in get_dump_file_info() argument
277 if (phase < TDI_end) in get_dump_file_info()
278 return &dump_files[phase]; in get_dump_file_info()
279 else if ((size_t) (phase - TDI_end) >= m_extra_dump_files_in_use) in get_dump_file_info()
282 return m_extra_dump_files + (phase - TDI_end); in get_dump_file_info()
308 get_dump_file_name (int phase, int part) const in get_dump_file_name() argument
312 if (phase == TDI_none) in get_dump_file_name()
315 dfi = get_dump_file_info (phase); in get_dump_file_name()
1449 dump_start (int phase, dump_flags_t *flag_ptr) in dump_start() argument
1455 if (phase == TDI_none || !dump_phase_enabled_p (phase)) in dump_start()
[all …]
/netbsd-src/sys/dev/isa/
H A Dseagate.c290 int sea_transfer_pio(struct sea_softc *sea, u_char *phase,
875 u_char lun, phase; in sea_reselect() local
915 phase = PH_MSGIN; in sea_reselect()
916 sea_transfer_pio(sea, &phase, &len, &data); in sea_reselect()
954 phase = PH_MSGOUT; in sea_reselect()
956 sea_transfer_pio(sea, &phase, &len, &data); in sea_reselect()
967 sea_transfer_pio(struct sea_softc *sea, u_char *phase, int *count, u_char **data) in sea_transfer_pio() argument
969 u_char p = *phase, tmp; in sea_transfer_pio()
1033 *phase = tmp & PH_MASK; in sea_transfer_pio()
1035 *phase = PH_INVALID; in sea_transfer_pio()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_pm.c56 }, **phase; in i915_gem_suspend_late() local
82 for (phase = phases; *phase; phase++) { in i915_gem_suspend_late()
85 while ((obj = first_mm_object(*phase))) { in i915_gem_suspend_late()
102 list_splice_tail(&keep, *phase); in i915_gem_suspend_late()
/netbsd-src/tests/dev/audio/
H A Dh_pad.c112 } phase; in main() local
170 phase = PRE; in main()
190 if (phase == PRE) { in main()
197 phase = BODY; in main()
199 } else if (phase == BODY) { in main()
212 phase = POST; in main()
215 } else if (phase == POST) { in main()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgenversion.cc36 char phase = 0; in main() local
50 phase = DEVPHASE[0]; in main()
51 if (phase == '\0' in main()
53 phase = '*'; in main()
58 v[3] = phase; in main()
H A Ddumpfile.h578 extern void dump_function (int phase, tree fn);
649 extern void dump_function (int phase, tree fn);
691 get_dump_file_info (int phase) const;
699 get_dump_file_name (int phase, int part = -1) const;
713 dump_start (int phase, dump_flags_t *flag_ptr);
718 dump_finish (int phase);
721 dump_begin (int phase, dump_flags_t *flag_ptr, int part);
725 dump_initialized_p (int phase) const;
729 dump_flag_name (int phase) const;
736 dump_phase_enabled_p (int phase) const;
H A Ddumpfile.cc277 get_dump_file_info (int phase) const in get_dump_file_info()
279 if (phase < TDI_end) in get_dump_file_info()
280 return &dump_files[phase]; in get_dump_file_info()
281 else if ((size_t) (phase - TDI_end) >= m_extra_dump_files_in_use) in get_dump_file_info()
284 return m_extra_dump_files + (phase - TDI_end); in get_dump_file_info()
310 get_dump_file_name (int phase, int part) const in get_dump_file_name() argument
314 if (phase == TDI_none) in get_dump_file_name()
317 dfi = get_dump_file_info (phase); in get_dump_file_name()
1467 dump_start (int phase, dump_flags_t *flag_ptr) in dump_start() argument
1473 if (phase == TDI_none || !dump_phase_enabled_p (phase)) in dump_start()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A Dself_test_core.c24 const char *phase; member
90 (char *)st->phase, 0); in self_test_setparams()
110 ret->phase = ""; in OSSL_SELF_TEST_new()
127 st->phase = OSSL_SELF_TEST_PHASE_START; in OSSL_SELF_TEST_onbegin()
142 st->phase = in OSSL_SELF_TEST_onend()
147 st->phase = OSSL_SELF_TEST_PHASE_NONE; in OSSL_SELF_TEST_onend()
164 st->phase = OSSL_SELF_TEST_PHASE_CORRUPT; in OSSL_SELF_TEST_oncorrupt_byte()
/netbsd-src/sys/dev/ic/
H A Dncr5380sbc.c51 * Gordon Ross integrated the message phase code, added lots of
120 #define ACT_CONTINUE 0x00 /* No flags: expect another phase */
179 /* This one is used when waiting for a phase change. (X100uS.) */
226 /* Ask the target for a MSG_OUT phase. */
243 ncr5380_pio_out(struct ncr5380_softc *sc, int phase, int count, uint8_t *data) in ncr5380_pio_out() argument
264 if (SCI_BUS_PHASE(NCR5380_READ(sc, sci_bus_csr)) != phase) in ncr5380_pio_out()
301 ncr5380_pio_in(struct ncr5380_softc *sc, int phase, int count, uint8_t *data) in ncr5380_pio_in() argument
319 /* A phase change is not valid until AFTER REQ rises! */ in ncr5380_pio_in()
320 if (SCI_BUS_PHASE(NCR5380_READ(sc, sci_bus_csr)) != phase) in ncr5380_pio_in()
453 * The remaining documented interrupt causes are phase mismatc in ncr5380_intr()
1060 int target, lun, phase, timo; ncr5380_reselect() local
1545 int n, phase; ncr5380_msg_in() local
1785 int act_flags, n, phase, progress; ncr5380_msg_out() local
2041 ncr5380_data_xfer(struct ncr5380_softc * sc,int phase) ncr5380_data_xfer() argument
2162 int act_flags, phase, timo; ncr5380_machine() local
[all...]
H A Dsunscpal.c431 sunscpal_pio_out(struct sunscpal_softc *sc, int phase, int count, uint8_t *data) in sunscpal_pio_out() argument
446 phase) in sunscpal_pio_out()
451 SUNSCPAL_BYTE_WRITE(sc, phase, *data++); in sunscpal_pio_out()
453 SUNSCPAL_BYTE_WRITE(sc, phase, 0); in sunscpal_pio_out()
464 sunscpal_pio_in(struct sunscpal_softc *sc, int phase, int count, uint8_t *data) in sunscpal_pio_in() argument
480 phase) in sunscpal_pio_in()
485 *data++ = SUNSCPAL_BYTE_READ(sc, phase); in sunscpal_pio_in()
487 (void)SUNSCPAL_BYTE_READ(sc, phase); in sunscpal_pio_in()
1296 int n, phase; in sunscpal_msg_in() local
1337 phase = SUNSCPAL_BUS_PHASE(SUNSCPAL_READ_2(sc, sunscpal_icr)); in sunscpal_msg_in()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/
H A Damdgpu_dcn20_dccg.c58 int modulo, phase; in dccg2_update_dpp_dto() local
62 phase = ((modulo * req_dppclk) + ref_dppclk - 1) / ref_dppclk; in dccg2_update_dpp_dto()
64 if (phase > 0xff) { in dccg2_update_dpp_dto()
66 phase = 0xff; in dccg2_update_dpp_dto()
70 DPPCLK0_DTO_PHASE, phase, in dccg2_update_dpp_dto()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dprovider_status_test.c53 const char *phase = NULL, *type = NULL, *desc = NULL; in self_test_events() local
63 phase = (const char *)p->data; in self_test_events()
75 if (strcmp(phase, OSSL_SELF_TEST_PHASE_START) == 0) in self_test_events()
77 else if (strcmp(phase, OSSL_SELF_TEST_PHASE_PASS) == 0 in self_test_events()
78 || strcmp(phase, OSSL_SELF_TEST_PHASE_FAIL) == 0) in self_test_events()
79 BIO_printf(bio_out, "%s\n", phase); in self_test_events()
84 if (corrupt && strcmp(phase, OSSL_SELF_TEST_PHASE_CORRUPT) == 0) in self_test_events()
/netbsd-src/sys/dev/usb/
H A Dmotg.c1355 KASSERT(ep->phase == IDLE); in motg_device_ctrl_start1()
1356 ep->phase = SETUP; in motg_device_ctrl_start1()
1388 otgpipe->hw_ep->phase = DATA_IN; in motg_device_ctrl_read()
1405 KASSERT(ep->phase == DATA_IN || ep->phase == STATUS_IN); in motg_device_ctrl_intr_rx()
1413 ep->phase, csr, (uintptr_t)xfer, in motg_device_ctrl_intr_rx()
1440 if (ep->phase == STATUS_IN) { in motg_device_ctrl_intr_rx()
1446 DPRINTFN(MD_CTRL, "phase %jd datalen %jd", ep->phase, datalen, 0, 0); in motg_device_ctrl_intr_rx()
1457 KASSERT(ep->phase == DATA_IN); in motg_device_ctrl_intr_rx()
1479 KASSERT(ep->phase == DATA_IN); in motg_device_ctrl_intr_rx()
1482 ep->phase = STATUS_OUT; in motg_device_ctrl_intr_rx()
[all …]

12345678910>>...25