/linux-6.1.9/drivers/crypto/marvell/octeontx/ |
D | otx_cptpf_main.c | 17 static void otx_cpt_disable_mbox_interrupts(struct otx_cpt_device *cpt) in otx_cpt_disable_mbox_interrupts() argument 20 writeq(~0ull, cpt->reg_base + OTX_CPT_PF_MBOX_ENA_W1CX(0)); in otx_cpt_disable_mbox_interrupts() 23 static void otx_cpt_enable_mbox_interrupts(struct otx_cpt_device *cpt) in otx_cpt_enable_mbox_interrupts() argument 26 writeq(~0ull, cpt->reg_base + OTX_CPT_PF_MBOX_ENA_W1SX(0)); in otx_cpt_enable_mbox_interrupts() 30 void *cpt) in otx_cpt_mbx0_intr_handler() argument 32 otx_cpt_mbox_intr_handler(cpt, 0); in otx_cpt_mbx0_intr_handler() 37 static void otx_cpt_reset(struct otx_cpt_device *cpt) in otx_cpt_reset() argument 39 writeq(1, cpt->reg_base + OTX_CPT_PF_RESET); in otx_cpt_reset() 42 static void otx_cpt_find_max_enabled_cores(struct otx_cpt_device *cpt) in otx_cpt_find_max_enabled_cores() argument 46 pf_cnsts.u = readq(cpt->reg_base + OTX_CPT_PF_CONSTANTS); in otx_cpt_find_max_enabled_cores() [all …]
|
D | otx_cptpf_mbox.c | 74 static void otx_cpt_send_msg_to_vf(struct otx_cpt_device *cpt, int vf, in otx_cpt_send_msg_to_vf() argument 78 writeq(mbx->data, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 1)); in otx_cpt_send_msg_to_vf() 79 writeq(mbx->msg, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 0)); in otx_cpt_send_msg_to_vf() 86 static void otx_cpt_mbox_send_ack(struct otx_cpt_device *cpt, int vf, in otx_cpt_mbox_send_ack() argument 91 otx_cpt_send_msg_to_vf(cpt, vf, mbx); in otx_cpt_mbox_send_ack() 95 static void otx_cptpf_mbox_send_nack(struct otx_cpt_device *cpt, int vf, in otx_cptpf_mbox_send_nack() argument 100 otx_cpt_send_msg_to_vf(cpt, vf, mbx); in otx_cptpf_mbox_send_nack() 103 static void otx_cpt_clear_mbox_intr(struct otx_cpt_device *cpt, u32 vf) in otx_cpt_clear_mbox_intr() argument 106 writeq(1ull << vf, cpt->reg_base + OTX_CPT_PF_MBOX_INTX(0)); in otx_cpt_clear_mbox_intr() 112 static void otx_cpt_cfg_qlen_for_vf(struct otx_cpt_device *cpt, int vf, in otx_cpt_cfg_qlen_for_vf() argument [all …]
|
D | otx_cptpf.h | 31 void otx_cpt_mbox_intr_handler(struct otx_cpt_device *cpt, int mbx); 32 void otx_cpt_disable_all_cores(struct otx_cpt_device *cpt);
|
D | Makefile | 2 obj-$(CONFIG_CRYPTO_DEV_OCTEONTX_CPT) += octeontx-cpt.o octeontx-cptvf.o 4 octeontx-cpt-objs := otx_cptpf_main.o otx_cptpf_mbox.o otx_cptpf_ucode.o
|
D | otx_cptpf_ucode.c | 177 struct otx_cpt_device *cpt = (struct otx_cpt_device *) obj; in cpt_set_ucode_base() local 182 bmap = get_cores_bmap(&cpt->pdev->dev, eng_grp); in cpt_set_ucode_base() 198 writeq((u64) dma_addr, cpt->reg_base + in cpt_set_ucode_base() 206 struct otx_cpt_device *cpt = (struct otx_cpt_device *) obj; in cpt_detach_and_disable_cores() local 212 bmap = get_cores_bmap(&cpt->pdev->dev, eng_grp); in cpt_detach_and_disable_cores() 217 reg = readq(cpt->reg_base + OTX_CPT_PF_GX_EN(eng_grp->idx)); in cpt_detach_and_disable_cores() 224 writeq(reg, cpt->reg_base + OTX_CPT_PF_GX_EN(eng_grp->idx)); in cpt_detach_and_disable_cores() 233 reg = readq(cpt->reg_base + OTX_CPT_PF_EXEC_BUSY); in cpt_detach_and_disable_cores() 242 reg = readq(cpt->reg_base + OTX_CPT_PF_EXE_CTL); in cpt_detach_and_disable_cores() 246 writeq(reg, cpt->reg_base + OTX_CPT_PF_EXE_CTL); in cpt_detach_and_disable_cores() [all …]
|
D | otx_cptvf.h | 22 #define otx_cpt_device_ready(cpt) ((cpt)->flags & OTX_CPT_FLAG_DEVICE_READY) argument
|
/linux-6.1.9/drivers/crypto/cavium/cpt/ |
D | cptpf_main.c | 26 static void cpt_disable_cores(struct cpt_device *cpt, u64 coremask, in cpt_disable_cores() argument 32 struct device *dev = &cpt->pdev->dev; in cpt_disable_cores() 35 coremask = (coremask << cpt->max_se_cores); in cpt_disable_cores() 38 grpmask = cpt_read_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp)); in cpt_disable_cores() 39 cpt_write_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp), in cpt_disable_cores() 42 grp = cpt_read_csr64(cpt->reg_base, CPTX_PF_EXEC_BUSY(0)); in cpt_disable_cores() 45 grp = cpt_read_csr64(cpt->reg_base, in cpt_disable_cores() 54 pf_exe_ctl = cpt_read_csr64(cpt->reg_base, CPTX_PF_EXE_CTL(0)); in cpt_disable_cores() 55 cpt_write_csr64(cpt->reg_base, CPTX_PF_EXE_CTL(0), in cpt_disable_cores() 63 static void cpt_enable_cores(struct cpt_device *cpt, u64 coremask, in cpt_enable_cores() argument [all …]
|
D | cptpf_mbox.c | 8 static void cpt_send_msg_to_vf(struct cpt_device *cpt, int vf, in cpt_send_msg_to_vf() argument 12 cpt_write_csr64(cpt->reg_base, CPTX_PF_VFX_MBOXX(0, vf, 1), in cpt_send_msg_to_vf() 14 cpt_write_csr64(cpt->reg_base, CPTX_PF_VFX_MBOXX(0, vf, 0), mbx->msg); in cpt_send_msg_to_vf() 20 static void cpt_mbox_send_ack(struct cpt_device *cpt, int vf, in cpt_mbox_send_ack() argument 25 cpt_send_msg_to_vf(cpt, vf, mbx); in cpt_mbox_send_ack() 28 static void cpt_clear_mbox_intr(struct cpt_device *cpt, u32 vf) in cpt_clear_mbox_intr() argument 31 cpt_write_csr64(cpt->reg_base, CPTX_PF_MBOX_INTX(0, 0), (1 << vf)); in cpt_clear_mbox_intr() 37 static void cpt_cfg_qlen_for_vf(struct cpt_device *cpt, int vf, u32 size) in cpt_cfg_qlen_for_vf() argument 41 pf_qx_ctl.u = cpt_read_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf)); in cpt_cfg_qlen_for_vf() 44 cpt_write_csr64(cpt->reg_base, CPTX_PF_QX_CTL(0, vf), pf_qx_ctl.u); in cpt_cfg_qlen_for_vf() [all …]
|
D | cpt_common.h | 24 #define cpt_sriov_enabled(cpt) ((cpt)->flags & CPT_FLAG_SRIOV_ENABLED) argument 25 #define cpt_vf_driver(cpt) ((cpt)->flags & CPT_FLAG_VF_DRIVER) argument 26 #define cpt_device_ready(cpt) ((cpt)->flags & CPT_FLAG_DEVICE_READY) argument
|
D | cptpf.h | 60 void cpt_mbox_intr_handler(struct cpt_device *cpt, int mbx);
|
/linux-6.1.9/arch/parisc/kernel/ |
D | time.c | 73 unsigned long cpt = clocktick; in timer_interrupt() local 82 next_tick += cpt; in timer_interrupt() 83 } while (next_tick - now > cpt); in timer_interrupt() 106 while (next_tick - now > cpt) in timer_interrupt() 107 next_tick += cpt; in timer_interrupt() 116 next_tick += cpt; in timer_interrupt()
|
/linux-6.1.9/drivers/crypto/marvell/ |
D | Kconfig | 37 the modules will be called octeontx-cpt and octeontx-cptvf
|
/linux-6.1.9/drivers/crypto/ |
D | Makefile | 15 obj-$(CONFIG_CRYPTO_DEV_CPT) += cavium/cpt/
|
D | Kconfig | 516 source "drivers/crypto/cavium/cpt/Kconfig"
|
/linux-6.1.9/drivers/s390/cio/ |
D | device_status.c | 158 cdev_irb->esw.esw0.erw.cpt = irb->esw.esw0.erw.cpt; in ccw_device_accumulate_esw()
|
/linux-6.1.9/tools/perf/ |
D | builtin-kmem.c | 693 const char *cpt; in compact_gfp_flags() local 699 cpt = gfp_compact_table[i].compact; in compact_gfp_flags() 700 new = realloc(new_flags, len + strlen(cpt) + 2); in compact_gfp_flags() 710 strcpy(new_flags, cpt); in compact_gfp_flags() 713 strcat(new_flags, cpt); in compact_gfp_flags() 717 len += strlen(cpt); in compact_gfp_flags()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | cio.h | 96 __u32 cpt : 1; member
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | stv0367.c | 1438 int cpt = 0; in stv0367ter_snr_readreg() local 1441 while (cpt < 10) { in stv0367ter_snr_readreg() 1448 cpt++; in stv0367ter_snr_readreg() 1599 int abc = 0, def = 0, cpt = 0; 1602 (cpt < 400)) || ((Errors == 0) && (cpt < 400))) { 1609 cpt++;
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 3338 rvu->rvu_dbg.cpt = debugfs_create_dir("cpt", rvu->rvu_dbg.root); in rvu_dbg_cpt_init() 3343 rvu->rvu_dbg.cpt = debugfs_create_dir("cpt1", in rvu_dbg_cpt_init() 3350 debugfs_create_file("cpt_pc", 0600, rvu->rvu_dbg.cpt, ctx, in rvu_dbg_cpt_init() 3352 debugfs_create_file("cpt_ae_sts", 0600, rvu->rvu_dbg.cpt, ctx, in rvu_dbg_cpt_init() 3354 debugfs_create_file("cpt_se_sts", 0600, rvu->rvu_dbg.cpt, ctx, in rvu_dbg_cpt_init() 3356 debugfs_create_file("cpt_ie_sts", 0600, rvu->rvu_dbg.cpt, ctx, in rvu_dbg_cpt_init() 3358 debugfs_create_file("cpt_engines_info", 0600, rvu->rvu_dbg.cpt, ctx, in rvu_dbg_cpt_init() 3360 debugfs_create_file("cpt_lfs_info", 0600, rvu->rvu_dbg.cpt, ctx, in rvu_dbg_cpt_init() 3362 debugfs_create_file("cpt_err_info", 0600, rvu->rvu_dbg.cpt, ctx, in rvu_dbg_cpt_init()
|
D | rvu.h | 66 struct dentry *cpt; member
|
D | rvu.c | 1031 goto cpt; in rvu_setup_hw_resources() 1053 cpt: in rvu_setup_hw_resources() 1920 rsp->cpt = rvu_rsrc_free_count(&block->lf); in rvu_mbox_handler_free_rsrc_cnt()
|
D | mbox.h | 452 u16 cpt; member
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 2974 unsigned int v, tps, cpt, bpt, delta, mindelta = ~0; in t3_config_sched() local 2980 for (cpt = 1; cpt <= 255; cpt++) { in t3_config_sched() 2981 tps = clk / cpt; in t3_config_sched() 2988 selected_cpt = cpt; in t3_config_sched()
|
D | cxgb3_main.c | 803 unsigned int v, addr, bpt, cpt; in tm_attr_show() local 813 cpt = v & 0xff; in tm_attr_show() 814 if (!cpt) in tm_attr_show() 817 v = (adap->params.vpd.cclk * 1000) / cpt; in tm_attr_show()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 10284 unsigned int v, addr, bpt, cpt; in t4_get_tx_sched() local 10292 cpt = v & 0xff; in t4_get_tx_sched() 10293 if (!cpt) { in t4_get_tx_sched() 10296 v = (adap->params.vpd.cclk * 1000) / cpt; /* ticks/s */ in t4_get_tx_sched()
|