id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
sti_hqvdp_get_next_cmd(9) | NAME sti_hqvdp_get_next_cmd -
SYNOPSIS int sti_hqvdp_get_next_cmd (struct sti_hqvdp *hqvdp );
ARGUMENTS hqvdp hqvdp structure
DESCRIPTION Look for the next hqvdp_cmd that will be used by the FW.
RETURN the offset of the next command that will be used. -1 in error cases
SEE ALSO Kernel file ./drivers/g... |
sti_hqvdp_start_xp70(9) | NAME sti_hqvdp_start_xp70 -
SYNOPSIS void sti_hqvdp_start_xp70 (struct sti_hqvdp *hqvdp );
ARGUMENTS hqvdp hqvdp pointer
DESCRIPTION Run the xP70 initialization sequence
SEE ALSO Kernel file ./drivers/gpu/drm/sti/sti_hqvdp.c sti_hqvdp_get_free_cmd(9), sti_hqvdp_get_curr_cmd(9), sti_hqvdp_get_next_cm... |
sti_hqvdp_update_hvsrc(9) | NAME sti_hqvdp_update_hvsrc -
SYNOPSIS void sti_hqvdp_update_hvsrc (enum sti_hvsrc_orient orient , int scale , struct sti_hqvdp_hvsrc *hvsrc );
ARGUMENTS orient horizontal or vertical
scale scaling/zoom factor
hvsrc the structure containing the LUT coef
DESCRIPTION Update the Y and C... |
sti_hqvdp_vtg_cb(9) | NAME sti_hqvdp_vtg_cb -
SYNOPSIS int sti_hqvdp_vtg_cb (struct notifier_block *nb , unsigned long evt , void *data );
ARGUMENTS nb notifier block
evt event message
data private data
DESCRIPTION Handle VTG Vsync event, display pending bottom field
RETURN 0 on success.
SEE ALSO... |
sti_vtg_get_line_number(9) | NAME sti_vtg_get_line_number -
SYNOPSIS u32 sti_vtg_get_line_number (struct drm_display_mode mode , int y );
ARGUMENTS mode display mode to be used
y line
DESCRIPTION Return the line number according to the display mode taking into account the Sync and Back Porch information. Video frame li... |
sti_vtg_get_pixel_number(9) | NAME sti_vtg_get_pixel_number -
SYNOPSIS u32 sti_vtg_get_pixel_number (struct drm_display_mode mode , int x );
ARGUMENTS mode display mode to be used
x row
DESCRIPTION Return the pixel number according to the display mode taking into account the Sync and Back Porch information. Pixels are c... |
stime(2) | NAME stime - set time
SYNOPSIS #include <time.h>
[[deprecated]] int stime(const time_t *t);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
stime():
Since glibc 2.19:
_DEFAULT_SOURCE
glibc 2.19 and earlier:
_SVID_SOURCE
DE... |
stm32_adc_conf_scan_seq(9) | NAME stm32_adc_conf_scan_seq - Build regular channels scan sequence
SYNOPSIS int stm32_adc_conf_scan_seq (struct iio_dev *indio_dev , const unsigned long *scan_mask );
ARGUMENTS indio_dev IIO device
scan_mask channels to be converted
DESCRIPTION Conversion sequence : Apply sampling time settings for al... |
stm32_adc_conv_irq_disable(9) | NAME stm32_adc_conv_irq_disable - Disable end of conversion interrupt
SYNOPSIS void stm32_adc_conv_irq_disable (struct stm32_adc *adc );
ARGUMENTS adc stm32 adc instance
SEE ALSO Kernel file ./drivers/iio/adc/stm32-adc.c struct stm32_adc_ic(9), struct stm32_adc_trig_info(9), struct stm32_adc_calib(9),... |
stm32_adc_conv_irq_enable(9) | NAME stm32_adc_conv_irq_enable - Enable end of conversion interrupt
SYNOPSIS void stm32_adc_conv_irq_enable (struct stm32_adc *adc );
ARGUMENTS adc stm32 adc instance
SEE ALSO Kernel file ./drivers/iio/adc/stm32-adc.c struct stm32_adc_ic(9), struct stm32_adc_trig_info(9), struct stm32_adc_calib(9), st... |
stm32_adc_debugfs_reg_access(9) | NAME stm32_adc_debugfs_reg_access - read or write register value
SYNOPSIS int stm32_adc_debugfs_reg_access (struct iio_dev *indio_dev , unsigned reg , unsigned writeval , unsigned *readval );
ARGUMENTS indio_dev IIO device structure
reg register offset
writeval value to write
read... |
stm32_adc_get_trig_extsel(9) | NAME stm32_adc_get_trig_extsel - Get external trigger selection
SYNOPSIS int stm32_adc_get_trig_extsel (struct iio_dev *indio_dev , struct iio_trigger *trig );
ARGUMENTS indio_dev IIO device structure
trig trigger
DESCRIPTION Returns trigger extsel value, if trig matches, -EINVAL otherwise.
SEE ALS... |
stm32_adc_set_trig(9) | NAME stm32_adc_set_trig - Set a regular trigger
SYNOPSIS int stm32_adc_set_trig (struct iio_dev *indio_dev , struct iio_trigger *trig );
ARGUMENTS indio_dev IIO device
trig IIO trigger
DESCRIPTION Set trigger source/polarity (e.g. SW, or HW with polarity) : - if HW trigger disabled (e.g. trig == NUL... |
stm32_adc_single_conv(9) | NAME stm32_adc_single_conv - Performs a single conversion
SYNOPSIS int stm32_adc_single_conv (struct iio_dev *indio_dev , const struct iio_chan_spec *chan , int *res );
ARGUMENTS indio_dev IIO device
chan IIO channel
res conversion result
DESCRIPTION The function performs a singl... |
stm32_adc_validate_trigger(9) | NAME stm32_adc_validate_trigger - validate trigger for stm32 adc
SYNOPSIS int stm32_adc_validate_trigger (struct iio_dev *indio_dev , struct iio_trigger *trig );
ARGUMENTS indio_dev IIO device
trig new trigger
RETURN 0 if trig matches one of the triggers registered by stm32 adc driver, -EINVAL other... |
stm32_bsec_optee_ta_close(9) | NAME stm32_bsec_optee_ta_close - release the STM32 BSEC TA
SYNOPSIS void stm32_bsec_optee_ta_close (void *ctx );
ARGUMENTS ctx the OP-TEE context
DESCRIPTION This function used to clean the OP-TEE resources initialized in stm32_bsec_optee_ta_open; it can be used as callback to devm_add_action_or_reset
SEE A... |
stm32_bsec_optee_ta_open(9) | NAME stm32_bsec_optee_ta_open - initialize the STM32 BSEC TA
SYNOPSIS int stm32_bsec_optee_ta_open (struct tee_context **ctx );
ARGUMENTS ctx the OP-TEE context on success
RETURN On success, 0. On failure, -errno.
SEE ALSO Kernel file ./drivers/nvmem/stm32-bsec-optee-ta.h stm32_bsec_optee_ta_close(9), stm32... |
stm32_bsec_optee_ta_read(9) | NAME stm32_bsec_optee_ta_read - nvmem read access using TA client driver
SYNOPSIS int stm32_bsec_optee_ta_read (struct tee_context *ctx , unsigned int offset , void *buf , size_t bytes );
ARGUMENTS ctx the OP-TEE context provided by stm32_bsec_optee_ta_open
offset nvmem offset
buf ... |
stm32_bsec_optee_ta_write(9) | NAME stm32_bsec_optee_ta_write - nvmem write access using TA client driver
SYNOPSIS int stm32_bsec_optee_ta_write (struct tee_context *ctx , unsigned int lower , unsigned int offset , void *buf , size_t bytes );
ARGUMENTS ctx the OP-TEE context provided by stm32_bsec_optee_ta_open
lower number o... |
stm32_dfsdm_get_buff_cb(9) | NAME stm32_dfsdm_get_buff_cb - register a callback that will be called when DMA transfer period is achieved.
SYNOPSIS int stm32_dfsdm_get_buff_cb (struct iio_dev *iio_dev , int (*cb)(const void *data, size_t size, void *private) , void *private );
ARGUMENTS iio_dev Handle to IIO device.
cb Pointe... |
stm32_dfsdm_release_buff_cb(9) | NAME stm32_dfsdm_release_buff_cb - unregister buffer callback
SYNOPSIS int stm32_dfsdm_release_buff_cb (struct iio_dev *iio_dev );
ARGUMENTS iio_dev Handle to IIO device.
SEE ALSO Kernel file ./drivers/iio/adc/stm32-dfsdm-adc.c struct stm32_dfsdm_trig_info(9), stm32_dfsdm_get_buff_cb(9)
April 2026 ... |
stm32_dfsdm_start_dfsdm(9) | NAME stm32_dfsdm_start_dfsdm - start global dfsdm interface.
SYNOPSIS int stm32_dfsdm_start_dfsdm (struct stm32_dfsdm *dfsdm );
ARGUMENTS dfsdm Handle used to retrieve dfsdm context.
DESCRIPTION Enable interface if n_active_ch is not null.
SEE ALSO Kernel file ./drivers/iio/adc/stm32-dfsdm-core.c struct stm32... |
stm32_dfsdm_stop_dfsdm(9) | NAME stm32_dfsdm_stop_dfsdm - stop global DFSDM interface.
SYNOPSIS int stm32_dfsdm_stop_dfsdm (struct stm32_dfsdm *dfsdm );
ARGUMENTS dfsdm Handle used to retrieve dfsdm context.
DESCRIPTION Disable interface if n_active_ch is null
SEE ALSO Kernel file ./drivers/iio/adc/stm32-dfsdm-core.c struct stm32_dfsdm_... |
stm32_dma_is_current_sg(9) | NAME stm32_dma_is_current_sg - check that expected sg_req is currently transferred
SYNOPSIS bool stm32_dma_is_current_sg (struct stm32_dma_chan *chan );
ARGUMENTS chan dma channel
DESCRIPTION This function called when IRQ are disable, checks that the hardware has not switched on the next transfer in double b... |
stm32_firewall_controller_register(9) | NAME stm32_firewall_controller_register - Register a firewall controller to the STM32 firewall framework
SYNOPSIS int stm32_firewall_controller_register (struct stm32_firewall_controller *firewall_controller );
ARGUMENTS firewall_controller Firewall controller to register
DESCRIPTION Returns 0 in case of success or ... |
stm32_firewall_controller_unregister(9) | NAME stm32_firewall_controller_unregister - Unregister a firewall controller from the STM32 firewall framework
SYNOPSIS void stm32_firewall_controller_unregister (struct stm32_firewall_controller *firewall_controller );
ARGUMENTS firewall_controller Firewall controller to unregister
SEE ALSO Kernel file ./drivers/bu... |
stm32_firewall_get_firewall(9) | NAME stm32_firewall_get_firewall - Get the firewall(s) associated to given device. The firewall controller reference is always the first argument of each of the access-controller property entries. The firewall ID is always the second argument of each of the access-controller property entries. If there's no argument lin... |
stm32_firewall_grant_access(9) | NAME stm32_firewall_grant_access - Request firewall access rights and grant access.
SYNOPSIS int stm32_firewall_grant_access (struct stm32_firewall *firewall );
ARGUMENTS firewall Firewall reference containing the ID to check against its firewall controller
DESCRIPTION Returns 0 if access is granted, -EACCES if a... |
stm32_firewall_grant_access_by_id(9) | NAME stm32_firewall_grant_access_by_id - Request firewall access rights of a given device based on a specific firewall ID
SYNOPSIS int stm32_firewall_grant_access_by_id (struct stm32_firewall *firewall , u32 subsystem_id );
ARGUMENTS firewall Firewall reference containing the firewall controller
subsystem_... |
stm32_firewall_populate_bus(9) | NAME stm32_firewall_populate_bus - Populate device tree nodes that have a correct firewall configuration. This is used at boot-time only, as a sanity check between device tree and firewalls hardware configurations to prevent a kernel crash when a device driver is not granted access
SYNOPSIS int stm32_firewall_populate... |
stm32_firewall_release_access(9) | NAME stm32_firewall_release_access - Release access granted from a call to stm32_firewall_grant_access().
SYNOPSIS void stm32_firewall_release_access (struct stm32_firewall *firewall );
ARGUMENTS firewall Firewall reference containing the ID to check against its firewall controller
SEE ALSO Kernel file ./incl... |
stm32_firewall_release_access_by_id(9) | NAME stm32_firewall_release_access_by_id - Release access granted from a call to stm32_firewall_grant_access_by_id().
SYNOPSIS void stm32_firewall_release_access_by_id (struct stm32_firewall *firewall , u32 subsystem_id );
ARGUMENTS firewall Firewall reference containing the firewall controller
subsystem_i... |
stm32_hash_set_nblw(9) | NAME stm32_hash_set_nblw - set the number of valid bytes in the last word.
SYNOPSIS void stm32_hash_set_nblw (struct stm32_hash_dev *hdev , int length );
ARGUMENTS hdev the stm32_hash_dev device.
length the length of the final word.
SEE ALSO Kernel file ./drivers/crypto/stm32/stm32-hash.c stm32_h... |
stm32_hash_wait_busy(9) | NAME stm32_hash_wait_busy - wait until hash processor is available. It return an error if the hash core is processing a block of data for more than 10 ms.
SYNOPSIS int stm32_hash_wait_busy (struct stm32_hash_dev *hdev );
ARGUMENTS hdev the stm32_hash_dev device.
SEE ALSO Kernel file ./drivers/crypto/stm32/stm... |
stm32_hash_write_ctrl(9) | NAME stm32_hash_write_ctrl - Initialize the hash processor, only if HASH_FLAGS_INIT is set.
SYNOPSIS void stm32_hash_write_ctrl (struct stm32_hash_dev *hdev );
ARGUMENTS hdev the stm32_hash_dev device
SEE ALSO Kernel file ./drivers/crypto/stm32/stm32-hash.c stm32_hash_wait_busy(9), stm32_hash_set_nblw(9)
Apr... |
stm32_pctl_probe(9) | NAME stm32_pctl_probe - Common probe for stm32 pinctrl drivers.
SYNOPSIS int stm32_pctl_probe (struct platform_device *pdev );
ARGUMENTS pdev Pinctrl platform device.
SEE ALSO Kernel file ./drivers/pinctrl/stm32/pinctrl-stm32.h stm32_pinctrl_suspend(9), stm32_pinctrl_resume(9)
April 2026 ... |
stm32_pinctrl_resume(9) | NAME stm32_pinctrl_resume - Common resume for stm32 pinctrl drivers.
SYNOPSIS int stm32_pinctrl_resume (struct device *dev );
ARGUMENTS dev Pinctrl device.
SEE ALSO Kernel file ./drivers/pinctrl/stm32/pinctrl-stm32.h stm32_pctl_probe(9), stm32_pinctrl_suspend(9)
April 2026 ... |
stm32_pinctrl_suspend(9) | NAME stm32_pinctrl_suspend - Common suspend for stm32 pinctrl drivers.
SYNOPSIS int stm32_pinctrl_suspend (struct device *dev );
ARGUMENTS dev Pinctrl device.
SEE ALSO Kernel file ./drivers/pinctrl/stm32/pinctrl-stm32.h stm32_pctl_probe(9), stm32_pinctrl_resume(9)
April 2026 ... |
stm32_spi_can_dma(9) | NAME stm32_spi_can_dma - Determine if the transfer is eligible for DMA use
SYNOPSIS bool stm32_spi_can_dma (struct spi_controller *ctrl , struct spi_device *spi_dev , struct spi_transfer *transfer );
ARGUMENTS ctrl controller interface
spi_dev pointer to the spi device
transfer pointer t... |
stm32_spi_can_poll(9) | NAME stm32_spi_can_poll - detect if poll based transfer is appropriate
SYNOPSIS bool stm32_spi_can_poll (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION Returns true is poll is more appropriate, false otherwise.
SEE ALSO Kernel file ./drivers/spi/spi-stm3... |
stm32_spi_communication_type(9) | NAME stm32_spi_communication_type - return transfer communication type
SYNOPSIS unsigned int stm32_spi_communication_type (struct spi_device *spi_dev , struct spi_transfer *transfer );
ARGUMENTS spi_dev pointer to the spi device
transfer pointer to spi transfer
SEE ALSO Kernel file ./drivers/spi/... |
stm32_spi_dma_config(9) | NAME stm32_spi_dma_config - configure dma slave channel depending on current transfer bits_per_word.
SYNOPSIS void stm32_spi_dma_config (struct stm32_spi *spi , struct dma_chan *dma_chan , struct dma_slave_config *dma_conf , enum dma_transfer_direction dir );
ARGUMENTS spi pointer to the spi controller data s... |
stm32_spi_dma_rx_cb(9) | NAME stm32_spi_dma_rx_cb - dma callback
SYNOPSIS void stm32_spi_dma_rx_cb (void *data );
ARGUMENTS data pointer to the spi controller data structure
DESCRIPTION DMA callback is called when the transfer is complete for DMA RX channel.
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_re... |
stm32_spi_enable(9) | NAME stm32_spi_enable - Enable SPI controller
SYNOPSIS void stm32_spi_enable (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm32_spi_cfg(9), st... |
stm32_spi_prepare_mbr(9) | NAME stm32_spi_prepare_mbr - Determine baud rate divisor value
SYNOPSIS int stm32_spi_prepare_mbr (struct stm32_spi *spi , u32 speed_hz , u32 min_div , u32 max_div );
ARGUMENTS spi pointer to the spi controller data structure
speed_hz requested speed
min_div minimum baud rate divisor
... |
stm32_spi_prepare_msg(9) | NAME stm32_spi_prepare_msg - set up the controller to transfer a single message
SYNOPSIS int stm32_spi_prepare_msg (struct spi_controller *ctrl , struct spi_message *msg );
ARGUMENTS ctrl controller interface
msg pointer to spi message
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c stru... |
stm32_spi_prepare_rx_dma_mdma_chaining(9) | NAME stm32_spi_prepare_rx_dma_mdma_chaining - Prepare RX DMA and MDMA chaining
SYNOPSIS int stm32_spi_prepare_rx_dma_mdma_chaining (struct stm32_spi *spi , struct spi_transfer *xfer , struct dma_slave_config *rx_dma_conf , struct dma_async_tx_descriptor **rx_dma_desc , struct dma_async_tx_descriptor **rx_mdma... |
stm32_spi_set_mbr(9) | NAME stm32_spi_set_mbr - Configure baud rate divisor in host mode
SYNOPSIS void stm32_spi_set_mbr (struct stm32_spi *spi , u32 mbrdiv );
ARGUMENTS spi pointer to the spi controller data structure
mbrdiv baud rate divisor value
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_... |
stm32_spi_transfer_one(9) | NAME stm32_spi_transfer_one - transfer a single spi_transfer
SYNOPSIS int stm32_spi_transfer_one (struct spi_controller *ctrl , struct spi_device *spi_dev , struct spi_transfer *transfer );
ARGUMENTS ctrl controller interface
spi_dev pointer to the spi device
transfer pointer to spi tran... |
stm32_spi_transfer_one_dma(9) | NAME stm32_spi_transfer_one_dma - transfer a single spi_transfer using DMA
SYNOPSIS int stm32_spi_transfer_one_dma (struct stm32_spi *spi , struct spi_transfer *xfer );
ARGUMENTS spi pointer to the spi controller data structure
xfer pointer to the spi_transfer structure
DESCRIPTION It must ret... |
stm32_spi_transfer_one_setup(9) | NAME stm32_spi_transfer_one_setup - common setup to transfer a single spi_transfer either using DMA or interrupts.
SYNOPSIS int stm32_spi_transfer_one_setup (struct stm32_spi *spi , struct spi_device *spi_dev , struct spi_transfer *transfer );
ARGUMENTS spi pointer to the spi controller data structure
... |
stm32_spi_unprepare_msg(9) | NAME stm32_spi_unprepare_msg - relax the hardware
SYNOPSIS int stm32_spi_unprepare_msg (struct spi_controller *ctrl , struct spi_message *msg );
ARGUMENTS ctrl controller interface
msg pointer to the spi message
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), ... |
stm32_timer_of_bits_get(9) | NAME stm32_timer_of_bits_get - get accessor helper
SYNOPSIS int stm32_timer_of_bits_get (struct timer_of *to );
ARGUMENTS to a timer_of structure pointer
DESCRIPTION Accessor helper to get the number of bits in the timer-of private structure.
RETURN an integer corresponding to the number of bits.
SEE ALSO... |
stm32_timer_of_bits_set(9) | NAME stm32_timer_of_bits_set - set accessor helper
SYNOPSIS void stm32_timer_of_bits_set (struct timer_of *to , int bits );
ARGUMENTS to a timer_of structure pointer
bits the number of bits (16 or 32)
DESCRIPTION Accessor helper to set the number of bits in the timer-of private structure.
SE... |
stm32_timer_set_prescaler(9) | NAME stm32_timer_set_prescaler - Compute and set the prescaler register
SYNOPSIS void stm32_timer_set_prescaler (struct timer_of *to );
ARGUMENTS to a pointer to a timer-of structure
DESCRIPTION Depending on the timer width, compute the prescaler to always target a 10MHz timer rate for 16 bits. 32-bit timer... |
stm32_timer_set_width(9) | NAME stm32_timer_set_width - Sort out the timer width (32/16)
SYNOPSIS void stm32_timer_set_width (struct timer_of *to );
ARGUMENTS to a pointer to a timer-of structure
DESCRIPTION Write the 32-bit max value and read/return the result. If the timer is 32 bits wide, the result will be UINT_MAX, otherwise it ... |
stm32_timer_start(9) | NAME stm32_timer_start - Start the counter without event
SYNOPSIS void stm32_timer_start (struct timer_of *to );
ARGUMENTS to a timer_of structure pointer
DESCRIPTION Start the timer in order to have the counter reset and start incrementing but disable interrupt event when there is a counter overflow. By de... |
stm32_timers_dma_burst_read(9) | NAME stm32_timers_dma_burst_read - Read from timers registers using DMA.
SYNOPSIS int stm32_timers_dma_burst_read (struct device *dev , u32 *buf , enum stm32_timers_dmas id , u32 reg , unsigned int num_reg , unsigned int bursts , unsigned long tmo_ms );
ARGUMENTS dev reference to stm32_timers MFD device
... |
stm32f4_adc_clk_sel(9) | NAME stm32f4_adc_clk_sel - Select stm32f4 ADC common clock prescaler
SYNOPSIS int stm32f4_adc_clk_sel (struct platform_device *pdev , struct stm32_adc_priv *priv );
ARGUMENTS pdev platform device
priv stm32 ADC core private data Select clock prescaler used for analog conversions, before using AD... |
stm32f4_adc_start_conv(9) | NAME stm32f4_adc_start_conv - Start conversions for regular channels.
SYNOPSIS void stm32f4_adc_start_conv (struct iio_dev *indio_dev , bool dma );
ARGUMENTS indio_dev IIO device instance
dma use dma to transfer conversion result
DESCRIPTION Start conversions for regular channels. Also take ... |
stm32f4_i2c_handle_read(9) | NAME stm32f4_i2c_handle_read - Handle FIFO empty interrupt in case of read
SYNOPSIS void stm32f4_i2c_handle_read (struct stm32f4_i2c_dev *i2c_dev );
ARGUMENTS i2c_dev Controller's private data
DESCRIPTION This function is called when a new data is received in data register
SEE ALSO Kernel file ./drivers/i2c... |
stm32f4_i2c_handle_rx_addr(9) | NAME stm32f4_i2c_handle_rx_addr - Handle address matched interrupt in case of controller receiver
SYNOPSIS void stm32f4_i2c_handle_rx_addr (struct stm32f4_i2c_dev *i2c_dev );
ARGUMENTS i2c_dev Controller's private data
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-stm32f4.c struct stm32f4_i2c_msg(9), str... |
stm32f4_i2c_handle_rx_done(9) | NAME stm32f4_i2c_handle_rx_done - Handle byte transfer finished interrupt in case of read
SYNOPSIS void stm32f4_i2c_handle_rx_done (struct stm32f4_i2c_dev *i2c_dev );
ARGUMENTS i2c_dev Controller's private data
DESCRIPTION This function is called when a new data is received in the shift register but data registe... |
stm32f4_i2c_handle_write(9) | NAME stm32f4_i2c_handle_write - Handle FIFO empty interrupt in case of write
SYNOPSIS void stm32f4_i2c_handle_write (struct stm32f4_i2c_dev *i2c_dev );
ARGUMENTS i2c_dev Controller's private data
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-stm32f4.c struct stm32f4_i2c_msg(9), struct stm32f4_i2c_dev(9... |
stm32f4_i2c_hw_config(9) | NAME stm32f4_i2c_hw_config - Prepare I2C block
SYNOPSIS int stm32f4_i2c_hw_config (struct stm32f4_i2c_dev *i2c_dev );
ARGUMENTS i2c_dev Controller's private data
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-stm32f4.c struct stm32f4_i2c_msg(9), struct stm32f4_i2c_dev(9), stm32f4_i2c_write_byte(9), stm32... |
stm32f4_i2c_isr_error(9) | NAME stm32f4_i2c_isr_error - Interrupt routine for I2C bus error
SYNOPSIS irqreturn_t stm32f4_i2c_isr_error (int irq , void *data );
ARGUMENTS irq interrupt number
data Controller's private data
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-stm32f4.c struct stm32f4_i2c_msg(9), struct ... |
stm32f4_i2c_isr_event(9) | NAME stm32f4_i2c_isr_event - Interrupt routine for I2C bus event
SYNOPSIS irqreturn_t stm32f4_i2c_isr_event (int irq , void *data );
ARGUMENTS irq interrupt number
data Controller's private data
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-stm32f4.c struct stm32f4_i2c_msg(9), struct ... |
stm32f4_i2c_write_byte(9) | NAME stm32f4_i2c_write_byte - Write a byte in the data register
SYNOPSIS void stm32f4_i2c_write_byte (struct stm32f4_i2c_dev *i2c_dev , u8 byte );
ARGUMENTS i2c_dev Controller's private data
byte Data to write in the register
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-stm32f4.c struct stm32... |
stm32f4_i2c_write_msg(9) | NAME stm32f4_i2c_write_msg - Fill the data register in write mode
SYNOPSIS void stm32f4_i2c_write_msg (struct stm32f4_i2c_dev *i2c_dev );
ARGUMENTS i2c_dev Controller's private data
DESCRIPTION This function fills the data register with I2C transfer buffer
SEE ALSO Kernel file ./drivers/i2c/busses/i2c-stm32f... |
stm32f4_i2c_xfer(9) | NAME stm32f4_i2c_xfer - Transfer combined I2C message
SYNOPSIS int stm32f4_i2c_xfer (struct i2c_adapter *i2c_adap , struct i2c_msg msgs[] , int num );
ARGUMENTS i2c_adap Adapter pointer to the controller
msgs Pointer to data to be written.
num Number of messages to be executed
SEE A... |
stm32f4_i2c_xfer_msg(9) | NAME stm32f4_i2c_xfer_msg - Transfer a single I2C message
SYNOPSIS int stm32f4_i2c_xfer_msg (struct stm32f4_i2c_dev *i2c_dev , struct i2c_msg *msg , bool is_first , bool is_last );
ARGUMENTS i2c_dev Controller's private data
msg I2C message to transfer
is_first first message of the sequ... |
stm32f4_spi_get_bpw_mask(9) | NAME stm32f4_spi_get_bpw_mask - Return bits per word mask
SYNOPSIS int stm32f4_spi_get_bpw_mask (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm... |
stm32f4_spi_read_rx(9) | NAME stm32f4_spi_read_rx - Read bytes from Receive Data Register
SYNOPSIS void stm32f4_spi_read_rx (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION Write in rx_buf depends on remaining bytes to avoid to write beyond rx_buf end.
SEE ALSO Kernel file ./driv... |
stm32f4_spi_set_bpw(9) | NAME stm32f4_spi_set_bpw - Configure bits per word
SYNOPSIS void stm32f4_spi_set_bpw (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm32_spi_cfg(... |
stm32f4_spi_write_tx(9) | NAME stm32f4_spi_write_tx - Write bytes to Transmit Data Register
SYNOPSIS void stm32f4_spi_write_tx (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION Read from tx_buf depends on remaining bytes to avoid to read beyond tx_buf end.
SEE ALSO Kernel file ./dr... |
stm32f7_spi_get_bpw_mask(9) | NAME stm32f7_spi_get_bpw_mask - Return bits per word mask
SYNOPSIS int stm32f7_spi_get_bpw_mask (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm... |
stm32f7_spi_read_rx(9) | NAME stm32f7_spi_read_rx - Read bytes from Receive Data Register
SYNOPSIS void stm32f7_spi_read_rx (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION Write in rx_buf depends on remaining bytes to avoid to write beyond rx_buf end.
SEE ALSO Kernel file ./driv... |
stm32f7_spi_set_bpw(9) | NAME stm32f7_spi_set_bpw - Configure bits per word
SYNOPSIS void stm32f7_spi_set_bpw (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm32_spi_cfg(... |
stm32f7_spi_transfer_one_dma_start(9) | NAME stm32f7_spi_transfer_one_dma_start - Set SPI driver registers to start transfer using DMA
SYNOPSIS void stm32f7_spi_transfer_one_dma_start (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9),... |
stm32f7_spi_write_tx(9) | NAME stm32f7_spi_write_tx - Write bytes to Transmit Data Register
SYNOPSIS void stm32f7_spi_write_tx (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION Read from tx_buf depends on remaining bytes to avoid to read beyond tx_buf end.
SEE ALSO Kernel file ./dr... |
stm32fx_spi_config(9) | NAME stm32fx_spi_config - Configure SPI controller as SPI host
SYNOPSIS int stm32fx_spi_config (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm32_spi_cfg... |
stm32fx_spi_disable(9) | NAME stm32fx_spi_disable - Disable SPI controller
SYNOPSIS void stm32fx_spi_disable (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm32_spi_cfg(9... |
stm32fx_spi_dma_tx_cb(9) | NAME stm32fx_spi_dma_tx_cb - dma callback
SYNOPSIS void stm32fx_spi_dma_tx_cb (void *data );
ARGUMENTS data pointer to the spi controller data structure
DESCRIPTION DMA callback is called when the transfer is complete for DMA TX channel.
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_sp... |
stm32fx_spi_irq_event(9) | NAME stm32fx_spi_irq_event - Interrupt handler for SPI controller events
SYNOPSIS irqreturn_t stm32fx_spi_irq_event (int irq , void *dev_id );
ARGUMENTS irq interrupt line
dev_id SPI controller ctrl interface
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), stru... |
stm32fx_spi_irq_thread(9) | NAME stm32fx_spi_irq_thread - Thread of interrupt handler for SPI controller
SYNOPSIS irqreturn_t stm32fx_spi_irq_thread (int irq , void *dev_id );
ARGUMENTS irq interrupt line
dev_id SPI controller interface
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), stru... |
stm32fx_spi_set_mode(9) | NAME stm32fx_spi_set_mode - configure communication mode
SYNOPSIS int stm32fx_spi_set_mode (struct stm32_spi *spi , unsigned int comm_type );
ARGUMENTS spi pointer to the spi controller data structure
comm_type type of communication to configure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c ... |
stm32fx_spi_transfer_one_dma_start(9) | NAME stm32fx_spi_transfer_one_dma_start - Set SPI driver registers to start transfer using DMA
SYNOPSIS void stm32fx_spi_transfer_one_dma_start (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9),... |
stm32fx_spi_transfer_one_irq(9) | NAME stm32fx_spi_transfer_one_irq - transfer a single spi_transfer using interrupts
SYNOPSIS int stm32fx_spi_transfer_one_irq (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION It must returns 0 if the transfer is finished or 1 if the transfer is still in progres... |
stm32h7_adc_check_selfcalib(9) | NAME stm32h7_adc_check_selfcalib - Check linear calibration status
SYNOPSIS int stm32h7_adc_check_selfcalib (struct iio_dev *indio_dev );
ARGUMENTS indio_dev IIO device instance
DESCRIPTION Used to check if linear calibration has been done. Return true if linear calibration factors are already saved in private da... |
stm32h7_adc_prepare(9) | NAME stm32h7_adc_prepare - Leave power down mode to enable ADC.
SYNOPSIS int stm32h7_adc_prepare (struct iio_dev *indio_dev );
ARGUMENTS indio_dev IIO device instance Leave power down mode. Configure channels as single ended or differential before enabling ADC. Enable ADC. Restore calibration data. Pre-select... |
stm32h7_adc_read_selfcalib(9) | NAME stm32h7_adc_read_selfcalib - read calibration shadow regs, save result
SYNOPSIS int stm32h7_adc_read_selfcalib (struct iio_dev *indio_dev );
ARGUMENTS indio_dev IIO device instance
NOTE Must be called once ADC is enabled, so LINCALRDYW[1..6] are writable
SEE ALSO Kernel file ./drivers/iio/adc/stm32-adc.c ... |
stm32h7_adc_restore_selfcalib(9) | NAME stm32h7_adc_restore_selfcalib - Restore saved self-calibration result
SYNOPSIS int stm32h7_adc_restore_selfcalib (struct iio_dev *indio_dev );
ARGUMENTS indio_dev IIO device instance
NOTE ADC must be enabled, with no on-going conversions.
SEE ALSO Kernel file ./drivers/iio/adc/stm32-adc.c struct stm32_ad... |
stm32h7_adc_selfcalib(9) | NAME stm32h7_adc_selfcalib - Procedure to calibrate ADC
SYNOPSIS int stm32h7_adc_selfcalib (struct iio_dev *indio_dev , int do_lincal );
ARGUMENTS indio_dev IIO device instance
do_lincal linear calibration request flag
NOTE Must be called once ADC is out of power down. Run offset calibration uncondition... |
stm32h7_spi_config(9) | NAME stm32h7_spi_config - Configure SPI controller
SYNOPSIS int stm32h7_spi_config (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm32_spi_cfg(9), struct... |
stm32h7_spi_data_idleness(9) | NAME stm32h7_spi_data_idleness - configure minimum time delay inserted between two consecutive data frames in host mode
SYNOPSIS void stm32h7_spi_data_idleness (struct stm32_spi *spi , struct spi_transfer *xfer );
ARGUMENTS spi pointer to the spi controller data structure
xfer pointer to spi tr... |
stm32h7_spi_disable(9) | NAME stm32h7_spi_disable - Disable SPI controller
SYNOPSIS void stm32h7_spi_disable (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION RX-Fifo is flushed when SPI controller is disabled.
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_re... |
stm32h7_spi_get_bpw_mask(9) | NAME stm32h7_spi_get_bpw_mask - Return bits per word mask
SYNOPSIS int stm32h7_spi_get_bpw_mask (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm... |
stm32h7_spi_get_fifo_size(9) | NAME stm32h7_spi_get_fifo_size - Return fifo size
SYNOPSIS int stm32h7_spi_get_fifo_size (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm32_spi... |
stm32h7_spi_irq_thread(9) | NAME stm32h7_spi_irq_thread - Thread of interrupt handler for SPI controller
SYNOPSIS irqreturn_t stm32h7_spi_irq_thread (int irq , void *dev_id );
ARGUMENTS irq interrupt line
dev_id SPI controller interface
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), stru... |
stm32h7_spi_number_of_data(9) | NAME stm32h7_spi_number_of_data - configure number of data at current transfer
SYNOPSIS int stm32h7_spi_number_of_data (struct stm32_spi *spi , u32 nb_words );
ARGUMENTS spi pointer to the spi controller data structure
nb_words transfer length (in words)
SEE ALSO Kernel file ./drivers/spi/spi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.