/linux/drivers/media/pci/cx18/ |
A D | cx18-scb.c | 64 &cx->scb->apu2cpu_mb_offset); in cx18_init_scb() 66 &cx->scb->hpu2cpu_mb_offset); in cx18_init_scb() 68 &cx->scb->ppu2cpu_mb_offset); in cx18_init_scb() 70 &cx->scb->epu2cpu_mb_offset); in cx18_init_scb() 72 &cx->scb->cpu2apu_mb_offset); in cx18_init_scb() 74 &cx->scb->hpu2apu_mb_offset); in cx18_init_scb() 76 &cx->scb->ppu2apu_mb_offset); in cx18_init_scb() 78 &cx->scb->epu2apu_mb_offset); in cx18_init_scb() 80 &cx->scb->cpu2hpu_mb_offset); in cx18_init_scb() 82 &cx->scb->apu2hpu_mb_offset); in cx18_init_scb() [all …]
|
/linux/drivers/scsi/ |
A D | ips.c | 1316 (*scb->callback) (ha, scb); in ips_intr_copperhead() 1386 (*scb->callback) (ha, scb); in ips_intr_morpheus() 1854 scb->lun = scb->scsi_cmd->device->lun; in ips_flash_firmware() 1923 scb->lun = scb->scsi_cmd->device->lun; in ips_usrcmd() 1995 if ((!scb) || (!scb->scsi_cmd) || (!scsi_sglist(scb->scsi_cmd))) { in ips_cleanup_passthru() 3812 scb->dcdb.sg_count = scb->sg_len; in ips_send_cmd() 3868 scb->bus, scb->target_id, scb->lun); in ips_chkstatus() 5289 scb->bus, scb->target_id, scb->lun); in ips_issue_copperhead() 5343 scb->bus, scb->target_id, scb->lun); in ips_issue_copperhead_memio() 5394 scb->bus, scb->target_id, scb->lun); in ips_issue_i2o() [all …]
|
A D | a100u2w.c | 465 scb->scbidx = i; in setup_SCBs() 466 scb++; in setup_SCBs() 639 scb->hastat = 0; in orc_device_reset() 640 scb->tastat = 0; in orc_device_reset() 642 scb->link = 0xFF; in orc_device_reset() 704 return scb; in orc_alloc_scb() 850 escb = scb->escb; in inia100_build_scb() 885 scb->hastat = 0; in inia100_build_scb() 886 scb->tastat = 0; in inia100_build_scb() 900 memcpy(scb->cdb, cmd->cmnd, scb->cdb_len); in inia100_build_scb() [all …]
|
A D | initio.c | 1027 scb->sgmax = scb->sglen; in initio_exec_scb() 1095 scb->buflen = scb->senselen; in tulip_main() 1096 scb->bufptr = scb->senseptr; in tulip_main() 1126 (*scb->post) ((u8 *) host, (u8 *) scb); in tulip_main() 1565 sgp = &scb->sglist[scb->sgidx]; in initio_state_5() 1566 for (i = scb->sgidx; i < scb->sgmax; sgp++, i++) { in initio_state_5() 1572 scb->bufptr += ((u32) (i - scb->sgidx) << 3); in initio_state_5() 1574 scb->sglen = (u8) (scb->sgmax - i); in initio_state_5() 1947 scb = host->scb + tag; in int_initio_resel() 1948 if (scb->target != tar || scb->lun != lun) { in int_initio_resel() [all …]
|
A D | megaraid.c | 376 scb_t *scb; in megaraid_queue_lck() local 393 if (!scb) in megaraid_queue_lck() 427 scb_t *scb; in DEF_SCSI_QCMD() local 440 return scb; in DEF_SCSI_QCMD() 522 scb_t *scb; in mega_build_cmd() local 1067 scb_t *scb; in __mega_runpendq() local 1420 scb_t *scb; in mega_cmd_done() local 1457 cmdid, scb->state, scb->cmd); in mega_cmd_done() 1813 scb->sgl64, scb->sgl_dma_addr); in mega_free_sgl() 1829 scb->epthru, scb->epthru_dma_addr); in mega_free_sgl() [all …]
|
A D | wd719x.c | 194 list_del(&scb->list); in wd719x_finish_cmd() 214 scb->cmd = cmd; in wd719x_queuecommand() 218 scb->lun = cmd->device->lun; in wd719x_queuecommand() 224 scb->phys = dma_map_single(&wd->pdev->dev, scb, sizeof(*scb), in wd719x_queuecommand() 259 scb->data_p = cpu_to_le32(scb->phys + in wd719x_queuecommand() 268 scb->data_length = 0; in wd719x_queuecommand() 269 scb->data_p = 0; in wd719x_queuecommand() 294 dma_unmap_single(&wd->pdev->dev, scb->phys, sizeof(*scb), in wd719x_queuecommand() 478 scb->phys, 0); in wd719x_abort() 633 scb->cmd->device->id); in wd719x_interrupt_SCB() [all …]
|
/linux/sound/pci/cs46xx/ |
A D | dsp_spos_scb_lib.c | 105 scb->parent_scb_ptr->next_scb_ptr != scb)) in _dsp_unlink_scb() 108 if (scb->parent_scb_ptr->sub_list_ptr == scb) { in _dsp_unlink_scb() 112 scb->parent_scb_ptr->sub_list_ptr = scb->sub_list_ptr; in _dsp_unlink_scb() 129 scb->parent_scb_ptr->next_scb_ptr = scb->next_scb_ptr; in _dsp_unlink_scb() 168 (ins->scbs + scb->index) != scb)) in cs46xx_dsp_remove_scb() 316 scb->parent_scb_ptr->next_scb_ptr = scb; in _dsp_create_generic_scb() 323 scb->parent_scb_ptr->sub_list_ptr = scb; in _dsp_create_generic_scb() 339 return scb; in _dsp_create_generic_scb() 393 return scb; in cs46xx_dsp_create_timing_master_scb() 432 return scb; in cs46xx_dsp_create_codec_out_scb() [all …]
|
A D | dsp_spos.h | 193 struct dsp_scb_descriptor * scb) in cs46xx_dsp_spos_update_scb() argument 197 (scb->address + SCBsubListPtr) << 2, in cs46xx_dsp_spos_update_scb() 198 (scb->sub_list_ptr->address << 0x10) | in cs46xx_dsp_spos_update_scb() 199 (scb->next_scb_ptr->address)); in cs46xx_dsp_spos_update_scb() 200 scb->updated = 1; in cs46xx_dsp_spos_update_scb() 204 struct dsp_scb_descriptor * scb, in cs46xx_dsp_scb_set_volume() argument 209 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl) << 2, val); in cs46xx_dsp_scb_set_volume() 210 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl + 1) << 2, val); in cs46xx_dsp_scb_set_volume() 211 scb->volume_set = 1; in cs46xx_dsp_scb_set_volume() 212 scb->volume[0] = left; in cs46xx_dsp_scb_set_volume() [all …]
|
/linux/drivers/scsi/aic7xxx/ |
A D | aic7xxx_osm.h | 229 ahc_scb_timer_reset(struct scb *scb, u_int usec) in ahc_scb_timer_reset() argument 540 void ahc_set_scsi_status(struct scb *scb, uint32_t status) in ahc_set_scsi_status() argument 552 uint32_t ahc_get_transaction_status(struct scb *scb) in ahc_get_transaction_status() argument 564 uint32_t ahc_get_scsi_status(struct scb *scb) in ahc_get_scsi_status() argument 579 u_long ahc_get_transfer_length(struct scb *scb) in ahc_get_transfer_length() argument 585 int ahc_get_transfer_dir(struct scb *scb) in ahc_get_transfer_dir() argument 591 void ahc_set_residual(struct scb *scb, u_long resid) in ahc_set_residual() argument 603 u_long ahc_get_residual(struct scb *scb) in ahc_get_residual() argument 609 u_long ahc_get_sense_residual(struct scb *scb) in ahc_get_sense_residual() argument 615 int ahc_perform_autosense(struct scb *scb) in ahc_perform_autosense() argument [all …]
|
A D | aic79xx_osm.h | 522 void ahd_set_scsi_status(struct scb *scb, uint32_t status) in ahd_set_scsi_status() argument 534 uint32_t ahd_get_transaction_status(struct scb *scb) in ahd_get_transaction_status() argument 546 uint32_t ahd_get_scsi_status(struct scb *scb) in ahd_get_scsi_status() argument 561 u_long ahd_get_transfer_length(struct scb *scb) in ahd_get_transfer_length() argument 567 int ahd_get_transfer_dir(struct scb *scb) in ahd_get_transfer_dir() argument 573 void ahd_set_residual(struct scb *scb, u_long resid) in ahd_set_residual() argument 579 void ahd_set_sense_residual(struct scb *scb, u_long resid) in ahd_set_sense_residual() argument 585 u_long ahd_get_residual(struct scb *scb) in ahd_get_residual() argument 591 u_long ahd_get_sense_residual(struct scb *scb) in ahd_get_sense_residual() argument 597 int ahd_perform_autosense(struct scb *scb) in ahd_perform_autosense() argument [all …]
|
A D | aic79xx_core.c | 128 struct scb *scb); 790 struct scb* scb; in ahd_lookup_scb() local 1189 struct scb *scb; in ahd_flush_qoutfifo() local 1661 struct scb *scb; in ahd_run_qoutfifo() local 1801 struct scb *scb; in ahd_handle_seqint() local 1851 struct scb *scb; in ahd_handle_seqint() local 1867 struct scb *scb; in ahd_handle_seqint() local 2375 struct scb *scb; in ahd_handle_scsiint() local 2657 struct scb *scb; in ahd_handle_transmission_error() local 3018 struct scb *scb; in ahd_handle_nonpkt_busfree() local [all …]
|
A D | aic7xxx_core.c | 154 struct scb *scb); 522 struct scb *scb; in ahc_get_scb() local 557 struct scb* scb; in ahc_lookup_scb() local 878 struct scb *scb; in ahc_run_qoutfifo() local 934 struct scb *scb; in ahc_run_untagged_queue() local 979 struct scb *scb; in ahc_handle_seqint() local 1246 struct scb *scb; in ahc_handle_seqint() local 1532 struct scb *scb; in ahc_handle_scsiint() local 3116 struct scb *scb; in ahc_handle_proto_violation() local 3989 struct scb *scb; in ahc_handle_msg_reject() local [all …]
|
A D | aic79xx_inline.h | 99 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 *scb); 158 ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb) in ahd_get_sense_buf() argument 160 return (scb->sense_data); in ahd_get_sense_buf() 164 ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb) in ahd_get_sense_bufaddr() argument 166 return (scb->sense_busaddr); in ahd_get_sense_bufaddr()
|
A D | aic7xxx_osm.c | 254 ahc_print_path(struct ahc_softc *ahc, struct scb *scb) in ahc_print_path() argument 258 scb != NULL ? SCB_GET_CHANNEL(ahc, scb) : 'X', in ahc_print_path() 259 scb != NULL ? SCB_GET_TARGET(ahc, scb) : -1, in ahc_print_path() 260 scb != NULL ? SCB_GET_LUN(scb) : -1); in ahc_print_path() 471 ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb, in ahc_linux_map_seg() argument 1405 struct scb *scb; in ahc_linux_run_command() local 1446 if (!scb) { in ahc_linux_run_command() 1538 scb->hscb->dataptr = scb->sg_list->addr; in ahc_linux_run_command() 1539 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command() 1671 ahc_done(struct ahc_softc *ahc, struct scb *scb) in ahc_done() argument [all …]
|
A D | aic79xx.h | 83 #define SCB_GET_LUN(scb) \ argument 84 ((scb)->hscb->lun) 86 SCB_GET_TARGET(ahd, scb) 109 #define SCB_GET_TAG(scb) \ argument 121 ((SCB_GET_LUN(scb) << 4) | SCB_GET_TARGET(ahd, scb)) 592 struct scb { struct 596 LIST_ENTRY(scb) le; 601 LIST_ENTRY(scb) le; 606 struct scb *col_scb; argument 1338 struct scb *scb); [all …]
|
A D | aic7xxx_inline.h | 55 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);
|
A D | aic7xxx.h | 79 #define SCB_GET_OUR_ID(scb) \ argument 85 #define SCB_GET_LUN(scb) \ argument 86 ((scb)->hscb->lun & LID) 88 (SCB_GET_TARGET(ahc, scb) + (SCB_IS_SCSIBUS_B(ahc, scb) ? 8 : 0)) 92 #define SCB_IS_SILENT(scb) \ argument 561 struct scb { struct 564 SLIST_ENTRY(scb) sle; argument 565 TAILQ_ENTRY(scb) tqe; 866 TAILQ_HEAD(scb_tailq, scb); 1146 struct scb *scb); [all …]
|
A D | aic79xx_osm.c | 224 ahd_print_path(struct ahd_softc *ahd, struct scb *scb) in ahd_print_path() argument 228 scb != NULL ? SCB_GET_CHANNEL(ahd, scb) : 'X', in ahd_print_path() 229 scb != NULL ? SCB_GET_TARGET(ahd, scb) : -1, in ahd_print_path() 230 scb != NULL ? SCB_GET_LUN(scb) : -1); in ahd_print_path() 534 ahd_linux_unmap_scb(struct ahd_softc *ahd, struct scb *scb) in ahd_linux_unmap_scb() argument 538 cmd = scb->io_ctx; in ahd_linux_unmap_scb() 1377 ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb) in ahd_platform_freeze_devq() argument 1541 struct scb *scb; in ahd_linux_run_command() local 1758 ahd_done(struct ahd_softc *ahd, struct scb *scb) in ahd_done() argument 1791 ahd_get_transfer_length(scb) - ahd_get_residual(scb); in ahd_done() [all …]
|
/linux/drivers/scsi/aic94xx/ |
A D | aic94xx_tmf.c | 83 struct scb *scb; \ 96 scb = ascb->scb; \ 97 scb->header.opcode = CLEAR_NEXUS 146 scb->clear_nexus.nexus = NEXUS_I_T; in asd_clear_nexus_I_T() 393 struct scb *scb; in asd_abort_task() local 416 scb = ascb->scb; in asd_abort_task() 451 scb->abort_task.retry_count = 1; in asd_abort_task() 562 struct scb *scb; in asd_initiate_ssp_tmf() local 575 scb = ascb->scb; in asd_initiate_ssp_tmf() 593 scb->ssp_tmf.ssp_task.tmf = tmf; in asd_initiate_ssp_tmf() [all …]
|
A D | aic94xx_task.c | 350 struct scb *scb; in asd_build_ata_ascb() local 354 scb = ascb->scb; in asd_build_ata_ascb() 396 scb->ata_task.flags = flags; in asd_build_ata_ascb() 419 struct scb *scb; in asd_build_smp_ascb() local 426 scb = ascb->scb; in asd_build_smp_ascb() 432 scb->smp_task.smp_req.bus_addr = in asd_build_smp_ascb() 434 scb->smp_task.smp_req.size = in asd_build_smp_ascb() 439 scb->smp_task.smp_resp.size = in asd_build_smp_ascb() 468 struct scb *scb; in asd_build_ssp_ascb() local 471 scb = ascb->scb; in asd_build_ssp_ascb() [all …]
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_mbox.c | 1297 return scb; in megaraid_alloc_scb() 1628 scb); in DEF_SCSI_QCMD() 1723 scb); in DEF_SCSI_QCMD() 2219 scb->sno, scb->state, scp)); in megaraid_mbox_dpc() 2418 scb->sno, scb->dev_channel, scb->dev_target)); in megaraid_abort_handler() 2448 scb->dev_channel, scb->dev_target)); in megaraid_abort_handler() 2480 scb->sno, scb->dev_channel, scb->dev_target)); in megaraid_abort_handler() 2486 scb->sno, scb->dev_channel, scb->dev_target)); in megaraid_abort_handler() 2551 scb->sno, scb->dev_channel, scb->dev_target)); in megaraid_reset_handler() 2563 scb->sno, scb->dev_channel, scb->dev_target)); in megaraid_reset_handler() [all …]
|
/linux/drivers/net/ethernet/i825xx/ |
A D | sun3_82586.c | 440 p->scb->cmd_ruc = 0; in init586() 503 p->scb->cmd_cuc = p->scb->cus & STAT_MASK; in init586() 609 p->scb->cmd_cuc = CUC_START; in init586() 620 p->scb->cmd_cuc = p->scb->cus & STAT_MASK; in init586() 701 p->scb->cmd_cuc = stat; in sun3_82586_interrupt() 864 …printk("\nerrs: %04x %04x stat: %04x\n",(int)p->scb->rsc_errs,(int)p->scb->ovrn_errs,(int)p->scb->… in sun3_82586_rcv_int() 865 …: %04x %04x rus: %02x, cus: %02x\n",(int)p->scb->rsc_errs,(int)p->scb->ovrn_errs,(int)p->scb->rus,… in sun3_82586_rcv_int() 1119 p->scb->crc_errs = 0; in sun3_82586_get_stats() 1121 p->scb->aln_errs = 0; in sun3_82586_get_stats() 1123 p->scb->rsc_errs = 0; in sun3_82586_get_stats() [all …]
|
A D | lib82596.c | 291 u32 scb; member 448 &dma->scb, SWAP16(dma->scb.status), SWAP16(dma->scb.command), in i596_display_data() 449 SWAP16(dma->scb.cmd), SWAP32(dma->scb.rfd)); in i596_display_data() 452 SWAP32(dma->scb.crc_err), SWAP32(dma->scb.align_err), in i596_display_data() 453 SWAP32(dma->scb.resource_err), SWAP32(dma->scb.over_err), in i596_display_data() 454 SWAP32(dma->scb.rcvdt_err), SWAP32(dma->scb.short_err)); in i596_display_data() 597 dma->iscp.scb = SWAP32(virt_to_dma(lp, &(dma->scb))); in init_i596_mem() 602 dma->scb.cmd = I596_NULL; in init_i596_mem() 626 dma->scb.command = 0; in init_i596_mem() 1097 lp->dma->scb.command = 0; in i82596_probe() [all …]
|
A D | 82596.c | 307 struct i596_scb *scb; member 419 dev->name, str, lp->scb.status, lp->scb.command); in wait_istat() 433 dev->name, str, lp->scb.status, lp->scb.command); in wait_cmd() 469 &lp->scb, lp->scb.status, lp->scb.command, in i596_display_data() 470 lp->scb.cmd, lp->scb.rfd); in i596_display_data() 473 lp->scb.crc_err, lp->scb.align_err, lp->scb.resource_err, in i596_display_data() 474 lp->scb.over_err, lp->scb.rcvdt_err, lp->scb.short_err); in i596_display_data() 665 lp->iscp.scb = WSWAPscb(virt_to_bus((void *)&lp->scb)); in init_i596_mem() 673 lp->scb.t_on = 7 * 25; in init_i596_mem() 688 lp->scb.command = 0; in init_i596_mem() [all …]
|
/linux/net/ipv4/ |
A D | tcp_rate.c | 83 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rate_skb_delivered() local 85 if (!scb->tx.delivered_mstamp) in tcp_rate_skb_delivered() 89 after(scb->tx.delivered, rs->prior_delivered)) { in tcp_rate_skb_delivered() 90 rs->prior_delivered_ce = scb->tx.delivered_ce; in tcp_rate_skb_delivered() 91 rs->prior_delivered = scb->tx.delivered; in tcp_rate_skb_delivered() 92 rs->prior_mstamp = scb->tx.delivered_mstamp; in tcp_rate_skb_delivered() 93 rs->is_app_limited = scb->tx.is_app_limited; in tcp_rate_skb_delivered() 94 rs->is_retrans = scb->sacked & TCPCB_RETRANS; in tcp_rate_skb_delivered() 100 scb->tx.first_tx_mstamp); in tcp_rate_skb_delivered() 107 if (scb->sacked & TCPCB_SACKED_ACKED) in tcp_rate_skb_delivered() [all …]
|