| /linux/tools/perf/util/ |
| H A D | call-path.c | 28 struct call_path_root *cpr; in call_path_root__new() local 30 cpr = zalloc(sizeof(struct call_path_root)); in call_path_root__new() 31 if (!cpr) in call_path_root__new() 33 call_path__init(&cpr->call_path, NULL, NULL, 0, false); in call_path_root__new() 34 INIT_LIST_HEAD(&cpr->blocks); in call_path_root__new() 35 return cpr; in call_path_root__new() 38 void call_path_root__free(struct call_path_root *cpr) in call_path_root__free() argument 42 list_for_each_entry_safe(pos, n, &cpr->blocks, node) { in call_path_root__free() 46 free(cpr); in call_path_root__free() 49 static struct call_path *call_path__new(struct call_path_root *cpr, in call_path__new() argument [all …]
|
| H A D | thread-stack.c | 762 crp->cpr = call_path_root__new(); in call_return_processor__new() 763 if (!crp->cpr) in call_return_processor__new() 777 call_path_root__free(crp->cpr); in call_return_processor__free() 864 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__bottom() local 879 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom() 909 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__no_call_return() local 910 struct call_path *root = &cpr->call_path; in thread_stack__no_call_return() 928 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return() 958 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return() 968 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return() [all …]
|
| H A D | call-path.h | 62 void call_path_root__free(struct call_path_root *cpr); 64 struct call_path *call_path__findnew(struct call_path_root *cpr,
|
| H A D | thread-stack.h | 72 * @cpr: call path root 77 struct call_path_root *cpr; member
|
| H A D | db-export.c | 215 struct call_path *current = &dbe->cpr->call_path; in call_path_from_sample() 265 current = call_path__findnew(dbe->cpr, current, in call_path_from_sample() 276 if (current == &dbe->cpr->call_path) { in call_path_from_sample() 391 if (dbe->cpr) { in db_export__sample()
|
| /linux/Documentation/devicetree/bindings/cpufreq/ |
| H A D | qcom-cpufreq-nvmem.yaml | 14 voltage is dynamically configured by Core Power Reduction (CPR) depending on 16 CPR provides a power domain with multiple levels that are selected depending 17 on the CPU OPP in use. The CPUFreq driver sets the CPR power domain level 21 voltage and CPR is not supported/used. 88 - const: cpr 130 power-domains = <&cpr>; 131 power-domain-names = "cpr"; 144 power-domains = <&cpr>; 145 power-domain-names = "cpr"; 158 power-domains = <&cpr>; [all …]
|
| /linux/Documentation/devicetree/bindings/power/avs/ |
| H A D | qcom,cpr.yaml | 4 $id: http://devicetree.org/schemas/power/avs/qcom,cpr.yaml# 7 title: Qualcomm Core Power Reduction (CPR) 13 CPR (Core Power Reduction) is a technology to reduce core power on a CPU 16 running at a particular frequency, CPR monitors dynamic factors such as 24 - qcom,qcs404-cpr 25 - const: qcom,cpr 51 supported by the CPR power domain. 107 cpr_opp_table: opp-table-cpr { 125 compatible = "qcom,qcs404-cpr", "qcom,cpr";
|
| /linux/drivers/pcmcia/ |
| H A D | pxa2xx_sharpsl.c | 57 unsigned short cpr, csr; in sharpsl_pcmcia_socket_state() local 60 cpr = read_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_CPR); in sharpsl_pcmcia_socket_state() 76 else if (cpr & 0x0003) { in sharpsl_pcmcia_socket_state() 98 if ((cpr & 0x0080) && ((cpr & 0x8040) != 0x8040)) { in sharpsl_pcmcia_socket_state() 99 printk(KERN_ERR "sharpsl_pcmcia_socket_state(): CPR=%04X, Low voltage!\n", cpr); in sharpsl_pcmcia_socket_state() 110 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local 129 ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083; in sharpsl_pcmcia_configure_socket() 161 if (cpr != ncpr) { in sharpsl_pcmcia_configure_socket()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_dim.c | 17 struct bnxt_cp_ring_info *cpr = container_of(dim, in bnxt_dim_work() local 20 struct bnxt_napi *bnapi = container_of(cpr, in bnxt_dim_work() 26 cpr->rx_ring_coal.coal_ticks = cur_moder.usec; in bnxt_dim_work() 27 cpr->rx_ring_coal.coal_bufs = cur_moder.pkts; in bnxt_dim_work()
|
| H A D | bnxt.c | 1091 struct bnxt_cp_ring_info *cpr, in bnxt_get_agg() argument 1098 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_get_agg() 1111 static void bnxt_reuse_rx_agg_bufs(struct bnxt_cp_ring_info *cpr, u16 idx, in bnxt_reuse_rx_agg_bufs() argument 1114 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_reuse_rx_agg_bufs() 1135 agg = bnxt_get_agg(bp, cpr, idx, start + i); in bnxt_reuse_rx_agg_bufs() 1278 struct bnxt_cp_ring_info *cpr, in __bnxt_rx_agg_netmems() argument 1283 struct bnxt_napi *bnapi = cpr->bnapi; in __bnxt_rx_agg_netmems() 1310 agg = bnxt_get_agg(bp, cpr, idx, i); in __bnxt_rx_agg_netmems() 1354 bnxt_reuse_rx_agg_bufs(cpr, idx, i, agg_bufs - i, tpa); in __bnxt_rx_agg_netmems() 1369 struct bnxt_cp_ring_info *cpr, in bnxt_rx_agg_netmems_skb() argument 1387 bnxt_rx_agg_netmems_xdp(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct xdp_buff * xdp,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_xdp() argument 1407 bnxt_agg_bufs_valid(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u8 agg_bufs,u32 * raw_cons) bnxt_agg_bufs_valid() argument 1478 bnxt_discard_rx(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,void * cmp) bnxt_discard_rx() argument 1657 bnxt_abort_tpa(struct bnxt_cp_ring_info * cpr,u16 idx,u32 agg_bufs) bnxt_abort_tpa() argument 1875 bnxt_tpa_end(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,struct rx_tpa_end_cmp * tpa_end,struct rx_tpa_end_cmp_ext * tpa_end1,u8 * event) bnxt_tpa_end() argument 2117 bnxt_rx_pkt(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_rx_pkt() argument 2407 bnxt_force_rx_discard(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_force_rx_discard() argument 3018 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_msix() local 3027 bnxt_has_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_has_work() argument 3038 __bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) __bnxt_poll_work() argument 3164 bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) bnxt_poll_work() argument 3186 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll_nitroa0() local 3262 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll() local 3298 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_poll_cqs() local 3316 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_poll_cqs_done() local 3344 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll_p5() local 4159 bnxt_free_cp_arrays(struct bnxt_cp_ring_info * cpr) bnxt_free_cp_arrays() argument 4171 bnxt_alloc_cp_arrays(struct bnxt_cp_ring_info * cpr,int n) bnxt_alloc_cp_arrays() argument 4223 struct bnxt_cp_ring_info *cpr; bnxt_free_cp_rings() local 4252 bnxt_alloc_cp_sub_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_alloc_cp_sub_ring() argument 4289 struct bnxt_cp_ring_info *cpr, *cpr2; bnxt_alloc_cp_rings() local 4420 struct bnxt_cp_ring_info *cpr; bnxt_init_ring_struct() local 4644 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnxt_init_cp_rings() local 5232 struct bnxt_cp_ring_info *cpr; bnxt_init_stats() local 5319 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_free_ring_stats() local 5337 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_alloc_stats() local 5404 struct bnxt_cp_ring_info *cpr; bnxt_clear_ring_indices() local 5599 struct bnxt_cp_ring_info *cpr = bnxt_alloc_mem() local 5730 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_disable_int() local 5741 struct bnxt_cp_ring_info *cpr; bnxt_cp_num_to_irq_num() local 5771 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_enable_int() local 7453 bnxt_hwrm_cp_ring_alloc_p5(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_alloc_p5() argument 7497 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_alloc() local 7676 bnxt_hwrm_cp_ring_free(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_free() argument 7689 bnxt_clear_one_cp_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_clear_one_cp_ring() argument 7731 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_free() local 8420 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_hwrm_set_coal_nq() local 8447 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_set_ring_coal() local 8578 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_stat_ctx_free() local 8615 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_stat_ctx_alloc() local 10539 struct bnxt_cp_ring_info *cpr; bnxt_accumulate_all_stats() local 11963 struct bnxt_cp_ring_info *cpr; bnxt_disable_napi() local 11981 struct bnxt_cp_ring_info *cpr; bnxt_enable_napi() local 13507 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_get_ring_stats() local 13600 bnxt_get_one_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats,struct bnxt_cp_ring_info * cpr) bnxt_get_one_ring_drv_stats() argument 14223 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring, *cpr2; bnxt_dump_cp_sw_state() local 14258 struct bnxt_cp_ring_info *cpr; bnxt_hwrm_rx_ring_reset() local 14430 struct bnxt_cp_ring_info *cpr; bnxt_rx_ring_reset() local 14650 struct bnxt_cp_ring_info *cpr; bnxt_chk_missed_irq() local 16055 struct bnxt_cp_ring_info *cpr; bnxt_get_queue_stats_rx() local 16329 struct bnxt_cp_ring_info *cpr; bnxt_queue_start() local 16408 struct bnxt_cp_ring_info *cpr; bnxt_queue_stop() local [all...] |
| H A D | bnxt_debugfs.c | 84 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; in bnxt_debug_dev_init() local 86 if (cpr && bp->bnapi[i]->rx_ring) in bnxt_debug_dev_init() 87 debugfs_dim_ring_init(&cpr->dim, i, dir); in bnxt_debug_dev_init()
|
| /linux/Documentation/devicetree/bindings/opp/ |
| H A D | opp-v2-kryo-cpu.yaml | 124 power-domains = <&cpr>; 125 power-domain-names = "cpr"; 144 power-domains = <&cpr>; 145 power-domain-names = "cpr"; 159 power-domains = <&cpr>; 160 power-domain-names = "cpr"; 179 power-domains = <&cpr>; 180 power-domain-names = "cpr";
|
| H A D | opp-v2-qcom-level.yaml | 48 cpr_opp_table: opp-table-cpr {
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | intel,keembay-phy-usb.yaml | 18 - description: USB APB CPR (clock, power, reset) register 23 - const: cpr-apb-base 42 reg-names = "cpr-apb-base", "slv-apb-base";
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_gen4_ras.h | 532 * BIT(16) - Parity error detected in CPR Push FIFO 533 * BIT(17) - Parity error detected in CPR Pull FIFO 534 * BIT(18) - Parity error detected in CPR Hash Table 535 * BIT(19) - Parity error detected in CPR History Buffer Copy 0 536 * BIT(20) - Parity error detected in CPR History Buffer Copy 1 537 * BIT(21) - Parity error detected in CPR History Buffer Copy 2 538 * BIT(22) - Parity error detected in CPR History Buffer Copy 3 539 * BIT(23) - Parity error detected in CPR History Buffer Copy 4 540 * BIT(24) - Parity error detected in CPR History Buffer Copy 5 541 * BIT(25) - Parity error detected in CPR History Buffer Copy 6 [all …]
|
| H A D | adf_gen4_tl.c | 65 ADF_GEN4_TL_SL_UTIL_COUNTER(cpr), 87 ADF_GEN4_TL_SL_EXEC_COUNTER(cpr),
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_crtc.c | 383 struct omap_dss_cpr_coefs *cpr) in omap_crtc_cpr_coefs_from_ctm() argument 385 cpr->rr = omap_crtc_s31_32_to_s2_8(ctm->matrix[0]); in omap_crtc_cpr_coefs_from_ctm() 386 cpr->rg = omap_crtc_s31_32_to_s2_8(ctm->matrix[1]); in omap_crtc_cpr_coefs_from_ctm() 387 cpr->rb = omap_crtc_s31_32_to_s2_8(ctm->matrix[2]); in omap_crtc_cpr_coefs_from_ctm() 388 cpr->gr = omap_crtc_s31_32_to_s2_8(ctm->matrix[3]); in omap_crtc_cpr_coefs_from_ctm() 389 cpr->gg = omap_crtc_s31_32_to_s2_8(ctm->matrix[4]); in omap_crtc_cpr_coefs_from_ctm() 390 cpr->gb = omap_crtc_s31_32_to_s2_8(ctm->matrix[5]); in omap_crtc_cpr_coefs_from_ctm() 391 cpr->br = omap_crtc_s31_32_to_s2_8(ctm->matrix[6]); in omap_crtc_cpr_coefs_from_ctm() 392 cpr->bg = omap_crtc_s31_32_to_s2_8(ctm->matrix[7]); in omap_crtc_cpr_coefs_from_ctm() 393 cpr->bb = omap_crtc_s31_32_to_s2_8(ctm->matrix[8]); in omap_crtc_cpr_coefs_from_ctm()
|
| /linux/arch/arm/mach-pxa/ |
| H A D | spitz.c | 217 unsigned short cpr; in spitz_card_pwr_ctrl() local 227 cpr = read_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR); in spitz_card_pwr_ctrl() 230 cpr |= new_cpr; in spitz_card_pwr_ctrl() 232 cpr &= ~enable; in spitz_card_pwr_ctrl() 234 write_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR, cpr); in spitz_card_pwr_ctrl() 238 if (!(cpr & 0x7)) { in spitz_card_pwr_ctrl() 253 static void spitz_pcmcia_pwr(struct device *scoop, uint16_t cpr, int nr) in spitz_pcmcia_pwr() argument 258 cpr & (SCOOP_CPR_CF_3V | SCOOP_CPR_CF_XV), cpr); in spitz_pcmcia_pwr() 260 write_scoop_reg(scoop, SCOOP_CPR, cpr); in spitz_pcmcia_pwr()
|
| /linux/drivers/pmdomain/qcom/ |
| H A D | Makefile | 2 obj-$(CONFIG_QCOM_CPR) += cpr.o
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | rainier.dts | 96 CPR0: cpr { 97 compatible = "ibm,cpr-440grx", "ibm,cpr-440ep";
|
| H A D | sequoia.dts | 96 CPR0: cpr { 97 compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
|
| H A D | warp.dts | 77 CPR0: cpr { 78 compatible = "ibm,cpr-440ep";
|
| H A D | sam440ep.dts | 84 CPR0: cpr { 85 compatible = "ibm,cpr-440ep";
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8956-sony-xperia-loire.dtsi | 89 /* Set .95V to prevent unstabilities until CPR for this SoC is done */ 113 /* Set .95V to prevent unstabilities until CPR for this SoC is done */
|
| /linux/arch/arm/include/asm/hardware/ |
| H A D | scoop.h | 60 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
|