| /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 | 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 | scsi_debug.c | 554 static int resp_get_stream_status(struct scsi_cmnd *scp, 1310 static void mk_sense_invalid_fld(struct scsi_cmnd *scp, in mk_sense_invalid_fld() argument 1318 sbuff = scp->sense_buffer; in mk_sense_invalid_fld() 1320 sdev_printk(KERN_ERR, scp->device, "sense_buffer is NULL\n"); in mk_sense_invalid_fld() 1325 scsi_build_sense(scp, sdebug_dsense, ILLEGAL_REQUEST, asc, 0); in mk_sense_invalid_fld() 1344 sdev_printk(KERN_INFO, scp->device, "%s: [sense_key,asc,ascq" in mk_sense_invalid_fld() 1349 static void mk_sense_buffer(struct scsi_cmnd *scp, int key, int asc, int asq) in mk_sense_buffer() argument 1351 if (!scp->sense_buffer) { in mk_sense_buffer() 1352 sdev_printk(KERN_ERR, scp->device, "sense_buffer is NULL\n"); in mk_sense_buffer() 1355 memset(scp->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); in mk_sense_buffer() [all …]
|
| H A D | hptiop.h | 250 struct scsi_cmnd *scp; member 260 #define HPT_SCP(scp) ((struct hpt_cmd_priv *)scsi_cmd_priv(scp)) argument
|
| /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_sas_fusion.c | 2264 * @scp: SCSI command from the mid-layer 2272 struct scsi_cmnd *scp, in megasas_make_sgl_fusion() argument 2288 scsi_for_each_sg(scp, os_sgl, sge_count, i) { in megasas_make_sgl_fusion() 2336 * @scp: SCSI command pointer 2348 int megasas_make_sgl(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl() argument 2355 sge_count = scsi_dma_map(scp); in megasas_make_sgl() 2364 build_prp = megasas_make_prp_nvme(instance, scp, sgl_chain64, in megasas_make_sgl() 2368 megasas_make_sgl_fusion(instance, scp, sgl_chain64, in megasas_make_sgl() 2379 * @scp: SCSI command 2387 struct IO_REQUEST_INFO *io_info, struct scsi_cmnd *scp, in megasas_set_pd_lba() argument [all …]
|
| /linux/include/linux/ |
| H A D | rcupdate_trace.h | 67 * @scp: return value from corresponding rcu_read_lock_tasks_trace(). 70 * returned the value passed in via scp. 76 static inline void rcu_read_unlock_tasks_trace(struct srcu_ctr __percpu *scp) in rcu_read_unlock_tasks_trace() argument 80 __srcu_read_unlock_fast(&rcu_tasks_trace_srcu_struct, scp); in rcu_read_unlock_tasks_trace() 108 barrier(); // nesting before scp to protect against interrupt handler. in rcu_read_lock_trace() 126 struct srcu_ctr __percpu *scp; in rcu_read_unlock_trace() local 133 scp = t->trc_reader_scp; // Compiler cannot hoist load due to data raciness. in rcu_read_unlock_trace() 134 barrier(); // scp before nesting to protect against interrupt handler. in rcu_read_unlock_trace() 138 __srcu_read_unlock_fast(&rcu_tasks_trace_srcu_struct, scp); in rcu_read_unlock_trace()
|
| H A D | srcu.h | 504 * @scp: return value from corresponding srcu_read_lock_fast(). 508 static inline void srcu_read_unlock_fast(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) in srcu_read_unlock_fast() argument 513 __srcu_read_unlock_fast(ssp, scp); in srcu_read_unlock_fast() 520 * @scp: return value from corresponding srcu_read_lock_fast_updown(). 525 srcu_read_unlock_fast_updown(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) __releases_sha… in srcu_read_unlock_fast_updown() argument 529 __srcu_read_unlock_fast_updown(ssp, scp); in srcu_read_unlock_fast_updown() 539 struct srcu_ctr __percpu *scp) __releases_shared(ssp) in srcu_read_unlock_fast_notrace() argument 542 __srcu_read_unlock_fast(ssp, scp); in srcu_read_unlock_fast_notrace() 548 * @scp: return value from corresponding srcu_read_lock_fast(). 553 static inline void srcu_up_read_fast(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) in srcu_up_read_fast() argument [all …]
|
| H A D | srcutree.h | 292 struct srcu_ctr __percpu *scp = READ_ONCE(ssp->srcu_ctrp); in __srcu_read_lock_fast() local 295 this_cpu_inc(scp->srcu_locks.counter); // Y, and implicit RCU reader. in __srcu_read_lock_fast() 297 atomic_long_inc(raw_cpu_ptr(&scp->srcu_locks)); // Y, and implicit RCU reader. in __srcu_read_lock_fast() 300 return scp; in __srcu_read_lock_fast() 313 __srcu_read_unlock_fast(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) in __srcu_read_unlock_fast() argument 319 this_cpu_inc(scp->srcu_unlocks.counter); // Z, and implicit RCU reader. in __srcu_read_unlock_fast() 321 atomic_long_inc(raw_cpu_ptr(&scp->srcu_unlocks)); // Z, and implicit RCU reader. in __srcu_read_unlock_fast() 336 struct srcu_ctr __percpu *scp = READ_ONCE(ssp->srcu_ctrp); in __srcu_read_lock_fast_updown() local 339 this_cpu_inc(scp->srcu_locks.counter); // Y, and implicit RCU reader. in __srcu_read_lock_fast_updown() 341 atomic_long_inc(raw_cpu_ptr(&scp->srcu_locks)); // Y, and implicit RCU reader. in __srcu_read_lock_fast_updown() [all …]
|
| H A D | srcutiny.h | 110 static inline void __srcu_read_unlock_fast(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) in __srcu_read_unlock_fast() argument 113 __srcu_read_unlock(ssp, __srcu_ptr_to_ctr(ssp, scp)); in __srcu_read_unlock_fast() 123 void __srcu_read_unlock_fast_updown(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) in __srcu_read_unlock_fast_updown() argument 126 __srcu_read_unlock(ssp, __srcu_ptr_to_ctr(ssp, scp)); in __srcu_read_unlock_fast_updown()
|
| /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/drivers/scsi/pcmcia/ |
| H A D | sym53c500_cs.c | 360 struct sym53c500_cmd_priv *scp = scsi_cmd_priv(curSC); in SYM53C500_intr() local 407 if (scp->phase != message_in) { /* Unexpected disconnect */ in SYM53C500_intr() 410 curSC->result = (scp->status & 0xff) | in SYM53C500_intr() 411 ((scp->message & 0xff) << 8) | (DID_OK << 16); in SYM53C500_intr() 422 scp->phase = data_out; in SYM53C500_intr() 441 scp->phase = data_in; in SYM53C500_intr() 456 scp->phase = command_ph; in SYM53C500_intr() 461 scp->phase = status_ph; in SYM53C500_intr() 474 scp->phase = message_out; in SYM53C500_intr() 481 scp->phase = message_in; in SYM53C500_intr() [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/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/translations/zh_CN/scsi/ |
| H A D | scsi_mid_low_api.rst | 620 * @scp: 标识超时的命令 639 int eh_timed_out(struct scsi_cmnd * scp) 644 * @scp: 标识要中止的命令 656 int eh_abort_handler(struct scsi_cmnd * scp) 661 * @scp: 包含该设备的SCSI总线应进行重置 675 int eh_bus_reset_handler(struct scsi_cmnd * scp) 680 * @scp: 指定将被重置的SCSI设备 694 int eh_device_reset_handler(struct scsi_cmnd * scp) 699 * @scp: 管理该设备的SCSI主机适配器应该被重置 716 int eh_host_reset_handler(struct scsi_cmnd * scp) [all …]
|
| /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/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/firmware/ |
| H A D | arm_scpi.c | 5 * SCPI Message Protocol is used between the System Control Processor(SCP) 7 * provides a mechanism for inter-processor communication between SCP's 10 * SCP offers control and management of the core/cluster power states, 263 * The SCP firmware only executes in little-endian mode, so any buffers 368 /* Command type is not replied by the SCP Firmware in legacy Mode in scpi_process_cmd() 903 { .compatible = "amlogic,meson-gxbb-scp-shmem", }, 904 { .compatible = "amlogic,meson-axg-scp-shmem", }, 905 { .compatible = "arm,juno-scp-shmem", }, 906 { .compatible = "arm,scp-shmem", }, 1008 dev_err(dev, "incorrect or no SCP firmware found\n"); in scpi_probe() [all …]
|
| /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/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…
|
| /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 152 volatile struct scp_struct *scp; /* volatile is important */ member 218 p->scp = (struct scp_struct *)(p->base + SCP_DEFAULT_ADDRESS); in check586() 219 memset((char *)p->scp,0, sizeof(struct scp_struct)); in check586() 221 if(((char *)p->scp)[i]) in check586() 223 p->scp->sysbus = SYSBUSVAL; /* 1 = 8Bit-Bus, 0 = 16 Bit */ in check586() 224 if(p->scp->sysbus != SYSBUSVAL) in check586() 232 p->scp->iscp = make24(p->iscp); in check586() 255 p->scp = (struct scp_struct *) (p->base + SCP_DEFAULT_ADDRESS); in alloc586() [all …]
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | mediatek,mdp3-rdma.yaml | 55 mediatek,scp: 58 Phandle to the System Control Processor (SCP) used for initializing
|