Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/staging/greybus/light.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 connection->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 type 2-9,11-14
PARAM_VALUE 2 request 0,4096-ptr_max
PARAM_VALUE 3 request_size 0-4,6
PARAM_VALUE 4 response 0,1540483091643777024,2376555974983237632,2824195059120697344,4898424213872177152,6175338043908300800
PARAM_VALUE 5 response_size 0-1,4,24,33,77
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
BUF_SIZE 2 request (-1),2-4,6
BUF_SIZE 2 request (-1),2-4,6
BUF_SIZE 4 response (-1),4,24,33,77
BUF_SIZE 4 response (-1),4,24,33,77
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 14
HARD_MAX 3 request_size 6
HARD_MAX 5 response_size 77
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
HALF_LOCKED2 &cdev->led_access
HALF_LOCKED2 &channel->lock
HALF_LOCKED2 &glights->lights_lock
HALF_LOCKED2 &of->mutex

drivers/staging/greybus/bootrom.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 1 type 1,5-6
PARAM_VALUE 2 request 0,8135457279731482624
PARAM_VALUE 3 request_size 0,2
PARAM_VALUE 4 response 0,4749443208605020160,8162297335803723776
PARAM_VALUE 5 response_size 0,2,8
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection 376
BUF_SIZE 2 request (-1),2
BUF_SIZE 2 request (-1),2
BUF_SIZE 4 response (-1),2,8
BUF_SIZE 4 response (-1),2,8
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 6
HARD_MAX 3 request_size 2
HARD_MAX 5 response_size 8
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte

drivers/staging/greybus/usb.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 2-3
PARAM_VALUE 2 request 0
PARAM_VALUE 3 request_size 0
PARAM_VALUE 4 response 0
PARAM_VALUE 5 response_size 0
PARAM_VALUE 6 timeout 1000
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 3
RX_PATH
TASK_NOT_RUNNING

drivers/staging/greybus/spilib.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 1 type 2-3
PARAM_VALUE 2 request 0,173792631174586368
PARAM_VALUE 3 request_size 0-1
PARAM_VALUE 4 response 3704539417979179008,8876618180019105792
PARAM_VALUE 5 response_size 17,40
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
BUF_SIZE 4 response 17,40
BUF_SIZE 4 response 17,40
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 3
HARD_MAX 3 request_size 1
HARD_MAX 5 response_size 40
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte

drivers/staging/greybus/power_supply.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 connection->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 type 2-3,5-6
PARAM_VALUE 2 request 0,994014942778068992,2866242815009890304,4536978188998479872
PARAM_VALUE 3 request_size 0-2,6
PARAM_VALUE 4 response 0,2241263599482425344,2951259293802151936,6311372389732040704
PARAM_VALUE 5 response_size 0-1,4,99
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
BUF_SIZE 2 request (-1),2,6
BUF_SIZE 2 request (-1),2,6
BUF_SIZE 4 response (-1),4,99
BUF_SIZE 4 response (-1),4,99
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 6
HARD_MAX 3 request_size 6
HARD_MAX 5 response_size 99
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
HALF_LOCKED2 &supplies->supplies_lock

drivers/staging/greybus/uart.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 2,4-6,9
PARAM_VALUE 2 request 4096-ptr_max
PARAM_VALUE 4 response 0
PARAM_VALUE 5 response_size 0
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
BUF_SIZE 2 request (-1),8
BUF_SIZE 2 request (-1),8
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 9
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
HALF_LOCKED2 _T->lock

drivers/staging/greybus/hid.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 2-6
PARAM_VALUE 2 request 0,4613627761257500672
PARAM_VALUE 3 request_size 0,2
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
BUF_SIZE 2 request (-1),2
BUF_SIZE 2 request (-1),2
BUF_SIZE 4 response (-1)-s32max
BUF_SIZE 4 response (-1)-s32max
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 6
HARD_MAX 3 request_size 2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 5 response_size 3-16384[c]
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
BYTE_COUNT 4 ==response5 8050
USER_PTR 4 response

drivers/staging/greybus/raw.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 2
PARAM_VALUE 2 request 4096-ptr_max
PARAM_VALUE 3 request_size 5-8196
PARAM_VALUE 4 response 0
PARAM_VALUE 5 response_size 0
PARAM_VALUE 6 timeout 1000
BUF_SIZE 2 request 5-8196
BUF_SIZE 2 request 5-8196
CAPPED_DATA 3 request_size 1
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
PARAM_COMPARE 2 request == $3
USER_DATA 3 request_size 6-8196[c]
UNITS 3 request_size unit_byte
BYTE_COUNT 2 ==request3 8050
LOCK2 &raw->disconnect_lock
TYPE_LOCK (struct gb_raw)->disconnect_lock

