Home
last modified time | relevance | path

Searched defs:scb (Results 1 – 23 of 23) sorted by relevance

/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dser-unix.c105 hardwire_open (struct serial *scb, const char *name) in hardwire_open()
115 get_tty_state (struct serial *scb, struct hardwire_ttystate *state) in get_tty_state()
145 set_tty_state (struct serial *scb, struct hardwire_ttystate *state) in set_tty_state()
175 hardwire_get_tty_state (struct serial *scb) in hardwire_get_tty_state()
188 hardwire_set_tty_state (struct serial *scb, serial_ttystate ttystate) in hardwire_set_tty_state()
198 hardwire_noflush_set_tty_state (struct serial *scb, in hardwire_noflush_set_tty_state()
231 hardwire_print_tty_state (struct serial *scb, in hardwire_print_tty_state()
289 hardwire_drain_output (struct serial *scb) in hardwire_drain_output()
318 hardwire_flush_output (struct serial *scb) in hardwire_flush_output()
335 hardwire_flush_input (struct serial *scb) in hardwire_flush_input()
[all …]
H A Dserial.c174 struct serial *scb; in serial_open() local
239 struct serial *scb; in serial_fdopen() local
278 do_serial_close (struct serial *scb, int really_close) in do_serial_close()
330 serial_close (struct serial *scb) in serial_close()
336 serial_un_fdopen (struct serial *scb) in serial_un_fdopen()
342 serial_readchar (struct serial *scb, int timeout) in serial_readchar()
373 serial_write (struct serial *scb, const char *str, int len) in serial_write()
405 serial_drain_output (struct serial *scb) in serial_drain_output()
411 serial_flush_output (struct serial *scb) in serial_flush_output()
417 serial_flush_input (struct serial *scb) in serial_flush_input()
[all …]
H A Dser-e7kpc.c294 e7000pc_open (struct serial *scb, const char *name) in e7000pc_open()
311 e7000pc_noop (struct serial *scb) in e7000pc_noop()
317 e7000pc_raw (struct serial *scb) in e7000pc_raw()
323 e7000pc_readchar (struct serial *scb, int timeout) in e7000pc_readchar()
348 e7000pc_get_tty_state (struct serial *scb) in e7000pc_get_tty_state()
358 e7000pc_set_tty_state (struct serial *scb, serial_ttystate ttystate) in e7000pc_set_tty_state()
364 e7000pc_noflush_set_tty_state (struct serial *scb, in e7000pc_noflush_set_tty_state()
372 e7000pc_print_tty_state (struct serial *scb, in e7000pc_print_tty_state()
381 e7000pc_setbaudrate (struct serial *scb, int rate) in e7000pc_setbaudrate()
387 e7000pc_setstopbits (struct serial *scb, int rate) in e7000pc_setstopbits()
[all …]
H A Dser-go32.c456 dos_open (struct serial *scb, const char *name) in dos_open()
561 dos_close (struct serial *scb) in dos_close()
603 dos_noop (struct serial *scb) in dos_noop()
609 dos_raw (struct serial *scb) in dos_raw()
615 dos_readchar (struct serial *scb, int timeout) in dos_readchar()
633 dos_get_tty_state (struct serial *scb) in dos_get_tty_state()
657 dos_set_tty_state (struct serial *scb, serial_ttystate ttystate) in dos_set_tty_state()
667 dos_noflush_set_tty_state (struct serial *scb, serial_ttystate new_ttystate, in dos_noflush_set_tty_state()
678 dos_flush_input (struct serial *scb) in dos_flush_input()
690 dos_print_tty_state (struct serial *scb, serial_ttystate ttystate, in dos_print_tty_state()
[all …]
H A Dser-pipe.c50 pipe_open (struct serial *scb, const char *name) in pipe_open()
120 pipe_close (struct serial *scb) in pipe_close()
H A Dser-tcp.c57 net_open (struct serial *scb, const char *name) in net_open()
197 net_close (struct serial *scb) in net_close()
H A Dremote.c5324 remote_async_serial_handler (struct serial *scb, void *context) in remote_async_serial_handler()
/openbsd-src/sys/dev/ic/
H A Daic7xxx_openbsd.h161 ahc_scb_timer_reset(struct scb *scb, u_int usec) in ahc_scb_timer_reset()
213 ahc_set_transaction_status(struct scb *scb, uint32_t status) in ahc_set_transaction_status()
219 ahc_set_scsi_status(struct scb *scb, uint32_t status) in ahc_set_scsi_status()
225 ahc_get_transaction_status(struct scb *scb) in ahc_get_transaction_status()
234 ahc_get_scsi_status(struct scb *scb) in ahc_get_scsi_status()
240 ahc_set_transaction_tag(struct scb *scb, int enabled, u_int type) in ahc_set_transaction_tag()
245 ahc_get_transfer_length(struct scb *scb) in ahc_get_transfer_length()
251 ahc_get_transfer_dir(struct scb *scb) in ahc_get_transfer_dir()
257 ahc_set_residual(struct scb *scb, u_long resid) in ahc_set_residual()
263 ahc_set_sense_residual(struct scb *scb, u_long resid) in ahc_set_sense_residual()
[all …]
H A Daic79xx_openbsd.h156 #define aic_get_timeout(scb) ((scb)->xs->timeout) argument
207 #define aic_set_transaction_status(scb, status) (scb)->xs->error = (status) argument
208 #define aic_set_scsi_status(scb, status) (scb)->xs->xs_status = (status) argument
209 #define aic_set_transaction_tag(scb, enabled, type) argument
210 #define aic_set_residual(scb, residual) (scb)->xs->resid = (residual) argument
211 #define aic_set_sense_residual(scb, residual) (scb)->xs->resid = (residual) argument
213 #define aic_get_transaction_status(scb) \ argument
215 #define aic_get_scsi_status(scb) ((scb)->xs->status) argument
216 #define aic_get_transfer_length(scb) ((scb)->xs->datalen) argument
217 #define aic_get_transfer_dir(scb) \ argument
[all …]
H A Daic7xxx_inline.h187 ahc_sg_bus_to_virt(struct scb *scb, uint32_t sg_busaddr) in ahc_sg_bus_to_virt()
199 ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg) in ahc_sg_virt_to_bus()
217 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) in ahc_sync_scb()
279 ahc_update_residual(struct ahc_softc *ahc, struct scb *scb) in ahc_update_residual()
342 struct scb* scb; in ahc_lookup_scb() local
353 ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb) in ahc_swap_with_next_hscb()
393 ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) in ahc_queue_scb()
438 ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb) in ahc_get_sense_buf()
447 ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb) in ahc_get_sense_bufaddr()
H A Daic7xxx_openbsd.c146 ahc_done(struct ahc_softc *ahc, struct scb *scb) in ahc_done()
249 struct scb *scb; in ahc_action() local
300 struct scb *scb; in ahc_execute_scb() local
500 struct scb *scb) in ahc_setup_data()
551 struct scb *scb, *list_scb; in ahc_timeout() local
629 ahc_adapter_req_set_xfer_mode(struct ahc_softc *ahc, struct scb *scb) in ahc_adapter_req_set_xfer_mode()
709 struct scb *scb; in ahc_scb_alloc() local
729 struct scb *scb = io; in ahc_scb_free() local
H A Daic79xx_openbsd.c150 ahd_done(struct ahd_softc *ahd, struct scb *scb) in ahd_done()
250 struct scb *scb; in ahd_action() local
317 struct scb *scb; in ahd_execute_scb() local
474 struct scb *scb) in ahd_setup_data()
557 ahd_adapter_req_set_xfer_mode(struct ahd_softc *ahd, struct scb *scb) in ahd_adapter_req_set_xfer_mode()
644 aic_scb_timer_reset(struct scb *scb, u_int msec) in aic_scb_timer_reset()
663 aic_platform_scb_free(struct ahd_softc *ahd, struct scb *scb) in aic_platform_scb_free()
682 ahd_print_path(struct ahd_softc *ahd, struct scb *scb) in ahd_print_path()
H A Daic79xx.c402 struct scb *scb; ahd_flush_qoutfifo() local
608 ahd_scb_active_in_fifo(struct ahd_softc * ahd,struct scb * scb) ahd_scb_active_in_fifo() argument
637 ahd_run_data_fifo(struct ahd_softc * ahd,struct scb * scb) ahd_run_data_fifo() argument
874 struct scb *scb; ahd_run_qoutfifo() local
971 struct scb *scb; ahd_handle_seqint() local
1017 struct scb *scb; ahd_handle_seqint() local
1033 struct scb *scb; ahd_handle_seqint() local
1072 struct scb *scb; ahd_handle_seqint() local
1160 struct scb *scb; ahd_handle_seqint() local
1227 struct scb *scb; ahd_handle_seqint() local
1363 struct scb *scb; ahd_handle_seqint() local
1400 struct scb *scb; ahd_handle_seqint() local
1426 struct scb *scb; ahd_handle_seqint() local
1478 struct scb *scb; ahd_handle_seqint() local
1541 struct scb *scb; ahd_handle_scsiint() local
1808 struct scb *scb; ahd_handle_transmission_error() local
2043 struct scb *scb; ahd_handle_pkt_busfree() local
2143 struct scb *scb; ahd_handle_pkt_busfree() local
2170 struct scb *scb; ahd_handle_nonpkt_busfree() local
2448 struct scb *scb; ahd_handle_proto_violation() local
2720 ahd_print_scb(struct scb * scb) ahd_print_scb() argument
2745 ahd_dump_sglist(struct scb * scb) ahd_dump_sglist() argument
3536 ahd_scb_devinfo(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,struct scb * scb) ahd_scb_devinfo() argument
3559 ahd_setup_initiator_msgout(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,struct scb * scb) ahd_setup_initiator_msgout() argument
4695 struct scb *scb; ahd_handle_msg_reject() local
4861 struct scb *scb; ahd_handle_ign_wide_residue() local
5010 struct scb *scb; ahd_reinitialize_dataptrs() local
5158 ahd_setup_target_msgin(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,struct scb * scb) ahd_setup_target_msgin() argument
5656 struct scb *scb; ahd_find_scb_by_tag() local
5785 struct scb *scb; ahd_scb_alloc() local
5805 struct scb *scb = xscb; ahd_scb_free() local
6944 ahd_match_scb(struct ahd_softc * ahd,struct scb * scb,int target,char channel,int lun,u_int tag,role_t role) ahd_match_scb() argument
6980 ahd_freeze_devq(struct ahd_softc * ahd,struct scb * scb) ahd_freeze_devq() argument
6996 ahd_qinfifo_requeue_tail(struct ahd_softc * ahd,struct scb * scb) ahd_qinfifo_requeue_tail() argument
7019 ahd_qinfifo_requeue(struct ahd_softc * ahd,struct scb * prev_scb,struct scb * scb) ahd_qinfifo_requeue() argument
7058 struct scb *scb; ahd_reset_cmds_pending() local
7081 ahd_done_with_status(struct ahd_softc * ahd,struct scb * scb,uint32_t status) ahd_done_with_status() argument
7100 struct scb *scb; ahd_search_qinfifo() local
7331 struct scb *scb; ahd_search_scb_list() local
7844 ahd_handle_scb_status(struct ahd_softc * ahd,struct scb * scb) ahd_handle_scb_status() argument
7855 ahd_handle_scsi_status(struct ahd_softc * ahd,struct scb * scb) ahd_handle_scsi_status() argument
8074 ahd_calc_residual(struct ahd_softc * ahd,struct scb * scb) ahd_calc_residual() argument
8674 struct scb *scb; ahd_dump_card_state() local
8953 struct scb *scb, *list_scb; ahd_timeout() local
9506 struct scb *scb; ahd_handle_en_lun() local
10026 ahd_sg_setup(struct ahd_softc * ahd,struct scb * scb,void * sgptr,bus_addr_t addr,bus_size_t len,int last) ahd_sg_setup() argument
10050 ahd_setup_scb_common(struct ahd_softc * ahd,struct scb * scb) ahd_setup_scb_common() argument
10071 ahd_setup_data_scb(struct ahd_softc * ahd,struct scb * scb) ahd_setup_data_scb() argument
10108 ahd_setup_noxfer_scb(struct ahd_softc * ahd,struct scb * scb) ahd_setup_noxfer_scb() argument
10124 ahd_sg_bus_to_virt(struct ahd_softc * ahd,struct scb * scb,uint32_t sg_busaddr) ahd_sg_bus_to_virt() argument
10134 ahd_sg_virt_to_bus(struct ahd_softc * ahd,struct scb * scb,void * sg) ahd_sg_virt_to_bus() argument
10146 ahd_sync_scb(struct ahd_softc * ahd,struct scb * scb,int op) ahd_sync_scb() argument
10154 ahd_sync_sglist(struct ahd_softc * ahd,struct scb * scb,int op) ahd_sync_sglist() argument
10166 ahd_sync_sense(struct ahd_softc * ahd,struct scb * scb,int op) ahd_sync_sense() argument
10182 ahd_complete_scb(struct ahd_softc * ahd,struct scb * scb) ahd_complete_scb() argument
10198 ahd_update_residual(struct ahd_softc * ahd,struct scb * scb) ahd_update_residual() argument
10436 struct scb* scb; ahd_lookup_scb() local
10448 ahd_swap_with_next_hscb(struct ahd_softc * ahd,struct scb * scb) ahd_swap_with_next_hscb() argument
10487 ahd_queue_scb(struct ahd_softc * ahd,struct scb * scb) ahd_queue_scb() argument
10532 ahd_get_sense_buf(struct ahd_softc * ahd,struct scb * scb) ahd_get_sense_buf() argument
10538 ahd_get_sense_bufaddr(struct ahd_softc * ahd,struct scb * scb) ahd_get_sense_bufaddr() argument
[all...]
H A Daic7xxxvar.h90 #define SCB_IS_SCSIBUS_B(ahc, scb) \ argument
92 #define SCB_GET_OUR_ID(scb) \ argument
94 #define SCB_GET_TARGET(ahc, scb) \ argument
96 #define SCB_GET_CHANNEL(ahc, scb) \ argument
98 #define SCB_GET_LUN(scb) \ argument
100 #define SCB_GET_TARGET_OFFSET(ahc, scb) \ argument
102 #define SCB_GET_TARGET_MASK(ahc, scb) \ argument
105 #define SCB_IS_SILENT(scb) \ argument
109 #define SCB_IS_SILENT(scb) \ argument
585 struct scb { struct
[all …]
H A Daic79xx.h115 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) argument
116 #define SCB_GET_OUR_ID(scb) \ argument
118 #define SCB_GET_TARGET(ahd, scb) \ argument
120 #define SCB_GET_CHANNEL(ahd, scb) \ argument
122 #define SCB_GET_LUN(scb) \ argument
124 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ argument
126 SCB_GET_TARGET_MASK(ahd,scb) global() argument
129 SCB_IS_SILENT(scb) global() argument
133 SCB_IS_SILENT(scb) global() argument
148 SCB_GET_TAG(scb) global() argument
615 struct scb { global() struct
617 hscbscb global() argument
622 flagsscb global() argument
624 hscb_mapscb global() argument
636 crc_retry_countscb global() argument
[all...]
H A Daic7xxx.c330 struct scb *scb; in ahc_run_qoutfifo() local
386 struct scb *scb; ahc_run_untagged_queue() local
435 struct scb *scb; ahc_handle_seqint() local
1004 struct scb *scb; ahc_handle_scsiint() local
1561 ahc_print_scb(struct scb * scb) ahc_print_scb() argument
2280 ahc_scb_devinfo(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_scb_devinfo() argument
2314 ahc_setup_initiator_msgout(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_setup_initiator_msgout() argument
2588 struct scb *scb; ahc_handle_proto_violation() local
3461 struct scb *scb; ahc_handle_msg_reject() local
3607 struct scb *scb; ahc_handle_ign_wide_residue() local
3715 struct scb *scb; ahc_reinitialize_dataptrs() local
3825 ahc_setup_target_msgin(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_setup_target_msgin() argument
5003 ahc_match_scb(struct ahc_softc * ahc,struct scb * scb,int target,char channel,int lun,u_int tag,role_t role) ahc_match_scb() argument
5044 ahc_freeze_devq(struct ahc_softc * ahc,struct scb * scb) ahc_freeze_devq() argument
5060 ahc_qinfifo_requeue_tail(struct ahc_softc * ahc,struct scb * scb) ahc_qinfifo_requeue_tail() argument
5083 ahc_qinfifo_requeue(struct ahc_softc * ahc,struct scb * prev_scb,struct scb * scb) ahc_qinfifo_requeue() argument
5121 struct scb *scb; ahc_search_qinfifo() local
5329 struct scb *scb; ahc_search_untagged_queues() local
5903 ahc_calc_residual(struct ahc_softc * ahc,struct scb * scb) ahc_calc_residual() argument
6421 struct scb *scb; ahc_dump_card_state() local
6905 struct scb *scb; ahc_handle_en_lun() local
[all...]
H A Di82596var.h227 int scb; /* Offset to SCB (set by front-end) */ member
H A Di82596.c461 int scb = sc->scb; in i82596_count_errors() local
/openbsd-src/sys/dev/isa/
H A Dwds.c305 struct wds_scb *scb; in wds_finish_scbs() local
397 wds_reset_scb(struct wds_softc *sc, struct wds_scb *scb) in wds_reset_scb()
409 struct wds_scb *scb = xscb; in wds_scb_free() local
443 wds_init_scb(struct wds_softc *sc, struct wds_scb *scb) in wds_init_scb()
466 struct wds_scb *scb; in wds_scb_alloc() local
509 struct wds_scb *scb = sc->sc_scbhash[hashnum]; in wds_scb_phys_kv() local
526 wds_queue_scb(struct wds_softc *sc, struct wds_scb *scb) in wds_queue_scb()
540 struct wds_scb *scb; in wds_collect_mbo() local
568 struct wds_scb *scb; in wds_start_scbs() local
615 wds_done(struct wds_softc *sc, struct wds_scb *scb, u_int8_t stat) in wds_done()
[all …]
H A Dif_ie.c225 volatile struct ie_sys_ctl_block *scb; member
346 volatile struct ie_sys_ctl_block *scb = sc->scb; in ie_ack() local
872 volatile struct ie_sys_ctl_block *scb = sc->scb; in ierint() local
1387 volatile struct ie_sys_ctl_block *scb; in check_ie_present() local
1656 volatile struct ie_sys_ctl_block *scb = sc->scb; in command_and_wait() local
1846 volatile struct ie_sys_ctl_block *scb = sc->scb; in ieinit() local
H A Dwdsreg.h57 struct scsi_generic scb; member
/openbsd-src/usr.bin/cdio/
H A Dmmc.c307 struct scsi_blank *scb; in blank() local
328 struct scsi_test_unit_ready *scb; in unit_ready() local
348 struct scsi_synchronize_cache *scb; in synchronize_cache() local
368 struct scsi_close_track *scb; in close_session() local
525 struct scsi_mode_sense_big *scb; in mode_sense_write() local
549 struct scsi_mode_select_big *scb; in mode_select_write() local
579 struct scsi_read_track_info *scb; in get_disc_size() local
/openbsd-src/sys/arch/alpha/alpha/
H A Dinterrupt.c245 struct scbvec *scb; in interrupt() local