/linux/sound/pci/cs46xx/ |
H A D | dsp_spos_scb_lib.c | 61 struct dsp_scb_descriptor * scb = scb_info->scb_desc; in cs46xx_dsp_proc_scb_info_read() local 67 snd_iprintf(buffer,"%04x %s:\n",scb->address,scb->scb_name); in cs46xx_dsp_proc_scb_info_read() 74 snd_iprintf(buffer,"%08x ",readl(dst + (scb->address + j) * sizeof(u32))); in cs46xx_dsp_proc_scb_info_read() 79 if (scb->parent_scb_ptr != NULL) { in cs46xx_dsp_proc_scb_info_read() 81 scb->parent_scb_ptr->scb_name, in cs46xx_dsp_proc_scb_info_read() 82 scb->parent_scb_ptr->address); in cs46xx_dsp_proc_scb_info_read() 86 scb->sub_list_ptr->scb_name, in cs46xx_dsp_proc_scb_info_read() 87 scb->sub_list_ptr->address, in cs46xx_dsp_proc_scb_info_read() 88 scb in cs46xx_dsp_proc_scb_info_read() 98 _dsp_unlink_scb(struct snd_cs46xx * chip,struct dsp_scb_descriptor * scb) _dsp_unlink_scb() argument 160 cs46xx_dsp_remove_scb(struct snd_cs46xx * chip,struct dsp_scb_descriptor * scb) cs46xx_dsp_remove_scb() argument 208 cs46xx_dsp_proc_free_scb_desc(struct dsp_scb_descriptor * scb) cs46xx_dsp_proc_free_scb_desc() argument 226 cs46xx_dsp_proc_register_scb_desc(struct snd_cs46xx * chip,struct dsp_scb_descriptor * scb) cs46xx_dsp_proc_register_scb_desc() argument 264 struct dsp_scb_descriptor * scb; _dsp_create_generic_scb() local 359 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_timing_master_scb() local 396 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_codec_out_scb() local 435 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_codec_in_scb() local 481 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_pcm_reader_scb() local 588 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_src_task_scb() local 739 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_mix_only_scb() local 779 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_mix_to_ostream_scb() local 836 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_vari_decimate_scb() local 878 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_pcm_serial_input_scb() local 922 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_asynch_fg_tx_scb() local 969 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_asynch_fg_rx_scb() local 1058 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_spio_write_scb() local 1096 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_magic_snoop_scb() local 1129 struct dsp_scb_descriptor * scb = from; find_next_free_scb() local [all...] |
H A D | dsp_spos.h | 71 /* SCB's addresses */ 99 /* hyperforground SCB's*/ 193 struct dsp_scb_descriptor * scb) in cs46xx_dsp_spos_update_scb() argument 195 /* update nextSCB and subListPtr in SCB */ in cs46xx_dsp_spos_update_scb() 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() [all …]
|
H A D | cs46xx_dsp_scb_types.h | 70 /* Generic stream control block (SCB) structure definition */ 77 If an SCB does not have any associated DMA requestor, these 9 ints 78 may be freed for use by other tasks, but the pointer to the SCB must 80 SCB pointer. 95 /* Sublist pointer & next stream control block (SCB) link. 280 /* SCB for Timing master algorithm */ 348 /* SCB for CODEC output algorithm */ 405 /* Pointer to SCB at end of input chain */ 412 /* SCB for CODEC input algorithm */ 487 /* Init. Ptr to CODEC input SCB [all …]
|
/linux/drivers/scsi/ |
H A D | a100u2w.c | 86 static void inia100_scb_handler(struct orc_host *host, struct orc_scb *scb); 272 * orc_exec_scb - Queue an SCB with the HA 273 * @host: host adapter the SCB belongs to 274 * @scb: SCB to queue for execution 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 449 /* Setup SCB base and SCB Size registers */ in setup_SCBs() 451 /* SCB base address 0 */ in setup_SCBs() [all …]
|
H A D | wd719x.h | 29 /* Spider Command Block (SCB) */ 31 __le32 Int_SCB; /* 00-03 Internal SCB link pointer (must be cleared) */ 32 u8 SCB_opcode; /* 04 SCB Command opcode */ 43 u8 SCB_options; /* 42 SCB-options */ 56 u8 flags[2]; /* 62-63 SCB specific flags (local to each thread) */ 58 dma_addr_t phys; /* bus address of the SCB */ 115 #define WD719X_CMD_PROCESS_SCB 0x80 /* Process SCSI Control Block (SCB) */ 116 /* No interrupt generated on acceptance of SCB pointer */ 131 #define WD719X_SUE_SCBQFULL 0x02 /* SCB queue full */ 133 #define WD719X_SUE_TERM 0x04 /* Host terminated SCB via primative cmd */ [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 | 3 * Aic94xx SAS/SATA driver SCB management. 19 /* ---------- EMPTY SCB ---------- */ 359 * @ascb: pointer to Empty SCB 369 struct empty_scb *escb = &ascb->scb->escb; in asd_invalidate_edb() 384 le64_to_cpu(ascb->scb->header.next_scb), in asd_invalidate_edb() 385 le16_to_cpu(ascb->scb->header.index), in asd_invalidate_edb() 386 ascb->scb->header.opcode); 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() [all …]
|
H A D | aic94xx_hwi.c | 183 /* ---------- SCB initialization ---------- */ 186 * asd_init_scbs - manually allocate the first SCB. 189 * This allocates the very first SCB which would be sent to the 192 * the _next_ scb to be DMA-ed to the host adapter is read from the last 193 * SCB DMA-ed to the host adapter, we have to always stay one step 194 * ahead of the sequencer and keep one SCB already allocated. 220 seq->next_scb.size = sizeof(struct scb); in asd_init_scbs() 326 escb->scb->header.opcode = EMPTY_SCB; in asd_alloc_escbs() 344 struct empty_scb *escb = &ascb->scb->escb; in asd_assign_edbs2escbs() 365 * An empty SCB has sg_elements of ASD_EDBS_PER_SCB (7) buffers. [all …]
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx_core.c | 69 { MPARERR, "Scratch or SCB Memory Parity Error" }, 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); [all …]
|
H A D | aic7xxx_core.c | 79 { MPARERR, "Scratch or SCB Memory Parity Error" }, 154 struct scb *scb); 158 struct scb *scb); 195 struct scb *scb); 203 struct scb *prev_scb, 204 struct scb *scb); 238 /************************** SCB and SCB queue management **********************/ 260 static void ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb); 265 struct scb *scb); 304 * manual pause while accessing scb ram, accesses to certain registers [all …]
|
H A D | aic7xxx_osm.h | 229 ahc_scb_timer_reset(struct scb *scb, u_int usec) in ahc_scb_timer_reset() argument 335 * Per-SCB OSM storage. 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() [all …]
|
H A D | aic79xx_osm.h | 324 * Per-SCB OSM storage. 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 [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 | 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 …]
|
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 | aic7xxx.seq | 51 * A few words on the waiting SCB list: 55 * SCB that we've already pulled from the QINFIFO and started the selection 59 * create yet another SCB waiting for selection. The solution used here is to 60 * use byte 27 of the SCB as a pseudo-next pointer and to thread a list 61 * of SCBs that are awaiting selection. Since 0-0xfe are valid SCB indexes, 64 * command for which a second SCB has been queued. The sequencer will 104 * We have at least one queued SCB now and we don't have any 106 * card SCB for the host's SCB and get to work on it. 111 /* In the non-paging case, the SCBID == hardware SCB index */ 118 * DMA the SCB from host ram into the current SCB location. [all …]
|
H A D | aic79xx.seq | 151 * the SCB only if all data has transferred to the host. 178 * count in the SCB. In this case, we allow the routine servicing 179 * the FIFO to complete the SCB. 183 * we detect case 1, we will properly defer the post of the SCB 185 * notice that status has been received and complete the SCB. 220 * An SCB has been successfully uploaded to the host. 221 * If the SCB was uploaded for some reason other than 223 * queue the SCB for normal completion. Otherwise, we 309 * tag set by the host so that our SCB dma engine 310 * knows the correct location to store the SCB. [all …]
|
H A D | aic79xx.reg | 277 * Host New SCB Queue Offset 288 * Host Empty SCB Queue Offset 346 * SEQ New SCB Queue Offset 357 * SEQ Empty SCB Queue Offset 368 * SEQ Done SCB Queue Offset 586 * SCB Host Address 607 * SCB Host Count 1264 * SCB Type Pointer 1265 * SCB offset for Target Mode SCB type information 1275 * SCB offset to the Two Byte tag identifier used for target mode. [all …]
|
/linux/drivers/scsi/megaraid/ |
H A D | megaraid_mbox.c | 953 scb_t *scb; in megaraid_alloc_cmd_packets() local 1011 * Allocate memory for the base list of scb. Later allocate memory for in megaraid_alloc_cmd_packets() 1013 * scb to the allocated components in megaraid_alloc_cmd_packets() 1014 * NOTE: The code to allocate SCB will be duplicated in all the LLD in megaraid_alloc_cmd_packets() 1035 // Adjust the scb pointers and link in the free pool in megaraid_alloc_cmd_packets() 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() [all …]
|
/linux/drivers/net/ethernet/i825xx/ |
H A D | sun3_82586.c | 76 sizeof(scp)=12; sizeof(scb)=16; sizeof(iscp)=8; 77 sizeof(scp)+sizeof(iscp)+sizeof(scb) = 36 = INIT 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() [all …]
|
H A D | lib82596.c | 120 #define PORT_ALTSCP 0x02 /* alternate SCB address */ 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() 443 printk(KERN_DEBUG "iscp at %p, iscp.stat = %08x, .scb = %08x\n", in i596_display_data() 444 &dma->iscp, SWAP32(dma->iscp.stat), SWAP32(dma->iscp.scb)); in i596_display_data() [all …]
|
H A D | 82596.c | 146 #define PORT_ALTSCP 0x02 /* alternate SCB address */ 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() 464 printk(KERN_ERR "iscp at %p, iscp.stat = %08lx, .scb = %p\n", in i596_display_data() 465 &lp->iscp, lp->iscp.stat, lp->iscp.scb); in i596_display_data() 466 printk(KERN_ERR "scb at %p, scb.status = %04x, .command = %04x," in i596_display_data() 468 &lp->scb, lp->scb.status, lp->scb.command, in i596_display_data() [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-img-scb.txt | 1 IMG Serial Control Bus (SCB) I2C Controller 4 - compatible: "img,scb-i2c" 9 "scb", for the SCB core clock. 18 compatible = "img,scb-i2c"; 22 clock-names = "scb", "sys";
|
/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 …]
|
/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 …]
|