Lines Matching full:peripheral
114 * Reset a peripheral. This puts it in reset, waits for a delay, then takes
117 * @param periph_id peripheral to reset
123 * Put a peripheral into or out of reset.
125 * @param periph_id peripheral to reset
150 * Set the source for a peripheral clock. This plus the divisor sets the
152 * source parameter as it changes for each peripheral.
157 * @param periph_id peripheral to adjust
166 * @param periph_id peripheral to adjust
174 * Set the source and divisor for a peripheral clock. This sets the
176 * source parameter as it changes for each peripheral.
181 * @param periph_id peripheral to adjust
189 * Returns the current parent clock ID of a given peripheral. This can be
193 * @param periph_id peripheral to query
194 * @return clock ID of the peripheral's current parent clock
199 * Start a peripheral PLL clock at the given rate. This also resets the
200 * peripheral.
202 * @param periph_id peripheral to start
211 * Returns the rate of a peripheral clock in Hz. Since the caller almost
215 * @param periph_id peripheral to start
218 * @return clock rate of peripheral in Hz
224 * Adjust peripheral PLL clock to the given rate. This does not reset the
225 * peripheral. If a second stage divisor is not available, pass NULL for
229 * @param periph_id peripheral to start
254 * @param periph_id Peripheral ID of UART to enable (e,g, PERIPH_ID_UART1)
259 * Decode a peripheral ID from a device tree node.
261 * This works by looking up the peripheral's 'clocks' node and reading out
262 * the second cell, which is the clock number / peripheral ID.
266 * @return peripheral ID, or PERIPH_ID_NONE if none
293 /* Returns a pointer to the clock source register for a peripheral */
300 * Given a peripheral ID, determine where the mux bits are in the peripheral
307 * @param periph_id peripheral to query
317 * Given a peripheral ID and clock source mux value, determine the clock_id
318 * of that peripheral's parent.
323 * @param periph_id peripheral to query
330 * Given a peripheral ID and the required source clock, this returns which
331 * value should be programmed into the source mux for that peripheral.
335 * @param periph_id peripheral to start
345 * Convert a device tree clock ID to our peripheral ID. They are mostly
350 * @return peripheral ID, or PERIPH_ID_NONE if the clock ID is invalid
373 /* return 1 if a peripheral ID is in range */