Searched refs:scb (Results 1 - 25 of 52) sorted by relevance

123

/drivers/media/pci/cx18/
H A Dcx18-scb.c25 #include "cx18-scb.h"
30 cx18_memset_io(cx, cx->scb, 0, 0x10000);
32 cx18_writel(cx, IRQ_APU_TO_CPU, &cx->scb->apu2cpu_irq);
33 cx18_writel(cx, IRQ_CPU_TO_APU_ACK, &cx->scb->cpu2apu_irq_ack);
34 cx18_writel(cx, IRQ_HPU_TO_CPU, &cx->scb->hpu2cpu_irq);
35 cx18_writel(cx, IRQ_CPU_TO_HPU_ACK, &cx->scb->cpu2hpu_irq_ack);
36 cx18_writel(cx, IRQ_PPU_TO_CPU, &cx->scb->ppu2cpu_irq);
37 cx18_writel(cx, IRQ_CPU_TO_PPU_ACK, &cx->scb->cpu2ppu_irq_ack);
38 cx18_writel(cx, IRQ_EPU_TO_CPU, &cx->scb->epu2cpu_irq);
39 cx18_writel(cx, IRQ_CPU_TO_EPU_ACK, &cx->scb
[all...]
/drivers/scsi/aic7xxx/
H A Daic7xxx_inline.h55 struct scb *scb, int op);
84 struct scb*
86 void ahc_free_scb(struct ahc_softc *ahc, struct scb *scb);
87 struct scb *
89 void ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb);
92 struct scb *scb);
[all...]
H A Daic7xxx_osm.h234 ahc_scb_timer_reset(struct scb *scb, u_int usec) argument
524 static inline void ahc_set_transaction_status(struct scb *, uint32_t);
526 static inline void ahc_set_scsi_status(struct scb *, uint32_t);
528 static inline uint32_t ahc_get_transaction_status(struct scb *);
530 static inline uint32_t ahc_get_scsi_status(struct scb *);
531 static inline void ahc_set_transaction_tag(struct scb *, int, u_int);
532 static inline u_long ahc_get_transfer_length(struct scb *);
533 static inline int ahc_get_transfer_dir(struct scb *);
534 static inline void ahc_set_residual(struct scb *, u_lon
555 ahc_set_transaction_status(struct scb *scb, uint32_t status) argument
568 ahc_set_scsi_status(struct scb *scb, uint32_t status) argument
580 ahc_get_transaction_status(struct scb *scb) argument
592 ahc_get_scsi_status(struct scb *scb) argument
598 ahc_set_transaction_tag(struct scb *scb, int enabled, u_int type) argument
607 ahc_get_transfer_length(struct scb *scb) argument
613 ahc_get_transfer_dir(struct scb *scb) argument
619 ahc_set_residual(struct scb *scb, u_long resid) argument
625 ahc_set_sense_residual(struct scb *scb, u_long resid) argument
631 ahc_get_residual(struct scb *scb) argument
637 ahc_get_sense_residual(struct scb *scb) argument
643 ahc_perform_autosense(struct scb *scb) argument
654 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb) argument
667 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) argument
676 ahc_freeze_scb(struct scb *scb) argument
[all...]
H A Daic79xx_osm.h513 static inline void ahd_set_transaction_status(struct scb *, uint32_t);
515 static inline void ahd_set_scsi_status(struct scb *, uint32_t);
517 static inline uint32_t ahd_get_transaction_status(struct scb *);
519 static inline uint32_t ahd_get_scsi_status(struct scb *);
520 static inline void ahd_set_transaction_tag(struct scb *, int, u_int);
521 static inline u_long ahd_get_transfer_length(struct scb *);
522 static inline int ahd_get_transfer_dir(struct scb *);
523 static inline void ahd_set_residual(struct scb *, u_long);
524 static inline void ahd_set_sense_residual(struct scb *scb, u_lon
544 ahd_set_transaction_status(struct scb *scb, uint32_t status) argument
557 ahd_set_scsi_status(struct scb *scb, uint32_t status) argument
569 ahd_get_transaction_status(struct scb *scb) argument
581 ahd_get_scsi_status(struct scb *scb) argument
587 ahd_set_transaction_tag(struct scb *scb, int enabled, u_int type) argument
596 ahd_get_transfer_length(struct scb *scb) argument
602 ahd_get_transfer_dir(struct scb *scb) argument
608 ahd_set_residual(struct scb *scb, u_long resid) argument
614 ahd_set_sense_residual(struct scb *scb, u_long resid) argument
620 ahd_get_residual(struct scb *scb) argument
626 ahd_get_sense_residual(struct scb *scb) argument
632 ahd_perform_autosense(struct scb *scb) argument
643 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb) argument
656 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb) argument
667 ahd_freeze_scb(struct scb *scb) argument
[all...]
H A Daic79xx_inline.h99 void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
107 struct scb *scb, int op);
138 struct scb *
140 void ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb);
143 struct scb *scb);
145 struct scb *sc
158 ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb) argument
164 ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb) argument
[all...]
H A Daic7xxx_osm.c253 ahc_print_path(struct ahc_softc *ahc, struct scb *scb) argument
257 scb != NULL ? SCB_GET_CHANNEL(ahc, scb) : 'X',
258 scb != NULL ? SCB_GET_TARGET(ahc, scb) : -1,
259 scb != NULL ? SCB_GET_LUN(scb) : -1);
363 struct scb *);
452 static void ahc_linux_unmap_scb(struct ahc_softc*, struct scb*);
459 ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) argument
470 ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb, struct ahc_dma_seg *sg, dma_addr_t addr, bus_size_t len) argument
1265 ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument
1429 struct scb *scb; local
1705 ahc_done(struct ahc_softc *ahc, struct scb *scb) argument
1825 ahc_linux_handle_scsi_status(struct ahc_softc *ahc, struct scsi_device *sdev, struct scb *scb) argument
[all...]
H A Daic79xx_core.c136 struct scb *scb);
139 struct scb *scb);
175 struct scb *scb);
188 struct scb *scb, u_int col_idx);
190 struct scb *scb);
414 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, dma_addr_t addr, bus_size_t len, int last) argument
438 ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb) argument
459 ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb) argument
496 ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb) argument
505 ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr) argument
515 ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg) argument
527 ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op) argument
536 ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op) argument
548 ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op) argument
798 struct scb* scb; local
810 ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb) argument
849 ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb) argument
1100 ahd_update_residual(struct ahd_softc *ahd, struct scb *scb) argument
1110 ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb) argument
1197 struct scb *scb; local
1403 ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb) argument
1432 ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb) argument
1669 struct scb *scb; local
1735 ahd_dump_sglist(struct scb *scb) argument
1811 struct scb *scb; local
1861 struct scb *scb; local
1877 struct scb *scb; local
1916 struct scb *scb; local
2011 struct scb *scb; local
2078 struct scb *scb; local
2214 struct scb *scb; local
2251 struct scb *scb; local
2278 struct scb *scb; local
2330 struct scb *scb; local
2393 struct scb *scb; local
2675 struct scb *scb; local
2910 struct scb *scb; local
3010 struct scb *scb; local
3037 struct scb *scb; local
3324 struct scb *scb; local
4378 ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
4401 ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
5528 struct scb *scb; local
5694 struct scb *scb; local
5843 struct scb *scb; local
5987 ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument
6510 struct scb *scb; local
6664 ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx) argument
6684 ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb) argument
6720 struct scb *scb; local
6754 ahd_free_scb(struct ahd_softc *ahd, struct scb *scb) argument
8043 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument
8079 ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb) argument
8097 ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb) argument
8119 ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb, struct scb *scb) argument
8159 struct scb *scb; local
8182 ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status) argument
8201 struct scb *scb; local
8432 struct scb *scb; local
8918 ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) argument
9126 ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb) argument
9140 ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb) argument
9731 struct scb *scb; local
10525 struct scb *scb; local
[all...]
H A Daic7xxx_core.c161 struct scb *scb);
165 struct scb *scb);
202 struct scb *scb);
210 struct scb *prev_scb,
211 struct scb *scb);
267 static void ahc_freeze_devq(struct ahc_softc *ahc, struct scb *sc
372 ahc_sg_bus_to_virt(struct scb *scb, uint32_t sg_busaddr) argument
384 ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg) argument
402 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) argument
411 ahc_sync_sglist(struct ahc_softc *ahc, struct scb *scb, int op) argument
436 ahc_update_residual(struct ahc_softc *ahc, struct scb *scb) argument
529 struct scb *scb; local
545 ahc_free_scb(struct ahc_softc *ahc, struct scb *scb) argument
564 struct scb* scb; local
574 ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb) argument
614 ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) argument
654 ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb) argument
663 ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb) argument
885 struct scb *scb; local
941 struct scb *scb; local
986 struct scb *scb; local
1253 struct scb *scb; local
1358 struct scb *scb; local
1540 struct scb *scb; local
2842 ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
2876 ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
3141 struct scb *scb; local
4014 struct scb *scb; local
4160 struct scb *scb; local
4268 struct scb *scb; local
4377 ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument
5756 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument
5792 ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument
5810 ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, struct scb *scb) argument
5832 ahc_qinfifo_requeue(struct ahc_softc *ahc, struct scb *prev_scb, struct scb *scb) argument
5867 struct scb *scb; local
6076 struct scb *scb; local
6655 ahc_calc_residual(struct ahc_softc *ahc, struct scb *scb) argument
7171 struct scb *scb; local
7653 struct scb *scb; local
[all...]
H A Daic7xxx.h77 #define SCB_IS_SCSIBUS_B(ahc, scb) \
78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
79 #define SCB_GET_OUR_ID(scb) \
80 SCSIID_OUR_ID((scb)->hscb->scsiid)
81 #define SCB_GET_TARGET(ahc, scb) \
82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
83 #define SCB_GET_CHANNEL(ahc, scb) \
84 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
85 #define SCB_GET_LUN(scb) \
86 ((scb)
561 struct scb { struct
[all...]
H A Daic79xx.h76 #define SCB_IS_SCSIBUS_B(ahd, scb) (0)
77 #define SCB_GET_OUR_ID(scb) \
78 SCSIID_OUR_ID((scb)->hscb->scsiid)
79 #define SCB_GET_TARGET(ahd, scb) \
80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
81 #define SCB_GET_CHANNEL(ahd, scb) \
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
83 #define SCB_GET_LUN(scb) \
84 ((scb)->hscb->lun)
85 #define SCB_GET_TARGET_OFFSET(ahd, scb) \
592 struct scb { struct
[all...]
H A Daic79xx_osm.c224 ahd_print_path(struct ahd_softc *ahd, struct scb *scb) argument
228 scb != NULL ? SCB_GET_CHANNEL(ahd, scb) : 'X',
229 scb != NULL ? SCB_GET_TARGET(ahd, scb) : -1,
230 scb != NULL ? SCB_GET_LUN(scb) : -1);
354 struct scb *);
531 static void ahd_linux_unmap_scb(struct ahd_softc*, struct scb*);
534 ahd_linux_unmap_scb(struct ahd_softc *ahd, struct scb *scb) argument
1395 ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb) argument
1562 struct scb *scb; local
1788 ahd_done(struct ahd_softc *ahd, struct scb *scb) argument
1895 ahd_linux_handle_scsi_status(struct ahd_softc *ahd, struct scsi_device *sdev, struct scb *scb) argument
[all...]
/drivers/scsi/
H A Dips.c213 #define IPS_DMA_DIR(scb) ((!scb->scsi_cmd || ips_is_passthru(scb->scsi_cmd) || \
214 DMA_NONE == scb->scsi_cmd->sc_data_direction) ? \
216 scb->scsi_cmd->sc_data_direction)
653 ips_scb_t *scb; local
676 scb = &ha->scbs[ha->max_cmds - 1];
678 ips_init_scb(ha, scb);
680 scb->timeout = ips_cmd_timeout;
681 scb
727 ips_scb_t *scb; local
846 ips_scb_t *scb; local
1280 ips_scb_t *scb; local
1344 ips_scb_t *scb; local
1568 ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr) argument
1662 ips_flash_copperhead(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) argument
1734 ips_flash_bios(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) argument
1798 ips_fill_scb_sg_single(ips_ha_t * ha, dma_addr_t busaddr, ips_scb_t * scb, int indx, unsigned int e_len) argument
1836 ips_flash_firmware(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) argument
1909 ips_usrcmd(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) argument
1997 ips_cleanup_passthru(ips_ha_t * ha, ips_scb_t * scb) argument
2243 ips_scb_t *scb; local
2542 ips_scb_t *scb; local
3105 ipsintr_blocking(ips_ha_t * ha, ips_scb_t * scb) argument
3127 ipsintr_done(ips_ha_t * ha, ips_scb_t * scb) argument
3159 ips_done(ips_ha_t * ha, ips_scb_t * scb) argument
3265 ips_map_status(ips_ha_t * ha, ips_scb_t * scb, ips_stat_t * sp) argument
3402 ips_send_wait(ips_ha_t * ha, ips_scb_t * scb, int timeout, int intr) argument
3468 ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb) argument
3852 ips_scb_t *scb; local
4008 ips_online(ips_ha_t * ha, ips_scb_t * scb) argument
4043 ips_inquiry(ips_ha_t * ha, ips_scb_t * scb) argument
4078 ips_rdcap(ips_ha_t * ha, ips_scb_t * scb) argument
4108 ips_msense(ips_ha_t * ha, ips_scb_t * scb) argument
4199 ips_reqsen(ips_ha_t * ha, ips_scb_t * scb) argument
4385 ips_init_scb(ips_ha_t * ha, ips_scb_t * scb) argument
4432 ips_scb_t *scb; local
4462 ips_freescb(ips_ha_t * ha, ips_scb_t * scb) argument
4575 ips_scb_t *scb; local
5292 ips_issue_copperhead(ips_ha_t * ha, ips_scb_t * scb) argument
5346 ips_issue_copperhead_memio(ips_ha_t * ha, ips_scb_t * scb) argument
5399 ips_issue_i2o(ips_ha_t * ha, ips_scb_t * scb) argument
5431 ips_issue_i2o_memio(ips_ha_t * ha, ips_scb_t * scb) argument
5678 ips_scb_t *scb; local
5721 ips_scb_t *scb; local
5765 ips_scb_t *scb; local
5823 ips_scb_t *scb; local
5873 ips_scb_t *scb; local
5936 ips_scb_t *scb; local
5970 ips_scb_t *scb; local
6003 ips_fix_ffdc_time(ips_ha_t * ha, ips_scb_t * scb, time_t current_time) argument
[all...]
H A Dinitio.c177 static void initio_select_atn(struct initio_host * host, struct scsi_ctrl_blk * scb);
178 static void initio_select_atn3(struct initio_host * host, struct scsi_ctrl_blk * scb);
179 static void initio_select_atn_stop(struct initio_host * host, struct scsi_ctrl_blk * scb);
688 struct scsi_ctrl_blk *scb; local
692 if ((scb = host->first_avail) != NULL) {
694 printk("find scb at %p\n", scb);
696 if ((host->first_avail = scb->next) == NULL)
698 scb->next = NULL;
699 scb
795 initio_unlink_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scb) argument
865 initio_unlink_busy_scb(struct initio_host * host, struct scsi_ctrl_blk * scb) argument
1035 struct scsi_ctrl_blk *scb; local
1052 initio_exec_scb(struct initio_host * host, struct scsi_ctrl_blk * scb) argument
1103 struct scsi_ctrl_blk *scb; local
1175 struct scsi_ctrl_blk *scb; local
1326 struct scsi_ctrl_blk *scb = host->active; local
1381 struct scsi_ctrl_blk *scb = host->active; local
1410 struct scsi_ctrl_blk *scb = host->active; local
1477 struct scsi_ctrl_blk *scb = host->active; local
1541 struct scsi_ctrl_blk *scb = host->active; local
1630 struct scsi_ctrl_blk *scb = host->active; local
1705 struct scsi_ctrl_blk *scb = host->active; local
1737 struct scsi_ctrl_blk *scb = host->active; local
1761 struct scsi_ctrl_blk *scb = host->active; local
1785 struct scsi_ctrl_blk *scb = host->active; local
1810 struct scsi_ctrl_blk *scb = host->active; local
1860 struct scsi_ctrl_blk *scb = host->active; local
1894 struct scsi_ctrl_blk *scb; local
1930 struct scsi_ctrl_blk *scb; local
2011 struct scsi_ctrl_blk *scb; local
2309 struct scsi_ctrl_blk *scb; local
2335 initio_select_atn_stop(struct initio_host * host, struct scsi_ctrl_blk * scb) argument
2345 initio_select_atn(struct initio_host * host, struct scsi_ctrl_blk * scb) argument
2360 initio_select_atn3(struct initio_host * host, struct scsi_ctrl_blk * scb) argument
2386 struct scsi_ctrl_blk *scb = host->active; local
2847 struct scsi_ctrl_blk *scb, *tmp, *prev = NULL /* silence gcc */; local
[all...]
H A Da100u2w.c86 static void inia100_scb_handler(struct orc_host *host, struct orc_scb *scb);
274 * @scb: SCB to queue for execution
277 static void orc_exec_scb(struct orc_host * host, struct orc_scb * scb) argument
279 scb->status = ORCSCB_POST;
280 outb(scb->scbidx, host->base + ORC_PQUEUE);
444 struct orc_scb *scb; local
457 scb = host->scb_virt;
462 scb->sg_addr = cpu_to_le32((u32) escb_phys);
463 scb->sense_addr = cpu_to_le32((u32) escb_phys);
464 scb
597 struct orc_scb *scb; local
698 struct orc_scb *scb; local
716 orc_release_scb(struct orc_host *host, struct orc_scb *scb) argument
738 orchid_abort_scb(struct orc_host * host, struct orc_scb * scb) argument
765 struct orc_scb *scb; local
814 struct orc_scb *scb; local
842 inia100_build_scb(struct orc_host * host, struct orc_scb * scb, struct scsi_cmnd * cmd) argument
916 struct orc_scb *scb; local
991 inia100_scb_handler(struct orc_host *host, struct orc_scb *scb) argument
[all...]
H A Dmegaraid.c375 scb_t *scb; local
387 * allocate scb. We will return non-zero status in that case.
388 * NOTE: scb can be null even though certain commands completed
394 scb = mega_build_cmd(adapter, scmd, &busy);
395 if (!scb)
398 scb->state |= SCB_PENDQ;
399 list_add_tail(&scb->list, &adapter->pending_list);
429 scb_t *scb; local
434 scb = list_entry(head->next, scb_t, list);
438 scb
525 scb_t *scb; local
952 mega_prepare_passthru(adapter_t *adapter, scb_t *scb, Scsi_Cmnd *cmd, int channel, int target) argument
1016 mega_prepare_extpassthru(adapter_t *adapter, scb_t *scb, Scsi_Cmnd *cmd, int channel, int target) argument
1069 scb_t *scb; local
1098 issue_scb(adapter_t *adapter, scb_t *scb) argument
1422 scb_t *scb; local
1675 mega_free_scb(adapter_t *adapter, scb_t *scb) argument
1722 mega_build_sglist(adapter_t *adapter, scb_t *scb, u32 *buf, u32 *len) argument
1813 scb_t *scb; local
1940 scb_t *scb; local
2913 scb_t *scb; local
3836 scb_t *scb; local
4120 scb_t *scb; local
[all...]
H A Dwd7000.c152 * Add a lock for the scb pool, clean up all other cli/sti usage stuff
450 typedef struct scb { /* Command Control Block 5.4.1 */ struct
468 struct scb *next; /* for lists of scbs */
602 static spinlock_t scbpool_lock; /* guards the scb free list and count */
810 Scb *scb, *p = NULL; local
846 scb = scbfree;
857 return (scb);
861 static inline void free_scb(Scb * scb) argument
867 memset(scb, 0, sizeof(Scb));
868 scb
1004 Scb *scb; /* for SCSI commands */ local
1087 Scb *scb; local
[all...]
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dscb.h29 /* scb flags */
42 struct scb *scb; /* backptr for easy lookup */ member in struct:scb_ampdu_tid_ini
47 struct scb *scb; /* back pointer for easy reference */ member in struct:scb_ampdu
64 struct scb { struct
H A Dampdu.h48 void brcms_c_ampdu_dotxstatus(struct ampdu_info *ampdu, struct scb *scb,
/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c102 struct scb *scb; \
115 scb = ascb->scb; \
116 scb->header.opcode = CLEAR_NEXUS
139 scb->clear_nexus.nexus = NEXUS_ADAPTER;
148 scb->clear_nexus.nexus = NEXUS_PORT;
149 scb->clear_nexus.conn_mask = port->phy_mask;
165 scb->clear_nexus.nexus = NEXUS_I_T;
168 scb
412 struct scb *scb; local
581 struct scb *scb; local
[all...]
H A Daic94xx_task.c144 le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr);
368 struct scb *scb; local
372 scb = ascb->scb;
375 scb->header.opcode = CONTROL_ATA_DEV;
377 scb->header.opcode = INITIATE_ATA_TASK;
379 scb->header.opcode = INITIATE_ATAPI_TASK;
381 scb->ata_task.proto_conn_rate = (1 << 5); /* STP */
383 scb
437 struct scb *scb; local
486 struct scb *scb; local
[all...]
H A Daic94xx_scb.c385 struct empty_scb *escb = &ascb->scb->escb;
400 le64_to_cpu(ascb->scb->header.next_scb),
401 le16_to_cpu(ascb->scb->header.index),
402 ascb->scb->header.opcode);
437 le64_to_cpu(ascb->scb->header.next_scb),
438 le16_to_cpu(ascb->scb->header.index),
439 ascb->scb->header.opcode);
470 ASD_DPRINTK("R_T_A for non TASK scb 0x%x\n",
471 a->scb->header.opcode);
603 le64_to_cpu(ascb->scb
646 struct scb *scb = ascb->scb; local
779 struct scb *scb = ascb->scb; local
[all...]
/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c987 scb_t *scb; local
1044 * Allocate memory for the base list of scb. Later allocate memory for
1046 * scb to the allocated components
1068 // Adjust the scb pointers and link in the free pool
1074 scb = adapter->kscb_list + i;
1101 scb->ccb = (caddr_t)ccb;
1102 scb->gp = 0;
1104 scb->sno = i; // command index
1106 scb->scp = NULL;
1107 scb
1313 scb_t *scb = NULL; local
1348 megaraid_dealloc_scb(adapter_t *adapter, scb_t *scb) argument
1373 megaraid_mbox_mksgl(adapter_t *adapter, scb_t *scb) argument
1412 mbox_post_cmd(adapter_t *adapter, scb_t *scb) argument
1484 scb_t *scb; local
1534 scb_t *scb; local
1910 scb_t *scb; local
1979 megaraid_mbox_prepare_pthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *scp) argument
2028 megaraid_mbox_prepare_epthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *scp) argument
2081 scb_t *scb; local
2214 megaraid_mbox_sync_scb(adapter_t *adapter, scb_t *scb) argument
2246 scb_t *scb; local
2459 scb_t *scb; local
2596 scb_t *scb; local
3401 megaraid_mbox_display_scb(adapter_t *adapter, scb_t *scb) argument
3495 scb_t *scb; local
3655 scb_t *scb; local
3774 megaraid_mbox_mm_done(adapter_t *adapter, scb_t *scb) argument
[all...]
/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c74 sizeof(scp)=12; sizeof(scb)=16; sizeof(iscp)=8;
75 sizeof(scp)+sizeof(iscp)+sizeof(scb) = 36 = INIT
101 if(!p->scb->cmd_cuc) break; \
104 printk("%s: scb_cmd timed out: %04x,%04x .. disabling i82586!!\n",dev->name,p->scb->cmd_cuc,p->scb->cus); \
109 if(!p->scb->cmd_ruc) break; \
112 printk("%s: scb_cmd (ruc) timed out: %04x,%04x .. disabling i82586!!\n",dev->name,p->scb->cmd_ruc,p->scb->rus); \
151 volatile struct scb_struct *scb; /* volatile is important */ member in struct:priv
254 p->scb
[all...]
H A Dlib82596.c291 u32 scb; member in struct:i596_iscp
303 volatile struct i596_scb scb __attribute__((aligned(32))); member in struct:i596_dma
387 DMA_INV(dev, &(dma->scb), sizeof(struct i596_scb));
388 while (--delcnt && dma->scb.command) {
390 DMA_INV(dev, &(dma->scb), sizeof(struct i596_scb));
395 SWAP16(dma->scb.status),
396 SWAP16(dma->scb.command));
413 printk(KERN_DEBUG "iscp at %p, iscp.stat = %08x, .scb = %08x\n",
414 &dma->iscp, SWAP32(dma->iscp.stat), SWAP32(dma->iscp.scb));
415 printk(KERN_DEBUG "scb a
[all...]
H A D82596.c307 struct i596_scb *scb; member in struct:i596_iscp
319 volatile struct i596_scb scb; member in struct:i596_private
419 dev->name, str, lp->scb.status, lp->scb.command);
429 while (--delcnt && lp->scb.command)
433 dev->name, str, lp->scb.status, lp->scb.command);
465 printk(KERN_ERR "iscp at %p, iscp.stat = %08lx, .scb = %p\n",
466 &lp->iscp, lp->iscp.stat, lp->iscp.scb);
467 printk(KERN_ERR "scb a
[all...]

Completed in 794 milliseconds

123