| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic7xxx_osm.h | 229 ahc_scb_timer_reset(struct scb *scb, u_int usec) in ahc_scb_timer_reset() argument 525 void ahc_set_transaction_status(struct scb *scb, uint32_t status) in ahc_set_transaction_status() argument 527 ahc_cmd_set_transaction_status(scb->io_ctx,status); in ahc_set_transaction_status() 538 void ahc_set_scsi_status(struct scb *scb, uint32_t status) in ahc_set_scsi_status() argument 540 ahc_cmd_set_scsi_status(scb->io_ctx, status); in ahc_set_scsi_status() 550 uint32_t ahc_get_transaction_status(struct scb *scb) in ahc_get_transaction_status() argument 552 return (ahc_cmd_get_transaction_status(scb->io_ctx)); in ahc_get_transaction_status() 562 uint32_t ahc_get_scsi_status(struct scb *scb) in ahc_get_scsi_status() argument 564 return (ahc_cmd_get_scsi_status(scb->io_ctx)); in ahc_get_scsi_status() 568 void ahc_set_transaction_tag(struct scb *scb, int enabled, u_int type) in ahc_set_transaction_tag() argument [all …]
|
| H A D | aic79xx_osm.h | 507 void ahd_set_transaction_status(struct scb *scb, uint32_t status) in ahd_set_transaction_status() argument 509 ahd_cmd_set_transaction_status(scb->io_ctx,status); in ahd_set_transaction_status() 520 void ahd_set_scsi_status(struct scb *scb, uint32_t status) in ahd_set_scsi_status() argument 522 ahd_cmd_set_scsi_status(scb->io_ctx, status); in ahd_set_scsi_status() 532 uint32_t ahd_get_transaction_status(struct scb *scb) in ahd_get_transaction_status() argument 534 return (ahd_cmd_get_transaction_status(scb->io_ctx)); in ahd_get_transaction_status() 544 uint32_t ahd_get_scsi_status(struct scb *scb) in ahd_get_scsi_status() argument 546 return (ahd_cmd_get_scsi_status(scb->io_ctx)); in ahd_get_scsi_status() 550 void ahd_set_transaction_tag(struct scb *scb, int enabled, u_int type) in ahd_set_transaction_tag() argument 559 u_long ahd_get_transfer_length(struct scb *scb) in ahd_get_transfer_length() argument [all …]
|
| H A D | aic79xx_core.c | 128 struct scb *scb); 131 struct scb *scb); 167 struct scb *scb); 180 struct scb *scb, u_int col_idx); 182 struct scb *scb); 185 struct scb *prev_scb, 186 struct scb *scb); 216 struct scb *scb); 218 struct scb *scb); 239 struct scb *scb); [all …]
|
| H A D | aic7xxx_core.c | 154 struct scb *scb); 158 struct scb *scb); 195 struct scb *scb); 203 struct scb *prev_scb, 204 struct scb *scb); 260 static void ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb); 265 struct scb *scb); 365 ahc_sg_bus_to_virt(struct scb *scb, uint32_t sg_busaddr) in ahc_sg_bus_to_virt() argument 369 sg_index = (sg_busaddr - scb->sg_list_phys)/sizeof(struct ahc_dma_seg); in ahc_sg_bus_to_virt() 373 return (&scb->sg_list[sg_index]); in ahc_sg_bus_to_virt() [all …]
|
| H 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()
|
| H 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);
|
| H A D | aic79xx.h | 76 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) argument 77 #define SCB_GET_OUR_ID(scb) \ argument 78 SCSIID_OUR_ID((scb)->hscb->scsiid) 79 #define SCB_GET_TARGET(ahd, scb) \ argument 80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid) 81 #define SCB_GET_CHANNEL(ahd, scb) \ argument 82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) 83 #define SCB_GET_LUN(scb) \ argument 84 ((scb)->hscb->lun) 85 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ argument [all …]
|
| /linux/drivers/scsi/ |
| H A D | a100u2w.c | 86 static void inia100_scb_handler(struct orc_host *host, struct orc_scb *scb); 277 static void orc_exec_scb(struct orc_host * host, struct orc_scb * scb) in orc_exec_scb() argument 279 scb->status = ORCSCB_POST; in orc_exec_scb() 280 outb(scb->scbidx, host->base + ORC_PQUEUE); in orc_exec_scb() 444 struct orc_scb *scb; in setup_SCBs() local 457 scb = host->scb_virt; in setup_SCBs() 462 scb->sg_addr = cpu_to_le32((u32) escb_phys); in setup_SCBs() 463 scb->sense_addr = cpu_to_le32((u32) escb_phys); in setup_SCBs() 464 scb->escb = escb; in setup_SCBs() 465 scb->scbidx = i; in setup_SCBs() [all …]
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx_tmf.c | 83 struct scb *scb; \ 96 scb = ascb->scb; \ 97 scb->header.opcode = CLEAR_NEXUS 120 scb->clear_nexus.nexus = NEXUS_ADAPTER; in asd_clear_nexus_ha() 129 scb->clear_nexus.nexus = NEXUS_PORT; in asd_clear_nexus_port() 130 scb->clear_nexus.conn_mask = port->phy_mask; in asd_clear_nexus_port() 146 scb->clear_nexus.nexus = NEXUS_I_T; in asd_clear_nexus_I_T() 149 scb->clear_nexus.flags = EXEC_Q | SUSPEND_TX; in asd_clear_nexus_I_T() 152 scb->clear_nexus.flags = SEND_Q | NOTINQ; in asd_clear_nexus_I_T() 155 scb->clear_nexus.flags = RESUME_TX; in asd_clear_nexus_I_T() [all …]
|
| H A D | aic94xx_scb.c | 369 struct empty_scb *escb = &ascb->scb->escb; in asd_invalidate_edb() 421 le64_to_cpu(ascb->scb->header.next_scb), in escb_tasklet_complete() 422 le16_to_cpu(ascb->scb->header.index), in escb_tasklet_complete() 423 ascb->scb->header.opcode); in escb_tasklet_complete() 455 a->scb->header.opcode); in escb_tasklet_complete() 587 le64_to_cpu(ascb->scb->header.next_scb), in escb_tasklet_complete() 588 le16_to_cpu(ascb->scb->header.index), in escb_tasklet_complete() 589 ascb->scb->header.opcode); in escb_tasklet_complete() 630 struct scb *scb = ascb->scb; in control_phy_tasklet_complete() local 631 struct control_phy *control_phy = &scb->control_phy; in control_phy_tasklet_complete() [all …]
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_mbox.c | 953 scb_t *scb; in megaraid_alloc_cmd_packets() local 1041 scb = adapter->kscb_list + i; in megaraid_alloc_cmd_packets() 1068 scb->ccb = (caddr_t)ccb; in megaraid_alloc_cmd_packets() 1069 scb->gp = 0; in megaraid_alloc_cmd_packets() 1071 scb->sno = i; // command index in megaraid_alloc_cmd_packets() 1073 scb->scp = NULL; in megaraid_alloc_cmd_packets() 1074 scb->state = SCB_FREE; in megaraid_alloc_cmd_packets() 1075 scb->dma_direction = DMA_NONE; in megaraid_alloc_cmd_packets() 1076 scb->dma_type = MRAID_DMA_NONE; in megaraid_alloc_cmd_packets() 1077 scb->dev_channel = -1; in megaraid_alloc_cmd_packets() [all …]
|
| /linux/drivers/net/ethernet/i825xx/ |
| H A D | sun3_82586.c | 103 if(!p->scb->cmd_cuc) break; \ 106 …%s: scb_cmd timed out: %04x,%04x .. disabling i82586!!\n",dev->name,p->scb->cmd_cuc,p->scb->cus); \ 111 if(!p->scb->cmd_ruc) break; \ 114 …b_cmd (ruc) timed out: %04x,%04x .. disabling i82586!!\n",dev->name,p->scb->cmd_ruc,p->scb->rus); \ 154 volatile struct scb_struct *scb; /* volatile is important */ member 257 p->scb = (struct scb_struct *) ((char *)p->iscp + sizeof(struct iscp_struct)); in alloc586() 264 p->iscp->scb_offset = make16(p->scb); in alloc586() 278 memset((char *)p->scb,0,sizeof(struct scb_struct)); in alloc586() 413 ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); in init586() 440 p->scb->cbl_offset = make16(cfg_cmd); in init586() [all …]
|
| H A D | lib82596.c | 290 u32 scb; member 302 volatile struct i596_scb scb __attribute__((aligned(32))); member 417 dma_sync_cpu(dev, &(dma->scb), sizeof(struct i596_scb)); in wait_cmd() 418 while (--delcnt && dma->scb.command) { in wait_cmd() 420 dma_sync_cpu(dev, &(dma->scb), sizeof(struct i596_scb)); in wait_cmd() 425 SWAP16(dma->scb.status), in wait_cmd() 426 SWAP16(dma->scb.command)); in wait_cmd() 444 &dma->iscp, SWAP32(dma->iscp.stat), SWAP32(dma->iscp.scb)); in i596_display_data() 447 &dma->scb, SWAP16(dma->scb.status), SWAP16(dma->scb.command), in i596_display_data() 448 SWAP16(dma->scb.cmd), SWAP32(dma->scb.rfd)); in i596_display_data() [all …]
|
| H A D | 82596.c | 306 struct i596_scb *scb; member 318 volatile struct i596_scb scb; member 418 dev->name, str, lp->scb.status, lp->scb.command); in wait_istat() 428 while (--delcnt && lp->scb.command) in wait_cmd() 432 dev->name, str, lp->scb.status, lp->scb.command); in wait_cmd() 465 &lp->iscp, lp->iscp.stat, lp->iscp.scb); in i596_display_data() 468 &lp->scb, lp->scb.status, lp->scb.command, in i596_display_data() 469 lp->scb.cmd, lp->scb.rfd); in i596_display_data() 472 lp->scb.crc_err, lp->scb.align_err, lp->scb.resource_err, in i596_display_data() 473 lp->scb.over_err, lp->scb.rcvdt_err, lp->scb.short_err); in i596_display_data() [all …]
|
| /linux/sound/pci/cs46xx/ |
| H 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 …]
|
| H A D | cs46xx_lib.h | 107 void cs46xx_dsp_proc_free_scb_desc (struct dsp_scb_descriptor * scb); 109 struct dsp_scb_descriptor * scb); 111 #define cs46xx_dsp_proc_free_scb_desc(scb) argument 112 #define cs46xx_dsp_proc_register_scb_desc(chip, scb) argument 128 struct dsp_scb_descriptor * scb);
|
| /linux/net/ipv4/ |
| H A D | tcp_rate.c | 84 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rate_skb_delivered() local 87 if (!scb->tx.delivered_mstamp) in tcp_rate_skb_delivered() 93 scb->end_seq, rs->last_end_seq)) { in tcp_rate_skb_delivered() 94 rs->prior_delivered_ce = scb->tx.delivered_ce; in tcp_rate_skb_delivered() 95 rs->prior_delivered = scb->tx.delivered; in tcp_rate_skb_delivered() 96 rs->prior_mstamp = scb->tx.delivered_mstamp; in tcp_rate_skb_delivered() 97 rs->is_app_limited = scb->tx.is_app_limited; in tcp_rate_skb_delivered() 98 rs->is_retrans = scb->sacked & TCPCB_RETRANS; in tcp_rate_skb_delivered() 99 rs->last_end_seq = scb->end_seq; in tcp_rate_skb_delivered() 105 scb->tx.first_tx_mstamp); in tcp_rate_skb_delivered() [all …]
|
| H A D | tcp_recovery.c | 68 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rack_detect_loss() local 72 if ((scb->sacked & TCPCB_LOST) && in tcp_rack_detect_loss() 73 !(scb->sacked & TCPCB_SACKED_RETRANS)) in tcp_rack_detect_loss() 78 tp->rack.end_seq, scb->end_seq)) in tcp_rack_detect_loss()
|
| /linux/fs/afs/ |
| H A D | yfsclient.c | 175 struct afs_status_cb *scb) in xdr_decode_YFSFetchStatus() argument 178 struct afs_file_status *status = &scb->status; in xdr_decode_YFSFetchStatus() 185 scb->have_error = true; in xdr_decode_YFSFetchStatus() 213 scb->have_status = true; in xdr_decode_YFSFetchStatus() 229 struct afs_status_cb *scb) in xdr_decode_YFSCallBack() argument 232 struct afs_callback *cb = &scb->callback; in xdr_decode_YFSCallBack() 237 scb->have_cb = true; in xdr_decode_YFSCallBack() 342 xdr_decode_YFSFetchStatus(&bp, call, &op->file[0].scb); in yfs_deliver_status_and_volsync() 435 xdr_decode_YFSFetchStatus(&bp, call, &vp->scb); in yfs_deliver_fs_fetch_data64() 436 xdr_decode_YFSCallBack(&bp, call, &vp->scb); in yfs_deliver_fs_fetch_data64() [all …]
|
| H A D | inode.c | 157 struct afs_file_status *status = &vp->scb.status; in afs_inode_init_from_status() 234 if (!vp->scb.have_cb) { in afs_inode_init_from_status() 240 afs_set_cb_promise(vnode, vp->scb.callback.expires_at, in afs_inode_init_from_status() 254 struct afs_file_status *status = &vp->scb.status; in afs_apply_status() 365 struct afs_callback *cb = &vp->scb.callback; in afs_apply_callback() 387 if (vp->scb.have_error) { in afs_vnode_commit_status() 391 if (vp->scb.status.abort_code == VNOVNODE) { in afs_vnode_commit_status() 397 } else if (vp->scb.have_status) { in afs_vnode_commit_status() 407 if (vp->scb.have_cb) in afs_vnode_commit_status() 420 if (vp->scb.have_status) in afs_vnode_commit_status() [all …]
|
| H A D | validation.c | 332 struct afs_callback *cb = &op->file[0].scb.callback; in afs_update_volume_state() 349 (op->file[0].scb.have_cb || op->file[1].scb.have_cb)) { in afs_update_volume_state() 352 if (!op->file[0].scb.have_cb) in afs_update_volume_state() 353 expires_at = op->file[1].scb.callback.expires_at; in afs_update_volume_state()
|
| /linux/Documentation/devicetree/bindings/i2c/ |
| H A D | i2c-img-scb.txt | 4 - compatible: "img,scb-i2c" 9 "scb", for the SCB core clock. 18 compatible = "img,scb-i2c"; 22 clock-names = "scb", "sys";
|
| /linux/net/bluetooth/cmtp/ |
| H A D | core.c | 224 struct cmtp_scb *scb = (void *) skb->cb; in cmtp_process_transmit() local 235 if (scb->id < 0) { in cmtp_process_transmit() 236 scb->id = cmtp_alloc_block_id(session); in cmtp_process_transmit() 237 if (scb->id < 0) { in cmtp_process_transmit() 246 | ((scb->id << 2) & 0x3c) in cmtp_process_transmit() 252 | ((scb->id << 2) & 0x3c) in cmtp_process_transmit() 264 cmtp_free_block_id(session, scb->id); in cmtp_process_transmit() 265 if (scb->data) { in cmtp_process_transmit()
|
| /linux/arch/mips/sgi-ip22/ |
| H A D | ip28-berr.c | 172 u32 scb, scw; in print_cache_tags() local 180 scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 5) - 1); in print_cache_tags() 189 scb | (1 << 12)*i); in print_cache_tags() 191 scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 6) - 1); in print_cache_tags() 200 scb | (1 << 12)*i); in print_cache_tags() 203 scb = i & (1 << 13) ? 7:6; /* scblksize = 2^[7..6] */ in print_cache_tags() 206 i = ((1 << scw) - 1) & ~((1 << scb) - 1); in print_cache_tags() 210 scw-1, scb, i & (unsigned)cache_tags.err_addr); in print_cache_tags()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | ampdu.h | 48 void brcms_c_ampdu_dotxstatus(struct ampdu_info *ampdu, struct scb *scb,
|