Searched refs:cpr (Results 1 - 24 of 24) sorted by relevance

/linux-master/tools/perf/util/
H A Dcall-path.c28 struct call_path_root *cpr; local
30 cpr = zalloc(sizeof(struct call_path_root));
31 if (!cpr)
33 call_path__init(&cpr->call_path, NULL, NULL, 0, false);
34 INIT_LIST_HEAD(&cpr->blocks);
35 return cpr;
38 void call_path_root__free(struct call_path_root *cpr) argument
42 list_for_each_entry_safe(pos, n, &cpr->blocks, node) {
46 free(cpr);
49 static struct call_path *call_path__new(struct call_path_root *cpr, argument
77 call_path__findnew(struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, u64 ks) argument
[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 Dthread-stack.c762 crp->cpr = call_path_root__new();
763 if (!crp->cpr)
777 call_path_root__free(crp->cpr);
864 struct call_path_root *cpr = ts->crp->cpr; local
879 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip,
909 struct call_path_root *cpr = ts->crp->cpr; local
910 struct call_path *root = &cpr
1022 struct call_path_root *cpr = ts->crp->cpr; local
1054 struct call_path_root *cpr = ts->crp->cpr; local
1150 struct call_path_root *cpr = ts->crp->cpr; local
1211 struct call_path_root *cpr = ts->crp->cpr; local
[all...]
H A Dthread-stack.h72 * @cpr: call path root
77 struct call_path_root *cpr; member in struct:call_return_processor
H A Ddb-export.h66 struct call_path_root *cpr; member in struct:db_export
H A Ddb-export.c216 struct call_path *current = &dbe->cpr->call_path;
266 current = call_path__findnew(dbe->cpr, current,
277 if (current == &dbe->cpr->call_path) {
388 if (dbe->cpr) {
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dim.c17 struct bnxt_cp_ring_info *cpr = container_of(dim, local
20 struct bnxt_napi *bnapi = container_of(cpr,
26 cpr->rx_ring_coal.coal_ticks = cur_moder.usec;
27 cpr->rx_ring_coal.coal_bufs = cur_moder.pkts;
H A Dbnxt_debugfs.c84 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; local
86 if (cpr && bp->bnapi[i]->rx_ring)
87 debugfs_dim_ring_init(&cpr->dim, i, dir);
H A Dbnxt.c987 struct bnxt_cp_ring_info *cpr,
994 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)];
1007 static void bnxt_reuse_rx_agg_bufs(struct bnxt_cp_ring_info *cpr, u16 idx, argument
1010 struct bnxt_napi *bnapi = cpr->bnapi;
1031 agg = bnxt_get_agg(bp, cpr, idx, start + i);
1173 struct bnxt_cp_ring_info *cpr,
1178 struct bnxt_napi *bnapi = cpr->bnapi;
1199 agg = bnxt_get_agg(bp, cpr, idx, i);
1229 bnxt_reuse_rx_agg_bufs(cpr, idx, i, agg_bufs - i, tpa);
1244 struct bnxt_cp_ring_info *cpr,
986 bnxt_get_agg(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u16 cp_cons, u16 curr) argument
1172 __bnxt_rx_agg_pages(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct skb_shared_info *shinfo, u16 idx, u32 agg_bufs, bool tpa, struct xdp_buff *xdp) argument
1243 bnxt_rx_agg_pages_skb(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct sk_buff *skb, u16 idx, u32 agg_bufs, bool tpa) argument
1265 bnxt_rx_agg_pages_xdp(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct xdp_buff *xdp, u16 idx, u32 agg_bufs, bool tpa) argument
1286 bnxt_agg_bufs_valid(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u8 agg_bufs, u32 *raw_cons) argument
1324 bnxt_discard_rx(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, void *cmp) argument
1494 bnxt_abort_tpa(struct bnxt_cp_ring_info *cpr, u16 idx, u32 agg_bufs) argument
1707 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) argument
1963 bnxt_rx_pkt(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) argument
2234 bnxt_force_rx_discard(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) argument
2772 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
2781 bnxt_has_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr) argument
2796 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
2820 __bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) argument
2937 bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) argument
2959 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
3035 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
3071 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
3089 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
3117 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
3731 bnxt_free_cp_arrays(struct bnxt_cp_ring_info *cpr) argument
3743 bnxt_alloc_cp_arrays(struct bnxt_cp_ring_info *cpr, int n) argument
3796 struct bnxt_cp_ring_info *cpr; local
3824 bnxt_alloc_cp_sub_ring(struct bnxt *bp, struct bnxt_cp_ring_info *cpr) argument
3863 struct bnxt_cp_ring_info *cpr, *cpr2; local
3937 struct bnxt_cp_ring_info *cpr; local
4104 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; local
4662 struct bnxt_cp_ring_info *cpr; local
4749 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
4764 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
4827 struct bnxt_cp_ring_info *cpr; local
5020 struct bnxt_cp_ring_info *cpr = local
5153 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
5164 struct bnxt_cp_ring_info *cpr; local
5194 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
6797 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
7011 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
7667 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
7694 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
7825 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
7862 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
9506 struct bnxt_cp_ring_info *cpr; local
10621 struct bnxt_cp_ring_info *cpr; local
10641 struct bnxt_cp_ring_info *cpr; local
12077 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
12168 bnxt_get_one_ring_err_stats(struct bnxt *bp, struct bnxt_total_ring_err_stats *stats, struct bnxt_cp_ring_info *cpr) argument
12806 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
12833 struct bnxt_cp_ring_info *cpr; local
12998 struct bnxt_cp_ring_info *cpr; local
13211 struct bnxt_cp_ring_info *cpr; local
14529 struct bnxt_cp_ring_info *cpr; local
[all...]
H A Dbnxt_ethtool.c610 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; local
611 u64 *sw_stats = cpr->stats.sw_stats;
634 sw = (u64 *)&cpr->sw_stats.rx;
640 sw = (u64 *)&cpr->sw_stats.cmn;
4492 static int bnxt_rx_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, argument
4495 struct bnxt_napi *bnapi = cpr->bnapi;
4507 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)];
4525 static int bnxt_poll_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, argument
4534 raw_cons = cpr->cp_raw_cons;
4537 txcmp = &cpr
4565 struct bnxt_cp_ring_info *cpr; local
[all...]
H A Dbnxt.h651 #define BNXT_SET_NQ_HDL(cpr) \
652 (((cpr)->cp_ring_type << BNXT_NQ_HDL_TYPE_SHIFT) | (cpr)->cp_idx)
/linux-master/drivers/pmdomain/qcom/
H A DMakefile2 obj-$(CONFIG_QCOM_CPR) += cpr.o
/linux-master/drivers/pcmcia/
H A Dpxa2xx_sharpsl.c57 unsigned short cpr, csr; local
60 cpr = read_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_CPR);
76 else if (cpr & 0x0003) {
98 if ((cpr & 0x0080) && ((cpr & 0x8040) != 0x8040)) {
99 printk(KERN_ERR "sharpsl_pcmcia_socket_state(): CPR=%04X, Low voltage!\n", cpr);
110 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; local
129 ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083;
161 if (cpr != ncpr) {
/linux-master/arch/arm/include/asm/hardware/
H A Dscoop.h60 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
/linux-master/arch/arm/mach-pxa/
H A Dspitz.c202 unsigned short cpr; local
212 cpr = read_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR);
215 cpr |= new_cpr;
217 cpr &= ~enable;
219 write_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR, cpr);
223 if (!(cpr & 0x7)) {
238 static void spitz_pcmcia_pwr(struct device *scoop, uint16_t cpr, int nr) argument
243 cpr & (SCOOP_CPR_CF_3V | SCOOP_CPR_CF_XV), cpr);
245 write_scoop_reg(scoop, SCOOP_CPR, cpr);
[all...]
/linux-master/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-master/drivers/gpu/drm/tidss/
H A Dtidss_dispc.c2501 struct dispc_csc_coef *cpr)
2503 memset(cpr, 0, sizeof(*cpr));
2505 cpr->to_regval = dispc_csc_cpr_regval;
2506 cpr->m[CSC_RR] = dispc_S31_32_to_s2_8(ctm->matrix[0]);
2507 cpr->m[CSC_RG] = dispc_S31_32_to_s2_8(ctm->matrix[1]);
2508 cpr->m[CSC_RB] = dispc_S31_32_to_s2_8(ctm->matrix[2]);
2509 cpr->m[CSC_GR] = dispc_S31_32_to_s2_8(ctm->matrix[3]);
2510 cpr->m[CSC_GG] = dispc_S31_32_to_s2_8(ctm->matrix[4]);
2511 cpr
2500 dispc_k2g_cpr_from_ctm(const struct drm_color_ctm *ctm, struct dispc_csc_coef *cpr) argument
2553 struct dispc_csc_coef cpr; local
2578 dispc_csc_from_ctm(const struct drm_color_ctm *ctm, struct dispc_csc_coef *cpr) argument
[all...]
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_crtc.c382 struct omap_dss_cpr_coefs *cpr)
384 cpr->rr = omap_crtc_s31_32_to_s2_8(ctm->matrix[0]);
385 cpr->rg = omap_crtc_s31_32_to_s2_8(ctm->matrix[1]);
386 cpr->rb = omap_crtc_s31_32_to_s2_8(ctm->matrix[2]);
387 cpr->gr = omap_crtc_s31_32_to_s2_8(ctm->matrix[3]);
388 cpr->gg = omap_crtc_s31_32_to_s2_8(ctm->matrix[4]);
389 cpr->gb = omap_crtc_s31_32_to_s2_8(ctm->matrix[5]);
390 cpr->br = omap_crtc_s31_32_to_s2_8(ctm->matrix[6]);
391 cpr->bg = omap_crtc_s31_32_to_s2_8(ctm->matrix[7]);
392 cpr
381 omap_crtc_cpr_coefs_from_ctm(const struct drm_color_ctm *ctm, struct omap_dss_cpr_coefs *cpr) argument
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_pci.c1194 u16 cpr; local
1204 cpr = (cust_div >> 20) & OXSEMI_TORNADO_CPR_MASK;
1205 if (cpr < OXSEMI_TORNADO_CPR_MIN)
1206 cpr = OXSEMI_TORNADO_CPR_DEF;
1226 cpr = cp;
1232 cpr = cp;
1245 } else if (cpr <= OXSEMI_TORNADO_CPR_MASK >> 1) {
1247 cpr <<= 1;
1249 quot = quot * cpr / OXSEMI_TORNADO_CPR_MASK;
1250 cpr
1274 u8 cpr = quot_frac >> 8; local
[all...]
/linux-master/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pci.c75 u32 cpr; /* PCI + 0x34 */ member in struct:mpc52xx_pci
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1841 tables->dbe.cpr = NULL;
1859 tables->dbe.cpr = tables->dbe.crp->cpr;
1861 tables->dbe.cpr = call_path_root__new();
1863 if (!tables->dbe.cpr)
/linux-master/drivers/ata/
H A Dlibata-core.c2810 cpr_log = kzalloc(struct_size(cpr_log, cpr, nr_cpr), GFP_KERNEL);
2817 cpr_log->cpr[i].num = desc[0];
2818 cpr_log->cpr[i].num_storage_elements = desc[1];
2819 cpr_log->cpr[i].start_lba = get_unaligned_le64(&desc[8]);
2820 cpr_log->cpr[i].num_lbas = get_unaligned_le64(&desc[16]);
H A Dlibata-scsi.c2119 desc[0] = cpr_log->cpr[i].num;
2120 desc[1] = cpr_log->cpr[i].num_storage_elements;
2121 put_unaligned_be64(cpr_log->cpr[i].start_lba, &desc[8]);
2122 put_unaligned_be64(cpr_log->cpr[i].num_lbas, &desc[16]);
/linux-master/include/linux/
H A Dlibata.h660 struct ata_cpr cpr[] __counted_by(nr_cpr);

Completed in 695 milliseconds