Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/perf/util/
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 …]
Dthread-stack.c509 crp->cpr = call_path_root__new(); in call_return_processor__new()
510 if (!crp->cpr) in call_return_processor__new()
524 call_path_root__free(crp->cpr); in call_return_processor__free()
611 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__bottom() local
626 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom()
656 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__no_call_return() local
657 struct call_path *root = &cpr->call_path; in thread_stack__no_call_return()
675 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
705 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
715 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return()
[all …]
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,
Ddb-export.c216 struct call_path *current = &dbe->cpr->call_path; in call_path_from_sample()
263 current = call_path__findnew(dbe->cpr, current, in call_path_from_sample()
273 if (current == &dbe->cpr->call_path) { in call_path_from_sample()
382 if (dbe->cpr) { in db_export__sample()
Dthread-stack.h78 struct call_path_root *cpr; member
Ddb-export.h66 struct call_path_root *cpr; member
/Linux-v5.4/drivers/parport/
Dparport_ax88796.c71 unsigned int cpr = readb(dd->spp_cpr); in parport_ax88796_read_control() local
74 if (!(cpr & AX_CPR_STRB)) in parport_ax88796_read_control()
77 if (!(cpr & AX_CPR_ATFD)) in parport_ax88796_read_control()
80 if (cpr & AX_CPR_nINIT) in parport_ax88796_read_control()
83 if (!(cpr & AX_CPR_SLCTIN)) in parport_ax88796_read_control()
93 unsigned int cpr = readb(dd->spp_cpr); in parport_ax88796_write_control() local
95 cpr &= AX_CPR_nDOE; in parport_ax88796_write_control()
98 cpr |= AX_CPR_STRB; in parport_ax88796_write_control()
101 cpr |= AX_CPR_ATFD; in parport_ax88796_write_control()
104 cpr |= AX_CPR_nINIT; in parport_ax88796_write_control()
[all …]
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
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()
Dbnxt.c846 struct bnxt_cp_ring_info *cpr, in bnxt_get_agg() argument
853 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_get_agg()
866 static void bnxt_reuse_rx_agg_bufs(struct bnxt_cp_ring_info *cpr, u16 idx, in bnxt_reuse_rx_agg_bufs() argument
869 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_reuse_rx_agg_bufs()
890 agg = bnxt_get_agg(bp, cpr, idx, start + i); in bnxt_reuse_rx_agg_bufs()
999 struct bnxt_cp_ring_info *cpr, in bnxt_rx_pages() argument
1003 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_rx_pages()
1023 agg = bnxt_get_agg(bp, cpr, idx, i); in bnxt_rx_pages()
1057 bnxt_reuse_rx_agg_bufs(cpr, idx, i, agg_bufs - i, tpa); in bnxt_rx_pages()
1075 static int bnxt_agg_bufs_valid(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_agg_bufs_valid() argument
[all …]
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()
Dbnxt_ethtool.c548 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_get_ethtool_stats() local
549 __le64 *hw_stats = (__le64 *)cpr->hw_stats; in bnxt_get_ethtool_stats()
554 buf[j++] = cpr->rx_l4_csum_errors; in bnxt_get_ethtool_stats()
555 buf[j++] = cpr->missed_irqs; in bnxt_get_ethtool_stats()
558 le64_to_cpu(cpr->hw_stats->rx_discard_pkts); in bnxt_get_ethtool_stats()
560 le64_to_cpu(cpr->hw_stats->tx_discard_pkts); in bnxt_get_ethtool_stats()
2744 static int bnxt_rx_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_rx_loopback() argument
2747 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_rx_loopback()
2759 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_rx_loopback()
2777 static int bnxt_poll_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_poll_loopback() argument
[all …]
/Linux-v5.4/drivers/pcmcia/
Dpxa2xx_sharpsl.c58 unsigned short cpr, csr; in sharpsl_pcmcia_socket_state() local
61 cpr = read_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_CPR); in sharpsl_pcmcia_socket_state()
77 else if (cpr & 0x0003) { in sharpsl_pcmcia_socket_state()
99 if ((cpr & 0x0080) && ((cpr & 0x8040) != 0x8040)) { in sharpsl_pcmcia_socket_state()
100 printk(KERN_ERR "sharpsl_pcmcia_socket_state(): CPR=%04X, Low voltage!\n", cpr); in sharpsl_pcmcia_socket_state()
111 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local
130 ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083; in sharpsl_pcmcia_configure_socket()
162 if (cpr != ncpr) { in sharpsl_pcmcia_configure_socket()
/Linux-v5.4/arch/arm/mach-pxa/
Dspitz.c203 unsigned short cpr; in spitz_card_pwr_ctrl() local
213 cpr = read_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR); in spitz_card_pwr_ctrl()
216 cpr |= new_cpr; in spitz_card_pwr_ctrl()
218 cpr &= ~enable; in spitz_card_pwr_ctrl()
220 write_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR, cpr); in spitz_card_pwr_ctrl()
224 if (!(cpr & 0x7)) { in spitz_card_pwr_ctrl()
239 static void spitz_pcmcia_pwr(struct device *scoop, uint16_t cpr, int nr) in spitz_pcmcia_pwr() argument
244 cpr & (SCOOP_CPR_CF_3V | SCOOP_CPR_CF_XV), cpr); in spitz_pcmcia_pwr()
246 write_scoop_reg(scoop, SCOOP_CPR, cpr); in spitz_pcmcia_pwr()
/Linux-v5.4/Documentation/devicetree/bindings/opp/
Dqcom-nvmem-cpufreq.txt33 - 'cpr' for qcs404.
709 power-domains = <&cpr>;
710 power-domain-names = "cpr";
720 power-domains = <&cpr>;
721 power-domain-names = "cpr";
731 power-domains = <&cpr>;
732 power-domain-names = "cpr";
742 power-domains = <&cpr>;
743 power-domain-names = "cpr";
765 cpr_opp_table: cpr-opp-table {
[all …]
/Linux-v5.4/arch/arm/include/asm/hardware/
Dscoop.h60 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
/Linux-v5.4/arch/powerpc/boot/dts/
Drainier.dts96 CPR0: cpr {
97 compatible = "ibm,cpr-440grx", "ibm,cpr-440ep";
Dsequoia.dts96 CPR0: cpr {
97 compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
Dwarp.dts77 CPR0: cpr {
78 compatible = "ibm,cpr-440ep";
Dsam440ep.dts84 CPR0: cpr {
85 compatible = "ibm,cpr-440ep";
Dyosemite.dts81 CPR0: cpr {
82 compatible = "ibm,cpr-440ep";
Dbamboo.dts83 CPR0: cpr {
84 compatible = "ibm,cpr-440ep";
Darches.dts109 CPR0: cpr {
110 compatible = "ibm,cpr-460gt";
Dbluestone.dts108 CPR0: cpr {
109 compatible = "ibm,cpr-apm821xx";
Deiger.dts104 CPR0: cpr {
105 compatible = "ibm,cpr-460sx";
/Linux-v5.4/tools/perf/util/scripting-engines/
Dtrace-event-python.c1514 tables->dbe.cpr = NULL; in set_table_handlers()
1532 tables->dbe.cpr = tables->dbe.crp->cpr; in set_table_handlers()
1534 tables->dbe.cpr = call_path_root__new(); in set_table_handlers()
1536 if (!tables->dbe.cpr) in set_table_handlers()

12