| /linux/drivers/scsi/arm/ |
| H A D | arm_scsi.h | 30 * entries of uninitialized memory. SCp is from scsi-ml and has a valid 33 static inline int copy_SCp_to_sg(struct scatterlist *sg, struct scsi_pointer *SCp, int max) in copy_SCp_to_sg() argument 35 int bufs = SCp->buffers_residual; in copy_SCp_to_sg() 42 sg_set_buf(sg, SCp->ptr, SCp->this_residual); in copy_SCp_to_sg() 48 for_each_sg(sg_next(SCp->buffer), src_sg, bufs, i) in copy_SCp_to_sg() 56 static inline int next_SCp(struct scsi_pointer *SCp) in next_SCp() argument 58 int ret = SCp->buffers_residual; in next_SCp() 60 SCp->buffer = sg_next(SCp->buffer); in next_SCp() 61 SCp->buffers_residual--; in next_SCp() 62 SCp->ptr = sg_virt(SCp->buffer); in next_SCp() [all …]
|
| H A D | fas216.c | 177 static void print_SCp(struct scsi_pointer *SCp, const char *prefix, const char *suffix) in print_SCp() argument 180 prefix, SCp->ptr, SCp->this_residual, SCp->buffer, in print_SCp() 181 SCp->buffers_residual, suffix); in print_SCp() 203 print_SCp(&info->scsi.SCp, " SCp={ ", " }\n"); in fas216_dumpinfo() 632 struct scsi_pointer *SCp = &info->scsi.SCp; in fas216_updateptrs() local 638 SCp->phase -= bytes_transferred; in fas216_updateptrs() 641 if (SCp->this_residual > bytes_transferred) in fas216_updateptrs() 647 bytes_transferred -= SCp->this_residual; in fas216_updateptrs() 648 if (!next_SCp(SCp) && bytes_transferred) { in fas216_updateptrs() 655 SCp->this_residual -= bytes_transferred; in fas216_updateptrs() [all …]
|
| H A D | acornscsi.c | 238 printk("BH @%p +%04x, ", host->scsi.SCp.ptr, in acornscsi_dumpdma() 239 host->scsi.SCp.this_residual); in acornscsi_dumpdma() 241 host->scsi.SCp.scsi_xferred); in acornscsi_dumpdma() 732 host->scsi.SCp = *arm_scsi_pointer(SCpnt); in acornscsi_kick() 788 scsi_msg_to_host_byte(SCpnt, host->scsi.SCp.Message); in acornscsi_done() 789 set_status_byte(SCpnt, host->scsi.SCp.Status); in acornscsi_done() 803 if (host->scsi.SCp.ptr && in acornscsi_done() 807 if (host->scsi.SCp.scsi_xferred < SCpnt->underflow || in acornscsi_done() 808 host->scsi.SCp.scsi_xferred != host->dma.transferred) in acornscsi_done() 866 void acornscsi_data_updateptr(AS_Host *host, struct scsi_pointer *SCp, unsigned int length) in acornscsi_data_updateptr() argument [all …]
|
| H A D | eesox.c | 159 eesoxscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in eesoxscsi_dma_setup() argument 167 (min_type == fasdma_real_all || SCp->this_residual >= 512)) { in eesoxscsi_dma_setup() 170 bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG); in eesoxscsi_dma_setup() 355 eesoxscsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in eesoxscsi_dma_pseudo() argument 360 eesoxscsi_buffer_in(SCp->ptr, SCp->this_residual, info->base); in eesoxscsi_dma_pseudo() 362 eesoxscsi_buffer_out(SCp->ptr, SCp->this_residual, info->base); in eesoxscsi_dma_pseudo() 372 eesoxscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in eesoxscsi_dma_stop() argument
|
| H A D | cumana_2.c | 158 cumanascsi_2_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_setup() argument 168 (min_type == fasdma_real_all || SCp->this_residual >= 512)) { in cumanascsi_2_dma_setup() 171 bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG); in cumanascsi_2_dma_setup() 211 cumanascsi_2_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_pseudo() argument 218 length = SCp->this_residual; in cumanascsi_2_dma_pseudo() 219 addr = SCp->ptr; in cumanascsi_2_dma_pseudo() 285 cumanascsi_2_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in cumanascsi_2_dma_stop() argument
|
| H A D | arxescsi.c | 71 arxescsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in arxescsi_dma_setup() argument 117 arxescsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in arxescsi_dma_pseudo() argument 125 length = SCp->this_residual; in arxescsi_dma_pseudo() 126 addr = SCp->ptr; in arxescsi_dma_pseudo() 203 static void arxescsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in arxescsi_dma_stop() argument
|
| /linux/drivers/scsi/ |
| H A D | 53c700.c | 54 * Bogendoerfer). Added missing SCp->request_bufflen initialisation 578 struct scsi_cmnd *SCp, __u32 dsp) in save_for_reselection() argument 581 if(SCp != NULL) { in save_for_reselection() 583 (struct NCR_700_command_slot *)SCp->host_scribble; in save_for_reselection() 592 NCR_700_unmap(struct NCR_700_Host_Parameters *hostdata, struct scsi_cmnd *SCp, in NCR_700_unmap() argument 595 if(SCp->sc_data_direction != DMA_NONE && in NCR_700_unmap() 596 SCp->sc_data_direction != DMA_BIDIRECTIONAL) in NCR_700_unmap() 597 scsi_dma_unmap(SCp); in NCR_700_unmap() 602 struct scsi_cmnd *SCp, int result) in NCR_700_scsi_done() argument 607 if(SCp != NULL) { in NCR_700_scsi_done() [all …]
|
| H A D | hptiop.c | 719 struct scsi_cmnd *scp; in hptiop_finish_scsi_req() local 729 scp = hba->reqs[tag].scp; in hptiop_finish_scsi_req() 731 if (HPT_SCP(scp)->mapped) in hptiop_finish_scsi_req() 732 scsi_dma_unmap(scp); in hptiop_finish_scsi_req() 736 scsi_set_resid(scp, in hptiop_finish_scsi_req() 737 scsi_bufflen(scp) - le32_to_cpu(req->dataxfer_length)); in hptiop_finish_scsi_req() 738 scp->result = (DID_OK<<16); in hptiop_finish_scsi_req() 741 scp->result = (DID_BAD_TARGET<<16); in hptiop_finish_scsi_req() 744 scp->result = (DID_BUS_BUSY<<16); in hptiop_finish_scsi_req() 747 scp->result = (DID_RESET<<16); in hptiop_finish_scsi_req() [all …]
|
| /linux/drivers/pmdomain/mediatek/ |
| H A D | mtk-scpsys.c | 112 * struct scp_domain_data - scp domain data for power on/off flow 133 struct scp; 137 struct scp *scp; member 148 struct scp { struct 174 struct scp *scp = scpd->scp; in scpsys_domain_is_on() local 176 u32 status = readl(scp->base + scp->ctrl_reg.pwr_sta_offs) & in scpsys_domain_is_on() 178 u32 status2 = readl(scp->base + scp->ctrl_reg.pwr_sta2nd_offs) & in scpsys_domain_is_on() 281 struct scp *scp = scpd->scp; in scpsys_bus_protect_enable() local 286 return mtk_infracfg_set_bus_protection(scp->infracfg, in scpsys_bus_protect_enable() 288 scp->bus_prot_reg_update); in scpsys_bus_protect_enable() [all …]
|
| /linux/drivers/scsi/megaraid/ |
| H A D | mega_common.h | 49 * @scp : associated scsi command 69 struct scsi_cmnd *scp; member 199 #define SCP2HOST(scp) (scp)->device->host // to host argument 200 #define SCP2HOSTDATA(scp) SCP2HOST(scp)->hostdata // to soft state argument 201 #define SCP2CHANNEL(scp) (scp)->device->channel // to channel argument 202 #define SCP2TARGET(scp) (scp)->device->id // to target argument 203 #define SCP2LUN(scp) (u32)(scp)->device->lun // to LUN argument 207 #define SCP2ADAPTER(scp) (adapter_t *)SCSIHOST2ADAP(SCP2HOST(scp)) argument 210 #define MRAID_IS_LOGICAL(adp, scp) \ argument 211 (SCP2CHANNEL(scp) == (adp)->max_channel) ? 1 : 0 [all …]
|
| H A D | megaraid_mbox.c | 1073 scb->scp = NULL; in megaraid_alloc_cmd_packets() 1268 * @scp : pointer to the scsi command to be executed 1274 megaraid_alloc_scb(adapter_t *adapter, struct scsi_cmnd *scp) in megaraid_alloc_scb() argument 1294 scb->scp = scp; in megaraid_alloc_scb() 1318 scb->scp = NULL; in megaraid_dealloc_scb() 1341 struct scsi_cmnd *scp; in megaraid_mbox_mksgl() local 1346 scp = scb->scp; in megaraid_mbox_mksgl() 1349 sgcnt = scsi_dma_map(scp); in megaraid_mbox_mksgl() 1358 scsi_for_each_sg(scp, sgl, sgcnt, i) { in megaraid_mbox_mksgl() 1433 * @scp : pointer to the scsi command to be executed [all …]
|
| H A D | megaraid_sas_fusion.c | 2266 * @scp: SCSI command from the mid-layer 2274 struct scsi_cmnd *scp, in megasas_make_sgl_fusion() argument 2290 scsi_for_each_sg(scp, os_sgl, sge_count, i) { in megasas_make_sgl_fusion() 2338 * @scp: SCSI command pointer 2350 int megasas_make_sgl(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl() argument 2357 sge_count = scsi_dma_map(scp); in megasas_make_sgl() 2366 build_prp = megasas_make_prp_nvme(instance, scp, sgl_chain64, in megasas_make_sgl() 2370 megasas_make_sgl_fusion(instance, scp, sgl_chain64, in megasas_make_sgl() 2381 * @scp: SCSI command 2389 struct IO_REQUEST_INFO *io_info, struct scsi_cmnd *scp, in megasas_set_pd_lba() argument [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | octeon-model.c | 97 /* SCP = No DFA, No zip */ in octeon_model_get_string_buffer() 103 suffix = "SCP"; in octeon_model_get_string_buffer() 307 suffix = "SCP"; in octeon_model_get_string_buffer() 336 suffix = "SCP"; in octeon_model_get_string_buffer() 349 suffix = "SCP"; in octeon_model_get_string_buffer() 364 suffix = "SCP"; in octeon_model_get_string_buffer() 375 suffix = "SCP"; in octeon_model_get_string_buffer() 384 suffix = "SCP"; in octeon_model_get_string_buffer() 405 suffix = "SCP"; in octeon_model_get_string_buffer() 419 suffix = "SCP"; in octeon_model_get_string_buffer() [all …]
|
| /linux/arch/arm64/boot/dts/arm/ |
| H A D | juno-scmi.dtsi | 201 /delete-node/ scp-sram@0; 202 /delete-node/ scp-sram@200; 204 cpu_scp_lpri0: scp-sram@0 { 209 cpu_scp_lpri1: scp-sram@80 { 214 cpu_scp_hpri0: scp-sram@100 { 219 cpu_scp_hpri1: scp-sram@180 {
|
| /linux/Documentation/devicetree/bindings/firmware/ |
| H A D | arm,scpi.yaml | 15 0922B ("ARM Compute Subsystem SCP: Message Interface Protocols")[0] can be 43 by remote SCP firmware for use by SCPI message protocol should be 224 cpu_scp_lpri: scp-sram-section@0 { 225 compatible = "arm,scp-shmem"; 229 cpu_scp_hpri: scp-sram-section@200 { 230 compatible = "arm,scp-shmem";
|
| /linux/drivers/pmdomain/arm/ |
| H A D | Kconfig | 9 enabled or disabled via the SCP firmware. 21 enabled or disabled via the SCP firmware 34 enabled or disabled via the SCP firmware
|
| /linux/Documentation/hwmon/ |
| H A D | scpi-hwmon.rst | 18 System Control Processor (SCP) implementing the System Control 20 by the SCP: 27 The SCP interface provides an API to query the available sensors and
|
| /linux/Documentation/devicetree/bindings/rtc/ |
| H A D | amlogic,meson-vrtc.yaml | 17 application processors (AP) and the secure co-processor (SCP.) When 18 the AP suspends, the SCP will use the value of this register to 20 the SCP will wake up and will then wake the AP.
|
| /linux/include/linux/ |
| H A D | srcutree.h | 263 struct srcu_ctr __percpu *scp = READ_ONCE(ssp->srcu_ctrp); 266 this_cpu_inc(scp->srcu_locks.counter); // Y, and implicit RCU reader. 268 atomic_long_inc(raw_cpu_ptr(&scp->srcu_locks)); // Y, and implicit RCU reader. 270 return scp; 283 __srcu_read_unlock_fast(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) 287 this_cpu_inc(scp->srcu_unlocks.counter); // Z, and implicit RCU reader. in srcu_check_read_flavor_force() 289 atomic_long_inc(raw_cpu_ptr(&scp->srcu_unlocks)); // Z, and implicit RCU reader. in srcu_check_read_flavor_force() 245 struct srcu_ctr __percpu *scp = READ_ONCE(ssp->srcu_ctrp); __srcu_read_lock_fast() local 271 __srcu_read_unlock_fast(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) __srcu_read_unlock_fast() argument
|
| H A D | srcu.h | 398 * @scp: return value from corresponding srcu_read_lock_fast(). 402 static inline void srcu_read_unlock_fast(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) in srcu_up_read_fast() argument 407 __srcu_read_unlock_fast(ssp, scp); in srcu_up_read_fast() 416 struct srcu_ctr __percpu *scp) __releases(ssp) 419 __srcu_read_unlock_fast(ssp, scp); in srcu_read_unlock_nmisafe() 425 * @scp: return value from corresponding srcu_read_lock_fast(). 430 static inline void srcu_up_read_fast(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) in srcu_read_unlock_notrace() 435 __srcu_read_unlock_fast(ssp, scp); 514 _T->scp = srcu_read_lock_fast(_T->lock), 515 srcu_read_unlock_fast(_T->lock, _T->scp), 386 srcu_read_unlock_fast(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) srcu_read_unlock_fast() argument [all...] |
| /linux/drivers/watchdog/ |
| H A D | marvell_gti_wdt.c | 20 * 2) Interrupt + del3t (Interrupt to firmware (SCP processor)). 22 * This will generate interrupt to SCP processor on 2nd timeout happens 24 * 3) Interrupt + Interrupt to SCP processor (called delt3t) + reboot. 26 * Will generate interrupt to SCP processor on 2nd timeout happens, 31 * a hardware hang. Also h/w is configured not to generate SCP interrupt, so 126 /* Set (Interrupt + SCP interrupt (DEL3T) + core domain reset) Mode */ in gti_wdt_start()
|
| /linux/tools/sound/ |
| H A D | dapm-graph | 39 -r REMOTE_TARGET Get DAPM state from REMOTE_TARGET via SSH and SCP 60 # into a tarball and get the tarball via SCP into $3/dapm.tar 62 # $1 = target as used by ssh and scp, e.g. "root@192.168.1.1" 67 # Requires an ssh+scp server, find and tar+gz on the target 69 # Note: the tarball is needed because plain 'scp -r' from debugfs would 83 scp -q "${1}:${3}/dapm.tar" "${3}"
|
| /linux/drivers/media/platform/mediatek/mdp3/ |
| H A D | mtk-mdp3-vpu.h | 43 struct mtk_scp *scp; member 58 int mdp_vpu_dev_init(struct mdp_vpu_dev *vpu, struct mtk_scp *scp,
|
| /linux/drivers/firmware/ |
| H A D | Kconfig | 18 Cores(AP) and the System Control Processor(SCP). The MHU peripheral 19 provides a mechanism for inter-processor communication between SCP 22 SCP controls most of the power management on the Application 29 making use of the features offered by the SCP.
|
| /linux/tools/testing/ktest/examples/include/ |
| H A D | bootconfig.conf | 21 BOOTCONFIG_TEST_PREP = scp ${BOOTCONFIG_PATH}${BOOTCONFIG_FILE} ${SSH_USER}@${MACHINE}:/tmp && ${AD… 28 DO_TEST = scp ${BOOTCONFIG_PATH}${BOOTCONFIG_VERIFY} ${SSH_USER}@${MACHINE}:/tmp && ${SSH} /tmp/${B…
|