Home
last modified time | relevance | path

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

123

/linux/drivers/scsi/
H A Dips.c214 #define IPS_DMA_DIR(scb) ((!scb->scsi_cmd || ips_is_passthru(scb->scsi_cmd) || \ argument
215 DMA_NONE == scb->scsi_cmd->sc_data_direction) ? \
217 scb->scsi_cmd->sc_data_direction)
648 ips_scb_t *scb; in ips_release() local
670 scb = &ha->scbs[ha->max_cmds - 1]; in ips_release()
672 ips_init_scb(ha, scb); in ips_release()
674 scb->timeout = ips_cmd_timeout; in ips_release()
675 scb in ips_release()
719 ips_scb_t *scb; ips_halt() local
838 ips_scb_t *scb; __ips_eh_reset() local
1255 ips_scb_t *scb; ips_intr_copperhead() local
1319 ips_scb_t *scb; ips_intr_morpheus() local
1543 ips_make_passthru(ips_ha_t * ha,struct scsi_cmnd * SC,ips_scb_t * scb,int intr) ips_make_passthru() argument
1637 ips_flash_copperhead(ips_ha_t * ha,ips_passthru_t * pt,ips_scb_t * scb) ips_flash_copperhead() argument
1708 ips_flash_bios(ips_ha_t * ha,ips_passthru_t * pt,ips_scb_t * scb) ips_flash_bios() argument
1773 ips_fill_scb_sg_single(ips_ha_t * ha,dma_addr_t busaddr,ips_scb_t * scb,int indx,unsigned int e_len) ips_fill_scb_sg_single() argument
1810 ips_flash_firmware(ips_ha_t * ha,ips_passthru_t * pt,ips_scb_t * scb) ips_flash_firmware() argument
1883 ips_usrcmd(ips_ha_t * ha,ips_passthru_t * pt,ips_scb_t * scb) ips_usrcmd() argument
1971 ips_cleanup_passthru(ips_ha_t * ha,ips_scb_t * scb) ips_cleanup_passthru() argument
2216 ips_scb_t *scb; ips_get_bios_version() local
2510 ips_scb_t *scb; ips_next() local
3070 ipsintr_blocking(ips_ha_t * ha,ips_scb_t * scb) ipsintr_blocking() argument
3092 ipsintr_done(ips_ha_t * ha,ips_scb_t * scb) ipsintr_done() argument
3124 ips_done(ips_ha_t * ha,ips_scb_t * scb) ips_done() argument
3230 ips_map_status(ips_ha_t * ha,ips_scb_t * scb,ips_stat_t * sp) ips_map_status() argument
3369 ips_send_wait(ips_ha_t * ha,ips_scb_t * scb,int timeout,int intr) ips_send_wait() argument
3435 ips_send_cmd(ips_ha_t * ha,ips_scb_t * scb) ips_send_cmd() argument
3818 ips_scb_t *scb; ips_chkstatus() local
3974 ips_online(ips_ha_t * ha,ips_scb_t * scb) ips_online() argument
4009 ips_inquiry(ips_ha_t * ha,ips_scb_t * scb) ips_inquiry() argument
4044 ips_rdcap(ips_ha_t * ha,ips_scb_t * scb) ips_rdcap() argument
4074 ips_msense(ips_ha_t * ha,ips_scb_t * scb) ips_msense() argument
4165 ips_reqsen(ips_ha_t * ha,ips_scb_t * scb) ips_reqsen() argument
4350 ips_init_scb(ips_ha_t * ha,ips_scb_t * scb) ips_init_scb() argument
4397 ips_scb_t *scb; ips_getscb() local
4427 ips_freescb(ips_ha_t * ha,ips_scb_t * scb) ips_freescb() argument
4540 ips_scb_t *scb; ips_flush_and_reset() local
5256 ips_issue_copperhead(ips_ha_t * ha,ips_scb_t * scb) ips_issue_copperhead() argument
5310 ips_issue_copperhead_memio(ips_ha_t * ha,ips_scb_t * scb) ips_issue_copperhead_memio() argument
5363 ips_issue_i2o(ips_ha_t * ha,ips_scb_t * scb) ips_issue_i2o() argument
5395 ips_issue_i2o_memio(ips_ha_t * ha,ips_scb_t * scb) ips_issue_i2o_memio() argument
5642 ips_scb_t *scb; ips_read_adapter_status() local
5685 ips_scb_t *scb; ips_read_subsystem_parameters() local
5729 ips_scb_t *scb; ips_read_config() local
5787 ips_scb_t *scb; ips_readwrite_page5() local
5837 ips_scb_t *scb; ips_clear_adapter() local
5900 ips_scb_t *scb; ips_ffdc_reset() local
5934 ips_scb_t *scb; ips_ffdc_time() local
5967 ips_fix_ffdc_time(ips_ha_t * ha,ips_scb_t * scb,time64_t current_time) ips_fix_ffdc_time() argument
[all...]
H A Dmegaraid.c378 scb_t *scb; in megaraid_queue_lck() local
387 * allocate scb. We will return non-zero status in that case. in megaraid_queue_lck()
388 * NOTE: scb can be null even though certain commands completed in megaraid_queue_lck()
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 in DEF_SCSI_QCMD()
525 scb_t *scb; mega_build_cmd() local
952 mega_prepare_passthru(adapter_t * adapter,scb_t * scb,struct scsi_cmnd * cmd,int channel,int target) mega_prepare_passthru() argument
1016 mega_prepare_extpassthru(adapter_t * adapter,scb_t * scb,struct scsi_cmnd * cmd,int channel,int target) mega_prepare_extpassthru() argument
1070 scb_t *scb; __mega_runpendq() local
1099 issue_scb(adapter_t * adapter,scb_t * scb) issue_scb() argument
1423 scb_t *scb; mega_cmd_done() local
1663 mega_free_scb(adapter_t * adapter,scb_t * scb) mega_free_scb() argument
1710 mega_build_sglist(adapter_t * adapter,scb_t * scb,u32 * buf,u32 * len) mega_build_sglist() argument
1801 scb_t *scb; mega_free_sgl() local
1927 scb_t *scb; megaraid_abort_and_reset() local
2856 scb_t *scb; mega_init_scb() local
3767 scb_t *scb; mega_del_logdrv() local
4048 scb_t *scb; mega_internal_command() local
[all...]
/linux/sound/pci/cs46xx/
H A Ddsp_spos_scb_lib.c61 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()
97 _dsp_unlink_scb(struct snd_cs46xx * chip,struct dsp_scb_descriptor * scb) _dsp_unlink_scb() argument
159 cs46xx_dsp_remove_scb(struct snd_cs46xx * chip,struct dsp_scb_descriptor * scb) cs46xx_dsp_remove_scb() argument
206 cs46xx_dsp_proc_free_scb_desc(struct dsp_scb_descriptor * scb) cs46xx_dsp_proc_free_scb_desc() argument
224 cs46xx_dsp_proc_register_scb_desc(struct snd_cs46xx * chip,struct dsp_scb_descriptor * scb) cs46xx_dsp_proc_register_scb_desc() argument
262 struct dsp_scb_descriptor * scb; _dsp_create_generic_scb() local
353 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_timing_master_scb() local
390 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_codec_out_scb() local
429 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_codec_in_scb() local
475 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_pcm_reader_scb() local
582 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_src_task_scb() local
733 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_mix_only_scb() local
773 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_mix_to_ostream_scb() local
830 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_vari_decimate_scb() local
872 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_pcm_serial_input_scb() local
916 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_asynch_fg_tx_scb() local
963 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_asynch_fg_rx_scb() local
1052 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_spio_write_scb() local
1090 struct dsp_scb_descriptor * scb; cs46xx_dsp_create_magic_snoop_scb() local
1123 struct dsp_scb_descriptor * scb = from; find_next_free_scb() local
[all...]
H A Ddsp_spos.h193 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 Dcs46xx_lib.h107 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/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.h229 ahc_scb_timer_reset(struct scb *scb, u_int usec) in ahc_scb_timer_reset() argument
527 void ahc_set_transaction_status(struct scb *scb, uint32_t status) in ahc_set_transaction_status()
529 ahc_cmd_set_transaction_status(scb->io_ctx,status);
540 void ahc_set_scsi_status(struct scb *scb, uint32_t status) in ahc_set_scsi_status()
542 ahc_cmd_set_scsi_status(scb->io_ctx, status);
552 uint32_t ahc_get_transaction_status(struct scb *scb) in ahc_get_transaction_status()
525 ahc_set_transaction_status(struct scb * scb,uint32_t status) ahc_set_transaction_status() argument
538 ahc_set_scsi_status(struct scb * scb,uint32_t status) ahc_set_scsi_status() argument
550 ahc_get_transaction_status(struct scb * scb) ahc_get_transaction_status() argument
562 ahc_get_scsi_status(struct scb * scb) ahc_get_scsi_status() argument
568 ahc_set_transaction_tag(struct scb * scb,int enabled,u_int type) ahc_set_transaction_tag() argument
577 ahc_get_transfer_length(struct scb * scb) ahc_get_transfer_length() argument
583 ahc_get_transfer_dir(struct scb * scb) ahc_get_transfer_dir() argument
589 ahc_set_residual(struct scb * scb,u_long resid) ahc_set_residual() argument
595 ahc_set_sense_residual(struct scb * scb,u_long resid) ahc_set_sense_residual() argument
601 ahc_get_residual(struct scb * scb) ahc_get_residual() argument
607 ahc_get_sense_residual(struct scb * scb) ahc_get_sense_residual() argument
613 ahc_perform_autosense(struct scb * scb) ahc_perform_autosense() argument
624 ahc_get_sense_bufsize(struct ahc_softc * ahc,struct scb * scb) ahc_get_sense_bufsize() argument
637 ahc_platform_scb_free(struct ahc_softc * ahc,struct scb * scb) ahc_platform_scb_free() argument
646 ahc_freeze_scb(struct scb * scb) ahc_freeze_scb() argument
[all...]
H A Daic79xx_osm.h511 void ahd_set_transaction_status(struct scb *scb, uint32_t status)
513 ahd_cmd_set_transaction_status(scb->io_ctx,status); in ahd_cmd_set_scsi_status()
526 void ahd_set_scsi_status(struct scb *scb, uint32_t status) in ahd_cmd_get_transaction_status()
528 ahd_cmd_set_scsi_status(scb->io_ctx, status); in ahd_cmd_get_transaction_status()
540 uint32_t ahd_get_transaction_status(struct scb *scb) in ahd_cmd_get_scsi_status()
542 return (ahd_cmd_get_transaction_status(scb->io_ctx));
554 uint32_t ahd_get_scsi_status(struct scb *sc in ahd_set_transaction_tag()
507 ahd_set_transaction_status(struct scb * scb,uint32_t status) ahd_set_transaction_status() argument
520 ahd_set_scsi_status(struct scb * scb,uint32_t status) ahd_set_scsi_status() argument
532 ahd_get_transaction_status(struct scb * scb) ahd_get_transaction_status() argument
544 ahd_get_scsi_status(struct scb * scb) ahd_get_scsi_status() argument
550 ahd_set_transaction_tag(struct scb * scb,int enabled,u_int type) ahd_set_transaction_tag() argument
559 ahd_get_transfer_length(struct scb * scb) ahd_get_transfer_length() argument
565 ahd_get_transfer_dir(struct scb * scb) ahd_get_transfer_dir() argument
571 ahd_set_residual(struct scb * scb,u_long resid) ahd_set_residual() argument
577 ahd_set_sense_residual(struct scb * scb,u_long resid) ahd_set_sense_residual() argument
583 ahd_get_residual(struct scb * scb) ahd_get_residual() argument
589 ahd_get_sense_residual(struct scb * scb) ahd_get_sense_residual() argument
595 ahd_perform_autosense(struct scb * scb) ahd_perform_autosense() argument
606 ahd_get_sense_bufsize(struct ahd_softc * ahd,struct scb * scb) ahd_get_sense_bufsize() argument
619 ahd_platform_scb_free(struct ahd_softc * ahd,struct scb * scb) ahd_platform_scb_free() argument
630 ahd_freeze_scb(struct scb * scb) ahd_freeze_scb() argument
[all...]
H A Daic79xx_core.c128 struct scb *scb);
131 struct scb *scb);
167 struct scb *scb);
180 struct scb *scb, u_int col_idx);
182 struct scb *scb);
406 ahd_sg_setup(struct ahd_softc * ahd,struct scb * scb,void * sgptr,dma_addr_t addr,bus_size_t len,int last) ahd_sg_setup() argument
430 ahd_setup_scb_common(struct ahd_softc * ahd,struct scb * scb) ahd_setup_scb_common() argument
451 ahd_setup_data_scb(struct ahd_softc * ahd,struct scb * scb) ahd_setup_data_scb() argument
488 ahd_setup_noxfer_scb(struct ahd_softc * ahd,struct scb * scb) ahd_setup_noxfer_scb() argument
497 ahd_sg_bus_to_virt(struct ahd_softc * ahd,struct scb * scb,uint32_t sg_busaddr) ahd_sg_bus_to_virt() argument
507 ahd_sg_virt_to_bus(struct ahd_softc * ahd,struct scb * scb,void * sg) ahd_sg_virt_to_bus() argument
519 ahd_sync_scb(struct ahd_softc * ahd,struct scb * scb,int op) ahd_sync_scb() argument
528 ahd_sync_sglist(struct ahd_softc * ahd,struct scb * scb,int op) ahd_sync_sglist() argument
540 ahd_sync_sense(struct ahd_softc * ahd,struct scb * scb,int op) ahd_sync_sense() argument
790 struct scb* scb; ahd_lookup_scb() local
802 ahd_swap_with_next_hscb(struct ahd_softc * ahd,struct scb * scb) ahd_swap_with_next_hscb() argument
841 ahd_queue_scb(struct ahd_softc * ahd,struct scb * scb) ahd_queue_scb() argument
1092 ahd_update_residual(struct ahd_softc * ahd,struct scb * scb) ahd_update_residual() argument
1102 ahd_complete_scb(struct ahd_softc * ahd,struct scb * scb) ahd_complete_scb() argument
1189 struct scb *scb; ahd_flush_qoutfifo() local
1395 ahd_scb_active_in_fifo(struct ahd_softc * ahd,struct scb * scb) ahd_scb_active_in_fifo() argument
1424 ahd_run_data_fifo(struct ahd_softc * ahd,struct scb * scb) ahd_run_data_fifo() argument
1661 struct scb *scb; ahd_run_qoutfifo() local
1727 ahd_dump_sglist(struct scb * scb) ahd_dump_sglist() argument
1801 struct scb *scb; ahd_handle_seqint() local
1851 struct scb *scb; ahd_handle_seqint() local
1867 struct scb *scb; ahd_handle_seqint() local
1906 struct scb *scb; ahd_handle_seqint() local
1992 struct scb *scb; ahd_handle_seqint() local
2059 struct scb *scb; ahd_handle_seqint() local
2194 struct scb *scb; ahd_handle_seqint() local
2231 struct scb *scb; ahd_handle_seqint() local
2258 struct scb *scb; ahd_handle_seqint() local
2312 struct scb *scb; ahd_handle_seqint() local
2375 struct scb *scb; ahd_handle_scsiint() local
2657 struct scb *scb; ahd_handle_transmission_error() local
2891 struct scb *scb; ahd_handle_pkt_busfree() local
2991 struct scb *scb; ahd_handle_pkt_busfree() local
3018 struct scb *scb; ahd_handle_nonpkt_busfree() local
3292 struct scb *scb; ahd_handle_proto_violation() local
4343 ahd_scb_devinfo(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,struct scb * scb) ahd_scb_devinfo() argument
4366 ahd_setup_initiator_msgout(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,struct scb * scb) ahd_setup_initiator_msgout() argument
5492 struct scb *scb; ahd_handle_msg_reject() local
5658 struct scb *scb; ahd_handle_ign_wide_residue() local
5807 struct scb *scb; ahd_reinitialize_dataptrs() local
5952 ahd_setup_target_msgin(struct ahd_softc * ahd,struct ahd_devinfo * devinfo,struct scb * scb) ahd_setup_target_msgin() argument
6455 struct scb *scb; ahd_find_scb_by_tag() local
6609 ahd_add_col_list(struct ahd_softc * ahd,struct scb * scb,u_int col_idx) ahd_add_col_list() argument
6629 ahd_rem_col_list(struct ahd_softc * ahd,struct scb * scb) ahd_rem_col_list() argument
6665 struct scb *scb; ahd_get_scb() local
6699 ahd_free_scb(struct ahd_softc * ahd,struct scb * scb) ahd_free_scb() argument
7946 ahd_match_scb(struct ahd_softc * ahd,struct scb * scb,int target,char channel,int lun,u_int tag,role_t role) ahd_match_scb() argument
7982 ahd_freeze_devq(struct ahd_softc * ahd,struct scb * scb) ahd_freeze_devq() argument
8000 ahd_qinfifo_requeue_tail(struct ahd_softc * ahd,struct scb * scb) ahd_qinfifo_requeue_tail() argument
8023 ahd_qinfifo_requeue(struct ahd_softc * ahd,struct scb * prev_scb,struct scb * scb) ahd_qinfifo_requeue() argument
8062 struct scb *scb; ahd_reset_cmds_pending() local
8085 ahd_done_with_status(struct ahd_softc * ahd,struct scb * scb,uint32_t status) ahd_done_with_status() argument
8104 struct scb *scb; ahd_search_qinfifo() local
8335 struct scb *scb; ahd_search_scb_list() local
8821 ahd_handle_scsi_status(struct ahd_softc * ahd,struct scb * scb) ahd_handle_scsi_status() argument
9030 ahd_handle_scb_status(struct ahd_softc * ahd,struct scb * scb) ahd_handle_scb_status() argument
9044 ahd_calc_residual(struct ahd_softc * ahd,struct scb * scb) ahd_calc_residual() argument
9634 struct scb *scb; ahd_dump_card_state() local
10426 struct scb *scb; ahd_handle_en_lun() local
[all...]
H A Daic7xxx_core.c154 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 *sc
365 ahc_sg_bus_to_virt(struct scb * scb,uint32_t sg_busaddr) ahc_sg_bus_to_virt() argument
377 ahc_sg_virt_to_bus(struct scb * scb,struct ahc_dma_seg * sg) ahc_sg_virt_to_bus() argument
395 ahc_sync_scb(struct ahc_softc * ahc,struct scb * scb,int op) ahc_sync_scb() argument
404 ahc_sync_sglist(struct ahc_softc * ahc,struct scb * scb,int op) ahc_sync_sglist() argument
429 ahc_update_residual(struct ahc_softc * ahc,struct scb * scb) ahc_update_residual() argument
522 struct scb *scb; ahc_get_scb() local
538 ahc_free_scb(struct ahc_softc * ahc,struct scb * scb) ahc_free_scb() argument
557 struct scb* scb; ahc_lookup_scb() local
567 ahc_swap_with_next_hscb(struct ahc_softc * ahc,struct scb * scb) ahc_swap_with_next_hscb() argument
607 ahc_queue_scb(struct ahc_softc * ahc,struct scb * scb) ahc_queue_scb() argument
647 ahc_get_sense_buf(struct ahc_softc * ahc,struct scb * scb) ahc_get_sense_buf() argument
656 ahc_get_sense_bufaddr(struct ahc_softc * ahc,struct scb * scb) ahc_get_sense_bufaddr() argument
878 struct scb *scb; ahc_run_qoutfifo() local
934 struct scb *scb; ahc_run_untagged_queue() local
979 struct scb *scb; ahc_handle_seqint() local
1246 struct scb *scb; ahc_handle_seqint() local
1350 struct scb *scb; ahc_handle_seqint() local
1532 struct scb *scb; ahc_handle_scsiint() local
2818 ahc_scb_devinfo(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_scb_devinfo() argument
2852 ahc_setup_initiator_msgout(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_setup_initiator_msgout() argument
3116 struct scb *scb; ahc_handle_proto_violation() local
3989 struct scb *scb; ahc_handle_msg_reject() local
4135 struct scb *scb; ahc_handle_ign_wide_residue() local
4243 struct scb *scb; ahc_reinitialize_dataptrs() local
4353 ahc_setup_target_msgin(struct ahc_softc * ahc,struct ahc_devinfo * devinfo,struct scb * scb) ahc_setup_target_msgin() argument
5691 ahc_match_scb(struct ahc_softc * ahc,struct scb * scb,int target,char channel,int lun,u_int tag,role_t role) ahc_match_scb() argument
5727 ahc_freeze_devq(struct ahc_softc * ahc,struct scb * scb) ahc_freeze_devq() argument
5745 ahc_qinfifo_requeue_tail(struct ahc_softc * ahc,struct scb * scb) ahc_qinfifo_requeue_tail() argument
5768 ahc_qinfifo_requeue(struct ahc_softc * ahc,struct scb * prev_scb,struct scb * scb) ahc_qinfifo_requeue() argument
5802 struct scb *scb; ahc_search_qinfifo() local
6009 struct scb *scb; ahc_search_untagged_queues() local
6588 ahc_calc_residual(struct ahc_softc * ahc,struct scb * scb) ahc_calc_residual() argument
7102 struct scb *scb; ahc_dump_card_state() local
7581 struct scb *scb; ahc_handle_en_lun() local
[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 *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 Daic7xxx_osm.c254 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()
364 struct scb *);
454 static void ahc_linux_unmap_scb(struct ahc_softc*, struct scb*);
456 static int ahc_linux_map_seg(struct ahc_softc *ahc, struct scb *scb,
461 ahc_linux_unmap_scb(struct ahc_softc *ahc, struct scb *scb) in ahc_linux_unmap_scb() argument
465 cmd = scb->io_ctx; in ahc_linux_unmap_scb()
466 ahc_sync_sglist(ahc, scb, BUS_DMASYNC_POSTWRITE); in ahc_linux_unmap_scb()
[all …]
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);
H A 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 …]
H A 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()
540 ahd_sync_sglist(ahd, scb, BUS_DMASYNC_POSTWRITE); in ahd_linux_unmap_scb()
774 struct scb *reset_scb; in ahd_linux_dev_reset()
[all …]
/linux/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c83 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 Daic94xx_scb.c369 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/net/ethernet/i825xx/
H A Dsun3_82586.c103 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 Dlib82596.c290 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 D82596.c305 struct i596_scb *scb;
317 volatile struct i596_scb scb;
425 dev->name, str, lp->scb.status, lp->scb.command);
435 while (--delcnt && lp->scb.command) in wait_cmd()
439 dev->name, str, lp->scb.status, lp->scb.command);
471 printk(KERN_ERR "iscp at %p, iscp.stat = %08lx, .scb = %p\n", in i596_display_data()
472 &lp->iscp, lp->iscp.stat, lp->iscp.scb); in i596_display_data()
473 printk(KERN_ERR "scb a in i596_display_data()
306 struct i596_scb *scb; global() member
318 volatile struct i596_scb scb; global() member
[all...]
/linux/fs/afs/
H A Dyfsclient.c175 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 Dfsclient.c56 struct afs_status_cb *scb) in xdr_decode_AFSFetchStatus() argument
59 struct afs_file_status *status = &scb->status; in xdr_decode_AFSFetchStatus()
75 scb->have_error = true; in xdr_decode_AFSFetchStatus()
85 scb->have_error = true; in xdr_decode_AFSFetchStatus()
121 scb->have_status = true; in xdr_decode_AFSFetchStatus()
139 struct afs_status_cb *scb) in xdr_decode_AFSCallBack() argument
141 struct afs_callback *cb = &scb->callback; in xdr_decode_AFSCallBack()
147 scb->have_cb = true; in xdr_decode_AFSCallBack()
251 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_fetch_status()
252 xdr_decode_AFSCallBack(&bp, call, &vp->scb); in afs_deliver_fs_fetch_status()
[all …]
H A Dinode.c67 struct afs_file_status *status = &vp->scb.status; in afs_inode_init_from_status()
144 if (!vp->scb.have_cb) { in afs_inode_init_from_status()
150 afs_set_cb_promise(vnode, vp->scb.callback.expires_at, in afs_inode_init_from_status()
164 struct afs_file_status *status = &vp->scb.status; in afs_apply_status()
287 struct afs_callback *cb = &vp->scb.callback; in afs_apply_callback()
309 if (vp->scb.have_error) { in afs_vnode_commit_status()
313 if (vp->scb.status.abort_code == VNOVNODE) { in afs_vnode_commit_status()
319 } else if (vp->scb.have_status) { in afs_vnode_commit_status()
329 if (vp->scb.have_cb) in afs_vnode_commit_status()
342 if (vp->scb.have_status) in afs_vnode_commit_status()
[all …]
/linux/Documentation/devicetree/bindings/i2c/
H A 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/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dampdu.c278 struct scb *scb) in brcms_c_scb_ampdu_update_config() argument
280 struct scb_ampdu *scb_ampdu = &scb->scb_ampdu; in brcms_c_scb_ampdu_update_config()
457 struct scb *scb = &wlc->pri_scb; in brcms_c_ampdu_tx_operational() local
458 scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_tx_operational()
490 struct scb *scb = &wlc->pri_scb; in brcms_c_ampdu_add_frame() local
491 struct scb_ampdu *scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_add_frame()
802 brcms_c_ampdu_dotxstatus_complete(struct ampdu_info *ampdu, struct scb *scb, in brcms_c_ampdu_dotxstatus_complete() argument
828 scb_ampdu = &scb->scb_ampdu; in brcms_c_ampdu_dotxstatus_complete()
991 brcms_c_ampdu_dotxstatus(struct ampdu_info *ampdu, struct scb *scb, in brcms_c_ampdu_dotxstatus() argument
1018 if (scb) { in brcms_c_ampdu_dotxstatus()
[all …]
/linux/arch/mips/sgi-ip22/
H A Dip28-berr.c172 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()

123