/freebsd/sys/dev/clk/ |
H A D | clk_div.c | 66 uint32_t divider; /* in natural form */ member 82 clknode_div_table_get_divider(struct clknode_div_sc *sc, uint32_t divider) in clknode_div_table_get_divider() argument 87 return (divider); in clknode_div_table_get_divider() 89 for (table = sc->div_table; table->divider != 0; table++) in clknode_div_table_get_divider() 90 if (table->value == sc->divider) in clknode_div_table_get_divider() 91 return (table->divider); in clknode_div_table_get_divider() 97 clknode_div_table_get_value(struct clknode_div_sc *sc, uint32_t *divider) in clknode_div_table_get_value() argument 104 for (table = sc->div_table; table->divider != 0; table++) in clknode_div_table_get_value() 105 if (table->divider == *divider) { in clknode_div_table_get_value() 106 *divider = table->value; in clknode_div_table_get_value() [all …]
|
H A D | clk_div.h | 32 #define CLK_DIV_ZERO_BASED 0x0001 /* Zero based divider. */ 37 uint32_t divider; member 42 uint32_t offset; /* Divider register offset */ 46 uint32_t f_width; /* set to 0 for int divider */ 47 int div_flags; /* Divider-specific flags */ 48 struct clk_div_table *div_table; /* Divider table */
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/clock/ |
H A D | tegra234-clock.h | 36 /** @brief output of divider CLK_RST_CONTROLLER_CLK_M_DIVIDE */ 52 * divided by the divider controlled by ACLK_CLK_DIVISOR in 56 /** @brief CLK_RST_CONTROLLER_CLK_SOURCE_MSS_ENCRYPT switch divider output */ 60 /** @brief CLK_RST_CONTROLLER_CLK_SOURCE_AON_APB switch divider output */ 62 /** @brief CLK_RST_CONTROLLER_AON_NIC_RATE divider output */ 64 /** @brief CLK_RST_CONTROLLER_CLK_SOURCE_AON_CPU_NIC switch divider output */ 81 /** @brief CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_AXI_CLK_0 divider gated output */ 83 /** @brief CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_PTP_REF_CLK_0 divider gated output */ 87 /** @brief CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_TX_CLK divider gated output */ 152 /** @brief CLK_RST_CONTROLLER_MAUDCLK_OUT_SWITCH_DIVIDER switch divider output (maudclk) */ [all …]
|
H A D | tegra186-clock.h | 362 /** @brief output of the divider IPFS_CLK_DIVISOR */ 551 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_L0_RX_LS_SYMB */ 555 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_L0_TX_LS_SYMB */ 563 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_IOBIST */ 565 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_TX_1MHZ_REF */ 567 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_CORE_PLL_FIXED */ 693 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_PEX_SATA_USB_RX_BYP */ 697 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_PTP_REF_CLK_0 */ 699 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_TX_CLK */ 701 /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_USB2_HSIC_TRK */ [all …]
|
/freebsd/sys/arm64/qoriq/clk/ |
H A D | ls1028a_flexspi_clk.c | 62 { .value = 0, .divider = 1, }, 63 { .value = 1, .divider = 2, }, 64 { .value = 2, .divider = 3, }, 65 { .value = 3, .divider = 4, }, 66 { .value = 4, .divider = 5, }, 67 { .value = 5, .divider = 6, }, 68 { .value = 6, .divider = 7, }, 69 { .value = 7, .divider = 8, }, 70 { .value = 11, .divider = 12, }, 71 { .value = 15, .divider = 16, }, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ti/ |
H A D | divider.txt | 1 Binding for TI divider clock 6 register-mapped adjustable clock rate divider that does not gate and has 44 The binding must also provide the register to control the divider and 45 unless the divider array is provided, min and max dividers. Optionally 56 - compatible : shall be "ti,divider-clock" or "ti,composite-divider-clock". 59 - reg : offset for register controlling adjustable divider 64 - ti,bit-shift : number of bits to shift the divider value, defaults to 0 78 - ti,latch-bit : latch the divider value to HW, only needed if the register 79 access requires this. As an example dra76x DPLL_GMAC H14 divider implements 85 compatible = "ti,divider-clock"; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | xgene.txt | 37 reset and/or the divider. Either may be omitted, but at least 55 - divider-offset : Offset to the divider CSR register from the divider base. 57 - divider-width : Width of the divider register. Default is 0. 58 - divider-shift : Bit shift of the divider register. Default is 0. 107 divider-offset = <0x238>; 108 divider-width = <0x9>; 109 divider-shift = <0x0>; 125 divider-offset = <0x10>; 126 divider-width = <0x2>; 127 divider-shift = <0x0>;
|
H A D | keystone-pll.txt | 4 a divider and a post divider. The additional PLL IPs like ARMPLL, DDRPLL 18 - reg-names : control, multiplier and post-divider. The multiplier and 19 post-divider registers are applicable only for main pll clock 20 - fixed-postdiv : fixed post divider value. If absent, use clkod register bits 29 reg-names = "control", "multiplier", "post-divider"; 66 - compatible : shall be "ti,keystone,pll-divider-clock" 70 - bit-mask : arbitrary bitmask for programming the divider 78 compatible = "ti,keystone,pll-divider-clock";
|
H A D | nspire-clock.txt | 5 "lsi,nspire-cx-ahb-divider" for the AHB divider in the CX model 6 "lsi,nspire-classic-ahb-divider" for the AHB divider in the older model 14 - clocks: For the "nspire-*-ahb-divider" compatible clocks, this is the parent
|
H A D | dove-divider-clock.txt | 1 PLL divider based Dove clocks 17 - compatible : shall be "marvell,dove-divider-clock" 18 - reg : shall be the register address of the Core PLL and Clock Divider 20 Core PLL and Clock Divider Control 1 register. Thus, it will have 25 compatible = "marvell,dove-divider-clock";
|
/freebsd/sys/contrib/device-tree/Bindings/iio/afe/ |
H A D | voltage-divider.yaml | 4 $id: http://devicetree.org/schemas/iio/afe/voltage-divider.yaml# 7 title: Voltage divider 13 When an io-channel measures the midpoint of a voltage divider, the 15 of the divider. This binding describes the voltage divider in such 35 const: voltage-divider 48 Resistance R + Rout for the full divider. The io-channel is scaled by 64 * voltage divider (R = 200 Ohms, Rout = 22 Ohms) and fed to an ADC. 79 compatible = "voltage-divider";
|
H A D | voltage-divider.txt | 1 Voltage divider 4 When an io-channel measures the midpoint of a voltage divider, the 6 of the divider. This binding describes the voltage divider in such 24 - compatible : "voltage-divider" 28 - full-ohms : Resistance R + Rout for the full divider. The io-channel 33 voltage divider (R = 200 Ohms, Rout = 22 Ohms) and fed to an ADC. 36 compatible = "voltage-divider";
|
/freebsd/sys/arm/mv/clk/ |
H A D | a37x0_nb_periph_clk_driver.c | 50 { .value = 1, .divider = 1 }, 51 { .value = 2, .divider = 2 }, 52 { .value = 3, .divider = 3 }, 53 { .value = 4, .divider = 4 }, 54 { .value = 5, .divider = 5 }, 55 { .value = 6, .divider = 6 }, 56 { .value = 0, .divider = 0 } 60 { .value = 0, .divider = 1 }, 61 { .value = 1, .divider = 2 }, 62 { .value = 2, .divider = 4 }, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | ltc3676.txt | 17 - lltc,fb-voltage-divider: An array of two integers containing the resistor 18 values R1 and R2 of the feedback voltage divider in ohms. 39 lltc,fb-voltage-divider = <127000 200000>; 48 lltc,fb-voltage-divider = <301000 200000>; 57 lltc,fb-voltage-divider = <127000 200000>; 66 lltc,fb-voltage-divider = <221000 200000>; 75 lltc,fb-voltage-divider = <487000 200000>; 89 lltc,fb-voltage-divider = <634000 200000>;
|
H A D | ltc3589.txt | 17 - lltc,fb-voltage-divider: An array of two integers containing the resistor 18 values R1 and R2 of the feedback voltage divider in ohms. 39 lltc,fb-voltage-divider = <100000 158000>; 48 lltc,fb-voltage-divider = <180000 191000>; 57 lltc,fb-voltage-divider = <270000 100000>; 66 lltc,fb-voltage-divider = <511000 158000>; 74 lltc,fb-voltage-divider = <100000 158000>; 82 lltc,fb-voltage-divider = <180000 191000>;
|
H A D | mps,mp886x.yaml | 28 mps,fb-voltage-divider: 30 values R1 and R2 of the feedback voltage divider in kilo ohms. 42 - mps,fb-voltage-divider 58 mps,fb-voltage-divider = <80 240>;
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | omap54xx-clocks.dtsi | 134 compatible = "ti,divider-clock"; 153 compatible = "ti,divider-clock"; 163 compatible = "ti,divider-clock"; 182 compatible = "ti,divider-clock"; 216 compatible = "ti,divider-clock"; 244 compatible = "ti,divider-clock"; 254 compatible = "ti,divider-clock"; 264 compatible = "ti,divider-clock"; 274 compatible = "ti,divider-clock"; 284 compatible = "ti,divider-clock"; [all …]
|
H A D | omap44xx-clocks.dtsi | 170 compatible = "ti,divider-clock"; 191 compatible = "ti,divider-clock"; 202 compatible = "ti,divider-clock"; 238 compatible = "ti,divider-clock"; 250 compatible = "ti,divider-clock"; 271 compatible = "ti,divider-clock"; 283 compatible = "ti,divider-clock"; 292 compatible = "ti,divider-clock"; 302 compatible = "ti,divider-clock"; 312 compatible = "ti,divider-clock"; [all …]
|
H A D | dra7xx-clocks.dtsi | 244 compatible = "ti,divider-clock"; 256 compatible = "ti,divider-clock"; 266 compatible = "ti,divider-clock"; 278 compatible = "ti,divider-clock"; 314 compatible = "ti,divider-clock"; 343 compatible = "ti,divider-clock"; 392 compatible = "ti,divider-clock"; 434 compatible = "ti,divider-clock"; 476 compatible = "ti,divider-clock"; 490 compatible = "ti,divider-clock"; [all …]
|
H A D | dm816x-clocks.dtsi | 95 compatible = "ti,divider-clock"; 113 compatible = "ti,divider-clock"; 121 compatible = "ti,divider-clock"; 129 compatible = "ti,divider-clock"; 137 compatible = "ti,divider-clock"; 145 compatible = "ti,divider-clock"; 153 compatible = "ti,divider-clock"; 161 compatible = "ti,divider-clock"; 169 compatible = "ti,divider-clock"; 185 compatible = "ti,divider-clock";
|
/freebsd/sys/contrib/device-tree/Bindings/iio/frequency/ |
H A D | adf4350.txt | 21 - adi,reference-div2-enable: Enables reference divider. 36 4: N-Divider output 48 - adi,12bit-clk-divider: Clock divider value used when 50 - adi,clk-divider-mode: 52 0: Clock divider off (default)
|
/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | maxim,max20730.yaml | 36 vout-voltage-divider: 38 If voltage divider present at vout, the voltage at voltage sensor pin 40 meaningful number if voltage divider present. It has two numbers, 63 vout-voltage-divider = <1000 2000>; // vout would be scaled to 0.5
|
/freebsd/sys/contrib/device-tree/Bindings/net/can/ |
H A D | mpc5xxx-mscan.txt | 21 also specify which clock source and divider shall be used for the controller: 32 - fsl,mscan-clock-divider: for the reference and system clock, an additional 33 clock divider can be specified. By default, a 52 fsl,mscan-clock-divider = <3>;
|
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | ingenic,adc.yaml | 48 ingenic,use-internal-divider: 51 internal 1/4 divider. If absent, it is read through the VBAT_ER pin, 52 which does not have such a divider. 63 ingenic,use-internal-divider: false
|
/freebsd/sys/contrib/device-tree/Bindings/spi/ |
H A D | spi_oc_tiny.txt | 8 - baud-width: width, in bits, of the programmable divider used to scale 11 The clock-frequency and baud-width properties are needed only if the divider 12 is programmable. They are not needed if the divider is fixed.
|