Home
last modified time | relevance | path

Searched refs:cpr (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/perf/util/
H A Dcall-path.c28 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 Dthread-stack.c762 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 in thread_stack__no_call_return()
1022 struct call_path_root *cpr = ts->crp->cpr; thread_stack__trace_end() local
1054 struct call_path_root *cpr = ts->crp->cpr; thread_stack__x86_retpoline() local
1150 struct call_path_root *cpr = ts->crp->cpr; thread_stack__process() local
1211 struct call_path_root *cpr = ts->crp->cpr; thread_stack__process() local
[all...]
H A Dcall-path.h62 void call_path_root__free(struct call_path_root *cpr);
64 struct call_path *call_path__findnew(struct call_path_root *cpr,
H A Ddb-export.c214 struct call_path *current = &dbe->cpr->call_path; in call_path_from_sample()
264 current = call_path__findnew(dbe->cpr, current, in call_path_from_sample()
275 if (current == &dbe->cpr->call_path) { in call_path_from_sample()
389 if (dbe->cpr) { in db_export__sample()
H A Dthread-stack.h77 struct call_path_root *cpr; member
H A Ddb-export.h65 struct call_path_root *cpr;
66 struct call_path_root *cpr; global() member
/linux/drivers/pcmcia/
H A Dpxa2xx_sharpsl.c57 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 Dbnxt_dim.c17 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 Dbnxt.c1116 struct bnxt_cp_ring_info *cpr, in bnxt_get_agg() argument
1123 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_get_agg()
1136 static void bnxt_reuse_rx_agg_bufs(struct bnxt_cp_ring_info *cpr, u16 idx, in bnxt_reuse_rx_agg_bufs() argument
1139 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_reuse_rx_agg_bufs()
1160 agg = bnxt_get_agg(bp, cpr, idx, start + i); in bnxt_reuse_rx_agg_bufs()
1314 struct bnxt_cp_ring_info *cpr, in __bnxt_rx_agg_netmems()
1319 struct bnxt_napi *bnapi = cpr->bnapi; in __bnxt_rx_agg_netmems()
1346 agg = bnxt_get_agg(bp, cpr, idx, i); in __bnxt_rx_agg_netmems()
1390 bnxt_reuse_rx_agg_bufs(cpr, idx, i, agg_bufs - i, tpa); in __bnxt_rx_agg_netmems()
1405 struct bnxt_cp_ring_info *cpr, in bnxt_rx_agg_netmems_skb()
1306 __bnxt_rx_agg_netmems(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 idx,u32 agg_bufs,bool tpa,struct sk_buff * skb,struct xdp_buff * xdp) __bnxt_rx_agg_netmems() argument
1397 bnxt_rx_agg_netmems_skb(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct sk_buff * skb,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_skb() argument
1415 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
1435 bnxt_agg_bufs_valid(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u8 agg_bufs,u32 * raw_cons) bnxt_agg_bufs_valid() argument
1506 bnxt_discard_rx(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,void * cmp) bnxt_discard_rx() argument
1687 bnxt_abort_tpa(struct bnxt_cp_ring_info * cpr,u16 idx,u32 agg_bufs) bnxt_abort_tpa() argument
1905 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
2147 bnxt_rx_pkt(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_rx_pkt() argument
2437 bnxt_force_rx_discard(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_force_rx_discard() argument
3048 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_msix() local
3057 bnxt_has_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_has_work() argument
3068 __bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) __bnxt_poll_work() argument
3194 bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) bnxt_poll_work() argument
3216 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll_nitroa0() local
3292 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll() local
3328 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_poll_cqs() local
3346 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_poll_cqs_done() local
3374 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll_p5() local
4194 bnxt_free_cp_arrays(struct bnxt_cp_ring_info * cpr) bnxt_free_cp_arrays() argument
4206 bnxt_alloc_cp_arrays(struct bnxt_cp_ring_info * cpr,int n) bnxt_alloc_cp_arrays() argument
4258 struct bnxt_cp_ring_info *cpr; bnxt_free_cp_rings() local
4287 bnxt_alloc_cp_sub_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_alloc_cp_sub_ring() argument
4324 struct bnxt_cp_ring_info *cpr, *cpr2; bnxt_alloc_cp_rings() local
4455 struct bnxt_cp_ring_info *cpr; bnxt_init_ring_struct() local
4682 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnxt_init_cp_rings() local
5271 struct bnxt_cp_ring_info *cpr; bnxt_init_stats() local
5358 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_free_ring_stats() local
5376 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_alloc_stats() local
5443 struct bnxt_cp_ring_info *cpr; bnxt_clear_ring_indices() local
5640 struct bnxt_cp_ring_info *cpr = bnxt_alloc_mem() local
5771 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_disable_int() local
5782 struct bnxt_cp_ring_info *cpr; bnxt_cp_num_to_irq_num() local
5812 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_enable_int() local
7501 bnxt_hwrm_cp_ring_alloc_p5(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_alloc_p5() argument
7545 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_alloc() local
7724 bnxt_hwrm_cp_ring_free(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_free() argument
7737 bnxt_clear_one_cp_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_clear_one_cp_ring() argument
7779 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_free() local
8468 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_hwrm_set_coal_nq() local
8495 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_set_ring_coal() local
8626 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_stat_ctx_free() local
8663 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_stat_ctx_alloc() local
10587 struct bnxt_cp_ring_info *cpr; bnxt_accumulate_ring_stats() local
12119 struct bnxt_cp_ring_info *cpr; bnxt_disable_napi() local
12137 struct bnxt_cp_ring_info *cpr; bnxt_enable_napi() local
13663 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_get_ring_stats() local
13757 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
14379 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring, *cpr2; bnxt_dump_cp_sw_state() local
14414 struct bnxt_cp_ring_info *cpr; bnxt_hwrm_rx_ring_reset() local
14620 struct bnxt_cp_ring_info *cpr; bnxt_rx_ring_reset() local
14847 struct bnxt_cp_ring_info *cpr; bnxt_chk_missed_irq() local
16254 struct bnxt_cp_ring_info *cpr; bnxt_get_queue_stats_rx() local
16540 struct bnxt_cp_ring_info *cpr; bnxt_queue_start() local
16619 struct bnxt_cp_ring_info *cpr; bnxt_queue_stop() local
[all...]
H A Dbnxt_debugfs.c84 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()
H A Dbnxt_ethtool.c613 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_get_ethtool_stats() local
614 u64 *sw_stats = cpr->stats.sw_stats; in bnxt_get_ethtool_stats()
637 sw = (u64 *)&cpr->sw_stats->rx; in bnxt_get_ethtool_stats()
643 sw = (u64 *)&cpr->sw_stats->cmn; in bnxt_get_ethtool_stats()
5094 static int bnxt_rx_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_rx_loopback()
5097 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_rx_loopback()
5109 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_rx_loopback()
5127 static int bnxt_poll_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_poll_loopback()
5136 raw_cons = cpr->cp_raw_cons; in bnxt_poll_loopback()
5139 txcmp = &cpr in bnxt_poll_loopback()
5093 bnxt_rx_loopback(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 raw_cons,int pkt_size) bnxt_rx_loopback() argument
5126 bnxt_poll_loopback(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int pkt_size) bnxt_poll_loopback() argument
5166 struct bnxt_cp_ring_info *cpr; bnxt_run_loopback() local
[all...]
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_netdev.c460 static void bnge_free_cp_desc_arr(struct bnge_cp_ring_info *cpr) in bnge_free_cp_desc_arr() argument
462 struct bnge_ring_struct *ring = &cpr->ring_struct; in bnge_free_cp_desc_arr()
464 kfree(cpr->desc_ring); in bnge_free_cp_desc_arr()
465 cpr->desc_ring = NULL; in bnge_free_cp_desc_arr()
467 kfree(cpr->desc_mapping); in bnge_free_cp_desc_arr()
468 cpr->desc_mapping = NULL; in bnge_free_cp_desc_arr()
489 static int bnge_alloc_cp_desc_arr(struct bnge_cp_ring_info *cpr, int n) in bnge_alloc_cp_desc_arr() argument
491 cpr->desc_ring = kzalloc_objs(*cpr->desc_ring, n); in bnge_alloc_cp_desc_arr()
492 if (!cpr in bnge_alloc_cp_desc_arr()
557 struct bnge_cp_ring_info *cpr = &nqr->cp_ring_arr[j]; bnge_free_nq_tree() local
570 alloc_one_cp_ring(struct bnge_net * bn,struct bnge_cp_ring_info * cpr) alloc_one_cp_ring() argument
608 struct bnge_cp_ring_info *cpr; bnge_alloc_nq_tree() local
1381 struct bnge_cp_ring_info *cpr = &nqr->cp_ring_arr[j]; bnge_init_nq_tree() local
1816 bnge_hwrm_cp_ring_alloc(struct bnge_net * bn,struct bnge_cp_ring_info * cpr) bnge_hwrm_cp_ring_alloc() argument
1942 struct bnge_cp_ring_info *cpr; bnge_hwrm_ring_alloc() local
2499 bnge_hwrm_cp_ring_free(struct bnge_net * bn,struct bnge_cp_ring_info * cpr) bnge_hwrm_cp_ring_free() argument
[all...]
H A Dbnge_netdev.h427 #define BNGE_SET_NQ_HDL(cpr) \ argument
428 (((cpr)->cp_ring_type << BNGE_NQ_HDL_TYPE_SHIFT) | (cpr)->cp_idx)
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_tl.c65 ADF_GEN4_TL_SL_UTIL_COUNTER(cpr),
87 ADF_GEN4_TL_SL_EXEC_COUNTER(cpr),
/linux/drivers/pmdomain/qcom/
H A DMakefile2 obj-$(CONFIG_QCOM_CPR) += cpr.o
/linux/arch/arm/include/asm/hardware/
H A Dscoop.h60 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
/linux/arch/powerpc/boot/dts/
H A Drainier.dts96 CPR0: cpr {
97 compatible = "ibm,cpr-440grx", "ibm,cpr-440ep";
H A Dsequoia.dts96 CPR0: cpr {
97 compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
H A Dwarp.dts77 CPR0: cpr {
78 compatible = "ibm,cpr-440ep";
H A Dsam440ep.dts84 CPR0: cpr {
85 compatible = "ibm,cpr-440ep";
H A Dyosemite.dts81 CPR0: cpr {
82 compatible = "ibm,cpr-440ep";
H A Dbamboo.dts83 CPR0: cpr {
84 compatible = "ibm,cpr-440ep";
H A Dbluestone.dts108 CPR0: cpr {
109 compatible = "ibm,cpr-apm821xx";
H A Darches.dts109 CPR0: cpr {
110 compatible = "ibm,cpr-460gt";
H A Deiger.dts104 CPR0: cpr {
105 compatible = "ibm,cpr-460sx";

12