/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | ser-base.h | 28 extern int generic_readchar (struct serial *scb, int timeout, 29 int (*do_readchar) (struct serial *scb, 31 extern int ser_base_flush_output (struct serial *scb); 32 extern int ser_base_flush_input (struct serial *scb); 33 extern int ser_base_send_break (struct serial *scb); 34 extern void ser_base_raw (struct serial *scb); 35 extern serial_ttystate ser_base_get_tty_state (struct serial *scb); 36 extern serial_ttystate ser_base_copy_tty_state (struct serial *scb, 38 extern int ser_base_set_tty_state (struct serial *scb, 40 extern void ser_base_print_tty_state (struct serial *scb, [all...] |
H A D | ser-base.c | 44 /* Value of scb->async_state: */ 59 /* Identify and schedule the next ASYNC task based on scb->async_state 60 and scb->buf* (the input FIFO). A state machine is used to avoid 65 reschedule (struct serial *scb) argument 67 if (serial_is_async_p (scb)) 71 switch (scb->async_state) 74 if (scb->bufcnt == 0) 78 delete_file_handler (scb->fd); 79 next_state = create_timer (0, push_event, scb); 83 if (scb 128 run_async_handler_and_reschedule(struct serial *scb) argument 156 struct serial *scb = (struct serial *) context; local 199 struct serial *scb = (struct serial *) context; local 214 ser_base_wait_for(struct serial *scb, int timeout) argument 261 ser_base_read_error_fd(struct serial *scb, int close_fd) argument 324 serial *scb = (serial *) client_data; local 336 do_ser_base_readchar(struct serial *scb, int timeout) argument 426 generic_readchar(struct serial *scb, int timeout, int (do_readchar) (struct serial *scb, int timeout)) argument 468 ser_base_readchar(struct serial *scb, int timeout) argument 474 ser_base_write(struct serial *scb, const void *buf, size_t count) argument 498 ser_base_flush_output(struct serial *scb) argument 504 ser_base_flush_input(struct serial *scb) argument 517 ser_base_send_break(struct serial *scb) argument 523 ser_base_drain_output(struct serial *scb) argument 529 ser_base_raw(struct serial *scb) argument 535 ser_base_get_tty_state(struct serial *scb) argument 542 ser_base_copy_tty_state(struct serial *scb, serial_ttystate ttystate) argument 549 ser_base_set_tty_state(struct serial *scb, serial_ttystate ttystate) argument 555 ser_base_print_tty_state(struct serial *scb, serial_ttystate ttystate, struct ui_file *stream) argument 564 ser_base_setbaudrate(struct serial *scb, int rate) argument 570 ser_base_setstopbits(struct serial *scb, int num) argument 578 ser_base_setparity(struct serial *scb, int parity) argument 586 ser_base_async(struct serial *scb, int async_p) argument [all...] |
H A D | ser-tcp.h | 25 extern int net_open (struct serial *scb, const char *name); 26 extern void net_close (struct serial *scb); 27 extern int net_read_prim (struct serial *scb, size_t count); 28 extern int net_write_prim (struct serial *scb, const void *buf, size_t count); 29 extern int ser_tcp_send_break (struct serial *scb);
|
H A D | ser-unix.h | 23 extern int ser_unix_read_prim (struct serial *scb, size_t count); 24 extern int ser_unix_write_prim (struct serial *scb, const void *buf,
|
H A D | serial.c | 34 /* Pointer to list of scb's. */ 167 struct serial *scb; 169 for (scb = scb_base; scb; scb = scb->next) 170 if (scb->fd == fd) 171 return scb; 181 struct serial *scb; 183 scb 165 struct serial *scb; local 179 struct serial *scb; local 239 struct serial *scb; local 281 struct serial *scb; local 314 do_serial_close(struct serial *scb, int really_close) argument 356 serial_close(struct serial *scb) argument 362 serial_un_fdopen(struct serial *scb) argument 368 serial_is_open(struct serial *scb) argument 374 serial_ref(struct serial *scb) argument 380 serial_unref(struct serial *scb) argument 388 serial_readchar(struct serial *scb, int timeout) argument 419 serial_write(struct serial *scb, const void *buf, size_t count) argument 463 serial_drain_output(struct serial *scb) argument 469 serial_flush_output(struct serial *scb) argument 475 serial_flush_input(struct serial *scb) argument 481 serial_send_break(struct serial *scb) argument 490 serial_raw(struct serial *scb) argument 496 serial_get_tty_state(struct serial *scb) argument 502 serial_copy_tty_state(struct serial *scb, serial_ttystate ttystate) argument 508 serial_set_tty_state(struct serial *scb, serial_ttystate ttystate) argument 514 serial_print_tty_state(struct serial *scb, serial_ttystate ttystate, struct ui_file *stream) argument 522 serial_setbaudrate(struct serial *scb, int rate) argument 528 serial_setstopbits(struct serial *scb, int num) argument 536 serial_setparity(struct serial *scb, int parity) argument 542 serial_can_async_p(struct serial *scb) argument 548 serial_is_async_p(struct serial *scb) argument 554 serial_async(struct serial *scb, serial_event_ftype *handler, void *context) argument 568 serial_debug(struct serial *scb, int debug_p) argument 574 serial_debug_p(struct serial *scb) argument 581 serial_wait_handle(struct serial *scb, HANDLE *read, HANDLE *except) argument 593 serial_done_wait_handle(struct serial *scb) argument [all...] |
H A D | ser-uds.c | 34 uds_open (struct serial *scb, const char *name) argument 56 scb->fd = -1; 60 scb->fd = sock; 66 uds_close (struct serial *scb) argument 68 if (scb->fd == -1) 71 close (scb->fd); 72 scb->fd = -1; 76 uds_read_prim (struct serial *scb, size_t count) argument 78 return recv (scb->fd, scb 82 uds_write_prim(struct serial *scb, const void *buf, size_t count) argument [all...] |
H A D | serial.h | 56 extern int serial_is_open (struct serial *scb); 68 extern void serial_close (struct serial *scb); 72 extern void serial_ref (struct serial *scb); 76 extern void serial_unref (struct serial *scb); 93 extern void serial_un_fdopen (struct serial *scb); 112 extern int serial_readchar (struct serial *scb, int timeout); 117 extern int serial_write (struct serial *scb, const void *buf, size_t count); 140 extern int serial_send_break (struct serial *scb); 144 extern void serial_raw (struct serial *scb); 149 extern serial_ttystate serial_get_tty_state (struct serial *scb); [all...] |
H A D | ser-unix.c | 53 static int hardwire_open (struct serial *scb, const char *name); 54 static void hardwire_raw (struct serial *scb); 56 static int hardwire_setbaudrate (struct serial *scb, int rate); 57 static int hardwire_setparity (struct serial *scb, int parity); 58 static void hardwire_close (struct serial *scb); 59 static int get_tty_state (struct serial *scb, 61 static int set_tty_state (struct serial *scb, 63 static serial_ttystate hardwire_get_tty_state (struct serial *scb); 64 static int hardwire_set_tty_state (struct serial *scb, serial_ttystate state); 76 hardwire_open (struct serial *scb, cons argument 86 get_tty_state(struct serial *scb, struct hardwire_ttystate *state) argument 95 set_tty_state(struct serial *scb, struct hardwire_ttystate *state) argument 104 hardwire_get_tty_state(struct serial *scb) argument 118 hardwire_copy_tty_state(struct serial *scb, serial_ttystate ttystate) argument 128 hardwire_set_tty_state(struct serial *scb, serial_ttystate ttystate) argument 138 hardwire_print_tty_state(struct serial *scb, serial_ttystate ttystate, struct ui_file *stream) argument 166 hardwire_drain_output(struct serial *scb) argument 175 hardwire_flush_output(struct serial *scb) argument 181 hardwire_flush_input(struct serial *scb) argument 189 hardwire_send_break(struct serial *scb) argument 195 hardwire_raw(struct serial *scb) argument 375 hardwire_setbaudrate(struct serial *scb, int rate) argument 398 hardwire_setstopbits(struct serial *scb, int num) argument 430 hardwire_setparity(struct serial *scb, int parity) argument 463 hardwire_close(struct serial *scb) argument 521 ser_unix_read_prim(struct serial *scb, size_t count) argument 527 ser_unix_write_prim(struct serial *scb, const void *buf, size_t len) argument [all...] |
H A D | ser-pipe.c | 36 static int pipe_open (struct serial *scb, const char *name); 37 static void pipe_close (struct serial *scb); 47 pipe_open (struct serial *scb, const char *name) argument 136 scb->fd = pdes[0]; 137 scb->error_fd = err_pdes[0]; 138 scb->state = state; 147 pipe_close (struct serial *scb) argument 149 struct pipe_state *state = (struct pipe_state *) scb->state; 151 close (scb->fd); 152 scb [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | ser-base.h | 28 extern int generic_readchar (struct serial *scb, int timeout, 29 int (*do_readchar) (struct serial *scb, 31 extern int ser_base_flush_output (struct serial *scb); 32 extern int ser_base_flush_input (struct serial *scb); 33 extern int ser_base_send_break (struct serial *scb); 34 extern void ser_base_raw (struct serial *scb); 35 extern serial_ttystate ser_base_get_tty_state (struct serial *scb); 36 extern serial_ttystate ser_base_copy_tty_state (struct serial *scb, 38 extern int ser_base_set_tty_state (struct serial *scb, 40 extern void ser_base_print_tty_state (struct serial *scb, [all...] |
H A D | ser-base.c | 44 /* Value of scb->async_state: */ 60 /* Identify and schedule the next ASYNC task based on scb->async_state 61 and scb->buf* (the input FIFO). A state machine is used to avoid 66 reschedule (struct serial *scb) argument 68 if (serial_is_async_p (scb)) 72 switch (scb->async_state) 75 if (scb->bufcnt == 0) 79 delete_file_handler (scb->fd); 80 next_state = create_timer (0, push_event, scb); 84 if (scb 129 run_async_handler_and_reschedule(struct serial *scb) argument 157 struct serial *scb = (struct serial *) context; local 200 struct serial *scb = (struct serial *) context; local 215 ser_base_wait_for(struct serial *scb, int timeout) argument 262 ser_base_read_error_fd(struct serial *scb, int close_fd) argument 325 serial *scb = (serial *) client_data; local 337 do_ser_base_readchar(struct serial *scb, int timeout) argument 427 generic_readchar(struct serial *scb, int timeout, int (do_readchar) (struct serial *scb, int timeout)) argument 469 ser_base_readchar(struct serial *scb, int timeout) argument 475 ser_base_write(struct serial *scb, const void *buf, size_t count) argument 499 ser_base_flush_output(struct serial *scb) argument 505 ser_base_flush_input(struct serial *scb) argument 518 ser_base_send_break(struct serial *scb) argument 524 ser_base_drain_output(struct serial *scb) argument 530 ser_base_raw(struct serial *scb) argument 536 ser_base_get_tty_state(struct serial *scb) argument 543 ser_base_copy_tty_state(struct serial *scb, serial_ttystate ttystate) argument 550 ser_base_set_tty_state(struct serial *scb, serial_ttystate ttystate) argument 556 ser_base_print_tty_state(struct serial *scb, serial_ttystate ttystate, struct ui_file *stream) argument 565 ser_base_setbaudrate(struct serial *scb, int rate) argument 571 ser_base_setstopbits(struct serial *scb, int num) argument 579 ser_base_setparity(struct serial *scb, int parity) argument 587 ser_base_async(struct serial *scb, int async_p) argument [all...] |
H A D | ser-tcp.h | 25 extern int net_open (struct serial *scb, const char *name); 26 extern void net_close (struct serial *scb); 27 extern int net_read_prim (struct serial *scb, size_t count); 28 extern int net_write_prim (struct serial *scb, const void *buf, size_t count); 29 extern int ser_tcp_send_break (struct serial *scb);
|
H A D | ser-unix.h | 23 extern int ser_unix_read_prim (struct serial *scb, size_t count); 24 extern int ser_unix_write_prim (struct serial *scb, const void *buf,
|
H A D | serial.c | 34 /* Pointer to list of scb's. */ 167 struct serial *scb; 169 for (scb = scb_base; scb; scb = scb->next) 170 if (scb->fd == fd) 171 return scb; 181 struct serial *scb; 183 scb 165 struct serial *scb; local 179 struct serial *scb; local 234 struct serial *scb; local 276 struct serial *scb; local 309 do_serial_close(struct serial *scb, int really_close) argument 351 serial_close(struct serial *scb) argument 357 serial_un_fdopen(struct serial *scb) argument 363 serial_is_open(struct serial *scb) argument 369 serial_ref(struct serial *scb) argument 375 serial_unref(struct serial *scb) argument 383 serial_readchar(struct serial *scb, int timeout) argument 413 serial_write(struct serial *scb, const void *buf, size_t count) argument 457 serial_drain_output(struct serial *scb) argument 463 serial_flush_output(struct serial *scb) argument 469 serial_flush_input(struct serial *scb) argument 475 serial_send_break(struct serial *scb) argument 484 serial_raw(struct serial *scb) argument 490 serial_get_tty_state(struct serial *scb) argument 496 serial_copy_tty_state(struct serial *scb, serial_ttystate ttystate) argument 502 serial_set_tty_state(struct serial *scb, serial_ttystate ttystate) argument 508 serial_print_tty_state(struct serial *scb, serial_ttystate ttystate, struct ui_file *stream) argument 516 serial_setbaudrate(struct serial *scb, int rate) argument 522 serial_setstopbits(struct serial *scb, int num) argument 530 serial_setparity(struct serial *scb, int parity) argument 536 serial_can_async_p(struct serial *scb) argument 542 serial_is_async_p(struct serial *scb) argument 548 serial_async(struct serial *scb, serial_event_ftype *handler, void *context) argument 562 serial_debug(struct serial *scb, int debug_p) argument 568 serial_debug_p(struct serial *scb) argument 575 serial_wait_handle(struct serial *scb, HANDLE *read, HANDLE *except) argument 587 serial_done_wait_handle(struct serial *scb) argument [all...] |
H A D | ser-uds.c | 34 uds_open (struct serial *scb, const char *name) argument 56 scb->fd = -1; 60 scb->fd = sock; 66 uds_close (struct serial *scb) argument 68 if (scb->fd == -1) 71 close (scb->fd); 72 scb->fd = -1; 76 uds_read_prim (struct serial *scb, size_t count) argument 78 return recv (scb->fd, scb 82 uds_write_prim(struct serial *scb, const void *buf, size_t count) argument [all...] |
H A D | serial.h | 64 extern int serial_is_open (struct serial *scb); 76 extern void serial_close (struct serial *scb); 80 extern void serial_ref (struct serial *scb); 84 extern void serial_unref (struct serial *scb); 101 extern void serial_un_fdopen (struct serial *scb); 120 extern int serial_readchar (struct serial *scb, int timeout); 125 extern int serial_write (struct serial *scb, const void *buf, size_t count); 148 extern int serial_send_break (struct serial *scb); 152 extern void serial_raw (struct serial *scb); 157 extern serial_ttystate serial_get_tty_state (struct serial *scb); [all...] |
H A D | ser-unix.c | 53 static int hardwire_open (struct serial *scb, const char *name); 54 static void hardwire_raw (struct serial *scb); 56 static int hardwire_setbaudrate (struct serial *scb, int rate); 57 static int hardwire_setparity (struct serial *scb, int parity); 58 static void hardwire_close (struct serial *scb); 59 static int get_tty_state (struct serial *scb, 61 static int set_tty_state (struct serial *scb, 63 static serial_ttystate hardwire_get_tty_state (struct serial *scb); 64 static int hardwire_set_tty_state (struct serial *scb, serial_ttystate state); 76 hardwire_open (struct serial *scb, cons argument 86 get_tty_state(struct serial *scb, struct hardwire_ttystate *state) argument 95 set_tty_state(struct serial *scb, struct hardwire_ttystate *state) argument 104 hardwire_get_tty_state(struct serial *scb) argument 118 hardwire_copy_tty_state(struct serial *scb, serial_ttystate ttystate) argument 128 hardwire_set_tty_state(struct serial *scb, serial_ttystate ttystate) argument 138 hardwire_print_tty_state(struct serial *scb, serial_ttystate ttystate, struct ui_file *stream) argument 166 hardwire_drain_output(struct serial *scb) argument 175 hardwire_flush_output(struct serial *scb) argument 181 hardwire_flush_input(struct serial *scb) argument 189 hardwire_send_break(struct serial *scb) argument 195 hardwire_raw(struct serial *scb) argument 375 hardwire_setbaudrate(struct serial *scb, int rate) argument 398 hardwire_setstopbits(struct serial *scb, int num) argument 430 hardwire_setparity(struct serial *scb, int parity) argument 462 hardwire_close(struct serial *scb) argument 520 ser_unix_read_prim(struct serial *scb, size_t count) argument 526 ser_unix_write_prim(struct serial *scb, const void *buf, size_t len) argument [all...] |
H A D | ser-pipe.c | 37 static int pipe_open (struct serial *scb, const char *name); 38 static void pipe_close (struct serial *scb); 48 pipe_open (struct serial *scb, const char *name) argument 145 scb->fd = pdes[0]; 146 scb->error_fd = err_pdes[0]; 147 scb->state = state; 156 pipe_close (struct serial *scb) argument 158 struct pipe_state *state = (struct pipe_state *) scb->state; 160 close (scb->fd); 161 scb [all...] |
/netbsd-current/sys/dev/ic/ |
H A D | aic79xx_osm.h | 90 #define SCB_GET_SIM(ahd, scb) \ 200 ahd_scb_timer_reset(struct scb *scb, u_int usec) argument 202 if (!(scb->xs->xs_control & XS_CTL_POLL)) { 203 callout_reset(&scb->xs->xs_callout, 204 (usec * hz)/1000000, ahd_timeout, scb); 313 static __inline void ahd_set_transaction_status(struct scb *, uint32_t); 314 static __inline void ahd_set_scsi_status(struct scb *, uint32_t); 315 static __inline void ahd_set_xfer_status(struct scb *, uint32_t); 316 static __inline uint32_t ahd_get_transaction_status(struct scb *); 334 ahd_set_transaction_status(struct scb *scb, uint32_t status) argument 340 ahd_set_scsi_status(struct scb *scb, uint32_t status) argument 346 ahd_set_xfer_status(struct scb *scb, uint32_t status) argument 352 ahd_get_transaction_status(struct scb *scb) argument 358 ahd_get_scsi_status(struct scb *scb) argument 364 ahd_set_transaction_tag(struct scb *scb, int enabled, u_int type) argument 370 ahd_get_transfer_length(struct scb *scb) argument 376 ahd_get_transfer_dir(struct scb *scb) argument 382 ahd_set_residual(struct scb *scb, u_long resid) argument 389 ahd_set_sense_residual(struct scb *scb, u_long resid) argument 396 ahd_get_residual(struct scb *scb) argument 402 ahd_perform_autosense(struct scb *scb) argument 408 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb) argument 426 ahd_freeze_scb(struct scb *scb) argument 437 ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb) argument 452 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb) argument 528 ahd_print_path(struct ahd_softc *ahd, struct scb *scb) argument [all...] |
H A D | aic7xxx_osm.h | 89 #define SCB_GET_SIM(ahc, scb) \ 90 (SCB_GET_CHANNEL(ahc, scb) == 'A' ? (ahc)->platform_data->sim \ 217 ahc_scb_timer_reset(struct scb *scb, u_int usec) argument 219 if (!(scb->xs->xs_control & XS_CTL_POLL)) { 220 callout_reset(&scb->xs->xs_callout, 221 (usec * hz)/1000000, ahc_timeout, scb); 315 static __inline void ahc_set_transaction_status(struct scb *, uint32_t); 316 static __inline void ahc_set_scsi_status(struct scb *, uint32_t); 317 static __inline uint32_t ahc_get_transaction_status(struct scb *); 334 ahc_set_transaction_status(struct scb *scb, uint32_t status) argument 340 ahc_set_scsi_status(struct scb *scb, uint32_t status) argument 346 ahc_get_transaction_status(struct scb *scb) argument 352 ahc_get_scsi_status(struct scb *scb) argument 358 ahc_set_transaction_tag(struct scb *scb, int enabled, u_int type) argument 364 ahc_get_transfer_length(struct scb *scb) argument 370 ahc_get_transfer_dir(struct scb *scb) argument 376 ahc_set_residual(struct scb *scb, u_long resid) argument 382 ahc_set_sense_residual(struct scb *scb, u_long resid) argument 390 ahc_get_residual(struct scb *scb) argument 396 ahc_perform_autosense(struct scb *scb) argument 402 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb) argument 408 ahc_freeze_scb(struct scb *scb) argument 419 ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument 432 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) argument 507 ahc_print_path(struct ahc_softc *ahc, struct scb *scb) argument [all...] |
H A D | aic7xxx_osm.c | 58 struct scsipi_xfer *xs, struct scb *scb); 59 static void ahc_set_recoveryscb(struct ahc_softc *ahc, struct scb *scb); 194 * We have an scb which has been processed by the 199 ahc_done(struct ahc_softc *ahc, struct scb *scb) argument 205 xs = scb->xs; 207 LIST_REMOVE(scb, pending_links); 208 if ((scb 339 struct scb *scb; local 520 struct scb *scb; local 717 ahc_setup_data(struct ahc_softc *ahc, struct scsipi_xfer *xs, struct scb *scb) argument 775 ahc_set_recoveryscb(struct ahc_softc *ahc, struct scb *scb) argument 805 struct scb *scb; local [all...] |
H A D | aic7xxx_inline.h | 64 * manual pause while accessing scb ram, accesses to certain registers 156 ahc_sg_bus_to_virt(struct scb *scb, 159 ahc_sg_virt_to_bus(struct scb *scb, 164 struct scb *scb, int op); 166 struct scb *scb, int op); 172 ahc_sg_bus_to_virt(struct scb *sc argument 184 ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg) argument 202 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) argument 211 ahc_sync_sglist(struct ahc_softc *ahc, struct scb *scb, int op) argument 276 ahc_update_residual(struct ahc_softc *ahc, struct scb *scb) argument 370 struct scb *scb; local 382 ahc_free_scb(struct ahc_softc *ahc, struct scb *scb) argument 401 struct scb* scb; local 411 ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb) argument 451 ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) argument 483 ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb) argument 492 ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb) argument [all...] |
H A D | aic79xx_inline.h | 232 static __inline void *ahd_sg_setup(struct ahd_softc *, struct scb *, 234 static __inline void ahd_setup_scb_common(struct ahd_softc *, struct scb *); 235 static __inline void ahd_setup_data_scb(struct ahd_softc *, struct scb *); 236 static __inline void ahd_setup_noxfer_scb(struct ahd_softc *, struct scb *); 239 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, argument 242 scb->sg_count++; 263 ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb) argument 266 scb 284 ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb) argument 321 ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb) argument 351 ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr) argument 361 ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg) argument 373 ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op) argument 381 ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op) argument 392 ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op) argument 451 ahd_post_scb(struct ahd_softc *ahd, struct scb *scb) argument 463 ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb) argument 479 ahd_update_residual(struct ahd_softc *ahd, struct scb *scb) argument 708 struct scb* scb; local 720 ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb) argument 762 ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb) argument 806 ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb) argument 812 ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb) argument [all...] |
/netbsd-current/sys/dev/isa/ |
H A D | wds.c | 412 struct wds_scb *scb; local 435 scb = wds_scb_phys_kv(sc, phystol(wmbi->scb_addr)); 436 if (!scb) { 437 printf("%s: bad mbi scb pointer; skipping\n", 444 u_char *cp = scb->cmd.xx; 449 printf("scb addr = %p\n", scb); 453 callout_stop(&scb->xs->xs_callout); 454 wds_done(sc, scb, wmbi->stat); 504 wds_reset_scb(struct wds_softc *sc, struct wds_scb *scb) argument 514 wds_free_scb(struct wds_softc *sc, struct wds_scb *scb) argument 525 wds_init_scb(struct wds_softc *sc, struct wds_scb *scb) argument 586 struct wds_scb *scb; local 639 struct wds_scb *scb; local 656 struct wds_scb *scb = sc->sc_scbhash[hashnum]; local 673 wds_queue_scb(struct wds_softc *sc, struct wds_scb *scb) argument 688 struct wds_scb *scb; local 718 struct wds_scb *scb; local 763 wds_done(struct wds_softc *sc, struct wds_scb *scb, u_char stat) argument 1000 struct wds_scb *scb; local 1074 struct wds_scb *scb; local 1298 wds_ipoll(struct wds_softc *sc, struct wds_scb *scb, int count) argument 1322 struct wds_scb *scb = arg; local [all...] |
H A D | seagate.c | 93 #define SCB_TABLE_SIZE 8 /* start with 8 scb entries in table */ 206 struct sea_scb scb[SCB_TABLE_SIZE]; member in struct:sea_softc 287 void sea_send_scb(struct sea_softc *sea, struct sea_scb *scb); 289 int sea_select(struct sea_softc *sea, struct sea_scb *scb); 292 int sea_abort(struct sea_softc *, struct sea_scb *scb); 308 struct sea_scb *scb; local 312 for (scb = sea->ready_list.tqh_first, issued = 0; scb; 313 scb = scb 564 struct sea_scb *scb; local 663 struct sea_scb *scb; local 682 sea_send_scb(struct sea_softc *sea, struct sea_scb *scb) argument 701 struct sea_scb *scb; local 804 struct sea_scb *scb; local 820 sea_free_scb(struct sea_softc *sea, struct sea_scb *scb, int flags) argument 833 struct sea_scb *scb = arg; local 879 struct sea_scb *scb; local 1049 sea_select(struct sea_softc *sea, struct sea_scb *scb) argument 1145 sea_abort(struct sea_softc *sea, struct sea_scb *scb) argument 1204 sea_done(struct sea_softc *sea, struct sea_scb *scb) argument 1260 struct sea_scb *scb = sea->nexus; local [all...] |