id
stringlengths
4
63
text
stringlengths
153
8.81M
zswap_load(9)
NAME zswap_load - load a folio from zswap SYNOPSIS int zswap_load (struct folio *folio ); ARGUMENTS folio folio to load RETURN 0 on success, with the folio unlocked and marked up-to-date, or one of the following error codes: DESCRIPTION -EIO: if the swapped out content was in zswap, but could not be loaded in...
zynq_cpu_die(9)
NAME zynq_cpu_die - Let a CPU core die SYNOPSIS void zynq_cpu_die (unsigned int cpu ); ARGUMENTS cpu Dying CPU DESCRIPTION Platform-specific code to shutdown a CPU. Called with IRQs disabled on the dying CPU. SEE ALSO Kernel file ./arch/arm/mach-zynq/platsmp.c zynq_secondary_init(9) April 2026 ...
zynq_early_slcr_init(9)
NAME zynq_early_slcr_init - Early slcr init function SYNOPSIS int zynq_early_slcr_init (void ); ARGUMENTS void no arguments RETURN 0 on success, negative errno otherwise. DESCRIPTION Called very early during boot from platform code to unlock SLCR. SEE ALSO Kernel file ./arch/arm/mach-zynq/slcr.c zynq_...
zynq_get_dtype(9)
NAME zynq_get_dtype - Return the controller memory width. SYNOPSIS enum dev_type zynq_get_dtype (const void __iomem *base ); ARGUMENTS base DDR memory controller base address. DESCRIPTION Get the EDAC device type width appropriate for the current controller configuration. RETURN a device type width enumerati...
zynq_get_error_info(9)
NAME zynq_get_error_info - Get the current ECC error info. SYNOPSIS int zynq_get_error_info (struct synps_edac_priv *priv ); ARGUMENTS priv DDR memory controller private instance data. RETURN one if there is no error, otherwise zero. SEE ALSO Kernel file ./drivers/edac/synopsys_edac.c struct ecc_error_info(9...
zynq_get_mtype(9)
NAME zynq_get_mtype - Return the controller memory type. SYNOPSIS enum mem_type zynq_get_mtype (const void __iomem *base ); ARGUMENTS base Synopsys ECC status structure. DESCRIPTION Get the EDAC memory type appropriate for the current controller configuration. RETURN a memory type enumeration. SEE ALSO Kern...
zynq_get_revision(9)
NAME zynq_get_revision - Get Zynq silicon revision SYNOPSIS int zynq_get_revision (void ); ARGUMENTS void no arguments RETURN Silicon version or -1 otherwise SEE ALSO Kernel file ./arch/arm/mach-zynq/common.c zynq_memory_init(9), zynq_init_machine(9), zynq_map_io(9) April 2026 ...
zynq_gpio_dir_in(9)
NAME zynq_gpio_dir_in - Set the direction of the specified GPIO pin as input SYNOPSIS int zynq_gpio_dir_in (struct gpio_chip *chip , unsigned int pin ); ARGUMENTS chip gpio_chip instance to be worked on pin gpio pin number within the device DESCRIPTION This function uses the read-modify-write ...
zynq_gpio_dir_out(9)
NAME zynq_gpio_dir_out - Set the direction of the specified GPIO pin as output SYNOPSIS int zynq_gpio_dir_out (struct gpio_chip *chip , unsigned int pin , int state ); ARGUMENTS chip gpio_chip instance to be worked on pin gpio pin number within the device state value to be written...
zynq_gpio_get_bank_pin(9)
NAME zynq_gpio_get_bank_pin - Get the bank number and pin number within that bank for a given pin in the GPIO device SYNOPSIS void zynq_gpio_get_bank_pin (unsigned int pin_num , unsigned int *bank_num , unsigned int *bank_pin_num , struct zynq_gpio *gpio ); ARGUMENTS pin_num gpio pin number within the device ...
zynq_gpio_get_direction(9)
NAME zynq_gpio_get_direction - Read the direction of the specified GPIO pin SYNOPSIS int zynq_gpio_get_direction (struct gpio_chip *chip , unsigned int pin ); ARGUMENTS chip gpio_chip instance to be worked on pin gpio pin number within the device DESCRIPTION This function returns the direction...
zynq_gpio_get_value(9)
NAME zynq_gpio_get_value - Get the state of the specified pin of GPIO device SYNOPSIS int zynq_gpio_get_value (struct gpio_chip *chip , unsigned int pin ); ARGUMENTS chip gpio_chip instance to be worked on pin gpio pin number within the device DESCRIPTION This function reads the state of the s...
zynq_gpio_irq_ack(9)
NAME zynq_gpio_irq_ack - Acknowledge the interrupt of a gpio pin SYNOPSIS void zynq_gpio_irq_ack (struct irq_data *irq_data ); ARGUMENTS irq_data irq data containing irq number of gpio pin for the interrupt to ack DESCRIPTION This function calculates gpio pin number from irq number and sets the bit in the Interru...
zynq_gpio_irq_enable(9)
NAME zynq_gpio_irq_enable - Enable the interrupts for a gpio pin SYNOPSIS void zynq_gpio_irq_enable (struct irq_data *irq_data ); ARGUMENTS irq_data irq data containing irq number of gpio pin for the interrupt to enable DESCRIPTION Clears the INTSTS bit and unmasks the given interrupt. SEE ALSO Kernel file ....
zynq_gpio_irq_mask(9)
NAME zynq_gpio_irq_mask - Disable the interrupts for a gpio pin SYNOPSIS void zynq_gpio_irq_mask (struct irq_data *irq_data ); ARGUMENTS irq_data per irq and chip data passed down to chip functions DESCRIPTION This function calculates gpio pin number from irq number and sets the bit in the Interrupt Disable regis...
zynq_gpio_irq_unmask(9)
NAME zynq_gpio_irq_unmask - Enable the interrupts for a gpio pin SYNOPSIS void zynq_gpio_irq_unmask (struct irq_data *irq_data ); ARGUMENTS irq_data irq data containing irq number of gpio pin for the interrupt to enable DESCRIPTION This function calculates the gpio pin number from irq number and sets the bit in t...
zynq_gpio_irqhandler(9)
NAME zynq_gpio_irqhandler - IRQ handler for the gpio banks of a gpio device SYNOPSIS void zynq_gpio_irqhandler (struct irq_desc *desc ); ARGUMENTS desc irq descriptor instance of the 'irq' DESCRIPTION This function reads the Interrupt Status Register of each bank to get the gpio pin number which has trigger...
zynq_gpio_is_zynq(9)
NAME zynq_gpio_is_zynq - test if HW is zynq or zynqmp SYNOPSIS int zynq_gpio_is_zynq (struct zynq_gpio *gpio ); ARGUMENTS gpio Pointer to driver data struct RETURN 0 if zynqmp, 1 if zynq. SEE ALSO Kernel file ./drivers/gpio/gpio-zynq.c struct zynq_gpio(9), struct zynq_platform_data(9), gpio_data_r...
zynq_gpio_probe(9)
NAME zynq_gpio_probe - Initialization method for a zynq_gpio device SYNOPSIS int zynq_gpio_probe (struct platform_device *pdev ); ARGUMENTS pdev platform device instance DESCRIPTION This function allocates memory resources for the gpio device and registers all the banks of the device. It will also set up inte...
zynq_gpio_remove(9)
NAME zynq_gpio_remove - Driver removal function SYNOPSIS void zynq_gpio_remove (struct platform_device *pdev ); ARGUMENTS pdev platform device instance RETURN 0 always SEE ALSO Kernel file ./drivers/gpio/gpio-zynq.c struct zynq_gpio(9), struct zynq_platform_data(9), zynq_gpio_is_zynq(9), gpio_data...
zynq_gpio_set_irq_type(9)
NAME zynq_gpio_set_irq_type - Set the irq type for a gpio pin SYNOPSIS int zynq_gpio_set_irq_type (struct irq_data *irq_data , unsigned int type ); ARGUMENTS irq_data irq data containing irq number of gpio pin type interrupt type that is to be set for the gpio pin DESCRIPTION This function gets the...
zynq_gpio_set_value(9)
NAME zynq_gpio_set_value - Modify the state of the pin with specified value SYNOPSIS int zynq_gpio_set_value (struct gpio_chip *chip , unsigned int pin , int state ); ARGUMENTS chip gpio_chip instance to be worked on pin gpio pin number within the device state value used to modify...
zynq_init_machine(9)
NAME zynq_init_machine - System specific initialization, intended to be called from board specific initialization. SYNOPSIS void zynq_init_machine (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/arm/mach-zynq/common.c zynq_memory_init(9), zynq_get_revision(9), zynq_map_io(9) April 2026 ...
zynq_map_io(9)
NAME zynq_map_io - Create memory mappings needed for early I/O. SYNOPSIS void zynq_map_io (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/arm/mach-zynq/common.c zynq_memory_init(9), zynq_get_revision(9), zynq_init_machine(9) April 2026 ...
zynq_memory_init(9)
NAME zynq_memory_init - Initialize special memory SYNOPSIS void zynq_memory_init (void ); ARGUMENTS void no arguments DESCRIPTION We need to stop things allocating the low memory as DMA can't work in the 1st 512K of memory. SEE ALSO Kernel file ./arch/arm/mach-zynq/common.c zynq_get_revision(9), zynq_init_ma...
zynq_pll_disable(9)
NAME zynq_pll_disable - Disable clock SYNOPSIS void zynq_pll_disable (struct clk_hw *hw ); ARGUMENTS hw Handle between common and hardware-specific interfaces Returns 0 on success SEE ALSO Kernel file ./drivers/clk/zynq/pll.c struct zynq_pll(9), zynq_pll_recalc_rate(9), zynq_pll_is_enabled(9), zynq_pll_enab...
zynq_pll_enable(9)
NAME zynq_pll_enable - Enable clock SYNOPSIS int zynq_pll_enable (struct clk_hw *hw ); ARGUMENTS hw Handle between common and hardware-specific interfaces RETURN 0 on success SEE ALSO Kernel file ./drivers/clk/zynq/pll.c struct zynq_pll(9), zynq_pll_recalc_rate(9), zynq_pll_is_enabled(9), zynq_pll_disable(...
zynq_pll_is_enabled(9)
NAME zynq_pll_is_enabled - Check if a clock is enabled SYNOPSIS int zynq_pll_is_enabled (struct clk_hw *hw ); ARGUMENTS hw Handle between common and hardware-specific interfaces RETURN 1 if the clock is enabled, 0 otherwise. DESCRIPTION Not sure this is a good idea, but since disabled means bypassed for th...
zynq_pll_recalc_rate(9)
NAME zynq_pll_recalc_rate - Recalculate clock frequency SYNOPSIS unsigned long zynq_pll_recalc_rate (struct clk_hw *hw , unsigned long parent_rate ); ARGUMENTS hw Handle between common and hardware-specific interfaces parent_rate Clock frequency of parent clock RETURN current clock frequency. SEE A...
zynq_pm_ioremap(9)
NAME zynq_pm_ioremap - Create IO mappings SYNOPSIS void __iomem * zynq_pm_ioremap (const char *comp ); ARGUMENTS comp DT compatible string RETURN Pointer to the mapped memory or NULL. DESCRIPTION Remap the memory region for a compatible DT node. SEE ALSO Kernel file ./arch/arm/mach-zynq/pm.c zynq_pm_late_in...
zynq_pm_late_init(9)
NAME zynq_pm_late_init - Power management init SYNOPSIS void zynq_pm_late_init (void ); ARGUMENTS void no arguments DESCRIPTION Initialization of power management related features and infrastructure. SEE ALSO Kernel file ./arch/arm/mach-zynq/pm.c zynq_pm_ioremap(9) April 2026 ...
zynq_qspi_chipselect(9)
NAME zynq_qspi_chipselect - Select or deselect the chip select line SYNOPSIS void zynq_qspi_chipselect (struct spi_device *spi , bool assert ); ARGUMENTS spi Pointer to the spi_device structure assert 1 for select or 0 for deselect the chip select line SEE ALSO Kernel file ./drivers/spi/spi-...
zynq_qspi_config_op(9)
NAME zynq_qspi_config_op - Configure QSPI controller for specified transfer SYNOPSIS int zynq_qspi_config_op (struct zynq_qspi *xqspi , struct spi_device *spi , const struct spi_mem_op *op ); ARGUMENTS xqspi Pointer to the zynq_qspi structure spi Pointer to the spi_device structure op ...
zynq_qspi_exec_mem_op(9)
NAME zynq_qspi_exec_mem_op - Initiates the QSPI transfer SYNOPSIS int zynq_qspi_exec_mem_op (struct spi_mem *mem , const struct spi_mem_op *op ); ARGUMENTS mem the SPI memory op the memory operation to execute DESCRIPTION Executes a memory operation. This function first selects the chip and...
zynq_qspi_init_hw(9)
NAME zynq_qspi_init_hw - Initialize the hardware SYNOPSIS void zynq_qspi_init_hw (struct zynq_qspi *xqspi , unsigned int num_cs ); ARGUMENTS xqspi Pointer to the zynq_qspi structure num_cs Number of connected CS (to enable dual memories if needed) DESCRIPTION The default settings of the QSPI con...
zynq_qspi_irq(9)
NAME zynq_qspi_irq - Interrupt service routine of the QSPI controller SYNOPSIS irqreturn_t zynq_qspi_irq (int irq , void *dev_id ); ARGUMENTS irq IRQ number dev_id Pointer to the xqspi structure DESCRIPTION This function handles TX empty only. On TX empty interrupt this function reads the recei...
zynq_qspi_probe(9)
NAME zynq_qspi_probe - Probe method for the QSPI driver SYNOPSIS int zynq_qspi_probe (struct platform_device *pdev ); ARGUMENTS pdev Pointer to the platform_device structure DESCRIPTION This function initializes the driver data structures and the hardware. RETURN 0 on success and error value on failure SEE ...
zynq_qspi_read_op(9)
NAME zynq_qspi_read_op - Drains the RX FIFO by as many bytes as possible SYNOPSIS void zynq_qspi_read_op (struct zynq_qspi *xqspi , int rxcount ); ARGUMENTS xqspi Pointer to the zynq_qspi structure rxcount Maximum number of words to read SEE ALSO Kernel file ./drivers/spi/spi-zynq-qspi.c stru...
zynq_qspi_remove(9)
NAME zynq_qspi_remove - Remove method for the QSPI driver SYNOPSIS void zynq_qspi_remove (struct platform_device *pdev ); ARGUMENTS pdev Pointer to the platform_device structure DESCRIPTION This function is called if a device is physically removed from the system or if the driver module is being unloaded. It ...
zynq_qspi_rxfifo_op(9)
NAME zynq_qspi_rxfifo_op - Read 1..4 bytes from RxFIFO to RX buffer SYNOPSIS void zynq_qspi_rxfifo_op (struct zynq_qspi *xqspi , unsigned int size ); ARGUMENTS xqspi Pointer to the zynq_qspi structure size Number of bytes to be read (1..4) SEE ALSO Kernel file ./drivers/spi/spi-zynq-qspi.c ...
zynq_qspi_setup_op(9)
NAME zynq_qspi_setup_op - Configure the QSPI controller SYNOPSIS int zynq_qspi_setup_op (struct spi_device *spi ); ARGUMENTS spi Pointer to the spi_device structure DESCRIPTION Sets the operational mode of QSPI controller for the next QSPI transfer, baud rate and divisor value to setup the requested qspi clo...
zynq_qspi_txfifo_op(9)
NAME zynq_qspi_txfifo_op - Write 1..4 bytes from TX buffer to TxFIFO SYNOPSIS void zynq_qspi_txfifo_op (struct zynq_qspi *xqspi , unsigned int size ); ARGUMENTS xqspi Pointer to the zynq_qspi structure size Number of bytes to be written (1..4) SEE ALSO Kernel file ./drivers/spi/spi-zynq-qspi...
zynq_qspi_write_op(9)
NAME zynq_qspi_write_op - Fills the TX FIFO with as many bytes as possible SYNOPSIS void zynq_qspi_write_op (struct zynq_qspi *xqspi , int txcount , bool txempty ); ARGUMENTS xqspi Pointer to the zynq_qspi structure txcount Maximum number of words to write txempty Indicates that TxFIFO i...
zynq_secondary_init(9)
NAME zynq_secondary_init - Initialize secondary CPU cores SYNOPSIS void zynq_secondary_init (unsigned int cpu ); ARGUMENTS cpu CPU that is initialized DESCRIPTION This function is in the hotplug path. Don't move it into the init section!! SEE ALSO Kernel file ./arch/arm/mach-zynq/platsmp.c zynq_cpu_die(9) ...
zynq_slcr_cpu_start(9)
NAME zynq_slcr_cpu_start - Start cpu SYNOPSIS void zynq_slcr_cpu_start (int cpu ); ARGUMENTS cpu cpu number SEE ALSO Kernel file ./arch/arm/mach-zynq/slcr.c zynq_slcr_write(9), zynq_slcr_read(9), zynq_slcr_unlock(9), zynq_slcr_get_device_id(9), zynq_slcr_system_restart(9), zynq_slcr_cpu_stop(9), ...
zynq_slcr_cpu_state_read(9)
NAME zynq_slcr_cpu_state_read - Read cpu state SYNOPSIS bool zynq_slcr_cpu_state_read (int cpu ); ARGUMENTS cpu cpu number DESCRIPTION SLCR_REBOOT_STATUS save upper 2 bits (31/30 cpu states for cpu0 and cpu1) 0 means cpu is running, 1 cpu is going to die. RETURN true if cpu is running, false if cpu is going...
zynq_slcr_cpu_state_write(9)
NAME zynq_slcr_cpu_state_write - Write cpu state SYNOPSIS void zynq_slcr_cpu_state_write (int cpu , bool die ); ARGUMENTS cpu cpu number die cpu state - true if cpu is going to die DESCRIPTION SLCR_REBOOT_STATUS save upper 2 bits (31/30 cpu states for cpu0 and cpu1) 0 means cpu is running, 1 ...
zynq_slcr_cpu_stop(9)
NAME zynq_slcr_cpu_stop - Stop cpu SYNOPSIS void zynq_slcr_cpu_stop (int cpu ); ARGUMENTS cpu cpu number SEE ALSO Kernel file ./arch/arm/mach-zynq/slcr.c zynq_slcr_write(9), zynq_slcr_read(9), zynq_slcr_unlock(9), zynq_slcr_get_device_id(9), zynq_slcr_system_restart(9), zynq_slcr_cpu_start(9), zy...
zynq_slcr_get_device_id(9)
NAME zynq_slcr_get_device_id - Read device code id SYNOPSIS u32 zynq_slcr_get_device_id (void ); ARGUMENTS void no arguments RETURN Device code id SEE ALSO Kernel file ./arch/arm/mach-zynq/slcr.c zynq_slcr_write(9), zynq_slcr_read(9), zynq_slcr_unlock(9), zynq_slcr_system_restart(9), zynq_slcr_...
zynq_slcr_read(9)
NAME zynq_slcr_read - Read a register in SLCR block SYNOPSIS int zynq_slcr_read (u32 *val , u32 offset ); ARGUMENTS val Pointer to value to be read from SLCR offset Register offset in SLCR block RETURN a negative value on error, 0 on success SEE ALSO Kernel file ./arch/arm/mach-zynq/slcr.c z...
zynq_slcr_system_restart(9)
NAME zynq_slcr_system_restart - Restart the entire system. SYNOPSIS int zynq_slcr_system_restart (struct notifier_block *nb , unsigned long action , void *data ); ARGUMENTS nb Pointer to restart notifier block (unused) action Reboot mode (unused) data Restart handler private data ...
zynq_slcr_unlock(9)
NAME zynq_slcr_unlock - Unlock SLCR registers SYNOPSIS int zynq_slcr_unlock (void ); ARGUMENTS void no arguments RETURN a negative value on error, 0 on success SEE ALSO Kernel file ./arch/arm/mach-zynq/slcr.c zynq_slcr_write(9), zynq_slcr_read(9), zynq_slcr_get_device_id(9), zynq_slcr_system_restart(9...
zynq_slcr_write(9)
NAME zynq_slcr_write - Write to a register in SLCR block SYNOPSIS int zynq_slcr_write (u32 val , u32 offset ); ARGUMENTS val Value to write to the register offset Register offset in SLCR block RETURN a negative value on error, 0 on success SEE ALSO Kernel file ./arch/arm/mach-zynq/slcr.c zyn...
zynqmp_clk_divider_determine_rate(9)
NAME zynqmp_clk_divider_determine_rate - Determine rate of divider clock SYNOPSIS int zynqmp_clk_divider_determine_rate (struct clk_hw *hw , struct clk_rate_request *req ); ARGUMENTS hw handle between common and hardware-specific interfaces req rate of clock to be set RETURN 0 on success els...
zynqmp_clk_divider_recalc_rate(9)
NAME zynqmp_clk_divider_recalc_rate - Recalc rate of divider clock SYNOPSIS unsigned long zynqmp_clk_divider_recalc_rate (struct clk_hw *hw , unsigned long parent_rate ); ARGUMENTS hw handle between common and hardware-specific interfaces parent_rate rate of parent clock RETURN 0 on success else err...
zynqmp_clk_divider_set_rate(9)
NAME zynqmp_clk_divider_set_rate - Set rate of divider clock SYNOPSIS int zynqmp_clk_divider_set_rate (struct clk_hw *hw , unsigned long rate , unsigned long parent_rate ); ARGUMENTS hw handle between common and hardware-specific interfaces rate rate of clock to be set parent_rate rate...
zynqmp_clk_gate_enable(9)
NAME zynqmp_clk_gate_enable - Enable clock SYNOPSIS int zynqmp_clk_gate_enable (struct clk_hw *hw ); ARGUMENTS hw handle between common and hardware-specific interfaces RETURN 0 on success else error code SEE ALSO Kernel file ./drivers/clk/zynqmp/clk-gate-zynqmp.c struct zynqmp_clk_gate(9), zynqmp_clk_gate...
zynqmp_clk_gate_is_enabled(9)
NAME zynqmp_clk_gate_is_enabled - Check clock state SYNOPSIS int zynqmp_clk_gate_is_enabled (struct clk_hw *hw ); ARGUMENTS hw handle between common and hardware-specific interfaces RETURN 1 if enabled, 0 if disabled else error code SEE ALSO Kernel file ./drivers/clk/zynqmp/clk-gate-zynqmp.c struct zynqmp_...
zynqmp_clk_get_max_divisor(9)
NAME zynqmp_clk_get_max_divisor - Get maximum supported divisor from firmware. SYNOPSIS u32 zynqmp_clk_get_max_divisor (u32 clk_id , u32 type ); ARGUMENTS clk_id Id of clock type Divider type RETURN Maximum divisor of a clock if query data is successful U16_MAX in case of query data is not succes...
zynqmp_clk_mux_get_parent(9)
NAME zynqmp_clk_mux_get_parent - Get parent of clock SYNOPSIS u8 zynqmp_clk_mux_get_parent (struct clk_hw *hw ); ARGUMENTS hw handle between common and hardware-specific interfaces RETURN Parent index on success or number of parents in case of error SEE ALSO Kernel file ./drivers/clk/zynqmp/clk-mux-zynqmp....
zynqmp_clk_mux_set_parent(9)
NAME zynqmp_clk_mux_set_parent - Set parent of clock SYNOPSIS int zynqmp_clk_mux_set_parent (struct clk_hw *hw , u8 index ); ARGUMENTS hw handle between common and hardware-specific interfaces index Parent index RETURN 0 on success else error+reason SEE ALSO Kernel file ./drivers/clk/zynqmp/c...
zynqmp_clk_register_divider(9)
NAME zynqmp_clk_register_divider - Register a divider clock SYNOPSIS struct clk_hw * zynqmp_clk_register_divider (const char *name , u32 clk_id , const char * const *parents , u8 num_parents , const struct clock_topology *nodes ); ARGUMENTS name Name of this clock clk_id Id of clock parent...
zynqmp_clk_register_fixed_factor(9)
NAME zynqmp_clk_register_fixed_factor - Register fixed factor with the clock framework SYNOPSIS struct clk_hw * zynqmp_clk_register_fixed_factor (const char *name , u32 clk_id , const char * const *parents , u8 num_parents , const struct clock_topology *nodes ); ARGUMENTS name Name of this clock clk_id...
zynqmp_clk_register_gate(9)
NAME zynqmp_clk_register_gate - Register a gate clock with the clock framework SYNOPSIS struct clk_hw * zynqmp_clk_register_gate (const char *name , u32 clk_id , const char * const *parents , u8 num_parents , const struct clock_topology *nodes ); ARGUMENTS name Name of this clock clk_id Id of this...
zynqmp_clk_register_mux(9)
NAME zynqmp_clk_register_mux - Register a mux table with the clock framework SYNOPSIS struct clk_hw * zynqmp_clk_register_mux (const char *name , u32 clk_id , const char * const *parents , u8 num_parents , const struct clock_topology *nodes ); ARGUMENTS name Name of this clock clk_id Id of this cl...
zynqmp_clk_register_pll(9)
NAME zynqmp_clk_register_pll - Register PLL with the clock framework SYNOPSIS struct clk_hw * zynqmp_clk_register_pll (const char *name , u32 clk_id , const char * const *parents , u8 num_parents , const struct clock_topology *nodes ); ARGUMENTS name PLL name clk_id Clock ID parents Na...
zynqmp_clk_setup(9)
NAME zynqmp_clk_setup - Setup the clock framework and register clocks SYNOPSIS int zynqmp_clk_setup (struct device_node *np ); ARGUMENTS np Device node RETURN 0 on success else error code SEE ALSO Kernel file ./drivers/clk/zynqmp/clkc.c struct clock_parent(9), struct zynqmp_clock(9), zynqmp_is_...
zynqmp_clock_get_parents(9)
NAME zynqmp_clock_get_parents - Get parents info from firmware using PM_API SYNOPSIS int zynqmp_clock_get_parents (u32 clk_id , struct clock_parent *parents , u32 *num_parents ); ARGUMENTS clk_id Clock index parents Clock parents num_parents Total number of parents RETURN 0 on success else e...
zynqmp_clock_get_topology(9)
NAME zynqmp_clock_get_topology - Get topology of clock from firmware using PM_API SYNOPSIS int zynqmp_clock_get_topology (u32 clk_id , struct clock_topology *topology , u32 *num_nodes ); ARGUMENTS clk_id Clock index topology Clock topology num_nodes Number of nodes RETURN 0 on success else ...
zynqmp_disp_avbuf_disable(9)
NAME zynqmp_disp_avbuf_disable - Disable the video pipe SYNOPSIS void zynqmp_disp_avbuf_disable (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller DESCRIPTION Assert the video pipe reset. SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_layer_mode(9), struct zynqmp_di...
zynqmp_disp_avbuf_disable_audio(9)
NAME zynqmp_disp_avbuf_disable_audio - Disable audio SYNOPSIS void zynqmp_disp_avbuf_disable_audio (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller DESCRIPTION Disable all audio buffers. SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_layer_mode(9), struct zynqmp_d...
zynqmp_disp_avbuf_disable_channels(9)
NAME zynqmp_disp_avbuf_disable_channels - Disable buffer channels SYNOPSIS void zynqmp_disp_avbuf_disable_channels (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller DESCRIPTION Disable all (video and audio) buffer channels. SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_...
zynqmp_disp_avbuf_disable_video(9)
NAME zynqmp_disp_avbuf_disable_video - Disable a video layer SYNOPSIS void zynqmp_disp_avbuf_disable_video (struct zynqmp_disp *disp , struct zynqmp_disp_layer *layer ); ARGUMENTS disp Display controller layer The layer DESCRIPTION Disable the video/graphics buffer for layer. SEE ALSO Kernel f...
zynqmp_disp_avbuf_enable(9)
NAME zynqmp_disp_avbuf_enable - Enable the video pipe SYNOPSIS void zynqmp_disp_avbuf_enable (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller DESCRIPTION De-assert the video pipe reset. SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_layer_mode(9), struct zynqmp_di...
zynqmp_disp_avbuf_enable_audio(9)
NAME zynqmp_disp_avbuf_enable_audio - Enable audio SYNOPSIS void zynqmp_disp_avbuf_enable_audio (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller DESCRIPTION Enable all audio buffers with a non-live (memory) source. SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_la...
zynqmp_disp_avbuf_enable_channels(9)
NAME zynqmp_disp_avbuf_enable_channels - Enable buffer channels SYNOPSIS void zynqmp_disp_avbuf_enable_channels (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller DESCRIPTION Enable all (video and audio) buffer channels. SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsu...
zynqmp_disp_avbuf_enable_video(9)
NAME zynqmp_disp_avbuf_enable_video - Enable a video layer SYNOPSIS void zynqmp_disp_avbuf_enable_video (struct zynqmp_disp *disp , struct zynqmp_disp_layer *layer ); ARGUMENTS disp Display controller layer The layer DESCRIPTION Enable the video/graphics buffer for layer. SEE ALSO Kernel file ...
zynqmp_disp_avbuf_set_clocks_sources(9)
NAME zynqmp_disp_avbuf_set_clocks_sources - Set the clocks sources SYNOPSIS void zynqmp_disp_avbuf_set_clocks_sources (struct zynqmp_disp *disp , bool video_from_ps , bool audio_from_ps , bool timings_internal ); ARGUMENTS disp Display controller video_from_ps True if the video clock...
zynqmp_disp_avbuf_set_format(9)
NAME zynqmp_disp_avbuf_set_format - Set the input format for a layer SYNOPSIS void zynqmp_disp_avbuf_set_format (struct zynqmp_disp *disp , struct zynqmp_disp_layer *layer , const struct zynqmp_disp_format *fmt ); ARGUMENTS disp Display controller layer The layer fmt The format in...
zynqmp_disp_blend_layer_disable(9)
NAME zynqmp_disp_blend_layer_disable - Disable a layer SYNOPSIS void zynqmp_disp_blend_layer_disable (struct zynqmp_disp *disp , struct zynqmp_disp_layer *layer ); ARGUMENTS disp Display controller layer The layer SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_laye...
zynqmp_disp_blend_layer_enable(9)
NAME zynqmp_disp_blend_layer_enable - Enable a layer SYNOPSIS void zynqmp_disp_blend_layer_enable (struct zynqmp_disp *disp , struct zynqmp_disp_layer *layer ); ARGUMENTS disp Display controller layer The layer SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_layer_m...
zynqmp_disp_blend_layer_set_csc(9)
NAME zynqmp_disp_blend_layer_set_csc - Configure colorspace conversion for layer SYNOPSIS void zynqmp_disp_blend_layer_set_csc (struct zynqmp_disp *disp , struct zynqmp_disp_layer *layer , const u16 *coeffs , const u32 *offsets ); ARGUMENTS disp Display controller layer The layer coeffs ...
zynqmp_disp_blend_set_bg_color(9)
NAME zynqmp_disp_blend_set_bg_color - Set the background color SYNOPSIS void zynqmp_disp_blend_set_bg_color (struct zynqmp_disp *disp , u32 rcr , u32 gy , u32 bcb ); ARGUMENTS disp Display controller rcr Red/Cr color component gy Green/Y color component bcb Blue...
zynqmp_disp_blend_set_global_alpha(9)
NAME zynqmp_disp_blend_set_global_alpha - Configure global alpha blending SYNOPSIS void zynqmp_disp_blend_set_global_alpha (struct zynqmp_disp *disp , bool enable , u32 alpha ); ARGUMENTS disp Display controller enable True to enable global alpha blending alpha Global alpha value (ig...
zynqmp_disp_blend_set_output_format(9)
NAME zynqmp_disp_blend_set_output_format - Set the output format of the blender SYNOPSIS void zynqmp_disp_blend_set_output_format (struct zynqmp_disp *disp , enum zynqmp_dpsub_format format ); ARGUMENTS disp Display controller format Output format DESCRIPTION Set the output format of the blender ...
zynqmp_disp_create_layers(9)
NAME zynqmp_disp_create_layers - Create and initialize all layers SYNOPSIS int zynqmp_disp_create_layers (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller RETURN 0 on success, or the DMA channel request error otherwise SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub...
zynqmp_disp_destroy_layers(9)
NAME zynqmp_disp_destroy_layers - Destroy all layers SYNOPSIS void zynqmp_disp_destroy_layers (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_layer_mode(9), struct zynqmp_disp_format(9), struct zynqmp_disp_layer_dma(9...
zynqmp_disp_disable(9)
NAME zynqmp_disp_disable - Disable the display controller SYNOPSIS void zynqmp_disp_disable (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_layer_mode(9), struct zynqmp_disp_format(9), struct zynqmp_disp_layer_dma(9),...
zynqmp_disp_enable(9)
NAME zynqmp_disp_enable - Enable the display controller SYNOPSIS void zynqmp_disp_enable (struct zynqmp_disp *disp ); ARGUMENTS disp Display controller SEE ALSO Kernel file ./drivers/gpu/drm/xlnx/zynqmp_disp.c enum zynqmp_dpsub_layer_mode(9), struct zynqmp_disp_format(9), struct zynqmp_disp_layer_dma(9), st...
zynqmp_disp_layer_disable(9)
NAME zynqmp_disp_layer_disable - Disable the layer SYNOPSIS void zynqmp_disp_layer_disable (struct zynqmp_disp_layer *layer ); ARGUMENTS layer The layer DESCRIPTION Disable the layer by stopping its DMA channels and disabling it in the audio/video buffer manager and the blender. SEE ALSO Kernel file ./drive...
zynqmp_disp_layer_drm_formats(9)
NAME zynqmp_disp_layer_drm_formats - Return the DRM formats supported by the layer SYNOPSIS u32 * zynqmp_disp_layer_drm_formats (struct zynqmp_disp_layer *layer , unsigned int *num_formats ); ARGUMENTS layer The layer num_formats Pointer to the returned number of formats NOTE This function doesn't make...
zynqmp_disp_layer_enable(9)
NAME zynqmp_disp_layer_enable - Enable a layer SYNOPSIS void zynqmp_disp_layer_enable (struct zynqmp_disp_layer *layer ); ARGUMENTS layer The layer DESCRIPTION Enable the layer in the audio/video buffer manager and the blender. DMA channels are started separately by zynqmp_disp_layer_update. SEE ALSO Kernel ...
zynqmp_disp_layer_find_format(9)
NAME zynqmp_disp_layer_find_format - Find format information for a DRM format SYNOPSIS const struct zynqmp_disp_format * zynqmp_disp_layer_find_format (struct zynqmp_disp_layer *layer , u32 drm_fmt ); ARGUMENTS layer The layer drm_fmt DRM format to search DESCRIPTION Search display subsystem format...
zynqmp_disp_layer_find_live_format(9)
NAME zynqmp_disp_layer_find_live_format - Find format information for given media bus format SYNOPSIS const struct zynqmp_disp_format * zynqmp_disp_layer_find_live_format (struct zynqmp_disp_layer *layer , u32 media_bus_format ); ARGUMENTS layer The layer media_bus_format Media bus fo...
zynqmp_disp_layer_release_dma(9)
NAME zynqmp_disp_layer_release_dma - Release DMA channels for a layer SYNOPSIS void zynqmp_disp_layer_release_dma (struct zynqmp_disp *disp , struct zynqmp_disp_layer *layer ); ARGUMENTS disp Display controller layer The layer DESCRIPTION Release the DMA channels associated with layer. SEE ALSO...
zynqmp_disp_layer_request_dma(9)
NAME zynqmp_disp_layer_request_dma - Request DMA channels for a layer SYNOPSIS int zynqmp_disp_layer_request_dma (struct zynqmp_disp *disp , struct zynqmp_disp_layer *layer ); ARGUMENTS disp Display controller layer The layer DESCRIPTION Request all DMA engine channels needed by layer. RETURN 0...
zynqmp_disp_layer_set_format(9)
NAME zynqmp_disp_layer_set_format - Set the layer format SYNOPSIS void zynqmp_disp_layer_set_format (struct zynqmp_disp_layer *layer , const struct drm_format_info *info ); ARGUMENTS layer The layer info The format info NOTE Use zynqmp_disp_layer_set_live_format to set media bus format for live ...
zynqmp_disp_layer_set_live_format(9)
NAME zynqmp_disp_layer_set_live_format - Set the live video layer format SYNOPSIS void zynqmp_disp_layer_set_live_format (struct zynqmp_disp_layer *layer , u32 media_bus_format ); ARGUMENTS layer The layer media_bus_format Media bus format to set NOTE This function should not be used...
zynqmp_disp_layer_update(9)
NAME zynqmp_disp_layer_update - Update the layer framebuffer SYNOPSIS int zynqmp_disp_layer_update (struct zynqmp_disp_layer *layer , struct drm_plane_state *state ); ARGUMENTS layer The layer state The plane state DESCRIPTION Update the framebuffer for the layer by issuing a new DMA engine trans...
zynqmp_disp_live_layer_formats(9)
NAME zynqmp_disp_live_layer_formats - Return the media bus formats supported by the live video layer SYNOPSIS u32 * zynqmp_disp_live_layer_formats (struct zynqmp_disp_layer *layer , unsigned int *num_formats ); ARGUMENTS layer The layer num_formats Pointer to the returned number of formats NOTE This fu...