id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
cdns_drd_update_mode(9) | NAME cdns_drd_update_mode - initialize mode of operation
SYNOPSIS int cdns_drd_update_mode (struct cdns *cdns );
ARGUMENTS cdns Pointer to controller context structure
DESCRIPTION Returns 0 on success otherwise negative errno
SEE ALSO Kernel file ./drivers/usb/cdns3/drd.c cdns_set_mode(9), cdns_otg_disab... |
cdns_enable_slave_interrupts(9) | NAME cdns_enable_slave_interrupts - Enable SDW slave interrupts
SYNOPSIS void cdns_enable_slave_interrupts (struct sdw_cdns *cdns , bool state );
ARGUMENTS cdns Cadence instance
state boolean for true/false
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), ... |
cdns_find_pdi(9) | NAME cdns_find_pdi - Find a free PDI
SYNOPSIS struct sdw_cdns_pdi * cdns_find_pdi (struct sdw_cdns *cdns , unsigned int num , struct sdw_cdns_pdi *pdi , int dai_id );
ARGUMENTS cdns Cadence instance
num Number of PDIs
pdi PDI instances
dai_id DAI id
DESCRIPTION Fin... |
cdns_hw_role_state_machine(9) | NAME cdns_hw_role_state_machine - role switch state machine based on hw events.
SYNOPSIS enum usb_role cdns_hw_role_state_machine (struct cdns *cdns );
ARGUMENTS cdns Pointer to controller structure.
DESCRIPTION Returns next role to be entered based on hw events.
SEE ALSO Kernel file ./drivers/usb/cdns3/core... |
cdns_hw_role_switch(9) | NAME cdns_hw_role_switch - switch roles based on HW state
SYNOPSIS int cdns_hw_role_switch (struct cdns *cdns );
ARGUMENTS cdns controller
SEE ALSO Kernel file ./drivers/usb/cdns3/core.c cdns_core_init_role(9), cdns_hw_role_state_machine(9), cdns_role_get(9), cdns_role_set(9), cdns_wakeup_irq(9), cdns_init(9)... |
cdns_i2c_calc_divs(9) | NAME cdns_i2c_calc_divs - Calculate clock dividers
SYNOPSIS int cdns_i2c_calc_divs (unsigned long *f , unsigned long input_clk , unsigned int *a , unsigned int *b );
ARGUMENTS f I2C clock frequency
input_clk Input clock frequency
a First divider (return value)
b ... |
cdns_i2c_clear_bus_hold(9) | NAME cdns_i2c_clear_bus_hold - Clear bus hold bit
SYNOPSIS void cdns_i2c_clear_bus_hold (struct cdns_i2c *id );
ARGUMENTS id Pointer to driver data struct
DESCRIPTION Helper to clear the controller's bus hold bit.
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-cadence.c enum cdns_i2c_mode(9), enum cdns... |
cdns_i2c_clk_notifier_cb(9) | NAME cdns_i2c_clk_notifier_cb - Clock rate change callback
SYNOPSIS int cdns_i2c_clk_notifier_cb (struct notifier_block *nb , unsigned long event , void *data );
ARGUMENTS nb Pointer to notifier block
event Notification reason
data Pointer to notification data object
DESCRIPTION... |
cdns_i2c_detect_transfer_size(9) | NAME cdns_i2c_detect_transfer_size - Detect the maximum transfer size supported
SYNOPSIS void cdns_i2c_detect_transfer_size (struct cdns_i2c *id );
ARGUMENTS id Device private data structure
DESCRIPTION Detect the maximum transfer size that is supported by this instance of the Cadence I2C controller.
SEE A... |
cdns_i2c_func(9) | NAME cdns_i2c_func - Returns the supported features of the I2C driver
SYNOPSIS u32 cdns_i2c_func (struct i2c_adapter *adap );
ARGUMENTS adap pointer to the i2c adapter structure
RETURN 32 bit value, each bit corresponding to a feature
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-cadence.c enum c... |
cdns_i2c_init(9) | NAME cdns_i2c_init - Controller initialisation
SYNOPSIS void cdns_i2c_init (struct cdns_i2c *id );
ARGUMENTS id Device private data structure
DESCRIPTION Initialise the i2c controller.
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-cadence.c enum cdns_i2c_mode(9), enum cdns_i2c_slave_state(9), ... |
cdns_i2c_isr(9) | NAME cdns_i2c_isr - Interrupt handler for the I2C device
SYNOPSIS irqreturn_t cdns_i2c_isr (int irq , void *ptr );
ARGUMENTS irq irq number for the I2C device
ptr void pointer to cdns_i2c structure
DESCRIPTION This function passes the control to slave/master based on current role of i2c contr... |
cdns_i2c_master_isr(9) | NAME cdns_i2c_master_isr - Interrupt handler for the I2C device in master role
SYNOPSIS irqreturn_t cdns_i2c_master_isr (void *ptr );
ARGUMENTS ptr Pointer to I2C device private data
DESCRIPTION This function handles the data interrupt, transfer complete interrupt and the error interrupts of the I2C device i... |
cdns_i2c_master_reset(9) | NAME cdns_i2c_master_reset - Reset the interface
SYNOPSIS void cdns_i2c_master_reset (struct i2c_adapter *adap );
ARGUMENTS adap pointer to the i2c adapter driver instance
DESCRIPTION This function cleanup the fifos, clear the hold bit and status and disable the interrupts.
SEE ALSO Kernel file ./drive... |
cdns_i2c_master_xfer(9) | NAME cdns_i2c_master_xfer - The main i2c transfer function
SYNOPSIS int cdns_i2c_master_xfer (struct i2c_adapter *adap , struct i2c_msg *msgs , int num );
ARGUMENTS adap pointer to the i2c adapter driver instance
msgs pointer to the i2c message structure
num the number of message... |
cdns_i2c_master_xfer_atomic(9) | NAME cdns_i2c_master_xfer_atomic - The i2c transfer function in atomic mode
SYNOPSIS int cdns_i2c_master_xfer_atomic (struct i2c_adapter *adap , struct i2c_msg *msgs , int num );
ARGUMENTS adap pointer to the i2c adapter driver instance
msgs pointer to the i2c message structure
num ... |
cdns_i2c_mrecv(9) | NAME cdns_i2c_mrecv - Prepare and start a master receive operation
SYNOPSIS void cdns_i2c_mrecv (struct cdns_i2c *id );
ARGUMENTS id pointer to the i2c device structure
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-cadence.c enum cdns_i2c_mode(9), enum cdns_i2c_slave_state(9), struct cd... |
cdns_i2c_msend(9) | NAME cdns_i2c_msend - Prepare and start a master send operation
SYNOPSIS void cdns_i2c_msend (struct cdns_i2c *id );
ARGUMENTS id pointer to the i2c device
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-cadence.c enum cdns_i2c_mode(9), enum cdns_i2c_slave_state(9), struct cdns_i2c(9), ... |
cdns_i2c_probe(9) | NAME cdns_i2c_probe - Platform registration call
SYNOPSIS int cdns_i2c_probe (struct platform_device *pdev );
ARGUMENTS pdev Handle to the platform device structure
DESCRIPTION This function does all the memory allocation and registration for the i2c device. User can modify the address mode to 10 bit address ... |
cdns_i2c_remove(9) | NAME cdns_i2c_remove - Unregister the device after releasing the resources
SYNOPSIS void cdns_i2c_remove (struct platform_device *pdev );
ARGUMENTS pdev Handle to the platform device structure
DESCRIPTION This function frees all the resources allocated to the device.
RETURN 0 always
SEE ALSO Kernel file ... |
cdns_i2c_runtime_resume(9) | NAME cdns_i2c_runtime_resume - Runtime resume
SYNOPSIS int cdns_i2c_runtime_resume (struct device *dev );
ARGUMENTS dev Address of the platform_device structure
DESCRIPTION Runtime resume callback.
RETURN 0 on success and error value on error
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-cadence.c enum ... |
cdns_i2c_runtime_suspend(9) | NAME cdns_i2c_runtime_suspend - Runtime suspend method for the driver
SYNOPSIS int cdns_i2c_runtime_suspend (struct device *dev );
ARGUMENTS dev Address of the platform_device structure
DESCRIPTION Put the driver into low power mode.
RETURN 0 always
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-cadence.c... |
cdns_i2c_setclk(9) | NAME cdns_i2c_setclk - This function sets the serial clock rate for the I2C device
SYNOPSIS int cdns_i2c_setclk (unsigned long clk_in , struct cdns_i2c *id );
ARGUMENTS clk_in I2C clock input frequency in Hz
id Pointer to the I2C device structure
DESCRIPTION The device must be idle rather tha... |
cdns_i2c_slave_isr(9) | NAME cdns_i2c_slave_isr - Interrupt handler for the I2C device in slave role
SYNOPSIS irqreturn_t cdns_i2c_slave_isr (void *ptr );
ARGUMENTS ptr Pointer to I2C device private data
DESCRIPTION This function handles the data interrupt and transfer complete interrupt of the I2C device in slave role.
RETURN IRQ... |
cdns_init(9) | NAME cdns_init - probe for cdns3/cdnsp core device
SYNOPSIS int cdns_init (struct cdns *cdns );
ARGUMENTS cdns Pointer to cdns structure.
DESCRIPTION Returns 0 on success otherwise negative errno
SEE ALSO Kernel file ./drivers/usb/cdns3/core.c cdns_core_init_role(9), cdns_hw_role_state_machine(9), cdns_hw_ro... |
cdns_init_otg_mode(9) | NAME cdns_init_otg_mode - initialize drd controller
SYNOPSIS int cdns_init_otg_mode (struct cdns *cdns );
ARGUMENTS cdns Pointer to controller context structure
DESCRIPTION Returns 0 on success otherwise negative errno
SEE ALSO Kernel file ./drivers/usb/cdns3/drd.c cdns_set_mode(9), cdns_otg_disable_irq(9)... |
cdns_mhdp_link_configure(9) | NAME cdns_mhdp_link_configure - configure a DisplayPort link
SYNOPSIS int cdns_mhdp_link_configure (struct drm_dp_aux *aux , struct cdns_mhdp_link *link );
ARGUMENTS aux DisplayPort AUX channel
link pointer to a structure containing the link configuration
DESCRIPTION Returns 0 on success or a ... |
cdns_otg_disable_irq(9) | NAME cdns_otg_disable_irq - Disable all OTG interrupts
SYNOPSIS void cdns_otg_disable_irq (struct cdns *cdns );
ARGUMENTS cdns Pointer to controller context structure
SEE ALSO Kernel file ./drivers/usb/cdns3/drd.c cdns_set_mode(9), cdns_otg_enable_irq(9), cdns_drd_host_on(9), cdns_drd_host_off(9), cdns_dr... |
cdns_otg_enable_irq(9) | NAME cdns_otg_enable_irq - enable id and sess_valid interrupts
SYNOPSIS void cdns_otg_enable_irq (struct cdns *cdns );
ARGUMENTS cdns Pointer to controller context structure
SEE ALSO Kernel file ./drivers/usb/cdns3/drd.c cdns_set_mode(9), cdns_otg_disable_irq(9), cdns_drd_host_on(9), cdns_drd_host_off(9), ... |
cdns_prepare_transfer_hardware(9) | NAME cdns_prepare_transfer_hardware - Prepares hardware for transfer.
SYNOPSIS int cdns_prepare_transfer_hardware (struct spi_controller *ctlr );
ARGUMENTS ctlr Pointer to the spi_controller structure which provides information about the controller.
DESCRIPTION This function enables SPI host controller.
RETU... |
cdns_remove(9) | NAME cdns_remove - unbind drd driver and clean up
SYNOPSIS int cdns_remove (struct cdns *cdns );
ARGUMENTS cdns Pointer to cdns structure.
DESCRIPTION Returns 0 on success otherwise negative errno
SEE ALSO Kernel file ./drivers/usb/cdns3/core.c cdns_core_init_role(9), cdns_hw_role_state_machine(9), cdns_hw_r... |
cdns_role_get(9) | NAME cdns_role_get - get current role of controller.
SYNOPSIS enum usb_role cdns_role_get (struct usb_role_switch *sw );
ARGUMENTS sw pointer to USB role switch structure
DESCRIPTION Returns role
SEE ALSO Kernel file ./drivers/usb/cdns3/core.c cdns_core_init_role(9), cdns_hw_role_state_machine(9), cdns_hw_... |
cdns_role_set(9) | NAME cdns_role_set - set current role of controller.
SYNOPSIS int cdns_role_set (struct usb_role_switch *sw , enum usb_role role );
ARGUMENTS sw pointer to USB role switch structure
role the previous role Handles below events: - Role switch for dual-role devices - USB_ROLE_GADGET <--> USB_ROLE... |
cdns_rs485_config(9) | NAME cdns_rs485_config - Called when an application calls TIOCSRS485 ioctl.
SYNOPSIS int cdns_rs485_config (struct uart_port *port , struct ktermios *termios , struct serial_rs485 *rs485 );
ARGUMENTS port Pointer to the uart_port structure
termios Pointer to the ktermios structure
rs485 ... |
cdns_rs485_rx_callback(9) | NAME cdns_rs485_rx_callback - Timer rx callback handler for rs485.
SYNOPSIS enum hrtimer_restart cdns_rs485_rx_callback (struct hrtimer *t );
ARGUMENTS t Handle to the hrtimer structure
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_e... |
cdns_rs485_rx_setup(9) | NAME cdns_rs485_rx_setup - Rx setup specific to rs485
SYNOPSIS void cdns_rs485_rx_setup (struct cdns_uart *cdns_uart );
ARGUMENTS cdns_uart Handle to the cdns_uart
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(9), cdns_rs485_tx_setup(9),... |
cdns_rs485_tx_callback(9) | NAME cdns_rs485_tx_callback - Timer tx callback handler for rs485.
SYNOPSIS enum hrtimer_restart cdns_rs485_tx_callback (struct hrtimer *t );
ARGUMENTS t Handle to the hrtimer structure
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpi... |
cdns_rs485_tx_setup(9) | NAME cdns_rs485_tx_setup - Tx setup specific to rs485
SYNOPSIS void cdns_rs485_tx_setup (struct cdns_uart *cdns_uart );
ARGUMENTS cdns_uart Handle to the cdns_uart
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(9), cdns_rs485_rx_setup(9),... |
cdns_rts_gpio_enable(9) | NAME cdns_rts_gpio_enable - Configure RTS/GPIO to high/low
SYNOPSIS void cdns_rts_gpio_enable (struct cdns_uart *cdns_uart , bool enable );
ARGUMENTS cdns_uart Handle to the cdns_uart
enable Value to be set to RTS/GPIO
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdn... |
cdns_set_mode(9) | NAME cdns_set_mode - change mode of OTG Core
SYNOPSIS int cdns_set_mode (struct cdns *cdns , enum usb_dr_mode mode );
ARGUMENTS cdns pointer to context structure
mode selected mode from cdns_role
DESCRIPTION Returns 0 on success otherwise negative errno
SEE ALSO Kernel file ./drivers/usb/c... |
cdns_spi_chipselect(9) | NAME cdns_spi_chipselect - Select or deselect the chip select line
SYNOPSIS void cdns_spi_chipselect (struct spi_device *spi , bool is_high );
ARGUMENTS spi Pointer to the spi_device structure
is_high Select(0) or deselect (1) the chip select line
SEE ALSO Kernel file ./drivers/spi/spi-cadence.... |
cdns_spi_config_clock_freq(9) | NAME cdns_spi_config_clock_freq - Sets clock frequency
SYNOPSIS void cdns_spi_config_clock_freq (struct spi_device *spi , struct spi_transfer *transfer );
ARGUMENTS spi Pointer to the spi_device structure
transfer Pointer to the spi_transfer structure which provides information about next transfer ... |
cdns_spi_config_clock_mode(9) | NAME cdns_spi_config_clock_mode - Sets clock polarity and phase
SYNOPSIS void cdns_spi_config_clock_mode (struct spi_device *spi );
ARGUMENTS spi Pointer to the spi_device structure
DESCRIPTION Sets the requested clock polarity and phase.
SEE ALSO Kernel file ./drivers/spi/spi-cadence.c struct cdns_spi(9... |
cdns_spi_detect_fifo_depth(9) | NAME cdns_spi_detect_fifo_depth - Detect the FIFO depth of the hardware
SYNOPSIS void cdns_spi_detect_fifo_depth (struct cdns_spi *xspi );
ARGUMENTS xspi Pointer to the cdns_spi structure
DESCRIPTION The depth of the TX FIFO is a synthesis configuration parameter of the SPI IP. The FIFO threshold register is ... |
cdns_spi_init_hw(9) | NAME cdns_spi_init_hw - Initialize the hardware and configure the SPI controller
SYNOPSIS void cdns_spi_init_hw (struct cdns_spi *xspi , bool is_target );
ARGUMENTS xspi Pointer to the cdns_spi structure
is_target Flag to indicate target or host mode * On reset the SPI controller is configured to ta... |
cdns_spi_irq(9) | NAME cdns_spi_irq - Interrupt service routine of the SPI controller
SYNOPSIS irqreturn_t cdns_spi_irq (int irq , void *dev_id );
ARGUMENTS irq IRQ number
dev_id Pointer to the xspi structure
DESCRIPTION This function handles TX empty and Mode Fault interrupts only. On TX empty interrupt thi... |
cdns_spi_probe(9) | NAME cdns_spi_probe - Probe method for the SPI driver
SYNOPSIS int cdns_spi_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 error
SEE ALSO ... |
cdns_spi_process_fifo(9) | NAME cdns_spi_process_fifo - Fills the TX FIFO, and drain the RX FIFO
SYNOPSIS void cdns_spi_process_fifo (struct cdns_spi *xspi , int ntx , int nrx );
ARGUMENTS xspi Pointer to the cdns_spi structure
ntx Number of bytes to pack into the TX FIFO
nrx Number of bytes to drain from... |
cdns_spi_remove(9) | NAME cdns_spi_remove - Remove method for the SPI driver
SYNOPSIS void cdns_spi_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 fre... |
cdns_spi_resume(9) | NAME cdns_spi_resume - Resume method for the SPI driver
SYNOPSIS int __maybe_unused cdns_spi_resume (struct device *dev );
ARGUMENTS dev Address of the platform_device structure
DESCRIPTION This function changes the driver state to "ready"
RETURN 0 on success and error value on error
SEE ALSO Kernel file ... |
cdns_spi_runtime_resume(9) | NAME cdns_spi_runtime_resume - Runtime resume method for the SPI driver
SYNOPSIS int __maybe_unused cdns_spi_runtime_resume (struct device *dev );
ARGUMENTS dev Address of the platform_device structure
DESCRIPTION This function enables the clocks
RETURN 0 on success and error value on error
SEE ALSO Kernel... |
cdns_spi_runtime_suspend(9) | NAME cdns_spi_runtime_suspend - Runtime suspend method for the SPI driver
SYNOPSIS int __maybe_unused cdns_spi_runtime_suspend (struct device *dev );
ARGUMENTS dev Address of the platform_device structure
DESCRIPTION This function disables the clocks
RETURN Always 0
SEE ALSO Kernel file ./drivers/spi/spi-... |
cdns_spi_setup_transfer(9) | NAME cdns_spi_setup_transfer - Configure SPI controller for specified transfer
SYNOPSIS int cdns_spi_setup_transfer (struct spi_device *spi , struct spi_transfer *transfer );
ARGUMENTS spi Pointer to the spi_device structure
transfer Pointer to the spi_transfer structure which provides information ... |
cdns_spi_suspend(9) | NAME cdns_spi_suspend - Suspend method for the SPI driver
SYNOPSIS int __maybe_unused cdns_spi_suspend (struct device *dev );
ARGUMENTS dev Address of the platform_device structure
DESCRIPTION This function disables the SPI controller and changes the driver state to "suspend"
RETURN 0 on success and error v... |
cdns_target_abort(9) | NAME cdns_target_abort - Abort target transfer
SYNOPSIS int cdns_target_abort (struct spi_controller *ctlr );
ARGUMENTS ctlr Pointer to the spi_controller structure
DESCRIPTION This function abort target transfer if there any transfer timeout.
RETURN 0 always
SEE ALSO Kernel file ./drivers/spi/spi-cadence.... |
cdns_transfer_one(9) | NAME cdns_transfer_one - Initiates the SPI transfer
SYNOPSIS int cdns_transfer_one (struct spi_controller *ctlr , struct spi_device *spi , struct spi_transfer *transfer );
ARGUMENTS ctlr Pointer to spi_controller structure
spi Pointer to the spi_device structure
transfer Pointer to t... |
cdns_uart_break_ctl(9) | NAME cdns_uart_break_ctl - Based on the input ctl we have to start or stop transmitting char breaks
SYNOPSIS void cdns_uart_break_ctl (struct uart_port *port , int ctl );
ARGUMENTS port Handle to the uart port structure
ctl Value based on which start or stop decision is taken
SEE ALSO Kernel ... |
cdns_uart_calc_baud_divs(9) | NAME cdns_uart_calc_baud_divs - Calculate baud rate divisors
SYNOPSIS unsigned int cdns_uart_calc_baud_divs (unsigned int clk , unsigned int baud , u32 *rbdiv , u32 *rcd , int *div8 );
ARGUMENTS clk UART module input clock
baud Desired baud rate
rbdiv BDIV value (return value)
... |
cdns_uart_clk_notifier_cb(9) | NAME cdns_uart_clk_notifier_cb - Clock notifier callback
SYNOPSIS int cdns_uart_clk_notifier_cb (struct notifier_block *nb , unsigned long event , void *data );
ARGUMENTS nb Notifier block
event Notify event
data Notifier data
RETURN NOTIFY_OK or NOTIFY_DONE on success, NOTIFY_B... |
cdns_uart_config_port(9) | NAME cdns_uart_config_port - Configure UART port
SYNOPSIS void cdns_uart_config_port (struct uart_port *port , int flags );
ARGUMENTS port Handle to the uart port structure
flags If any
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cd... |
cdns_uart_console_putchar(9) | NAME cdns_uart_console_putchar - write the character to the FIFO buffer
SYNOPSIS void cdns_uart_console_putchar (struct uart_port *port , unsigned char ch );
ARGUMENTS port Handle to the uart port structure
ch Character to be written
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c... |
cdns_uart_console_setup(9) | NAME cdns_uart_console_setup - Initialize the uart to default config
SYNOPSIS int cdns_uart_console_setup (struct console *co , char *options );
ARGUMENTS co Console handle
options Initial settings of uart
RETURN 0 on success, negative errno otherwise.
SEE ALSO Kernel file ./drivers/tty/seria... |
cdns_uart_console_write(9) | NAME cdns_uart_console_write - perform write operation
SYNOPSIS void cdns_uart_console_write (struct console *co , const char *s , unsigned int count );
ARGUMENTS co Console handle
s Pointer to character array
count No of characters
SEE ALSO Kernel file ./drivers/tty/serial... |
cdns_uart_get_mctrl(9) | NAME cdns_uart_get_mctrl - Get the modem control state
SYNOPSIS unsigned int cdns_uart_get_mctrl (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
RETURN the modem control state
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9... |
cdns_uart_handle_rx(9) | NAME cdns_uart_handle_rx - Handle the received bytes along with Rx errors.
SYNOPSIS void cdns_uart_handle_rx (void *dev_id , unsigned int isrstatus );
ARGUMENTS dev_id Id of the UART port
isrstatus The interrupt status register value as read
RETURN None
SEE ALSO Kernel file ./drivers/tty/serial/xilin... |
cdns_uart_handle_tx(9) | NAME cdns_uart_handle_tx - Handle the bytes to be transmitted.
SYNOPSIS void cdns_uart_handle_tx (void *dev_id );
ARGUMENTS dev_id Id of the UART port
RETURN None
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(9), cdns_rs485_tx_s... |
cdns_uart_isr(9) | NAME cdns_uart_isr - Interrupt handler
SYNOPSIS irqreturn_t cdns_uart_isr (int irq , void *dev_id );
ARGUMENTS irq Irq number
dev_id Id of the port
RETURN IRQHANDLED
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(... |
cdns_uart_probe(9) | NAME cdns_uart_probe - Platform driver probe
SYNOPSIS int cdns_uart_probe (struct platform_device *pdev );
ARGUMENTS pdev Pointer to the platform device structure
RETURN 0 on success, negative errno otherwise
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle... |
cdns_uart_release_port(9) | NAME cdns_uart_release_port - Release UART port
SYNOPSIS void cdns_uart_release_port (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
DESCRIPTION Release the memory region attached to a cdns_uart port. Called when the driver removes a cdns_uart port via uart_remove_one_port.
SEE AL... |
cdns_uart_remove(9) | NAME cdns_uart_remove - called when the platform driver is unregistered
SYNOPSIS void cdns_uart_remove (struct platform_device *pdev );
ARGUMENTS pdev Pointer to the platform device structure
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_g... |
cdns_uart_request_port(9) | NAME cdns_uart_request_port - Claim the memory region attached to cdns_uart port, called when the driver adds a cdns_uart port via uart_add_one_port()
SYNOPSIS int cdns_uart_request_port (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
RETURN 0 on success, negative errno otherwise.
... |
cdns_uart_resume(9) | NAME cdns_uart_resume - Resume after a previous suspend
SYNOPSIS int cdns_uart_resume (struct device *device );
ARGUMENTS device Pointer to the device structure
RETURN 0
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(9), cdns_rs4... |
cdns_uart_set_baud_rate(9) | NAME cdns_uart_set_baud_rate - Calculate and set the baud rate
SYNOPSIS unsigned int cdns_uart_set_baud_rate (struct uart_port *port , unsigned int baud );
ARGUMENTS port Handle to the uart port structure
baud Baud rate to set
RETURN baud rate, requested baud when possible, or actual baud when ... |
cdns_uart_set_termios(9) | NAME cdns_uart_set_termios - termios operations, handling data length, parity, stop bits, flow control, baud rate
SYNOPSIS void cdns_uart_set_termios (struct uart_port *port , struct ktermios *termios , const struct ktermios *old );
ARGUMENTS port Handle to the uart port structure
termios Handle to... |
cdns_uart_shutdown(9) | NAME cdns_uart_shutdown - Called when an application closes a cdns_uart port
SYNOPSIS void cdns_uart_shutdown (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_en... |
cdns_uart_start_tx(9) | NAME cdns_uart_start_tx - Start transmitting bytes
SYNOPSIS void cdns_uart_start_tx (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(9), cdns_rs485_tx_set... |
cdns_uart_startup(9) | NAME cdns_uart_startup - Called when an application opens a cdns_uart port
SYNOPSIS int cdns_uart_startup (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
RETURN 0 on success, negative errno otherwise
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9)... |
cdns_uart_stop_rx(9) | NAME cdns_uart_stop_rx - Stop RX
SYNOPSIS void cdns_uart_stop_rx (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(9), cdns_rs485_tx_setup(9), cdns_rs485_r... |
cdns_uart_stop_tx(9) | NAME cdns_uart_stop_tx - Stop TX
SYNOPSIS void cdns_uart_stop_tx (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(9), cdns_rs485_tx_setup(9), cdns_rs485_r... |
cdns_uart_suspend(9) | NAME cdns_uart_suspend - suspend event
SYNOPSIS int cdns_uart_suspend (struct device *device );
ARGUMENTS device Pointer to the device structure
RETURN 0
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_rx(9), cdns_rts_gpio_enable(9), cdns_rs485_tx_setup(9), ... |
cdns_uart_tx_empty(9) | NAME cdns_uart_tx_empty - Check whether TX is empty
SYNOPSIS unsigned int cdns_uart_tx_empty (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
RETURN TIOCSER_TEMT on success, 0 otherwise
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_ha... |
cdns_uart_type(9) | NAME cdns_uart_type - Set UART type to cdns_uart port
SYNOPSIS const char * cdns_uart_type (struct uart_port *port );
ARGUMENTS port Handle to the uart port structure
RETURN string on success, NULL otherwise
SEE ALSO Kernel file ./drivers/tty/serial/xilinx_uartps.c struct cdns_uart(9), cdns_uart_handle_... |
cdns_uart_verify_port(9) | NAME cdns_uart_verify_port - Verify the port params
SYNOPSIS int cdns_uart_verify_port (struct uart_port *port , struct serial_struct *ser );
ARGUMENTS port Handle to the uart port structure
ser Handle to the structure whose members are compared
RETURN 0 on success, negative errno otherwise.
... |
cdns_ufs_get_l4_attr(9) | NAME cdns_ufs_get_l4_attr - get L4 attributes on local side
SYNOPSIS void cdns_ufs_get_l4_attr (struct ufs_hba *hba );
ARGUMENTS hba per adapter instance
SEE ALSO Kernel file ./drivers/ufs/host/cdns-pltfrm.c cdns_ufs_set_l4_attr(9), cdns_ufs_set_hclkdiv(9), cdns_ufs_hce_enable_notify(9), cdns_uf... |
cdns_ufs_hce_enable_notify(9) | NAME cdns_ufs_hce_enable_notify - set HCLKDIV register
SYNOPSIS int cdns_ufs_hce_enable_notify (struct ufs_hba *hba , enum ufs_notify_change_status status );
ARGUMENTS hba host controller instance
status notify stage (pre, post change)
RETURN zero for success and non-zero for failure.
SEE ALSO ... |
cdns_ufs_hibern8_notify(9) | NAME cdns_ufs_hibern8_notify - save and restore L4 attributes.
SYNOPSIS void cdns_ufs_hibern8_notify (struct ufs_hba *hba , enum uic_cmd_dme cmd , enum ufs_notify_change_status status );
ARGUMENTS hba host controller instance
cmd UIC Command
status notify stage (pre, post change)
... |
cdns_ufs_init(9) | NAME cdns_ufs_init - performs additional ufs initialization
SYNOPSIS int cdns_ufs_init (struct ufs_hba *hba );
ARGUMENTS hba host controller instance
RETURN status of initialization.
SEE ALSO Kernel file ./drivers/ufs/host/cdns-pltfrm.c cdns_ufs_get_l4_attr(9), cdns_ufs_set_l4_attr(9), cdns_ufs_set_h... |
cdns_ufs_link_startup_notify(9) | NAME cdns_ufs_link_startup_notify - handle link startup.
SYNOPSIS int cdns_ufs_link_startup_notify (struct ufs_hba *hba , enum ufs_notify_change_status status );
ARGUMENTS hba host controller instance
status notify stage (pre, post change)
RETURN zero for success and non-zero for failure.
SEE A... |
cdns_ufs_m31_16nm_phy_initialization(9) | NAME cdns_ufs_m31_16nm_phy_initialization - performs m31 phy initialization
SYNOPSIS int cdns_ufs_m31_16nm_phy_initialization (struct ufs_hba *hba );
ARGUMENTS hba host controller instance
RETURN 0 (success).
SEE ALSO Kernel file ./drivers/ufs/host/cdns-pltfrm.c cdns_ufs_get_l4_attr(9), cdns_ufs_set_l... |
cdns_ufs_pltfrm_probe(9) | NAME cdns_ufs_pltfrm_probe - probe routine of the driver
SYNOPSIS int cdns_ufs_pltfrm_probe (struct platform_device *pdev );
ARGUMENTS pdev pointer to platform device handle
RETURN zero for success and non-zero for failure.
SEE ALSO Kernel file ./drivers/ufs/host/cdns-pltfrm.c cdns_ufs_get_l4_attr(9), ... |
cdns_ufs_pltfrm_remove(9) | NAME cdns_ufs_pltfrm_remove - removes the ufs driver
SYNOPSIS void cdns_ufs_pltfrm_remove (struct platform_device *pdev );
ARGUMENTS pdev pointer to platform device handle
RETURN 0 (success).
SEE ALSO Kernel file ./drivers/ufs/host/cdns-pltfrm.c cdns_ufs_get_l4_attr(9), cdns_ufs_set_l4_attr(9), cdns_u... |
cdns_ufs_set_hclkdiv(9) | NAME cdns_ufs_set_hclkdiv - set HCLKDIV register value based on the core_clk.
SYNOPSIS int cdns_ufs_set_hclkdiv (struct ufs_hba *hba );
ARGUMENTS hba host controller instance
RETURN zero for success and non-zero for failure.
SEE ALSO Kernel file ./drivers/ufs/host/cdns-pltfrm.c cdns_ufs_get_l4_attr(9... |
cdns_ufs_set_l4_attr(9) | NAME cdns_ufs_set_l4_attr - set L4 attributes on local side
SYNOPSIS void cdns_ufs_set_l4_attr (struct ufs_hba *hba );
ARGUMENTS hba per adapter instance
SEE ALSO Kernel file ./drivers/ufs/host/cdns-pltfrm.c cdns_ufs_get_l4_attr(9), cdns_ufs_set_hclkdiv(9), cdns_ufs_hce_enable_notify(9), cdns_uf... |
cdns_unprepare_transfer_hardware(9) | NAME cdns_unprepare_transfer_hardware - Relaxes hardware after transfer
SYNOPSIS int cdns_unprepare_transfer_hardware (struct spi_controller *ctlr );
ARGUMENTS ctlr Pointer to the spi_controller structure which provides information about the controller.
DESCRIPTION This function disables the SPI host controll... |
cdns_update_slave_status_work(9) | NAME cdns_update_slave_status_work - update slave status in a work since we will need to handle other interrupts eg. CDNS_MCP_INT_RX_WL during the update slave process.
SYNOPSIS void cdns_update_slave_status_work (struct work_struct *work );
ARGUMENTS work cdns worker thread
SEE ALSO Kernel file ./drivers... |
cdns_wakeup_irq(9) | NAME cdns_wakeup_irq - interrupt handler for wakeup events
SYNOPSIS irqreturn_t cdns_wakeup_irq (int irq , void *data );
ARGUMENTS irq irq number for cdns3/cdnsp core device
data structure of cdns
DESCRIPTION Returns IRQ_HANDLED or IRQ_NONE
SEE ALSO Kernel file ./drivers/usb/cdns3/core.c cdns... |
cdns_wdt_irq_handler(9) | NAME cdns_wdt_irq_handler - Notifies of watchdog timeout.
SYNOPSIS irqreturn_t cdns_wdt_irq_handler (int irq , void *dev_id );
ARGUMENTS irq interrupt number
dev_id pointer to a platform device structure
RETURN IRQ_HANDLED
DESCRIPTION The handler is invoked when the watchdog times out and a res... |
cdns_wdt_probe(9) | NAME cdns_wdt_probe - Probe call for the device.
SYNOPSIS int cdns_wdt_probe (struct platform_device *pdev );
ARGUMENTS pdev handle to the platform device structure.
RETURN 0 on success, negative error otherwise.
DESCRIPTION It does all the memory allocation and registration for the device.
SEE ALSO Kernel ... |
cdns_wdt_reload(9) | NAME cdns_wdt_reload - Reload the watchdog timer (i.e. pat the watchdog).
SYNOPSIS int cdns_wdt_reload (struct watchdog_device *wdd );
ARGUMENTS wdd watchdog device
DESCRIPTION Write the restart key value (0x00001999) to the restart register.
RETURN always 0
SEE ALSO Kernel file ./drivers/watchdog/cadence_... |
cdns_wdt_resume(9) | NAME cdns_wdt_resume - Resume the device.
SYNOPSIS int __maybe_unused cdns_wdt_resume (struct device *dev );
ARGUMENTS dev handle to the device structure.
RETURN 0 on success, errno otherwise.
SEE ALSO Kernel file ./drivers/watchdog/cadence_wdt.c struct cdns_wdt(9), cdns_wdt_stop(9), cdns_wdt_reload(9), cdn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.