Home
last modified time | relevance | path

Searched refs:scp (Results 1 – 25 of 59) sorted by relevance

123

/linux/drivers/remoteproc/
A Dmtk_scp.c226 scp->data->scp_irq_handler(scp); in scp_irq_handler()
419 scp->data->scp_reset_assert(scp); in scp_load()
421 ret = scp->data->scp_before_load(scp); in scp_load()
464 scp->data->scp_reset_deassert(scp); in scp_start()
487 scp->data->scp_reset_assert(scp); in scp_start()
542 return scp->data->scp_da_to_va(scp, da, len); in scp_da_to_va()
575 scp->data->scp_reset_assert(scp); in scp_stop()
576 scp->data->scp_stop(scp); in scp_stop()
683 scp->cpu_addr = dma_alloc_coherent(scp->dev, scp->dram_size, in scp_map_memory_region()
696 dma_free_coherent(scp->dev, scp->dram_size, scp->cpu_addr, in scp_unmap_memory_region()
[all …]
A Dmtk_scp_ipi.c33 if (!scp) in scp_ipi_register()
39 scp_ipi_lock(scp, id); in scp_ipi_register()
41 scp->ipi_desc[id].priv = priv; in scp_ipi_register()
42 scp_ipi_unlock(scp, id); in scp_ipi_register()
58 if (!scp) in scp_ipi_unregister()
64 scp_ipi_lock(scp, id); in scp_ipi_unregister()
66 scp->ipi_desc[id].priv = NULL; in scp_ipi_unregister()
67 scp_ipi_unlock(scp, id); in scp_ipi_unregister()
183 } while (readl(scp->reg_base + scp->data->host_to_scp_reg)); in scp_ipi_send()
193 scp->reg_base + scp->data->host_to_scp_reg); in scp_ipi_send()
[all …]
A Dmtk_common.h75 int (*scp_clk_get)(struct mtk_scp *scp);
76 int (*scp_before_load)(struct mtk_scp *scp);
77 void (*scp_irq_handler)(struct mtk_scp *scp);
78 void (*scp_reset_assert)(struct mtk_scp *scp);
79 void (*scp_reset_deassert)(struct mtk_scp *scp);
80 void (*scp_stop)(struct mtk_scp *scp);
81 void *(*scp_da_to_va)(struct mtk_scp *scp, u64 da, size_t len);
133 void scp_ipi_lock(struct mtk_scp *scp, u32 id);
134 void scp_ipi_unlock(struct mtk_scp *scp, u32 id);
/linux/net/decnet/
A Ddn_nsp_out.c74 scp->stamp = jiffies; in dn_nsp_send()
138 unsigned long t = ((scp->nsp_srtt >> 2) + scp->nsp_rttvar) >> 1; in dn_nsp_persist()
146 scp->nsp_rxtshift++; in dn_nsp_persist()
179 scp->nsp_srtt = 1; in dn_nsp_rtt()
189 scp->nsp_rttvar = 1; in dn_nsp_rtt()
260 scp->snd_window >>= 1; in dn_nsp_output()
345 unsigned long t = ((scp->nsp_srtt >> 2) + scp->nsp_rttvar) >> 1; in dn_nsp_queue_xmit()
422 if (scp->snd_window < scp->max_window) in dn_nsp_check_xmit_queue()
423 scp->snd_window++; in dn_nsp_check_xmit_queue()
487 if (scp->state == DN_CC) in dn_nsp_retrans_conn_conf()
[all …]
A Daf_decnet.c137 struct dn_scp scp; member
414 scp = DN_SK(sk); in dn_find_by_skb()
419 if (scp->addrrem && (cb->src_port != scp->addrrem)) in dn_find_by_skb()
487 scp = DN_SK(sk); in dn_alloc_sock()
506 scp->nonagle = 0; in dn_alloc_sock()
798 memcpy(scp->addr.sdn_objname, scp->accessdata.acc_acc, le16_to_cpu(scp->addr.sdn_objnamel)); in dn_auto_bind()
872 if (scp->state == DN_CI || scp->state == DN_CC) in dn_wait_run()
892 } else if (scp->state != DN_CI && scp->state != DN_CC) { in dn_wait_run()
916 if (scp->state != DN_CI && scp->state != DN_CC) { in __dn_connect()
1370 if ((scp->state != DN_O) && (scp->state != DN_CR)) in __dn_setsockopt()
[all …]
A Ddn_nsp_in.c350 if ((scp->state == DN_CI) || (scp->state == DN_CD)) { in dn_nsp_conn_conf()
351 scp->persist = 0; in dn_nsp_conn_conf()
354 scp->state = DN_RUN; in dn_nsp_conn_conf()
384 scp->state = DN_CD; in dn_nsp_conn_ack()
385 scp->persist = 0; in dn_nsp_conn_ack()
421 scp->state = DN_RJ; in dn_nsp_disc_init()
426 scp->state = DN_DN; in dn_nsp_disc_init()
445 if (scp->addrrem) { in dn_nsp_disc_init()
473 scp->state = DN_NR; in dn_nsp_disc_conf()
488 scp->state = DN_CN; in dn_nsp_disc_conf()
[all …]
A Ddn_timer.c53 struct dn_scp *scp = DN_SK(sk); in dn_slow_timer() local
73 if (scp->persist && scp->persist_fxn) { in dn_slow_timer()
74 if (scp->persist <= SLOW_INTERVAL) { in dn_slow_timer()
75 scp->persist = 0; in dn_slow_timer()
77 if (scp->persist_fxn(sk)) in dn_slow_timer()
80 scp->persist -= SLOW_INTERVAL; in dn_slow_timer()
95 if (scp->keepalive && scp->keepalive_fxn && (scp->state == DN_RUN)) { in dn_slow_timer()
96 if (time_after_eq(jiffies, scp->stamp + scp->keepalive)) in dn_slow_timer()
97 scp->keepalive_fxn(sk); in dn_slow_timer()
/linux/drivers/scsi/megaraid/
A Dmega_common.h69 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
231 islogical = MRAID_IS_LOGICAL(adp, scp); \
243 [SCP2TARGET(scp)] >> 8) & 0xFF; \
[all …]
A Dmegaraid_mbox.c1294 scb->scp = scp; in megaraid_alloc_scb()
1346 scp = scb->scp; in megaraid_mbox_mksgl()
1957 memcpy(pthru->cdb, scp->cmnd, scp->cmd_len); in megaraid_mbox_prepare_pthru()
2209 scp = scb->scp; in megaraid_mbox_dpc()
2394 scp->cmnd[0], SCP2CHANNEL(scp), in megaraid_abort_handler()
2395 SCP2TARGET(scp), SCP2LUN(scp))); in megaraid_abort_handler()
2412 if (scb->scp == scp) { // Found command in megaraid_abort_handler()
2440 if (scb->scp == scp) { // Found command in megaraid_abort_handler()
2473 if (scb->scp == scp) { in megaraid_abort_handler()
2560 if (scb->scp == scp) { // Found command in megaraid_reset_handler()
[all …]
A Dmegaraid_sas_fusion.c2270 struct scsi_cmnd *scp, in megasas_make_sgl_fusion() argument
2766 ((u32) scp->cmnd[2] << 8) | (u32) scp->cmnd[3]; in megasas_build_ldio_fusion()
2779 ((u32) scp->cmnd[4] << 8) | (u32) scp->cmnd[5]; in megasas_build_ldio_fusion()
2788 ((u32) scp->cmnd[8] << 8) | (u32) scp->cmnd[9]; in megasas_build_ldio_fusion()
2791 ((u32) scp->cmnd[4] << 8) | (u32) scp->cmnd[5]; in megasas_build_ldio_fusion()
2800 ((u32) scp->cmnd[12] << 8) | (u32) scp->cmnd[13]; in megasas_build_ldio_fusion()
2803 ((u32) scp->cmnd[8] << 8) | (u32) scp->cmnd[9]; in megasas_build_ldio_fusion()
2807 ((u32) scp->cmnd[4] << 8) | (u32) scp->cmnd[5]; in megasas_build_ldio_fusion()
2891 megasas_set_pd_lba(io_request, scp->cmd_len, &io_info, scp, in megasas_build_ldio_fusion()
3223 memcpy(io_request->CDB.CDB32, scp->cmnd, scp->cmd_len); in megasas_build_io_fusion()
[all …]
A Dmegaraid_sas_base.c1269 sge_count = scsi_dma_map(scp); in megasas_make_sgl32()
1298 sge_count = scsi_dma_map(scp); in megasas_make_sgl64()
1447 memcpy(pthru->cdb, scp->cmnd, scp->cmd_len); in megasas_build_dcdb()
1513 u8 sc = scp->cmnd[0]; in megasas_build_ldio()
1541 ldio->access_byte = (scp->cmd_len != 6) ? scp->cmnd[1] : 0; in megasas_build_ldio()
1546 if (scp->cmd_len == 6) { in megasas_build_ldio()
1550 (u32) scp->cmnd[3]); in megasas_build_ldio()
1564 (u32) scp->cmnd[5]); in megasas_build_ldio()
1579 (u32) scp->cmnd[5]); in megasas_build_ldio()
1594 (u32) scp->cmnd[9]); in megasas_build_ldio()
[all …]
/linux/drivers/soc/mediatek/
A Dmtk-scpsys.c133 struct scp;
137 struct scp *scp; member
174 struct scp *scp = scpd->scp; in scpsys_domain_is_on() argument
281 struct scp *scp = scpd->scp; in scpsys_bus_protect_enable() local
293 struct scp *scp = scpd->scp; in scpsys_bus_protect_disable() local
306 struct scp *scp = scpd->scp; in scpsys_power_on() local
364 struct scp *scp = scpd->scp; in scpsys_power_off() local
430 struct scp *scp; in init_scp() local
492 scpd->scp = scp; in init_scp()
519 struct scp *scp, int num) in mtk_register_power_domains() argument
[all …]
/linux/drivers/media/platform/mtk-vcodec/
A Dmtk_vcodec_fw_scp.c9 return rproc_boot(scp_get_rproc(fw->scp)); in mtk_vcodec_scp_load_firmware()
14 return scp_get_vdec_hw_capa(fw->scp); in mtk_vcodec_scp_get_vdec_capa()
19 return scp_get_venc_hw_capa(fw->scp); in mtk_vcodec_scp_get_venc_capa()
25 return scp_mapping_dm_addr(fw->scp, dtcm_dmem_addr); in mtk_vcodec_vpu_scp_dm_addr()
32 return scp_ipi_register(fw->scp, id, handler, priv); in mtk_vcodec_scp_set_ipi_register()
38 return scp_ipi_send(fw->scp, id, buf, len, wait); in mtk_vcodec_scp_ipi_send()
43 scp_put(fw->scp); in mtk_vcodec_scp_release()
59 struct mtk_scp *scp; in mtk_vcodec_fw_scp_init() local
61 scp = scp_get(dev->plat_dev); in mtk_vcodec_fw_scp_init()
62 if (!scp) { in mtk_vcodec_fw_scp_init()
[all …]
/linux/drivers/scsi/
A Dscsi_debug.c1164 scsi_set_resid(scp, scsi_bufflen(scp) - act_len); in fill_from_dev_buffer()
1192 scsi_set_resid(scp, min_t(u32, scsi_get_resid(scp), n)); in p_fill_from_dev_buffer()
1983 u8 *cmd = scp->cmnd; in resp_rsup_opcodes()
2129 u8 *cmd = scp->cmnd; in resp_rsup_tmfs()
3130 u8 *cmd = scp->cmnd; in resp_read_dt0()
3204 scsi_set_resid(scp, scsi_bufflen(scp)); in resp_read_dt0()
3243 scsi_set_resid(scp, scsi_bufflen(scp) - ret); in resp_read_dt0()
3428 u8 *cmd = scp->cmnd; in resp_write_dt0()
3979 scsi_sg_copy_to_buffer(scp, buf, scsi_bufflen(scp)); in resp_unmap()
4193 scsi_set_resid(scp, scsi_bufflen(scp)); in resp_report_luns()
[all …]
A Dhptiop.c729 scp = hba->reqs[tag].scp; in hptiop_finish_scsi_req()
736 scsi_set_resid(scp, in hptiop_finish_scsi_req()
767 scsi_set_resid(scp, in hptiop_finish_scsi_req()
772 scsi_done(scp); in hptiop_finish_scsi_req()
863 scsi_for_each_sg(scp, sg, HPT_SCP(scp)->sgcnt, idx) { in hptiop_buildsgl()
1010 _req->scp = scp; in hptiop_queuecommand_lck()
1014 scp, in hptiop_queuecommand_lck()
1016 scp->device->id, scp->device->lun, in hptiop_queuecommand_lck()
1023 scp->result = 0; in hptiop_queuecommand_lck()
1027 ((scp->device->id == (hba->max_devices-1)) && scp->device->lun)) { in hptiop_queuecommand_lck()
[all …]
A Dadvansys.c3595 scsi_done(scp); in asc_scsi_done()
5908 if (scp == NULL) { in adv_isr_callback()
5913 ASC_DBG_PRT_CDB(2, scp->cmnd, scp->cmd_len); in adv_isr_callback()
5938 scp->result = 0; in adv_isr_callback()
6677 if (!scp) in asc_isr_callback()
6680 ASC_DBG_PRT_CDB(2, scp->cmnd, scp->cmd_len); in asc_isr_callback()
6689 scp->result = 0; in asc_isr_callback()
7437 ASC_TIDLUN_TO_IX(scp->device->id, scp->device->lun); in asc_build_req()
7513 ASC_DBG_PRT_CDB(1, scp->cmnd, scp->cmd_len); in asc_build_req()
7685 memcpy(scsiqp->cdb, scp->cmnd, scp->cmd_len < 12 ? scp->cmd_len : 12); in adv_build_req()
[all …]
/linux/include/linux/remoteproc/
A Dmtk_scp.h49 void scp_put(struct mtk_scp *scp);
51 struct device *scp_get_device(struct mtk_scp *scp);
52 struct rproc *scp_get_rproc(struct mtk_scp *scp);
54 int scp_ipi_register(struct mtk_scp *scp, u32 id, scp_ipi_handler_t handler,
56 void scp_ipi_unregister(struct mtk_scp *scp, u32 id);
58 int scp_ipi_send(struct mtk_scp *scp, u32 id, void *buf, unsigned int len,
61 unsigned int scp_get_vdec_hw_capa(struct mtk_scp *scp);
62 unsigned int scp_get_venc_hw_capa(struct mtk_scp *scp);
64 void *scp_mapping_dm_addr(struct mtk_scp *scp, u32 mem_addr);
/linux/Documentation/devicetree/bindings/remoteproc/
A Dmtk,scp.yaml4 $id: http://devicetree.org/schemas/remoteproc/mtk,scp.yaml#
19 - mediatek,mt8183-scp
20 - mediatek,mt8192-scp
21 - mediatek,mt8195-scp
53 - mediatek,mt8183-scp
54 - mediatek,mt8192-scp
80 scp@10500000 {
81 compatible = "mediatek,mt8183-scp";
/linux/drivers/scsi/cxlflash/
A Dmain.c165 if (cmd->scp) { in cmd_complete()
166 scp = cmd->scp; in cmd_complete()
173 __func__, scp, scp->result, cmd->sa.ioasc); in cmd_complete()
174 scsi_done(scp); in cmd_complete()
205 if (cmd->scp) { in flush_pending_cmds()
206 scp = cmd->scp; in flush_pending_cmds()
208 scsi_done(scp); in flush_pending_cmds()
575 __func__, scp, host->host_no, scp->device->channel, in cxlflash_queuecommand()
576 scp->device->id, scp->device->lun, in cxlflash_queuecommand()
617 cmd->scp = scp; in cxlflash_queuecommand()
[all …]
/linux/include/net/
A Ddn.h190 static inline void dn_sk_ports_copy(struct flowidn *fld, struct dn_scp *scp) in dn_sk_ports_copy() argument
192 fld->fld_sport = scp->addrloc; in dn_sk_ports_copy()
193 fld->fld_dport = scp->addrrem; in dn_sk_ports_copy()
/linux/drivers/net/ethernet/i825xx/
A Dsun3_82586.c151 volatile struct scp_struct *scp; /* volatile is important */ member
217 p->scp = (struct scp_struct *)(p->base + SCP_DEFAULT_ADDRESS); in check586()
218 memset((char *)p->scp,0, sizeof(struct scp_struct)); in check586()
220 if(((char *)p->scp)[i]) in check586()
222 p->scp->sysbus = SYSBUSVAL; /* 1 = 8Bit-Bus, 0 = 16 Bit */ in check586()
223 if(p->scp->sysbus != SYSBUSVAL) in check586()
231 p->scp->iscp = make24(p->iscp); in check586()
254 p->scp = (struct scp_struct *) (p->base + SCP_DEFAULT_ADDRESS); in alloc586()
259 memset((char *) p->scp ,0,sizeof(struct scp_struct)); in alloc586()
261 p->scp->iscp = make24(p->iscp); in alloc586()
[all …]
/linux/tools/testing/ktest/examples/include/
A Dbootconfig.conf21 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/
A Deql.c483 static int eql_g_slave_cfg(struct net_device *dev, slave_config_t __user *scp) in eql_g_slave_cfg() argument
491 if (copy_from_user(&sc, scp, sizeof (slave_config_t))) in eql_g_slave_cfg()
510 if (!ret && copy_to_user(scp, &sc, sizeof (slave_config_t))) in eql_g_slave_cfg()
516 static int eql_s_slave_cfg(struct net_device *dev, slave_config_t __user *scp) in eql_s_slave_cfg() argument
524 if (copy_from_user(&sc, scp, sizeof (slave_config_t))) in eql_s_slave_cfg()
/linux/fs/ext4/
A Dhash.c122 const signed char *scp = (const signed char *) name; in dx_hack_hash_signed() local
125 hash = hash1 + (hash0 ^ (((int) *scp++) * 7152373)); in dx_hack_hash_signed()
139 const signed char *scp = (const signed char *) msg; in str2hashbuf_signed() local
148 val = ((int) scp[i]) + (val << 8); in str2hashbuf_signed()
/linux/Documentation/devicetree/bindings/firmware/
A Darm,scmi.yaml307 cpu_scp_lpri0: scp-sram-section@0 {
312 cpu_scp_lpri1: scp-sram-section@80 {
317 cpu_scp_hpri0: scp-sram-section@100 {
322 cpu_scp_hpri2: scp-sram-section@180 {

Completed in 104 milliseconds

123