Home
last modified time | relevance | path

Searched refs:scb (Results 1 – 67 of 67) sorted by relevance

/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-scb.c30 cx18_memset_io(cx, cx->scb, 0, 0x10000); in cx18_init_scb()
32 cx18_writel(cx, IRQ_APU_TO_CPU, &cx->scb->apu2cpu_irq); in cx18_init_scb()
33 cx18_writel(cx, IRQ_CPU_TO_APU_ACK, &cx->scb->cpu2apu_irq_ack); in cx18_init_scb()
34 cx18_writel(cx, IRQ_HPU_TO_CPU, &cx->scb->hpu2cpu_irq); in cx18_init_scb()
35 cx18_writel(cx, IRQ_CPU_TO_HPU_ACK, &cx->scb->cpu2hpu_irq_ack); in cx18_init_scb()
36 cx18_writel(cx, IRQ_PPU_TO_CPU, &cx->scb->ppu2cpu_irq); in cx18_init_scb()
37 cx18_writel(cx, IRQ_CPU_TO_PPU_ACK, &cx->scb->cpu2ppu_irq_ack); in cx18_init_scb()
38 cx18_writel(cx, IRQ_EPU_TO_CPU, &cx->scb->epu2cpu_irq); in cx18_init_scb()
39 cx18_writel(cx, IRQ_CPU_TO_EPU_ACK, &cx->scb->cpu2epu_irq_ack); in cx18_init_scb()
41 cx18_writel(cx, IRQ_CPU_TO_APU, &cx->scb->cpu2apu_irq); in cx18_init_scb()
[all …]
Dcx18-queue.c308 &cx->scb->cpu_mdl[mdl_id + i].paddr); in cx18_load_queues()
310 &cx->scb->cpu_mdl[mdl_id + i].length); in cx18_load_queues()
324 &cx->scb->cpu_mdl[mdl_id + i - 1].length); in cx18_load_queues()
361 if (((char __iomem *)&cx->scb->cpu_mdl[cx->free_mdl_idx + s->buffers] - in cx18_stream_alloc()
362 (char __iomem *)cx->scb) > SCB_RESERVED_SIZE) { in cx18_stream_alloc()
363 unsigned bufsz = (((char __iomem *)cx->scb) + SCB_RESERVED_SIZE - in cx18_stream_alloc()
364 ((char __iomem *)cx->scb->cpu_mdl)); in cx18_stream_alloc()
Dcx18-mailbox.c405 ack_mb = &cx->scb->apu2epu_mb; in mb_ack_irq()
409 ack_mb = &cx->scb->cpu2epu_mb; in mb_ack_irq()
547 mb = &cx->scb->cpu2epu_mb; in cx18_api_epu_cmd_irq()
550 mb = &cx->scb->apu2epu_mb; in cx18_api_epu_cmd_irq()
634 mb = &cx->scb->epu2apu_mb; in cx18_api_call()
640 mb = &cx->scb->epu2cpu_mb; in cx18_api_call()
DMakefile4 cx18-av-core.o cx18-av-audio.o cx18-av-firmware.o cx18-av-vbi.o cx18-scb.o \
Dcx18-streams.c708 (void __iomem *) &cx->scb->cpu_mdl[mdl->id] - cx->enc_mem, in _cx18_stream_put_mdl_fw()
925 (void __iomem *)&cx->scb->cpu_mdl_ack[s->type][0] - cx->enc_mem, in cx18_start_v4l2_encode_stream()
926 (void __iomem *)&cx->scb->cpu_mdl_ack[s->type][1] - cx->enc_mem); in cx18_start_v4l2_encode_stream()
Dcx18-driver.h593 struct cx18_scb __iomem *scb; /* pointer to SCB */ member
Dcx18-driver.c988 cx->scb = (struct cx18_scb __iomem *)(cx->enc_mem + SCB_OFFSET); in cx18_probe()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx_osm.h234 ahc_scb_timer_reset(struct scb *scb, u_int usec) in ahc_scb_timer_reset() 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_long);
535 static inline void ahc_set_sense_residual(struct scb *scb, u_long resid);
[all …]
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_long resid);
525 static inline u_long ahd_get_residual(struct scb *);
[all …]
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);
193 struct scb *prev_scb,
194 struct scb *scb);
224 struct scb *scb);
226 struct scb *scb);
247 struct scb *scb);
[all …]
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 *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()
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 *scb);
272 struct scb *scb);
372 ahc_sg_bus_to_virt(struct scb *scb, uint32_t sg_busaddr) in ahc_sg_bus_to_virt() argument
376 sg_index = (sg_busaddr - scb->sg_list_phys)/sizeof(struct ahc_dma_seg); in ahc_sg_bus_to_virt()
380 return (&scb->sg_list[sg_index]); in ahc_sg_bus_to_virt()
[all …]
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);
Daic7xxx_osm.c253 ahc_print_path(struct ahc_softc *ahc, struct scb *scb) in ahc_print_path() argument
257 scb != NULL ? SCB_GET_CHANNEL(ahc, scb) : 'X', in ahc_print_path()
258 scb != NULL ? SCB_GET_TARGET(ahc, scb) : -1, in ahc_print_path()
259 scb != NULL ? SCB_GET_LUN(scb) : -1); in ahc_print_path()
363 struct scb *);
452 static void ahc_linux_unmap_scb(struct ahc_softc*, struct scb*);
454 static int ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb,
459 ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) in ahc_linux_unmap_scb() argument
463 cmd = scb->io_ctx; in ahc_linux_unmap_scb()
464 ahc_sync_sglist(ahc, scb, BUS_DMASYNC_POSTWRITE); in ahc_linux_unmap_scb()
[all …]
Daic79xx.h76 #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 …]
Daic7xxx.h77 #define SCB_IS_SCSIBUS_B(ahc, scb) \ argument
78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
79 #define SCB_GET_OUR_ID(scb) \ argument
80 SCSIID_OUR_ID((scb)->hscb->scsiid)
81 #define SCB_GET_TARGET(ahc, scb) \ argument
82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
83 #define SCB_GET_CHANNEL(ahc, scb) \ argument
84 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
85 #define SCB_GET_LUN(scb) \ argument
86 ((scb)->hscb->lun & LID)
[all …]
Daic79xx_osm.c224 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()
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) in ahd_linux_unmap_scb() argument
538 cmd = scb->io_ctx; in ahd_linux_unmap_scb()
539 ahd_sync_sglist(ahd, scb, BUS_DMASYNC_POSTWRITE); in ahd_linux_unmap_scb()
785 struct scb *reset_scb; in ahd_linux_dev_reset()
[all …]
Daic7xxx.reg1108 scb {
1551 * Address of the hardware scb array in the host.
Daic79xx.reg1367 * Scb offset for the 2 byte "next scb link".
4069 scb {
/linux-4.4.14/drivers/scsi/
Dips.c209 #define IPS_DMA_DIR(scb) ((!scb->scsi_cmd || ips_is_passthru(scb->scsi_cmd) || \ argument
210 DMA_NONE == scb->scsi_cmd->sc_data_direction) ? \
212 scb->scsi_cmd->sc_data_direction)
649 ips_scb_t *scb; in ips_release() local
672 scb = &ha->scbs[ha->max_cmds - 1]; in ips_release()
674 ips_init_scb(ha, scb); in ips_release()
676 scb->timeout = ips_cmd_timeout; in ips_release()
677 scb->cdb[0] = IPS_CMD_FLUSH; in ips_release()
679 scb->cmd.flush_cache.op_code = IPS_CMD_FLUSH; in ips_release()
680 scb->cmd.flush_cache.command_id = IPS_COMMAND_ID(ha, scb); in ips_release()
[all …]
Da100u2w.c86 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 …]
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; in initio_alloc_scb() local
692 if ((scb = host->first_avail) != NULL) { in initio_alloc_scb()
694 printk("find scb at %p\n", scb); in initio_alloc_scb()
696 if ((host->first_avail = scb->next) == NULL) in initio_alloc_scb()
698 scb->next = NULL; in initio_alloc_scb()
699 scb->status = SCB_RENT; in initio_alloc_scb()
702 return scb; in initio_alloc_scb()
[all …]
Dwd719x.c156 struct wd719x_scb *scb; in wd719x_destroy() local
166 list_for_each_entry(scb, &wd->active_scbs, list) in wd719x_destroy()
167 pci_free_consistent(wd->pdev, sizeof(struct wd719x_scb), scb, in wd719x_destroy()
168 scb->phys); in wd719x_destroy()
169 list_for_each_entry(scb, &wd->free_scbs, list) in wd719x_destroy()
170 pci_free_consistent(wd->pdev, sizeof(struct wd719x_scb), scb, in wd719x_destroy()
171 scb->phys); in wd719x_destroy()
188 struct wd719x_scb *scb = (struct wd719x_scb *) cmd->host_scribble; in wd719x_finish_cmd() local
190 if (scb) { in wd719x_finish_cmd()
191 list_move(&scb->list, &wd->free_scbs); in wd719x_finish_cmd()
[all …]
Dmegaraid.c375 scb_t *scb; in megaraid_queue_lck() local
394 scb = mega_build_cmd(adapter, scmd, &busy); in megaraid_queue_lck()
395 if (!scb) in megaraid_queue_lck()
398 scb->state |= SCB_PENDQ; in megaraid_queue_lck()
399 list_add_tail(&scb->list, &adapter->pending_list); in megaraid_queue_lck()
429 scb_t *scb; in DEF_SCSI_QCMD() local
434 scb = list_entry(head->next, scb_t, list); in DEF_SCSI_QCMD()
438 scb->state = SCB_ACTIVE; in DEF_SCSI_QCMD()
439 scb->cmd = cmd; in DEF_SCSI_QCMD()
440 scb->dma_type = MEGA_DMA_TYPE_NONE; in DEF_SCSI_QCMD()
[all …]
Dwd7000.c450 typedef struct scb { /* Command Control Block 5.4.1 */ struct
468 struct scb *next; /* for lists of scbs */ argument
810 Scb *scb, *p = NULL; in alloc_scbs() local
846 scb = scbfree; in alloc_scbs()
857 return (scb); in alloc_scbs()
861 static inline void free_scb(Scb * scb) in free_scb() argument
867 memset(scb, 0, sizeof(Scb)); in free_scb()
868 scb->next = scbfree; in free_scb()
869 scbfree = scb; in free_scb()
1004 Scb *scb; /* for SCSI commands */ in wd7000_intr() local
[all …]
Ddpt_i2o.c326 u8 scb[16]; in adpt_inquiry() local
361 memset(scb, 0, sizeof(scb)); in adpt_inquiry()
363 scb[0] = INQUIRY; in adpt_inquiry()
364 scb[1] = 0; in adpt_inquiry()
365 scb[2] = 0; in adpt_inquiry()
366 scb[3] = 0; in adpt_inquiry()
367 scb[4] = 36; in adpt_inquiry()
368 scb[5] = 0; in adpt_inquiry()
371 memcpy(mptr, scb, sizeof(scb)); in adpt_inquiry()
Dinitio.h520 struct scsi_ctrl_blk *scb; /* 20 */ member
Dips.h61 #define IPS_COMMAND_ID(ha, scb) (int) (scb - ha->scbs) argument
Dmegaraid.h971 static int mega_build_sglist (adapter_t *adapter, scb_t *scb,
/linux-4.4.14/sound/pci/cs46xx/
Ddsp_spos_scb_lib.c75 struct dsp_scb_descriptor * scb = scb_info->scb_desc; in cs46xx_dsp_proc_scb_info_read() local
84 snd_iprintf(buffer,"%04x %s:\n",scb->address,scb->scb_name); in cs46xx_dsp_proc_scb_info_read()
91 snd_iprintf(buffer,"%08x ",readl(dst + (scb->address + j) * sizeof(u32))); in cs46xx_dsp_proc_scb_info_read()
96 if (scb->parent_scb_ptr != NULL) { in cs46xx_dsp_proc_scb_info_read()
98 scb->parent_scb_ptr->scb_name, in cs46xx_dsp_proc_scb_info_read()
99 scb->parent_scb_ptr->address); in cs46xx_dsp_proc_scb_info_read()
103 scb->sub_list_ptr->scb_name, in cs46xx_dsp_proc_scb_info_read()
104 scb->sub_list_ptr->address, in cs46xx_dsp_proc_scb_info_read()
105 scb->next_scb_ptr->scb_name, in cs46xx_dsp_proc_scb_info_read()
106 scb->next_scb_ptr->address, in cs46xx_dsp_proc_scb_info_read()
[all …]
Ddsp_spos.h208 struct dsp_scb_descriptor * scb) in cs46xx_dsp_spos_update_scb() argument
212 (scb->address + SCBsubListPtr) << 2, in cs46xx_dsp_spos_update_scb()
213 (scb->sub_list_ptr->address << 0x10) | in cs46xx_dsp_spos_update_scb()
214 (scb->next_scb_ptr->address)); in cs46xx_dsp_spos_update_scb()
215 scb->updated = 1; in cs46xx_dsp_spos_update_scb()
219 struct dsp_scb_descriptor * scb, in cs46xx_dsp_scb_set_volume() argument
224 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl) << 2, val); in cs46xx_dsp_scb_set_volume()
225 snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl + 1) << 2, val); in cs46xx_dsp_scb_set_volume()
226 scb->volume_set = 1; in cs46xx_dsp_scb_set_volume()
227 scb->volume[0] = left; in cs46xx_dsp_scb_set_volume()
[all …]
Dcs46xx_lib.h122 void cs46xx_dsp_proc_free_scb_desc (struct dsp_scb_descriptor * scb);
124 struct dsp_scb_descriptor * scb);
126 #define cs46xx_dsp_proc_free_scb_desc(scb) argument
127 #define cs46xx_dsp_proc_register_scb_desc(chip, scb) argument
143 struct dsp_scb_descriptor * scb);
Ddsp_spos.c1928 struct dsp_scb_descriptor * scb; in cs46xx_dsp_set_dac_volume() local
1933 scb = ins->master_mix_scb->sub_list_ptr; in cs46xx_dsp_set_dac_volume()
1934 while (scb != ins->the_null_scb) { in cs46xx_dsp_set_dac_volume()
1935 cs46xx_dsp_scb_set_volume (chip,scb,left,right); in cs46xx_dsp_set_dac_volume()
1936 scb = scb->next_scb_ptr; in cs46xx_dsp_set_dac_volume()
1940 scb = ins->rear_mix_scb->sub_list_ptr; in cs46xx_dsp_set_dac_volume()
1941 while (scb != ins->the_null_scb) { in cs46xx_dsp_set_dac_volume()
1942 cs46xx_dsp_scb_set_volume (chip,scb,left,right); in cs46xx_dsp_set_dac_volume()
1943 scb = scb->next_scb_ptr; in cs46xx_dsp_set_dac_volume()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_tmf.c102 struct scb *scb; \
115 scb = ascb->scb; \
116 scb->header.opcode = CLEAR_NEXUS
139 scb->clear_nexus.nexus = NEXUS_ADAPTER; in asd_clear_nexus_ha()
148 scb->clear_nexus.nexus = NEXUS_PORT; in asd_clear_nexus_port()
149 scb->clear_nexus.conn_mask = port->phy_mask; in asd_clear_nexus_port()
165 scb->clear_nexus.nexus = NEXUS_I_T; in asd_clear_nexus_I_T()
168 scb->clear_nexus.flags = EXEC_Q | SUSPEND_TX; in asd_clear_nexus_I_T()
171 scb->clear_nexus.flags = SEND_Q | NOTINQ; in asd_clear_nexus_I_T()
174 scb->clear_nexus.flags = RESUME_TX; in asd_clear_nexus_I_T()
[all …]
Daic94xx_task.c144 le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); in asd_unmap_scatterlist()
368 struct scb *scb; in asd_build_ata_ascb() local
372 scb = ascb->scb; in asd_build_ata_ascb()
375 scb->header.opcode = CONTROL_ATA_DEV; in asd_build_ata_ascb()
377 scb->header.opcode = INITIATE_ATAPI_TASK; in asd_build_ata_ascb()
379 scb->header.opcode = INITIATE_ATA_TASK; in asd_build_ata_ascb()
381 scb->ata_task.proto_conn_rate = (1 << 5); /* STP */ in asd_build_ata_ascb()
383 scb->ata_task.proto_conn_rate |= dev->linkrate; in asd_build_ata_ascb()
385 scb->ata_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); in asd_build_ata_ascb()
386 scb->ata_task.fis = task->ata_task.fis; in asd_build_ata_ascb()
[all …]
Daic94xx_scb.c385 struct empty_scb *escb = &ascb->scb->escb; in asd_invalidate_edb()
437 le64_to_cpu(ascb->scb->header.next_scb), in escb_tasklet_complete()
438 le16_to_cpu(ascb->scb->header.index), in escb_tasklet_complete()
439 ascb->scb->header.opcode); in escb_tasklet_complete()
471 a->scb->header.opcode); in escb_tasklet_complete()
603 le64_to_cpu(ascb->scb->header.next_scb), in escb_tasklet_complete()
604 le16_to_cpu(ascb->scb->header.index), in escb_tasklet_complete()
605 ascb->scb->header.opcode); in escb_tasklet_complete()
646 struct scb *scb = ascb->scb; in control_phy_tasklet_complete() local
647 struct control_phy *control_phy = &scb->control_phy; in control_phy_tasklet_complete()
[all …]
Daic94xx_hwi.c236 seq->next_scb.size = sizeof(struct scb); in asd_init_scbs()
341 escb->scb->header.opcode = EMPTY_SCB; in asd_alloc_escbs()
359 struct empty_scb *escb = &ascb->scb->escb; in asd_assign_edbs2escbs()
750 } else if (ascb->scb->header.opcode == EMPTY_SCB) { in asd_dl_tasklet_handler()
1057 ascb->dma_scb.size = sizeof(struct scb); in asd_ascb_alloc()
1065 memset(ascb->dma_scb.vaddr, 0, sizeof(struct scb)); in asd_ascb_alloc()
1074 ascb->scb->header.index = cpu_to_le16((u16)ascb->tc_index); in asd_ascb_alloc()
1120 last->scb->header.next_scb = in asd_ascb_alloc_list()
1155 memcpy(seq->next_scb.vaddr, ascb->scb, sizeof(*ascb->scb)); in asd_swap_head_scb()
1157 ascb->scb = ascb->dma_scb.vaddr; in asd_swap_head_scb()
[all …]
Daic94xx_hwi.h134 struct scb *scb; /* equals dma_scb->vaddr */ member
292 ascb->scb = ascb->dma_scb.vaddr; in asd_init_ascb()
Daic94xx_sas.h627 struct scb { struct
743 #define ASD_SCB_SIZE sizeof(struct scb)
Daic94xx_dump.c938 le64_to_cpu(ascb->scb->header.next_scb),
939 le16_to_cpu(ascb->scb->header.index),
940 ascb->scb->header.opcode);
Daic94xx_init.c538 sizeof(struct scb), in asd_create_ha_caches()
891 WARN_ON(ascb->scb->header.opcode != CONTROL_PHY); in asd_free_queues()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_mbox.c966 scb_t *scb; in megaraid_alloc_cmd_packets() local
1053 scb = adapter->kscb_list + i; in megaraid_alloc_cmd_packets()
1080 scb->ccb = (caddr_t)ccb; in megaraid_alloc_cmd_packets()
1081 scb->gp = 0; in megaraid_alloc_cmd_packets()
1083 scb->sno = i; // command index in megaraid_alloc_cmd_packets()
1085 scb->scp = NULL; in megaraid_alloc_cmd_packets()
1086 scb->state = SCB_FREE; in megaraid_alloc_cmd_packets()
1087 scb->dma_direction = PCI_DMA_NONE; in megaraid_alloc_cmd_packets()
1088 scb->dma_type = MRAID_DMA_NONE; in megaraid_alloc_cmd_packets()
1089 scb->dev_channel = -1; in megaraid_alloc_cmd_packets()
[all …]
/linux-4.4.14/drivers/net/ethernet/i825xx/
Dsun3_82586.c101 if(!p->scb->cmd_cuc) break; \
104 …%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 …b_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
254 p->scb = (struct scb_struct *) ((char *)p->iscp + sizeof(struct iscp_struct)); in alloc586()
261 p->iscp->scb_offset = make16(p->scb); in alloc586()
275 memset((char *)p->scb,0,sizeof(struct scb_struct)); in alloc586()
416 ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); in init586()
443 p->scb->cbl_offset = make16(cfg_cmd); in init586()
[all …]
Dlib82596.c291 u32 scb; member
303 volatile struct i596_scb scb __attribute__((aligned(32))); member
387 DMA_INV(dev, &(dma->scb), sizeof(struct i596_scb)); in wait_cmd()
388 while (--delcnt && dma->scb.command) { in wait_cmd()
390 DMA_INV(dev, &(dma->scb), sizeof(struct i596_scb)); in wait_cmd()
395 SWAP16(dma->scb.status), in wait_cmd()
396 SWAP16(dma->scb.command)); in wait_cmd()
414 &dma->iscp, SWAP32(dma->iscp.stat), SWAP32(dma->iscp.scb)); in i596_display_data()
417 &dma->scb, SWAP16(dma->scb.status), SWAP16(dma->scb.command), in i596_display_data()
418 SWAP16(dma->scb.cmd), SWAP32(dma->scb.rfd)); in i596_display_data()
[all …]
D82596.c307 struct i596_scb *scb; member
319 volatile struct i596_scb scb; member
419 dev->name, str, lp->scb.status, lp->scb.command); in wait_istat()
429 while (--delcnt && lp->scb.command) in wait_cmd()
433 dev->name, str, lp->scb.status, lp->scb.command); in wait_cmd()
466 &lp->iscp, lp->iscp.stat, lp->iscp.scb); in i596_display_data()
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()
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dscb.h42 struct scb *scb; /* backptr for easy lookup */ member
47 struct scb *scb; /* back pointer for easy reference */ member
64 struct scb { struct
Dampdu.c284 struct scb *scb) in brcms_c_scb_ampdu_update_config() argument
286 struct scb_ampdu *scb_ampdu = &scb->scb_ampdu; in brcms_c_scb_ampdu_update_config()
485 struct scb *scb = &wlc->pri_scb; in brcms_c_ampdu_tx_operational() local
486 scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_tx_operational()
496 ini->scb = scb_ampdu->scb; in brcms_c_ampdu_tx_operational()
522 struct scb *scb = &wlc->pri_scb; in brcms_c_ampdu_add_frame() local
523 struct scb_ampdu *scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_add_frame()
837 brcms_c_ampdu_dotxstatus_complete(struct ampdu_info *ampdu, struct scb *scb, in brcms_c_ampdu_dotxstatus_complete() argument
864 scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_dotxstatus_complete()
1030 brcms_c_ampdu_dotxstatus(struct ampdu_info *ampdu, struct scb *scb, in brcms_c_ampdu_dotxstatus() argument
[all …]
Dampdu.h48 void brcms_c_ampdu_dotxstatus(struct ampdu_info *ampdu, struct scb *scb,
Dmain.h216 #define BRCMS_STF_SS_STBC_TX(wlc, scb) \ argument
218 || (((scb)->flags & SCB_STBCCAP) && \
262 struct scb *hwrs_scb; /* permanent scb for hw rateset */
565 struct scb pri_scb;
667 void brcms_c_init_scb(struct scb *scb);
Dmac80211_if.c803 struct scb *scb = &wl->wlc->pri_scb; in brcms_ops_sta_add() local
805 brcms_c_init_scb(scb); in brcms_ops_sta_add()
807 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
808 wl->pub->global_ampdu->scb = scb; in brcms_ops_sta_add()
826 struct scb *scb = &wl->wlc->pri_scb; in brcms_ops_ampdu_action() local
829 if (WARN_ON(scb->magic != SCB_MAGIC)) in brcms_ops_ampdu_action()
Dmain.c839 struct scb *scb = NULL; in brcms_c_dotxstatus() local
896 scb = &wlc->pri_scb; in brcms_c_dotxstatus()
899 brcms_c_ampdu_dotxstatus(wlc->ampdu, scb, p, txs); in brcms_c_dotxstatus()
3156 void brcms_c_init_scb(struct scb *scb) in brcms_c_init_scb() argument
3160 memset(scb, 0, sizeof(struct scb)); in brcms_c_init_scb()
3161 scb->flags = SCB_WMECAP | SCB_HTCAP; in brcms_c_init_scb()
3163 scb->seqnum[i] = 0; in brcms_c_init_scb()
3164 scb->seqctl[i] = 0xFFFF; in brcms_c_init_scb()
3167 scb->seqctl_nonqos = 0xFFFF; in brcms_c_init_scb()
3168 scb->magic = SCB_MAGIC; in brcms_c_init_scb()
[all …]
/linux-4.4.14/net/ipv4/
Dtcp_recovery.c47 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_rack_mark_lost() local
53 if (!after(scb->end_seq, tp->snd_una) || in tcp_rack_mark_lost()
54 scb->sacked & TCPCB_SACKED_ACKED) in tcp_rack_mark_lost()
65 if (scb->sacked & TCPCB_SACKED_RETRANS) { in tcp_rack_mark_lost()
66 scb->sacked &= ~TCPCB_SACKED_RETRANS; in tcp_rack_mark_lost()
71 } else if (!(scb->sacked & TCPCB_RETRANS)) { in tcp_rack_mark_lost()
Dtcp_input.c3118 struct tcp_skb_cb *scb = TCP_SKB_CB(skb); in tcp_clean_rtx_queue() local
3119 u8 sacked = scb->sacked; in tcp_clean_rtx_queue()
3125 if (after(scb->end_seq, tp->snd_una)) { in tcp_clean_rtx_queue()
3127 !after(tp->snd_una, scb->seq)) in tcp_clean_rtx_queue()
3152 if (!after(scb->end_seq, tp->high_seq)) in tcp_clean_rtx_queue()
3173 if (likely(!(scb->tcp_flags & TCPHDR_SYN))) { in tcp_clean_rtx_queue()
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-img-scb.txt4 - compatible: "img,scb-i2c"
9 "scb", for the SCB core clock.
18 compatible = "img,scb-i2c";
22 clock-names = "scb", "sys";
/linux-4.4.14/net/bluetooth/cmtp/
Dcore.c225 struct cmtp_scb *scb = (void *) skb->cb; in cmtp_process_transmit() local
236 if (scb->id < 0) { in cmtp_process_transmit()
237 scb->id = cmtp_alloc_block_id(session); in cmtp_process_transmit()
238 if (scb->id < 0) { in cmtp_process_transmit()
247 | ((scb->id << 2) & 0x3c) in cmtp_process_transmit()
253 | ((scb->id << 2) & 0x3c) in cmtp_process_transmit()
265 cmtp_free_block_id(session, scb->id); in cmtp_process_transmit()
266 if (scb->data) { in cmtp_process_transmit()
Dcapi.c138 struct cmtp_scb *scb = (void *) skb->cb; in cmtp_send_capimsg() local
142 scb->id = -1; in cmtp_send_capimsg()
143 scb->data = (CAPIMSG_COMMAND(skb->data) == CAPI_DATA_B3); in cmtp_send_capimsg()
/linux-4.4.14/arch/mips/sgi-ip22/
Dip28-berr.c168 u32 scb, scw; in print_cache_tags() local
176 scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 5) - 1); in print_cache_tags()
185 scb | (1 << 12)*i); in print_cache_tags()
187 scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 6) - 1); in print_cache_tags()
196 scb | (1 << 12)*i); in print_cache_tags()
199 scb = i & (1 << 13) ? 7:6; /* scblksize = 2^[7..6] */ in print_cache_tags()
202 i = ((1 << scw) - 1) & ~((1 << scb) - 1); in print_cache_tags()
206 scw-1, scb, i & (unsigned)cache_tags.err_addr); in print_cache_tags()
/linux-4.4.14/Documentation/devicetree/bindings/mailbox/
Darm-mhu.txt39 mhu_client: scb@2e000000 {
40 compatible = "fujitsu,mb86s70-scb-1.0";
/linux-4.4.14/arch/blackfin/mach-bf609/
DMakefile7 obj-$(CONFIG_SCB_PRIORITY) += scb.o
/linux-4.4.14/arch/blackfin/mach-common/
DMakefile13 obj-$(CONFIG_SCB_PRIORITY) += scb-init.o
/linux-4.4.14/drivers/bluetooth/
Dbfusb.c128 struct bfusb_data_scb *scb = (void *) skb->cb; in bfusb_send_bulk() local
145 scb->urb = urb; in bfusb_send_bulk()
218 struct bfusb_data_scb *scb; in bfusb_rx_submit() local
238 scb = (struct bfusb_data_scb *) skb->cb; in bfusb_rx_submit()
239 scb->urb = urb; in bfusb_rx_submit()
/linux-4.4.14/drivers/net/ethernet/intel/
De100.c295 } scb; member
638 (void)ioread8(&nic->csr->scb.status); in e100_write_flush()
646 iowrite8(irq_mask_none, &nic->csr->scb.cmd_hi); in e100_enable_irq()
656 iowrite8(irq_mask_all, &nic->csr->scb.cmd_hi); in e100_disable_irq()
851 if (likely(!ioread8(&nic->csr->scb.cmd_lo))) in e100_exec_cmd()
863 iowrite32(dma_addr, &nic->csr->scb.gen_ptr); in e100_exec_cmd()
864 iowrite8(cmd, &nic->csr->scb.cmd_lo); in e100_exec_cmd()
1394 iowrite8(~0, &nic->csr->scb.stat_ack); in e100_load_ucode_wait()
1743 iowrite8(ioread8(&nic->csr->scb.cmd_hi) | irq_sw_gen,&nic->csr->scb.cmd_hi); in e100_watchdog()
2011 if (ioread8(&nic->csr->scb.status) & rus_no_res) in e100_rx_indicate()
[all …]
/linux-4.4.14/drivers/i2c/busses/
DMakefile57 obj-$(CONFIG_I2C_IMG) += i2c-img-scb.o
DKconfig584 will be called i2c-img-scb.
/linux-4.4.14/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y252 | scb
253 | program scb
842 scb:
/linux-4.4.14/drivers/net/wireless/
Drayctl.h404 struct scb { struct
Dray_cs.c1862 rcsindex = readb(&((struct scb __iomem *)(local->sram))->rcs_index); in ray_interrupt()