/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | elpida_ecb240abacn.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 compatible = "elpida,ECB240ABACN","jedec,lpddr2-s4"; 10 io-width = <32>; 12 tRPab-min-tck = <3>; 13 tRCD-min-tck = <3>; 14 tWR-min-tck = <3>; 15 tRASmin-min-tck = <3>; 16 tRRD-min-tck = <2>; 17 tWTR-min-tck = <2>; 18 tXP-min-tck = <2>; [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_clock.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 27 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_clock_debugfs_add() 34 device_get_sysctl_ctx(accel_dev->accel_pci_dev.pci_dev); in adf_clock_debugfs_add() 36 device_get_sysctl_tree(accel_dev->accel_pci_dev.pci_dev); in adf_clock_debugfs_add() 43 &hw_data->clock_frequency, in adf_clock_debugfs_add() 51 * adf_dev_measure_clock() -- Measure the CPM clock frequency 127 temp = (timestamp2 - timestamp1) * ME_CLK_DIVIDER * 10 + (delta_us / 2); in measure_clock() 135 * adf_dev_measure_clock() -- Measure the CPM clock frequency 138 * @min: Minimum expected frequency [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/ddr/ |
H A D | lpddr2.txt | 1 * LPDDR2 SDRAM memories compliant to JEDEC JESD209-2 4 - compatible : Should be one of - "jedec,lpddr2-nvm", "jedec,lpddr2-s2", 5 "jedec,lpddr2-s4" 7 "ti,jedec-lpddr2-s2" should be listed if the memory part is LPDDR2-S2 type 9 "ti,jedec-lpddr2-s4" should be listed if the memory part is LPDDR2-S4 type 11 "ti,jedec-lpddr2-nvm" should be listed if the memory part is LPDDR2-NVM type 13 - density : <u32> representing density in Mb (Mega bits) 15 - io-width : <u32> representing bus width. Possible values are 8, 16, and 32 21 These values shall be obtained from the device data-sheet. 22 - tRRD-min-tck [all …]
|
H A D | lpddr2-timings.txt | 1 * AC timing parameters of LPDDR2(JESD209-2) memories for a given speed-bin 4 - compatible : Should be "jedec,lpddr2-timings" 5 - min-freq : minimum DDR clock frequency for the speed-bin. Type is <u32> 6 - max-freq : maximum DDR clock frequency for the speed-bin. Type is <u32> 11 data-sheet of the device for a given speed-bin. All these properties are 13 a different unit have a suffix indicating the unit such as 'tRAS-max-ns' 14 - tRCD 15 - tWR 16 - tRAS-min 17 - tRRD [all …]
|
H A D | lpddr3-timings.txt | 1 * AC timing parameters of LPDDR3 memories for a given speed-bin. 6 - compatible : Should be "jedec,lpddr3-timings" 7 - min-freq : minimum DDR clock frequency for the speed-bin. Type is <u32> 8 - reg : maximum DDR clock frequency for the speed-bin. Type is <u32> 13 data-sheet of the device for a given speed-bin. All these properties are 15 - tRFC 16 - tRRD 17 - tRPab 18 - tRPpb 19 - tRCD [all …]
|
H A D | lpddr3.txt | 1 * LPDDR3 SDRAM memories compliant to JEDEC JESD209-3C 4 - compatible : Should be "<vendor>,<type>", and generic value "jedec,lpddr3". 8 - density : <u32> representing density in Mb (Mega bits) 9 - io-width : <u32> representing bus width. Possible values are 8, 16, 32, 64 10 - #address-cells: Must be set to 1 11 - #size-cells: Must be set to 0 15 - manufacturer-id : <u32> Manufacturer ID value read from Mode Register 5 16 - revision-id : <u32 u32> Revision IDs read from Mode Registers 6 and 7 20 These values shall be obtained from the device data-sheet. 21 - tRFC-min-tck [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ddr/ |
H A D | jedec,lpddr2-timings.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr2-timings.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LPDDR2 SDRAM AC timing parameters for a given speed-bin 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 const: jedec,lpddr2-timings 16 max-freq: 19 Maximum DDR clock frequency for the speed-bin, in Hz. 21 min-freq: [all …]
|
H A D | lpddr2-timings.txt | 1 * AC timing parameters of LPDDR2(JESD209-2) memories for a given speed-bin 4 - compatible : Should be "jedec,lpddr2-timings" 5 - min-freq : minimum DDR clock frequency for the speed-bin. Type is <u32> 6 - max-freq : maximum DDR clock frequency for the speed-bin. Type is <u32> 11 data-sheet of the device for a given speed-bin. All these properties are 13 a different unit have a suffix indicating the unit such as 'tRAS-max-ns' 14 - tRCD 15 - tWR 16 - tRAS-min 17 - tRRD [all …]
|
H A D | jedec,lpddr2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LPDDR2 SDRAM compliant to JEDEC JESD209-2 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 - $ref: jedec,lpddr-props.yaml# 18 - items: 19 - enum: 20 - elpida,ECB240ABACN [all …]
|
H A D | jedec,lpddr3-timings.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr3-timings.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LPDDR3 SDRAM AC timing parameters for a given speed-bin 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 const: jedec,lpddr3-timings 19 Maximum DDR clock frequency for the speed-bin, in Hz. 20 Property is deprecated, use max-freq. 23 max-freq: [all …]
|
H A D | lpddr3-timings.txt | 1 * AC timing parameters of LPDDR3 memories for a given speed-bin. 6 - compatible : Should be "jedec,lpddr3-timings" 7 - min-freq : minimum DDR clock frequency for the speed-bin. Type is <u32> 8 - reg : maximum DDR clock frequency for the speed-bin. Type is <u32> 13 data-sheet of the device for a given speed-bin. All these properties are 15 - tRFC 16 - tRRD 17 - tRPab 18 - tRPpb 19 - tRCD [all …]
|
H A D | lpddr3.txt | 1 * LPDDR3 SDRAM memories compliant to JEDEC JESD209-3C 4 - compatible : Should be "<vendor>,<type>", and generic value "jedec,lpddr3". 8 - density : <u32> representing density in Mb (Mega bits) 9 - io-width : <u32> representing bus width. Possible values are 8, 16, 32, 64 10 - #address-cells: Must be set to 1 11 - #size-cells: Must be set to 0 15 - manufacturer-id : <u32> Manufacturer ID value read from Mode Register 5 16 - revision-id : <u32 u32> Revision IDs read from Mode Registers 6 and 7 20 These values shall be obtained from the device data-sheet. 21 - tRFC-min-tck [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | atmel,sama5d2-pdmic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/sound/atmel,sama5d2-pdmic.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Claudiu Beznea <claudiu.beznea@microchip.com> 20 const: atmel,sama5d2-pdmic 30 - description: peripheral clock 31 - description: generated clock 33 clock-names: 35 - const: pclk [all …]
|
H A D | atmel-pdmic.txt | 4 - compatible 5 Should be "atmel,sama5d2-pdmic". 6 - reg 8 - interrupts 10 - dmas 11 One DMA specifiers as described in atmel-dma.txt and dma.txt files. 12 - dma-names 14 - clock-names 16 - "pclk" peripheral clock 17 - "gclk" generated clock [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
H A D | exynos5250-spring.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/clock/samsung,s2mps11.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/input/input.h> 19 chassis-type = "laptop"; 33 stdout-path = "serial3:115200n8"; 36 gpio-keys { 37 compatible = "gpio-keys"; [all …]
|
H A D | exynos5250-smdk5250.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/clock/maxim,max77686.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 31 stdout-path = "serial2:115200n8"; 34 vdd: fixed-regulator-vdd { 35 compatible = "regulator-fixed"; 36 regulator-name = "vdd-supply"; 37 regulator-min-microvolt = <1800000>; [all …]
|
H A D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2 [all...] |
/freebsd/sys/x86/x86/ |
H A D | tsc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1998-2003 Poul-Henning Kamp 66 &tsc_is_invariant, 0, "Indicates whether the TSC is P-state invariant"); 80 &tsc_shift, 0, "Shift to pre-apply for the maximum TSC frequency"); 199 uint64_t freq; in tsc_freq_intel_brand() local 216 for (i = 0; i < sizeof(brand) - 1; i++) in tsc_freq_intel_brand() 220 p -= 5; in tsc_freq_intel_brand() 234 #define C2D(c) ((c) - '0') in tsc_freq_intel_brand() 236 freq = C2D(p[0]) * 1000; in tsc_freq_intel_brand() [all …]
|
/freebsd/sys/powerpc/cpufreq/ |
H A D | pmufreq.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 88 if (OF_getprop(node, "min-clock-frequency", &min_freq, sizeof(min_freq)) == -1) in pmufreq_identify() 92 if (device_find_child(parent, "pmufreq", -1) != NULL) in pmufreq_identify() 99 if (BUS_ADD_CHILD(parent, 10, "pmufreq", -1) == NULL) in pmufreq_identify() 114 * A scalable MPC7455 has min-clock-frequency/max-clock-frequency as OFW in pmufreq_probe() 117 if (OF_getprop(node, "min-clock-frequency", &min_freq, sizeof(min_freq)) == -1) in pmufreq_probe() 119 device_set_desc(dev, "PMU-based frequency scaling"); in pmufreq_probe() 130 sc->dev = dev; in pmufreq_attach() 133 OF_getprop(node, "min-clock-frequency", &sc->minfreq, sizeof(sc->minfreq)); in pmufreq_attach() [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_cpufreq.c | 1 /*- 2 * Copyright (C) 2013-2015 Daisuke Aoyama <aoyama@peach.ne.jp> 61 #define HZ2MHZ(freq) ((freq) / (1000 * 1000)) argument 62 #define MHZ2HZ(freq) ((freq) * (1000 * 1000)) argument 71 #define MIN_OVER_VOLTAGE -16 73 #define MSG_ERROR -999999999 85 /* ARM->VC mailbox property semaphore */ 115 { "broadcom,bcm2835-vc", 1 }, 116 { "broadcom,bcm2708-vc", 1 }, 176 err = bcm2835_firmware_property(sc->firmware, in bcm2835_cpufreq_get_clock_rate() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: X-Powers AXP PMIC 10 - Chen-Yu Tsai <wens@csie.org> 13 - if: 18 - x-powers,axp152 19 - x-powers,axp202 20 - x-powers,axp209 [all …]
|
/freebsd/sys/dev/clk/allwinner/ |
H A D | ccu_a64.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 47 #include <dt-bindings/clock/sun50i-a64-ccu.h> 48 #include <dt-bindings/reset/sun50i-a64-ccu.h> 50 /* Non-exported clocks */ 141 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "ahb1", 0x60, 1) 142 CCU_GATE(CLK_BUS_CE, "bus-ce", "ahb1", 0x60, 5) 143 CCU_GATE(CLK_BUS_DMA, "bus-dma", "ahb1", 0x60, 6) 144 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "ahb1", 0x60, 8) 145 CCU_GATE(CLK_BUS_MMC1, "bus-mmc1", "ahb1", 0x60, 9) [all …]
|
/freebsd/sys/dev/videomode/ |
H A D | vesagtf.c | 3 /*- 43 * This has required the use of 64-bit integers in a few places, but 89 * Copyright (c) 1994, 1995, 1996 - Video Electronics Standards 120 * surrounding the addressable video); on most non-overscan type 172 * #define C_PRIME (((C - J) * K/256.0) + J) 180 #define C_PRIME256(p) (((p->C - p->J) * p->K) + (p->J * 256)) 181 #define M_PRIME256(p) (p->K * p->M) 186 * print_value() - print the result of the named computation; this is 195 printf("%2d: %-27s: %u\n", n, name, val); in print_value() 202 * vert_refresh() - as defined by the GTF Timing Standard, compute the [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sm4450.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm4450-camcc.h> 8 #include <dt-bindings/clock/qcom,sm4450-dispcc.h> 9 #include <dt-bindings/clock/qcom,sm4450-gcc.h> 10 #include <dt-bindings/clock/qcom,sm4450-gpucc.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 16 interrupt-parent = <&intc>; [all …]
|
/freebsd/sys/dev/rndtest/ |
H A D | rndtest.c | 3 /*- 4 * SPDX-License-Identifier: BSD-4-Clause 91 rsp->rs_begin = rsp->rs_buf; in rndtest_attach() 92 rsp->rs_end = rsp->rs_buf + sizeof(rsp->rs_buf); in rndtest_attach() 93 rsp->rs_current = rsp->rs_begin; in rndtest_attach() 94 rsp->rs_discard = 1; in rndtest_attach() 95 rsp->rs_collect = 1; in rndtest_attach() 96 rsp->rs_parent = dev; in rndtest_attach() 97 callout_init(&rsp->rs_to, 1); in rndtest_attach() 106 callout_stop(&rsp->rs_to); in rndtest_detach() [all …]
|