Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/spi/spi-dw-core.c dw_spi_add_controller() -> spi_alloc_host()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 size 0
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING

drivers/staging/greybus/spilib.c gb_spilib_master_init() -> spi_alloc_host()

Type Parameter Key Value
PARAM_VALUE 1 size 80
DATA_SOURCE 0 dev $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte

drivers/spi/spi-topcliff-pch.c pch_spi_pd_probe() -> spi_alloc_host()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 size 640
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte

drivers/spi/spi-butterfly.c butterfly_attach() -> spi_alloc_host()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
PARAM_VALUE 1 size 424
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/spi/spi-lm70llp.c spi_lm70llp_attach() -> spi_alloc_host()

Type Parameter Key Value
PARAM_VALUE 1 size 336
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/spi/spi-fsl-dspi.c dspi_probe() -> spi_alloc_host()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 size 0
RX_PATH
TASK_NOT_RUNNING

drivers/video/fbdev/mmp/hw/mmp_spi.c lcd_spi_register() -> spi_alloc_host()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dma_mem->pfn_base 0-s64max
PARAM_VALUE 0 dev->platform_data 4096-ptr_max
PARAM_VALUE 0 *dev->p->deferred_probe_reason 0-255
PARAM_VALUE 1 size 8
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte

drivers/media/usb/msi2500/msi2500.c msi2500_probe() -> spi_alloc_host()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 size 0
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING