Lines Matching full:peripheral
115 * Reset a peripheral. This puts it in reset, waits for a delay, then takes
118 * @param periph_id peripheral to reset
124 * Put a peripheral into or out of reset.
126 * @param periph_id peripheral to reset
151 * Set the source for a peripheral clock. This plus the divisor sets the
153 * source parameter as it changes for each peripheral.
158 * @param periph_id peripheral to adjust
167 * @param periph_id peripheral to adjust
175 * Set the source and divisor for a peripheral clock. This sets the
177 * source parameter as it changes for each peripheral.
182 * @param periph_id peripheral to adjust
190 * Returns the current parent clock ID of a given peripheral. This can be
194 * @param periph_id peripheral to query
195 * @return clock ID of the peripheral's current parent clock
200 * Start a peripheral PLL clock at the given rate. This also resets the
201 * peripheral.
203 * @param periph_id peripheral to start
212 * Returns the rate of a peripheral clock in Hz. Since the caller almost
216 * @param periph_id peripheral to start
219 * @return clock rate of peripheral in Hz
225 * Adjust peripheral PLL clock to the given rate. This does not reset the
226 * peripheral. If a second stage divisor is not available, pass NULL for
230 * @param periph_id peripheral to start
255 * @param periph_id Peripheral ID of UART to enable (e,g, PERIPH_ID_UART1)
260 * Decode a peripheral ID from a device tree node.
262 * This works by looking up the peripheral's 'clocks' node and reading out
263 * the second cell, which is the clock number / peripheral ID.
267 * @return peripheral ID, or PERIPH_ID_NONE if none
294 /* Returns a pointer to the clock source register for a peripheral */
301 * Given a peripheral ID, determine where the mux bits are in the peripheral
308 * @param periph_id peripheral to query
318 * Given a peripheral ID and clock source mux value, determine the clock_id
319 * of that peripheral's parent.
324 * @param periph_id peripheral to query
331 * Given a peripheral ID and the required source clock, this returns which
332 * value should be programmed into the source mux for that peripheral.
336 * @param periph_id peripheral to start
346 * Convert a device tree clock ID to our peripheral ID. They are mostly
351 * @return peripheral ID, or PERIPH_ID_NONE if the clock ID is invalid
374 /* return 1 if a peripheral ID is in range */