Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-stm32.c stm32_spi_transfer_one_dma() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 0,4,8,12,32,48,1008
PARAM_VALUE 2 bits 0-2,56,64,128,8192,16384,32768,8388608,16777216,33554432,251658240,268435456,1879048192
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-2),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-2),1-s32max
DATA_SOURCE 0 spi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 spi unit_byte
LOCK2 &ctrl->io_mutex
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &ctrl->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32f4_spi_set_bpw() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 bits 2048
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-2),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-2),1-s32max
CAPPED_DATA 0 spi->cur_xferlen 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctrl->io_mutex
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &ctrl->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32f7_spi_read_rx() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 4
PARAM_VALUE 2 bits 4096
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
DATA_SOURCE 0 spi $0
BIT_INFO 0 spi->cur_comm 0x0,0x7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &spi->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32f7_spi_transfer_one_dma_start() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 4
PARAM_VALUE 2 bits 4096
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-2),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-2),1-s32max
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctrl->io_mutex
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &ctrl->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32fx_spi_config() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 28
PARAM_VALUE 2 bits 2048
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->ctrl (-1),2864-5728
BUF_SIZE 0 spi->dev (-1),1616
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 spi->feature_set 0,2-u32max[c]
LOCK2 flags
LOCK2 0 &spi->lock
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32fx_spi_disable() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 4
PARAM_VALUE 2 bits 224
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
DATA_SOURCE 0 spi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 spi unit_byte
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &_dev->mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32fx_spi_disable() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 bits 64
BUF_SIZE 0 spi s32min-(-1),1-s32max
BUF_SIZE 0 spi s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 spi unit_byte
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 flags
HALF_LOCKED2 0 &spi->lock

drivers/spi/spi-stm32.c stm32fx_spi_disable() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 4
PARAM_VALUE 2 bits 3
BUF_SIZE 0 spi s32min-(-1),1-s32max
BUF_SIZE 0 spi s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 spi unit_byte
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 flags
HALF_LOCKED2 0 &spi->lock

drivers/spi/spi-stm32.c stm32fx_spi_irq_event() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 4
PARAM_VALUE 2 bits 224
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BIT_INFO 0 spi->cur_comm 0x0,0x7
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 spi unit_byte
LOCK2 0 &spi->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32fx_spi_set_mode() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 bits 49152
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-2),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-2),1-s32max
CAPPED_DATA 0 spi->cur_xferlen 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctrl->io_mutex
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &ctrl->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32fx_spi_set_mode() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 bits 16384
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-2),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-2),1-s32max
CAPPED_DATA 0 spi->cur_xferlen 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctrl->io_mutex
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &ctrl->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32h7_spi_config() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 80
PARAM_VALUE 2 bits 1
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->ctrl (-1),2864-5728
BUF_SIZE 0 spi->dev (-1),1616
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 spi->feature_set 0,2-u32max[c]
LOCK2 flags
LOCK2 0 &spi->lock
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32h7_spi_disable() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 bits 1
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 spi unit_byte
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &ctrl->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32h7_spi_disable() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 8
PARAM_VALUE 2 bits 49152
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 spi unit_byte
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &ctrl->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32h7_spi_get_fifo_size() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->base 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 bits 1
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->ctrl 2864-5728
BUF_SIZE 0 spi->dev 1616
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &spi->lock
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32h7_spi_set_mode() -> stm32_spi_clr_bits()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 bits 2048
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-2),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-2),1-s32max
CAPPED_DATA 0 spi->cur_xferlen 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctrl->io_mutex
LOCK2 flags
LOCK2 0 &spi->lock
HALF_LOCKED2 &ctrl->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex
TYPE_LOCK (struct stm32_spi)->lock