/linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelake/ |
H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/drivers/clk/ti/ |
H A D | divider.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Tero Kristo <t-kristo@ti.com> 10 #include <linux/clk-provider.h> 26 for (clkt = table; clkt->div; clkt++) in _get_table_div() 27 if (clkt->val == val) in _get_table_div() 28 return clkt->div; in _get_table_div() 38 if (divider->table) { in _setup_mask() 41 for (clkt = divider->table; clkt->div; clkt++) in _setup_mask() 42 if (clkt->val > max_val) in _setup_mask() 43 max_val = clkt->val; in _setup_mask() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | floating-point.json | 77 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 81 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 86 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 90 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 95 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 99 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 104 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 108 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 113 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 117 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
H A D | floating-point.json | 77 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 81 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 86 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 90 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 95 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 99 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 104 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 108 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 113 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 117 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | floating-point.json | 77 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 81 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 86 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 90 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 95 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 99 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 104 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 108 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 113 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 117 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | floating-point.json | 3 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 7 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 12 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 43 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | floating-point.json | 3 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 7 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 12 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 43 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwell/ |
H A D | floating-point.json | 3 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 7 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 12 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 43 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 7 …-bit packed computational double precision floating-point instructions retired; some instructions … 12 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 16 …-bit packed computational single precision floating-point instructions retired; some instructions … 21 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 25 …-bit packed double computational precision floating-point instructions retired; some instructions … 30 …"BriefDescription": "Counts once for most SIMD 256-bit packed single computational precision float… 34 …-bit packed single computational precision floating-point instructions retired; some instructions … 39 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 43 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/alderlake/ |
H A D | floating-point.json | 86 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 90 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 96 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 100 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 106 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 110 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 116 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 120 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 126 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 130 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/drivers/media/i2c/ |
H A D | aptina-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include "aptina-pll.h" 24 unsigned int div; in aptina_pll_calculate() local 27 pll->ext_clock, pll->pix_clock); in aptina_pll_calculate() 29 if (pll->ext_clock < limits->ext_clock_min || in aptina_pll_calculate() 30 pll->ext_clock > limits->ext_clock_max) { in aptina_pll_calculate() 32 return -EINVAL; in aptina_pll_calculate() 35 if (pll->pix_clock == 0 || pll->pix_clock > limits->pix_clock_max) { in aptina_pll_calculate() 37 return -EINVAL; in aptina_pll_calculate() 41 div = gcd(pll->pix_clock, pll->ext_clock); in aptina_pll_calculate() [all …]
|
H A D | ccs-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/media/i2c/ccs-pll.c 8 * Copyright (C) 2011--2012 Nokia Corporation 17 #include "ccs-pll.h" 49 u32 min, u32 max, const char *prefix, in bounds_check() argument 52 if (val >= min && val <= max) in bounds_check() 55 dev_dbg(dev, "%s_%s out of bounds: %d (%d--%d)\n", prefix, in bounds_check() 56 str, val, min, max); in bounds_check() 58 return -EINVAL; in bounds_check() 85 { &pll->vt_fr, &pll->vt_bk, PLL_VT }, in print_pll() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 7 …-bit packed computational double precision floating-point instructions retired; some instructions … 12 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 16 …-bit packed computational single precision floating-point instructions retired; some instructions … 21 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 25 …-bit packed double computational precision floating-point instructions retired; some instructions … 30 …"BriefDescription": "Counts once for most SIMD 256-bit packed single computational precision float… 34 …-bit packed single computational precision floating-point instructions retired; some instructions … 39 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 43 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/meteorlake/ |
H A D | floating-point.json | 96 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 100 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 106 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 110 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 116 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 120 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 126 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 130 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 136 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 140 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/drivers/media/platform/st/sti/hva/ |
H A D | hva-debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include "hva-hw.h" 15 struct hva_streaminfo *stream = &ctx->streaminfo; in format_ctx() 16 struct hva_frameinfo *frame = &ctx->frameinfo; in format_ctx() 17 struct hva_controls *ctrls = &ctx->ctrls; in format_ctx() 18 struct hva_ctx_dbg *dbg = &ctx->dbg; in format_ctx() 21 seq_printf(s, "|-%s\n |\n", ctx->name); in format_ctx() 23 seq_printf(s, " |-[%sframe info]\n", in format_ctx() 24 ctx->flags & HVA_FLAG_FRAMEINFO ? "" : "default "); in format_ctx() 25 seq_printf(s, " | |- pixel format=%4.4s\n" in format_ctx() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/skylake/ |
H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 7 …-bit packed computational double precision floating-point instructions retired; some instructions … 12 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 16 …-bit packed computational single precision floating-point instructions retired; some instructions … 21 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 25 …-bit packed double computational precision floating-point instructions retired; some instructions … 30 …"BriefDescription": "Counts once for most SIMD 256-bit packed single computational precision float… 34 …-bit packed single computational precision floating-point instructions retired; some instructions … 39 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 43 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/testing/selftests/power_supply/ |
H A D | helpers.sh | 2 # SPDX-License-Identifier: GPL-2.0 18 if [ -z "$VALUE" ]; then 19 ktap_test_result "$TEST_NAME" [ -f "$PROP_PATH" ] 21 ktap_test_result "$TEST_NAME" grep -q "$VALUE" "$PROP_PATH" 30 *[!0-9]* ) return ;; # Not a number 35 div=1000 38 div=1000000 41 div=1000000 44 div=1000 47 div=1000000 [all …]
|
/linux/drivers/clk/at91/ |
H A D | clk-sam9x60-pll.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include <linux/clk-provider.h> 47 u8 div; member 78 freq = parent_rate * (frac->mul + 1) + in sam9x60_frac_pll_recalc_rate() 79 DIV_ROUND_CLOSEST_ULL((u64)parent_rate * frac->frac, (1 << 22)); in sam9x60_frac_pll_recalc_rate() 81 if (core->layout->div2) in sam9x60_frac_pll_recalc_rate() 90 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set() 94 spin_lock_irqsave(core->lock, flags); in sam9x60_frac_pll_set() 97 AT91_PMC_PLL_UPDT_ID_MSK, core->id); in sam9x60_frac_pll_set() 99 cmul = (val & core->layout->mul_mask) >> core->layout->mul_shift; in sam9x60_frac_pll_set() [all …]
|
H A D | clk-generated.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Based on clk-programmable & clk-peripheral drivers by Boris BREZILLON. 10 #include <linux/clk-provider.h> 43 spin_lock_irqsave(gck->lock, flags); in clk_generated_set() 44 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_set() 45 (gck->id & gck->layout->pid_mask)); in clk_generated_set() 46 regmap_update_bits(gck->regmap, gck->layout->offset, in clk_generated_set() 47 AT91_PMC_PCR_GCKDIV_MASK | gck->layout->gckcss_mask | in clk_generated_set() 48 gck->layout->cmd | enable, in clk_generated_set() 49 field_prep(gck->layout->gckcss_mask, gck->parent_id) | in clk_generated_set() [all …]
|
/linux/Documentation/devicetree/bindings/clock/ti/ |
H A D | ti,divider-clock.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/clock/ti/ti,divider-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tero Kristo <kristo@kernel.org> 13 This clock It assumes a register-mapped adjustable clock rate divider 25 ti,index-starts-at-one - valid divisor values start at 1, not the default 32 ti,index-power-of-two - valid divisor values are powers of two. E.g: 49 Any zero value in this array means the corresponding bit-value is invalid 53 unless the divider array is provided, min and max dividers. Optionally [all …]
|
/linux/drivers/clk/renesas/ |
H A D | rcar-gen4-cpg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car Gen4 Clock Pulse Generator 7 * Based on rcar-gen3-cpg.c 9 * Copyright (C) 2015-2018 Glider bvba 15 #include <linux/clk-provider.h> 23 #include "renesas-cpg-mssr.h" 24 #include "rcar-gen4-cpg.h" 25 #include "rcar-cpg-lib.h" 33 #define CPG_PLLECR_PLLST(n) BIT(8 + ((n) < 3 ? (n) - 1 : \ 67 #define CPG_SD0CKCR1 0x8a4 /* SD-IF0 Clock Freq. Control Reg. 1 */ [all …]
|
/linux/drivers/net/can/rockchip/ |
H A D | rockchip_canfd-timestamp.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // Marc Kleine-Budde <kernel@pengutronix.de> 24 ns = timecounter_cyc2time(&priv->tc, timestamp); in rkcanfd_skb_set_timestamp() 26 hwtstamps->hwtstamp = ns_to_ktime(ns); in rkcanfd_skb_set_timestamp() 35 timecounter_read(&priv->tc); in rkcanfd_timestamp_work() 37 schedule_delayed_work(&priv->timestamp, priv->work_delay_jiffies); in rkcanfd_timestamp_work() 42 const struct can_bittiming *dbt = &priv->can.data_bittiming; in rkcanfd_timestamp_init() 43 const struct can_bittiming *bt = &priv->can.bittiming; in rkcanfd_timestamp_init() 44 struct cyclecounter *cc = &priv->cc; in rkcanfd_timestamp_init() 45 u32 bitrate, div, reg, rate; in rkcanfd_timestamp_init() local [all …]
|