Home
last modified time | relevance | path

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

12

/linux/tools/perf/util/
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()
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
46 free(cpr); in call_path_root__free()
58 if (cpr->next < cpr->sz) { in call_path__new()
65 list_add_tail(&cpb->node, &cpr->blocks); in call_path__new()
66 cpr->sz += CALL_PATH_BLOCK_SIZE; in call_path__new()
[all …]
A Dthread-stack.c761 crp->cpr = call_path_root__new(); in call_return_processor__new()
762 if (!crp->cpr) in call_return_processor__new()
776 call_path_root__free(crp->cpr); in call_return_processor__free()
863 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__bottom() local
878 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom()
908 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__no_call_return() local
909 struct call_path *root = &cpr->call_path; in thread_stack__no_call_return()
1021 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__trace_end() local
1055 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__x86_retpoline() local
1151 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__process() local
[all …]
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,
A 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()
A Dthread-stack.h77 struct call_path_root *cpr; member
/linux/drivers/parport/
A Dparport_ax88796.c74 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()
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()
107 cpr |= AX_CPR_SLCTIN; in parport_ax88796_write_control()
110 writeb(cpr, dd->spp_cpr); in parport_ax88796_write_control()
191 writeb((readb(cpr) & ~AX_CPR_nDOE), cpr); in parport_ax88796_data_forward()
[all …]
/linux/drivers/pcmcia/
A 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/drivers/net/ethernet/broadcom/bnxt/
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()
A Dbnxt.c2469 bnxt_db_cq(bp, &cpr->cp_db, cpr->cp_raw_cons); in bnxt_poll_work()
2533 BNXT_DB_CQ(&cpr->cp_db, cpr->cp_raw_cons); in bnxt_poll_nitroa0()
2541 BNXT_DB_CQ_ARM(&cpr->cp_db, cpr->cp_raw_cons); in bnxt_poll_nitroa0()
2562 BNXT_DB_CQ_ARM(&cpr->cp_db, cpr->cp_raw_cons); in bnxt_poll()
2568 BNXT_DB_CQ_ARM(&cpr->cp_db, cpr->cp_raw_cons); in bnxt_poll()
3305 cpr = kzalloc(sizeof(*cpr), GFP_KERNEL); in bnxt_alloc_cp_sub_ring()
3306 if (!cpr) in bnxt_alloc_cp_sub_ring()
3329 return cpr; in bnxt_alloc_cp_sub_ring()
4481 bnxt_db_nq(bp, &cpr->cp_db, cpr->cp_raw_cons); in bnxt_disable_int()
4520 bnxt_db_nq_arm(bp, &cpr->cp_db, cpr->cp_raw_cons); in bnxt_enable_int()
[all …]
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()
A Dbnxt_ethtool.c574 u64 *sw_stats = cpr->stats.sw_stats; in bnxt_get_ethtool_stats()
597 sw = (u64 *)&cpr->sw_stats.rx; in bnxt_get_ethtool_stats()
603 sw = (u64 *)&cpr->sw_stats.cmn; in bnxt_get_ethtool_stats()
612 cpr->sw_stats.rx.rx_netpoll_discards; in bnxt_get_ethtool_stats()
3351 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_rx_loopback()
3390 raw_cons = cpr->cp_raw_cons; in bnxt_poll_loopback()
3412 cpr->cp_raw_cons = raw_cons; in bnxt_poll_loopback()
3420 struct bnxt_cp_ring_info *cpr; in bnxt_run_loopback() local
3427 cpr = &rxr->bnapi->cp_ring; in bnxt_run_loopback()
3429 cpr = cpr->cp_ring_arr[BNXT_RX_HDL]; in bnxt_run_loopback()
[all …]
/linux/Documentation/devicetree/bindings/power/avs/
A Dqcom,cpr.txt13 Definition: should be "qcom,qcs404-cpr", "qcom,cpr" for qcs404
76 cpr_opp_table: cpr-opp-table {
94 compatible = "qcom,qcs404-cpr", "qcom,cpr";
/linux/arch/arm/mach-pxa/
A 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/Documentation/devicetree/bindings/opp/
A Dqcom-nvmem-cpufreq.txt34 - 'cpr' for qcs404.
710 power-domains = <&cpr>;
711 power-domain-names = "cpr";
721 power-domains = <&cpr>;
722 power-domain-names = "cpr";
732 power-domains = <&cpr>;
733 power-domain-names = "cpr";
743 power-domains = <&cpr>;
744 power-domain-names = "cpr";
766 cpr_opp_table: cpr-opp-table {
[all …]
/linux/drivers/gpu/drm/omapdrm/
A Domap_crtc.c383 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/drivers/gpu/drm/tidss/
A Dtidss_dispc.c2391 struct dispc_csc_coef *cpr) in dispc_k2g_cpr_from_ctm() argument
2393 memset(cpr, 0, sizeof(*cpr)); in dispc_k2g_cpr_from_ctm()
2395 cpr->to_regval = dispc_csc_cpr_regval; in dispc_k2g_cpr_from_ctm()
2396 cpr->m[CSC_RR] = dispc_S31_32_to_s2_8(ctm->matrix[0]); in dispc_k2g_cpr_from_ctm()
2397 cpr->m[CSC_RG] = dispc_S31_32_to_s2_8(ctm->matrix[1]); in dispc_k2g_cpr_from_ctm()
2443 struct dispc_csc_coef cpr; in dispc_k2g_vp_set_ctm() local
2445 dispc_k2g_cpr_from_ctm(ctm, &cpr); in dispc_k2g_vp_set_ctm()
2446 dispc_k2g_vp_write_csc(dispc, hw_videoport, &cpr); in dispc_k2g_vp_set_ctm()
2469 struct dispc_csc_coef *cpr) in dispc_csc_from_ctm() argument
2471 memset(cpr, 0, sizeof(*cpr)); in dispc_csc_from_ctm()
[all …]
/linux/Documentation/devicetree/bindings/phy/
A Dintel,keembay-phy-usb.yaml23 - const: cpr-apb-base
42 reg-names = "cpr-apb-base", "slv-apb-base";
/linux/arch/arm64/boot/dts/qcom/
A Dqcs404.dtsi47 power-domains = <&cpr>;
48 power-domain-names = "cpr";
61 power-domains = <&cpr>;
62 power-domain-names = "cpr";
75 power-domains = <&cpr>;
76 power-domain-names = "cpr";
89 power-domains = <&cpr>;
90 power-domain-names = "cpr";
131 cpr_opp_table: cpr-opp-table {
1152 cpr: power-controller@b018000 { label
[all …]
/linux/drivers/soc/qcom/
A Dbuilt-in.a6 cpr.o/
A D.built-in.a.cmd1 …drivers/soc/qcom/qcom-geni-se.o drivers/soc/qcom/cmd-db.o drivers/soc/qcom/cpr.o drivers/soc/qcom/…
A DMakefile6 obj-$(CONFIG_QCOM_CPR) += cpr.o
A D.cpr.o.cmd1cpr.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarc…
3 source_drivers/soc/qcom/cpr.o := drivers/soc/qcom/cpr.c
5 deps_drivers/soc/qcom/cpr.o := \
1251 drivers/soc/qcom/cpr.o: $(deps_drivers/soc/qcom/cpr.o)
1253 $(deps_drivers/soc/qcom/cpr.o):
/linux/arch/arm/include/asm/hardware/
A Dscoop.h60 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
/linux/arch/powerpc/boot/dts/
A Drainier.dts96 CPR0: cpr {
97 compatible = "ibm,cpr-440grx", "ibm,cpr-440ep";
A Dsequoia.dts96 CPR0: cpr {
97 compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";

Completed in 77 milliseconds

12