id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
zl3073x_dev_out_is_enabled(9) | NAME zl3073x_dev_out_is_enabled - check if the given output is enabled
SYNOPSIS bool zl3073x_dev_out_is_enabled (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x device
index output index
RETURN true if the output is enabled, false otherwise
SEE ALSO Kernel file .... |
zl3073x_dev_out_synth_get(9) | NAME zl3073x_dev_out_synth_get - get synth connected to given output
SYNOPSIS u8 zl3073x_dev_out_synth_get (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x device
index output index
RETURN index of synth connected to given output.
SEE ALSO Kernel file ./drivers/d... |
zl3073x_dev_output_pin_freq_get(9) | NAME zl3073x_dev_output_pin_freq_get - get output pin frequency
SYNOPSIS u32 zl3073x_dev_output_pin_freq_get (struct zl3073x_dev *zldev , u8 id );
ARGUMENTS zldev pointer to zl3073x device
id output pin id
DESCRIPTION Computes the output pin frequency based on the synth frequency, output divis... |
zl3073x_dev_output_pin_is_enabled(9) | NAME zl3073x_dev_output_pin_is_enabled - check if the given output pin is enabled
SYNOPSIS bool zl3073x_dev_output_pin_is_enabled (struct zl3073x_dev *zldev , u8 id );
ARGUMENTS zldev pointer to zl3073x device
id output pin id
DESCRIPTION Checks if the output of the given output pin is enabled... |
zl3073x_dev_phase_meas_setup(9) | NAME zl3073x_dev_phase_meas_setup - setup phase offset measurement
SYNOPSIS int zl3073x_dev_phase_meas_setup (struct zl3073x_dev *zldev );
ARGUMENTS zldev pointer to zl3073x_dev structure
DESCRIPTION Enable phase offset measurement block, set measurement averaging factor and enable DPLL-to-its-ref phase measur... |
zl3073x_dev_probe(9) | NAME zl3073x_dev_probe - initialize zl3073x device
SYNOPSIS int zl3073x_dev_probe (struct zl3073x_dev *zldev , const struct zl3073x_chip_info *chip_info );
ARGUMENTS zldev pointer to zl3073x device
chip_info chip info based on compatible
DESCRIPTION Common initialization of zl3073x device structure.
... |
zl3073x_dev_ref_freq_get(9) | NAME zl3073x_dev_ref_freq_get - get input reference frequency
SYNOPSIS u32 zl3073x_dev_ref_freq_get (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x device
index input reference index
RETURN frequency of given input reference
SEE ALSO Kernel file ./drivers/dpll/z... |
zl3073x_dev_ref_is_diff(9) | NAME zl3073x_dev_ref_is_diff - check if the given input reference is differential
SYNOPSIS bool zl3073x_dev_ref_is_diff (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x device
index input reference index
RETURN true if reference is differential, false if reference is si... |
zl3073x_dev_start(9) | NAME zl3073x_dev_start - Start normal operation
SYNOPSIS int zl3073x_dev_start (struct zl3073x_dev *zldev , bool full );
ARGUMENTS zldev zl3073x device pointer
full perform full initialization
DESCRIPTION The function starts normal operation, which means registering all DPLLs and their pins... |
zl3073x_dev_stop(9) | NAME zl3073x_dev_stop - Stop normal operation
SYNOPSIS void zl3073x_dev_stop (struct zl3073x_dev *zldev );
ARGUMENTS zldev zl3073x device pointer
DESCRIPTION The function stops the normal operation that mean deregistration of all DPLLs and their pins and stop monitoring.
RETURN 0 on success, <0 on error
SEE ... |
zl3073x_dev_synth_freq_get(9) | NAME zl3073x_dev_synth_freq_get - get synth current freq
SYNOPSIS u32 zl3073x_dev_synth_freq_get (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x device
index synth index
RETURN frequency of given synthetizer
SEE ALSO Kernel file ./drivers/dpll/zl3073x/core.h ... |
zl3073x_devlink_flash_finish(9) | NAME zl3073x_devlink_flash_finish - Leave flash mode and resume normal operation
SYNOPSIS int zl3073x_devlink_flash_finish (struct zl3073x_dev *zldev , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device pointer
extack netlink extack pointer to report errors
DESCRIPTION The function s... |
zl3073x_devlink_flash_prepare(9) | NAME zl3073x_devlink_flash_prepare - Prepare and enter flash mode
SYNOPSIS int zl3073x_devlink_flash_prepare (struct zl3073x_dev *zldev , struct zl3073x_fw *zlfw , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device pointer
zlfw pointer to loaded firmware
extack netlink ... |
zl3073x_devlink_flash_update(9) | NAME zl3073x_devlink_flash_update - Devlink flash update callback
SYNOPSIS int zl3073x_devlink_flash_update (struct devlink *devlink , struct devlink_flash_update_params *params , struct netlink_ext_ack *extack );
ARGUMENTS devlink devlink structure pointer
params flashing parameters pointer
... |
zl3073x_devlink_info_get(9) | NAME zl3073x_devlink_info_get - Devlink device info callback
SYNOPSIS int zl3073x_devlink_info_get (struct devlink *devlink , struct devlink_info_req *req , struct netlink_ext_ack *extack );
ARGUMENTS devlink devlink structure pointer
req devlink request pointer to store information
extack... |
zl3073x_devlink_register(9) | NAME zl3073x_devlink_register - register devlink instance and params
SYNOPSIS int zl3073x_devlink_register (struct zl3073x_dev *zldev );
ARGUMENTS zldev zl3073x device to register the devlink for
DESCRIPTION Register the devlink instance and parameters associated with the device.
RETURN 0 on success, <0 on er... |
zl3073x_devm_alloc(9) | NAME zl3073x_devm_alloc - allocates zl3073x device structure
SYNOPSIS struct zl3073x_dev * zl3073x_devm_alloc (struct device *dev );
ARGUMENTS dev pointer to device structure
DESCRIPTION Allocates zl3073x device structure as device resource.
RETURN pointer to zl3073x device on success, error pointer on erro... |
zl3073x_do_hwreg_op(9) | NAME zl3073x_do_hwreg_op - Perform HW register read/write operation
SYNOPSIS int zl3073x_do_hwreg_op (struct zl3073x_dev *zldev , u8 op );
ARGUMENTS zldev zl3073x device pointer
op operation to perform
DESCRIPTION Performs requested operation and waits for its completion.
RETURN 0 on success,... |
zl3073x_dpll_alloc(9) | NAME zl3073x_dpll_alloc - allocate DPLL device
SYNOPSIS struct zl3073x_dpll * zl3073x_dpll_alloc (struct zl3073x_dev *zldev , u8 ch );
ARGUMENTS zldev pointer to zl3073x device
ch DPLL channel number
DESCRIPTION Allocates DPLL device structure for given DPLL channel.
RETURN pointer to DPLL de... |
zl3073x_dpll_changes_check(9) | NAME zl3073x_dpll_changes_check - check for changes and send notifications
SYNOPSIS void zl3073x_dpll_changes_check (struct zl3073x_dpll *zldpll );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
DESCRIPTION Checks for changes on given DPLL device and its registered DPLL pins and sends notifications about th... |
zl3073x_dpll_connected_ref_get(9) | NAME zl3073x_dpll_connected_ref_get - get currently connected reference
SYNOPSIS int zl3073x_dpll_connected_ref_get (struct zl3073x_dpll *zldpll , u8 *ref );
ARGUMENTS zldpll pointer to zl3073x_dpll
ref place to store selected reference
DESCRIPTION Looks for currently connected the DPLL is locke... |
zl3073x_dpll_device_register(9) | NAME zl3073x_dpll_device_register - register DPLL device
SYNOPSIS int zl3073x_dpll_device_register (struct zl3073x_dpll *zldpll );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
DESCRIPTION Registers given DPLL device into DPLL sub-system.
RETURN 0 on success, <0 on error
SEE ALSO Kernel file ./drivers... |
zl3073x_dpll_device_unregister(9) | NAME zl3073x_dpll_device_unregister - unregister DPLL device
SYNOPSIS void zl3073x_dpll_device_unregister (struct zl3073x_dpll *zldpll );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
DESCRIPTION Unregisters given DPLL device from DPLL sub-system previously registered by zl3073x_dpll_device_register.
SEE ... |
zl3073x_dpll_free(9) | NAME zl3073x_dpll_free - free DPLL device
SYNOPSIS void zl3073x_dpll_free (struct zl3073x_dpll *zldpll );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
DESCRIPTION Deallocates given DPLL device previously allocated by zl3073x_dpll_alloc.
SEE ALSO Kernel file ./drivers/dpll/zl3073x/dpll.c struct zl307... |
zl3073x_dpll_init_fine_phase_adjust(9) | NAME zl3073x_dpll_init_fine_phase_adjust - do initial fine phase adjustments
SYNOPSIS int zl3073x_dpll_init_fine_phase_adjust (struct zl3073x_dev *zldev );
ARGUMENTS zldev pointer to zl3073x device
DESCRIPTION Performs initial fine phase adjustments needed per datasheet.
RETURN 0 on success, <0 on error
SEE ... |
zl3073x_dpll_is_input_pin(9) | NAME zl3073x_dpll_is_input_pin - check if the pin is input one
SYNOPSIS bool zl3073x_dpll_is_input_pin (struct zl3073x_dpll_pin *pin );
ARGUMENTS pin pin to check
RETURN true if pin is input, false if pin is output.
SEE ALSO Kernel file ./drivers/dpll/zl3073x/dpll.c struct zl3073x_dpll_pin(9), ... |
zl3073x_dpll_is_p_pin(9) | NAME zl3073x_dpll_is_p_pin - check if the pin is P-pin
SYNOPSIS bool zl3073x_dpll_is_p_pin (struct zl3073x_dpll_pin *pin );
ARGUMENTS pin pin to check
RETURN true if the pin is P-pin, false if it is N-pin
SEE ALSO Kernel file ./drivers/dpll/zl3073x/dpll.c struct zl3073x_dpll_pin(9), zl3073x_dpl... |
zl3073x_dpll_pin_alloc(9) | NAME zl3073x_dpll_pin_alloc - allocate DPLL pin
SYNOPSIS struct zl3073x_dpll_pin * zl3073x_dpll_pin_alloc (struct zl3073x_dpll *zldpll , enum dpll_pin_direction dir , u8 id );
ARGUMENTS zldpll pointer to zl3073x_dpll
dir pin direction
id pin id
DESCRIPTION Allocates and initiali... |
zl3073x_dpll_pin_ffo_check(9) | NAME zl3073x_dpll_pin_ffo_check - check for pin fractional frequency offset change
SYNOPSIS bool zl3073x_dpll_pin_ffo_check (struct zl3073x_dpll_pin *pin );
ARGUMENTS pin pin to check
DESCRIPTION Check for the given pin's fractional frequency change.
RETURN true on fractional frequency offset change, false ... |
zl3073x_dpll_pin_free(9) | NAME zl3073x_dpll_pin_free - deallocate DPLL pin
SYNOPSIS void zl3073x_dpll_pin_free (struct zl3073x_dpll_pin *pin );
ARGUMENTS pin pin to free
DESCRIPTION Deallocates DPLL pin previously allocated by zl3073x_dpll_pin_alloc.
SEE ALSO Kernel file ./drivers/dpll/zl3073x/dpll.c struct zl3073x_dpll_pin(9),... |
zl3073x_dpll_pin_is_registrable(9) | NAME zl3073x_dpll_pin_is_registrable - check if the pin is registrable
SYNOPSIS bool zl3073x_dpll_pin_is_registrable (struct zl3073x_dpll *zldpll , enum dpll_pin_direction dir , u8 index );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
dir pin direction
index pin index
DESCRIP... |
zl3073x_dpll_pin_phase_offset_check(9) | NAME zl3073x_dpll_pin_phase_offset_check - check for pin phase offset change
SYNOPSIS bool zl3073x_dpll_pin_phase_offset_check (struct zl3073x_dpll_pin *pin );
ARGUMENTS pin pin to check
DESCRIPTION Check for the change of DPLL to connected pin phase offset change.
RETURN true on phase offset change, false ... |
zl3073x_dpll_pin_register(9) | NAME zl3073x_dpll_pin_register - register DPLL pin
SYNOPSIS int zl3073x_dpll_pin_register (struct zl3073x_dpll_pin *pin , u32 index );
ARGUMENTS pin pointer to DPLL pin
index absolute pin index for registration
DESCRIPTION Registers given DPLL pin into DPLL sub-system.
RETURN 0 on success, <0 ... |
zl3073x_dpll_pin_unregister(9) | NAME zl3073x_dpll_pin_unregister - unregister DPLL pin
SYNOPSIS void zl3073x_dpll_pin_unregister (struct zl3073x_dpll_pin *pin );
ARGUMENTS pin pointer to DPLL pin
DESCRIPTION Unregisters pin previously registered by zl3073x_dpll_pin_register.
SEE ALSO Kernel file ./drivers/dpll/zl3073x/dpll.c struct z... |
zl3073x_dpll_pins_register(9) | NAME zl3073x_dpll_pins_register - register all registerable DPLL pins
SYNOPSIS int zl3073x_dpll_pins_register (struct zl3073x_dpll *zldpll );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
DESCRIPTION Enumerates all possible input/output pins and registers all of them that are registrable.
RETURN 0 on succ... |
zl3073x_dpll_pins_unregister(9) | NAME zl3073x_dpll_pins_unregister - unregister all registered DPLL pins
SYNOPSIS void zl3073x_dpll_pins_unregister (struct zl3073x_dpll *zldpll );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
DESCRIPTION Enumerates all DPLL pins registered to given DPLL device and unregisters them.
SEE ALSO Kernel file... |
zl3073x_dpll_ref_prio_get(9) | NAME zl3073x_dpll_ref_prio_get - get priority for given input pin
SYNOPSIS int zl3073x_dpll_ref_prio_get (struct zl3073x_dpll_pin *pin , u8 *prio );
ARGUMENTS pin pointer to pin
prio place to store priority
DESCRIPTION Reads current priority for the given input pin and stores the value to prio... |
zl3073x_dpll_ref_prio_set(9) | NAME zl3073x_dpll_ref_prio_set - set priority for given input pin
SYNOPSIS int zl3073x_dpll_ref_prio_set (struct zl3073x_dpll_pin *pin , u8 prio );
ARGUMENTS pin pointer to pin
prio place to store priority
DESCRIPTION Sets priority for the given input pin.
RETURN 0 on success, <0 on error
SE... |
zl3073x_dpll_ref_state_get(9) | NAME zl3073x_dpll_ref_state_get - get status for given input pin
SYNOPSIS int zl3073x_dpll_ref_state_get (struct zl3073x_dpll_pin *pin , enum dpll_pin_state *state );
ARGUMENTS pin pointer to pin
state place to store status
DESCRIPTION Checks current status for the given input pin and stores th... |
zl3073x_dpll_register(9) | NAME zl3073x_dpll_register - register DPLL device and all its pins
SYNOPSIS int zl3073x_dpll_register (struct zl3073x_dpll *zldpll );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
DESCRIPTION Registers given DPLL device and all its pins into DPLL sub-system.
RETURN 0 on success, <0 on error
SEE ALSO Kern... |
zl3073x_dpll_selected_ref_get(9) | NAME zl3073x_dpll_selected_ref_get - get currently selected reference
SYNOPSIS int zl3073x_dpll_selected_ref_get (struct zl3073x_dpll *zldpll , u8 *ref );
ARGUMENTS zldpll pointer to zl3073x_dpll
ref place to store selected reference
DESCRIPTION Check for currently selected reference the DPLL sh... |
zl3073x_dpll_selected_ref_set(9) | NAME zl3073x_dpll_selected_ref_set - select reference in manual mode
SYNOPSIS int zl3073x_dpll_selected_ref_set (struct zl3073x_dpll *zldpll , u8 ref );
ARGUMENTS zldpll pointer to zl3073x_dpll
ref input reference to be selected
DESCRIPTION Selects the given reference for the DPLL channel it sho... |
zl3073x_dpll_unregister(9) | NAME zl3073x_dpll_unregister - unregister DPLL device and its pins
SYNOPSIS void zl3073x_dpll_unregister (struct zl3073x_dpll *zldpll );
ARGUMENTS zldpll pointer to zl3073x_dpll structure
DESCRIPTION Unregisters given DPLL device and all its pins from DPLL sub-system previously registered by zl3073x_dpll_regist... |
zl3073x_flash_block(9) | NAME zl3073x_flash_block - Download and flash memory block
SYNOPSIS int zl3073x_flash_block (struct zl3073x_dev *zldev , const char *component , u32 operation , u32 page , u32 addr , const void *data , size_t size , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
component c... |
zl3073x_flash_cmd_wait(9) | NAME zl3073x_flash_cmd_wait - Perform flash operation and wait for finish
SYNOPSIS int zl3073x_flash_cmd_wait (struct zl3073x_dev *zldev , u32 operation , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
operation operation to perform
extack netlink extack pointe... |
zl3073x_flash_download(9) | NAME zl3073x_flash_download - Download image block to device memory
SYNOPSIS int zl3073x_flash_download (struct zl3073x_dev *zldev , const char *component , u32 addr , const void *data , size_t size , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
component name of the comp... |
zl3073x_flash_error_check(9) | NAME zl3073x_flash_error_check - Check for flash utility errors
SYNOPSIS int zl3073x_flash_error_check (struct zl3073x_dev *zldev , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
extack netlink extack pointer to report errors
DESCRIPTION The function checks for errors d... |
zl3073x_flash_get_sector_size(9) | NAME zl3073x_flash_get_sector_size - Get flash sector size
SYNOPSIS int zl3073x_flash_get_sector_size (struct zl3073x_dev *zldev , size_t *sector_size );
ARGUMENTS zldev zl3073x device structure
sector_size sector size returned by the function
DESCRIPTION The function reads the flash sector size detect... |
zl3073x_flash_mode_enter(9) | NAME zl3073x_flash_mode_enter - Switch the device to flash mode
SYNOPSIS int zl3073x_flash_mode_enter (struct zl3073x_dev *zldev , const void *util_ptr , size_t util_size , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
util_ptr buffer with flash utility
util_size ... |
zl3073x_flash_mode_leave(9) | NAME zl3073x_flash_mode_leave - Leave flash mode
SYNOPSIS int zl3073x_flash_mode_leave (struct zl3073x_dev *zldev , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
extack netlink extack pointer to report errors
DESCRIPTION The function instructs the device to leave t... |
zl3073x_flash_mode_verify(9) | NAME zl3073x_flash_mode_verify - Check flash utility
SYNOPSIS int zl3073x_flash_mode_verify (struct zl3073x_dev *zldev );
ARGUMENTS zldev zl3073x device structure
RETURN 0 if the flash utility is ready, <0 on error
SEE ALSO Kernel file ./drivers/dpll/zl3073x/flash.c zl3073x_flash_download(9), zl3073x_flas... |
zl3073x_flash_page(9) | NAME zl3073x_flash_page - Flash page
SYNOPSIS int zl3073x_flash_page (struct zl3073x_dev *zldev , const char *component , u32 page , u32 addr , const void *data , size_t size , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
component component name
page desti... |
zl3073x_flash_page_copy(9) | NAME zl3073x_flash_page_copy - Copy flash page
SYNOPSIS int zl3073x_flash_page_copy (struct zl3073x_dev *zldev , const char *component , u32 src_page , u32 dst_page , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
component component name
src_page source page to ... |
zl3073x_flash_sectors(9) | NAME zl3073x_flash_sectors - Flash sectors
SYNOPSIS int zl3073x_flash_sectors (struct zl3073x_dev *zldev , const char *component , u32 page , u32 addr , const void *data , size_t size , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
component component name
page ... |
zl3073x_flash_wait_ready(9) | NAME zl3073x_flash_wait_ready - Check or wait for utility to be ready to flash
SYNOPSIS int zl3073x_flash_wait_ready (struct zl3073x_dev *zldev , unsigned int timeout_ms );
ARGUMENTS zldev zl3073x device structure
timeout_ms timeout for the waiting
RETURN 0 on success, <0 on error
SEE ALSO Kernel f... |
zl3073x_fw_component_alloc(9) | NAME zl3073x_fw_component_alloc - Alloc structure to hold firmware component
SYNOPSIS struct zl3073x_fw_component * zl3073x_fw_component_alloc (size_t size );
ARGUMENTS size size of buffer to store data
RETURN pointer to allocated component structure or NULL on error.
SEE ALSO Kernel file ./drivers/dpll/zl30... |
zl3073x_fw_component_flash(9) | NAME zl3073x_fw_component_flash - Flash all components
SYNOPSIS int zl3073x_fw_component_flash (struct zl3073x_dev *zldev , struct zl3073x_fw_component *comp , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
comp pointer to components array
extack netlink e... |
zl3073x_fw_component_free(9) | NAME zl3073x_fw_component_free - Free allocated component structure
SYNOPSIS void zl3073x_fw_component_free (struct zl3073x_fw_component *comp );
ARGUMENTS comp pointer to allocated component
SEE ALSO Kernel file ./drivers/dpll/zl3073x/fw.c zl3073x_fw_component_alloc(9), zl3073x_fw_component_id_get(9), zl3073... |
zl3073x_fw_component_id_get(9) | NAME zl3073x_fw_component_id_get - Get ID for firmware component name
SYNOPSIS enum zl3073x_fw_component_id zl3073x_fw_component_id_get (const char *name );
ARGUMENTS name input firmware component name
RETURN - ZL3073X_FW_COMPONENT_* ID for known component name - ZL3073X_FW_COMPONENT_INVALID if the given name... |
zl3073x_fw_component_load(9) | NAME zl3073x_fw_component_load - Load component from firmware source
SYNOPSIS ssize_t zl3073x_fw_component_load (struct zl3073x_dev *zldev , struct zl3073x_fw_component **pcomp , const char **psrc , size_t *psize , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
pcomp po... |
zl3073x_fw_free(9) | NAME zl3073x_fw_free - Free allocated firmware
SYNOPSIS void zl3073x_fw_free (struct zl3073x_fw *fw );
ARGUMENTS fw firmware pointer
DESCRIPTION The function frees existing firmware allocated by zl3073x_fw_load.
SEE ALSO Kernel file ./drivers/dpll/zl3073x/fw.c zl3073x_fw_component_alloc(9), zl3073x_fw_comp... |
zl3073x_fw_load(9) | NAME zl3073x_fw_load - Load all components from source
SYNOPSIS struct zl3073x_fw * zl3073x_fw_load (struct zl3073x_dev *zldev , const char *data , size_t size , struct netlink_ext_ack *extack );
ARGUMENTS zldev zl3073x device structure
data source buffer pointer
size size of sourc... |
zl3073x_input_pin_ref_get(9) | NAME zl3073x_input_pin_ref_get - get reference for given input pin
SYNOPSIS u8 zl3073x_input_pin_ref_get (u8 id );
ARGUMENTS id input pin id
RETURN reference id for the given input pin
SEE ALSO Kernel file ./drivers/dpll/zl3073x/core.h struct zl3073x_dev(9), struct zl3073x_hwreg_seq_item(9), zl3073x... |
zl3073x_out_is_diff(9) | NAME zl3073x_out_is_diff - check if the given output is differential
SYNOPSIS bool zl3073x_out_is_diff (const struct zl3073x_out *out );
ARGUMENTS out pointer to out state
RETURN true if output is differential, false if output is single-ended
SEE ALSO Kernel file ./drivers/dpll/zl3073x/out.h struct zl3073x_... |
zl3073x_out_is_enabled(9) | NAME zl3073x_out_is_enabled - check if the given output is enabled
SYNOPSIS bool zl3073x_out_is_enabled (const struct zl3073x_out *out );
ARGUMENTS out pointer to out state
RETURN true if output is enabled, false if output is disabled
SEE ALSO Kernel file ./drivers/dpll/zl3073x/out.h struct zl3073x_out(9), ... |
zl3073x_out_is_ndiv(9) | NAME zl3073x_out_is_ndiv - check if the given output is in N-div mode
SYNOPSIS bool zl3073x_out_is_ndiv (const struct zl3073x_out *out );
ARGUMENTS out pointer to out state
RETURN true if output is in N-div mode, false otherwise
SEE ALSO Kernel file ./drivers/dpll/zl3073x/out.h struct zl3073x_out(9), zl3073... |
zl3073x_out_signal_format_get(9) | NAME zl3073x_out_signal_format_get - get output signal format
SYNOPSIS u8 zl3073x_out_signal_format_get (const struct zl3073x_out *out );
ARGUMENTS out pointer to out state
RETURN signal format of given output
SEE ALSO Kernel file ./drivers/dpll/zl3073x/out.h struct zl3073x_out(9), zl3073x_out_is_diff(9), z... |
zl3073x_out_state_fetch(9) | NAME zl3073x_out_state_fetch - fetch output state from hardware
SYNOPSIS int zl3073x_out_state_fetch (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x_dev structure
index output index to fetch state for
DESCRIPTION Function fetches state of the given output from hardware... |
zl3073x_out_state_get(9) | NAME zl3073x_out_state_get - get current output state
SYNOPSIS const struct zl3073x_out * zl3073x_out_state_get (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x_dev structure
index output index to get state for
RETURN pointer to given output state
SEE ALSO Kernel file ... |
zl3073x_out_synth_get(9) | NAME zl3073x_out_synth_get - get synth connected to given output
SYNOPSIS u8 zl3073x_out_synth_get (const struct zl3073x_out *out );
ARGUMENTS out pointer to out state
RETURN index of synth connected to given output.
SEE ALSO Kernel file ./drivers/dpll/zl3073x/out.h struct zl3073x_out(9), zl3073x_out_signal... |
zl3073x_output_pin_out_get(9) | NAME zl3073x_output_pin_out_get - get output for the given output pin
SYNOPSIS u8 zl3073x_output_pin_out_get (u8 id );
ARGUMENTS id output pin id
RETURN output id for the given output pin
SEE ALSO Kernel file ./drivers/dpll/zl3073x/core.h struct zl3073x_dev(9), struct zl3073x_hwreg_seq_it... |
zl3073x_pin_check_freq(9) | NAME zl3073x_pin_check_freq - verify frequency for given pin
SYNOPSIS bool zl3073x_pin_check_freq (struct zl3073x_dev *zldev , enum dpll_pin_direction dir , u8 id , u64 freq );
ARGUMENTS zldev pointer to zl3073x device
dir pin direction
id pin index
freq frequency... |
zl3073x_pin_props_get(9) | NAME zl3073x_pin_props_get - get pin properties
SYNOPSIS struct zl3073x_pin_props * zl3073x_pin_props_get (struct zl3073x_dev *zldev , enum dpll_pin_direction dir , u8 index );
ARGUMENTS zldev pointer to zl3073x device
dir pin direction
index pin index
DESCRIPTION The function l... |
zl3073x_pin_props_put(9) | NAME zl3073x_pin_props_put - release pin properties
SYNOPSIS void zl3073x_pin_props_put (struct zl3073x_pin_props *props );
ARGUMENTS props pin properties to free
DESCRIPTION The function deallocates given pin properties structure.
SEE ALSO Kernel file ./drivers/dpll/zl3073x/prop.c zl3073x_pin_check_freq(9), ... |
zl3073x_poll_zero_u8(9) | NAME zl3073x_poll_zero_u8 - wait for register to be cleared by device
SYNOPSIS int zl3073x_poll_zero_u8 (struct zl3073x_dev *zldev , unsigned int reg , u8 mask );
ARGUMENTS zldev zl3073x device pointer
reg register to poll (has to be 8bit register)
mask bit mask for polling
DESCR... |
zl3073x_prop_dpll_type_get(9) | NAME zl3073x_prop_dpll_type_get - get DPLL channel type
SYNOPSIS enum dpll_type zl3073x_prop_dpll_type_get (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x device
index DPLL channel index
RETURN DPLL type for given DPLL channel
SEE ALSO Kernel file ./drivers/dpll/zl307... |
zl3073x_prop_pin_fwnode_get(9) | NAME zl3073x_prop_pin_fwnode_get - get fwnode for given pin
SYNOPSIS int zl3073x_prop_pin_fwnode_get (struct zl3073x_dev *zldev , struct zl3073x_pin_props *props , enum dpll_pin_direction dir , u8 id );
ARGUMENTS zldev pointer to zl3073x device
props pointer to pin properties
dir p... |
zl3073x_prop_pin_package_label_set(9) | NAME zl3073x_prop_pin_package_label_set - get package label for the pin
SYNOPSIS void zl3073x_prop_pin_package_label_set (struct zl3073x_dev *zldev , struct zl3073x_pin_props *props , enum dpll_pin_direction dir , u8 id );
ARGUMENTS zldev pointer to zl3073x device
props pointer to pin properties
... |
zl3073x_read_hwreg(9) | NAME zl3073x_read_hwreg - Read HW register
SYNOPSIS int zl3073x_read_hwreg (struct zl3073x_dev *zldev , u32 addr , u32 *value );
ARGUMENTS zldev zl3073x device pointer
addr HW register address
value Value of the HW register
DESCRIPTION Reads HW register value and stores it into val... |
zl3073x_read_u16(9) | NAME zl3073x_read_u16 - read value from 16bit register
SYNOPSIS int zl3073x_read_u16 (struct zl3073x_dev *zldev , unsigned int reg , u16 *val );
ARGUMENTS zldev zl3073x device pointer
reg register to write to
val value to write
DESCRIPTION Reads value from given 16bit register.
... |
zl3073x_read_u32(9) | NAME zl3073x_read_u32 - read value from 32bit register
SYNOPSIS int zl3073x_read_u32 (struct zl3073x_dev *zldev , unsigned int reg , u32 *val );
ARGUMENTS zldev zl3073x device pointer
reg register to write to
val value to write
DESCRIPTION Reads value from given 32bit register.
... |
zl3073x_read_u48(9) | NAME zl3073x_read_u48 - read value from 48bit register
SYNOPSIS int zl3073x_read_u48 (struct zl3073x_dev *zldev , unsigned int reg , u64 *val );
ARGUMENTS zldev zl3073x device pointer
reg register to write to
val value to write
DESCRIPTION Reads value from given 48bit register.
... |
zl3073x_read_u8(9) | NAME zl3073x_read_u8 - read value from 8bit register
SYNOPSIS int zl3073x_read_u8 (struct zl3073x_dev *zldev , unsigned int reg , u8 *val );
ARGUMENTS zldev zl3073x device pointer
reg register to write to
val value to write
DESCRIPTION Reads value from given 8bit register.
RETU... |
zl3073x_ref_ffo_get(9) | NAME zl3073x_ref_ffo_get - get current fractional frequency offset
SYNOPSIS s64 zl3073x_ref_ffo_get (const struct zl3073x_ref *ref );
ARGUMENTS ref pointer to ref state
RETURN the latest measured fractional frequency offset
SEE ALSO Kernel file ./drivers/dpll/zl3073x/ref.h struct zl3073x_ref(9), zl3073x_ref... |
zl3073x_ref_ffo_update(9) | NAME zl3073x_ref_ffo_update - update reference fractional frequency offsets
SYNOPSIS int zl3073x_ref_ffo_update (struct zl3073x_dev *zldev );
ARGUMENTS zldev pointer to zl3073x_dev structure
DESCRIPTION The function asks device to update fractional frequency offsets latch registers the latest measured values, ... |
zl3073x_ref_freq_factorize(9) | NAME zl3073x_ref_freq_factorize - factorize given frequency
SYNOPSIS int zl3073x_ref_freq_factorize (u32 freq , u16 *base , u16 *mult );
ARGUMENTS freq input frequency
base base frequency
mult multiplier
DESCRIPTION Checks if the given frequency can be factorized using one of the... |
zl3073x_ref_freq_get(9) | NAME zl3073x_ref_freq_get - get given input reference frequency
SYNOPSIS u32 zl3073x_ref_freq_get (const struct zl3073x_ref *ref );
ARGUMENTS ref pointer to ref state
RETURN frequency of the given input reference
SEE ALSO Kernel file ./drivers/dpll/zl3073x/ref.h struct zl3073x_ref(9), zl3073x_ref_ffo_get(9)... |
zl3073x_ref_freq_set(9) | NAME zl3073x_ref_freq_set - set given input reference frequency
SYNOPSIS int zl3073x_ref_freq_set (struct zl3073x_ref *ref , u32 freq );
ARGUMENTS ref pointer to ref state
freq frequency to be set
RETURN 0 on success, <0 when frequency cannot be factorized
SEE ALSO Kernel file ./drivers/dpll/... |
zl3073x_ref_is_diff(9) | NAME zl3073x_ref_is_diff - check if the given input reference is differential
SYNOPSIS bool zl3073x_ref_is_diff (const struct zl3073x_ref *ref );
ARGUMENTS ref pointer to ref state
RETURN true if reference is differential, false if reference is single-ended
SEE ALSO Kernel file ./drivers/dpll/zl3073x/ref.h ... |
zl3073x_ref_is_enabled(9) | NAME zl3073x_ref_is_enabled - check if the given input reference is enabled
SYNOPSIS bool zl3073x_ref_is_enabled (const struct zl3073x_ref *ref );
ARGUMENTS ref pointer to ref state
RETURN true if input refernce is enabled, false otherwise
SEE ALSO Kernel file ./drivers/dpll/zl3073x/ref.h struct zl3073x_ref... |
zl3073x_ref_is_status_ok(9) | NAME zl3073x_ref_is_status_ok - check the given input reference status
SYNOPSIS bool zl3073x_ref_is_status_ok (const struct zl3073x_ref *ref );
ARGUMENTS ref pointer to ref state
RETURN true if the status is ok, false otherwise
SEE ALSO Kernel file ./drivers/dpll/zl3073x/ref.h struct zl3073x_ref(9), zl3073x... |
zl3073x_ref_phase_offsets_update(9) | NAME zl3073x_ref_phase_offsets_update - update reference phase offsets
SYNOPSIS int zl3073x_ref_phase_offsets_update (struct zl3073x_dev *zldev , int channel );
ARGUMENTS zldev pointer to zl3073x_dev structure
channel DPLL channel number or -1
DESCRIPTION The function asks device to update phase... |
zl3073x_ref_state_fetch(9) | NAME zl3073x_ref_state_fetch - fetch input reference state from hardware
SYNOPSIS int zl3073x_ref_state_fetch (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x_dev structure
index input reference index to fetch state for
DESCRIPTION Function fetches state for the given i... |
zl3073x_ref_state_get(9) | NAME zl3073x_ref_state_get - get current input reference state
SYNOPSIS const struct zl3073x_ref * zl3073x_ref_state_get (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x_dev structure
index input reference index to get state for
RETURN pointer to given input reference s... |
zl3073x_synth_dpll_get(9) | NAME zl3073x_synth_dpll_get - get DPLL ID the synth is driven by
SYNOPSIS u8 zl3073x_synth_dpll_get (const struct zl3073x_synth *synth );
ARGUMENTS synth pointer to synth state
RETURN ID of DPLL the given synthetizer is driven by
SEE ALSO Kernel file ./drivers/dpll/zl3073x/synth.h struct zl3073x_synth(9), zl3... |
zl3073x_synth_freq_get(9) | NAME zl3073x_synth_freq_get - get synth current freq
SYNOPSIS u32 zl3073x_synth_freq_get (const struct zl3073x_synth *synth );
ARGUMENTS synth pointer to synth state
RETURN frequency of given synthetizer
SEE ALSO Kernel file ./drivers/dpll/zl3073x/synth.h struct zl3073x_synth(9), zl3073x_synth_dpll_get(9), zl... |
zl3073x_synth_is_enabled(9) | NAME zl3073x_synth_is_enabled - check if the given synth is enabled
SYNOPSIS bool zl3073x_synth_is_enabled (const struct zl3073x_synth *synth );
ARGUMENTS synth pointer to synth state
RETURN true if synth is enabled, false otherwise
SEE ALSO Kernel file ./drivers/dpll/zl3073x/synth.h struct zl3073x_synth(9), ... |
zl3073x_synth_state_fetch(9) | NAME zl3073x_synth_state_fetch - fetch synth state from hardware
SYNOPSIS int zl3073x_synth_state_fetch (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x_dev structure
index synth index to fetch state for
DESCRIPTION Function fetches state of the given synthesizer from t... |
zl3073x_synth_state_get(9) | NAME zl3073x_synth_state_get - get current synth state
SYNOPSIS const struct zl3073x_synth * zl3073x_synth_state_get (struct zl3073x_dev *zldev , u8 index );
ARGUMENTS zldev pointer to zl3073x_dev structure
index synth index to get state for
RETURN pointer to given synth state
SEE ALSO Kernel fi... |
zl3073x_update_hwreg(9) | NAME zl3073x_update_hwreg - Update certain bits in HW register
SYNOPSIS int zl3073x_update_hwreg (struct zl3073x_dev *zldev , u32 addr , u32 value , u32 mask );
ARGUMENTS zldev zl3073x device pointer
addr HW register address
value Value to be written into HW register
mask ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.