drivers/staging/greybus/i2c.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 1 type 2
PARAM_VALUE 2 request 0
PARAM_VALUE 3 request_size 0
PARAM_VALUE 4 response 8032248150784487424
PARAM_VALUE 5 response_size 4
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection 376
BUF_SIZE 4 response 4
BUF_SIZE 4 response 4
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
RX_PATH
TASK_NOT_RUNNING
UNITS 5 response_size unit_byte

drivers/staging/greybus/fw-management.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->bundle 4096-ptr_max
PARAM_VALUE 0 connection->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 type 1-2,4-5
PARAM_VALUE 2 request 0,593574618843537408,5185442425340878848,7777070634172538880
PARAM_VALUE 3 request_size 0,10-12
PARAM_VALUE 4 response 0,2793714330811846656,7696145944536449024
PARAM_VALUE 5 response_size 0,5,14
PARAM_VALUE 6 timeout 1000
BUF_SIZE 2 request (-1),10-12
BUF_SIZE 2 request (-1),10-12
BUF_SIZE 4 response (-1),5,14
BUF_SIZE 4 response (-1),5,14
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 5
HARD_MAX 3 request_size 12
HARD_MAX 5 response_size 14
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
LOCK2 &fw_mgmt->mutex
TYPE_LOCK (struct fw_mgmt)->mutex

drivers/greybus/control.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 1,3-6,11,15-21
PARAM_VALUE 2 request 0,4096-ptr_max
PARAM_VALUE 3 request_size 0-2
PARAM_VALUE 4 response 0,4096-ptr_max
PARAM_VALUE 5 response_size 0-4000000
PARAM_VALUE 6 timeout 1000
BUF_SIZE 2 request (-1),2
BUF_SIZE 2 request (-1),2
BUF_SIZE 4 response (-1),1-s32max
BUF_SIZE 4 response (-1),1-s32max
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
PARAM_COMPARE 4 response >= $5
HARD_MAX 1 type 21
HARD_MAX 3 request_size 2
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
BYTE_COUNT 4 ==response5 8050
HALF_LOCKED2 &connection->mutex
HALF_LOCKED2 &intf->mutex

drivers/staging/greybus/pwm.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 2-8
PARAM_VALUE 2 request 0,668126175333146624,1792301554419339264,2262573130668691456,3442298454556467200,4158374953072717824,5799546788145135616
PARAM_VALUE 3 request_size 0-2,9
PARAM_VALUE 4 response 0,3538199704132440064
PARAM_VALUE 5 response_size 0-1
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
BUF_SIZE 2 request (-1),2,9
BUF_SIZE 2 request (-1),2,9
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 8
HARD_MAX 3 request_size 9
HARD_MAX 5 response_size 1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
HALF_LOCKED2 _T->lock

drivers/staging/greybus/authentication.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->bundle 4096-ptr_max
PARAM_VALUE 1 type 1
PARAM_VALUE 2 request 0
PARAM_VALUE 3 request_size 0
PARAM_VALUE 4 response 621361626743984128
PARAM_VALUE 5 response_size 8
PARAM_VALUE 6 timeout 1000
BUF_SIZE 4 response 8
BUF_SIZE 4 response 8
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
UNITS 5 response_size unit_byte
LOCK2 &cap->mutex
TYPE_LOCK (struct gb_cap)->mutex

drivers/staging/greybus/vibrator.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 type 2-3
PARAM_VALUE 2 request 0
PARAM_VALUE 3 request_size 0
PARAM_VALUE 4 response 0
PARAM_VALUE 5 response_size 0
PARAM_VALUE 6 timeout 1000
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/greybus/svc.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 3,7-12,16,20-23,33-38
PARAM_VALUE 2 request 0,4096-ptr_max
PARAM_VALUE 3 request_size 0-2,4-6,8-9,63
PARAM_VALUE 4 response 0,4096-ptr_max
PARAM_VALUE 5 response_size 0-2,5-6,33-8129
PARAM_VALUE 6 timeout 1000
BUF_SIZE 2 request (-1),2,4-6,8-9,63
BUF_SIZE 2 request (-1),2,4-6,8-9,63
BUF_SIZE 4 response (-1),2,5-6,33-8129
BUF_SIZE 4 response (-1),2,5-6,33-8129
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
FUZZY_MAX 1 type 38
HARD_MAX 1 type 38
HARD_MAX 3 request_size 63
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
HALF_LOCKED2 &connection->mutex
HALF_LOCKED2 &intf->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/greybus/svc.c gb_svc_intf_activate() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 39
PARAM_VALUE 2 request 4244563265138548736
PARAM_VALUE 3 request_size 1
PARAM_VALUE 4 response 5265070995626668032
PARAM_VALUE 5 response_size 2
PARAM_VALUE 6 timeout 6000
BUF_SIZE 4 response 2
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
LOCK2 &intf->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_interface)->mutex

drivers/greybus/svc.c gb_svc_intf_eject() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 17
PARAM_VALUE 2 request 9186305565699448832
PARAM_VALUE 3 request_size 1
PARAM_VALUE 4 response 0
PARAM_VALUE 5 response_size 0
PARAM_VALUE 6 timeout 9000
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/greybus/svc.c gb_svc_intf_resume() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 40
PARAM_VALUE 2 request 781892560320208896
PARAM_VALUE 3 request_size 1
PARAM_VALUE 4 response 6377307667400130560
PARAM_VALUE 5 response_size 1
PARAM_VALUE 6 timeout 3000
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte

drivers/greybus/svc.c gb_svc_ping() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 19
PARAM_VALUE 2 request 0
PARAM_VALUE 3 request_size 0
PARAM_VALUE 4 response 0
PARAM_VALUE 5 response_size 0
PARAM_VALUE 6 timeout 2000
HALF_LOCKED2 &pool->lock

drivers/staging/greybus/sdio.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 2-3
PARAM_VALUE 2 request 0,6067659669907132416
PARAM_VALUE 3 request_size 0,14
PARAM_VALUE 4 response 0,8725020121993482240
PARAM_VALUE 5 response_size 0,20
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
BUF_SIZE 4 response (-1),20
BUF_SIZE 4 response (-1),20
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 3
HARD_MAX 3 request_size 14
HARD_MAX 5 response_size 20
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
HALF_LOCKED2 &host->lock

drivers/staging/greybus/sdio.c gb_sdio_command() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 4
PARAM_VALUE 2 request 5187602411082235904
PARAM_VALUE 3 request_size 11
PARAM_VALUE 4 response 7991442856055304192
PARAM_VALUE 5 response_size 16
PARAM_VALUE 6 timeout 1-u32max
BUF_SIZE 2 request 11
BUF_SIZE 4 response 16
FUZZY_MAX 6 timeout 1000
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
LOCK2 &host->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_sdio_host)->lock

drivers/staging/greybus/audio_gb.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 2-10,12-14,16-17
PARAM_VALUE 2 request 0,4096-ptr_max
PARAM_VALUE 3 request_size 0-2,4,12,26
PARAM_VALUE 4 response 0,4096-ptr_max
PARAM_VALUE 6 timeout 1000
BUF_SIZE 2 request (-1),2,4,12,26
BUF_SIZE 2 request (-1),2,4,12,26
BUF_SIZE 4 response (-1),2,10,24
BUF_SIZE 4 response (-1),2,10,24
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
PARAM_COMPARE 4 response >= $5
HARD_MAX 1 type 17
HARD_MAX 3 request_size 26
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte
BYTE_COUNT 4 ==response5 8050
HALF_LOCKED2 &codec->lock

drivers/staging/greybus/gpio.c gb_operation_sync() -> gb_operation_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 1 type 2-13
PARAM_VALUE 2 request 0,4096-ptr_max
PARAM_VALUE 3 request_size 0-3
PARAM_VALUE 4 response 0,6862873931756982272,7455837355439484928,7831316435837906944
PARAM_VALUE 5 response_size 0-1
PARAM_VALUE 6 timeout 1000
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
BUF_SIZE 2 request (-1),2-3
BUF_SIZE 2 request (-1),2-3
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request $2
DATA_SOURCE 3 request_size $3
DATA_SOURCE 4 response $4
DATA_SOURCE 5 response_size $5
HARD_MAX 1 type 13
HARD_MAX 3 request_size 3
HARD_MAX 5 response_size 1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 request_size unit_byte
UNITS 5 response_size unit_byte