Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpiolib.c gpiod_fwnode_lookup() -> gpiod_find_by_fwnode()

Type Parameter Key Value
PARAM_VALUE 0 fwnode->ops->add_links 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->device_is_available 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->get 0,5266873307488796672,8589707393086369792
PARAM_VALUE 0 fwnode->ops->get_name 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->get_named_child_node 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->get_next_child_node 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->get_parent 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->get_reference_args 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->graph_parse_endpoint 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->iomap 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->irq_get 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->property_present 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->property_read_bool 0,4096-ptr_max
PARAM_VALUE 0 fwnode->ops->put 0,4096-ptr_max
PARAM_VALUE 1 consumer->dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 1 consumer->dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 1 consumer->dma_ops->cache_sync 0
PARAM_VALUE 1 consumer->dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 1 consumer->dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 1 consumer->dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 1 consumer->dma_ops->get_merge_boundary 0
PARAM_VALUE 1 consumer->dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 1 consumer->dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 1 consumer->dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 1 consumer->dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 1 consumer->dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 1 consumer->dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 1 consumer->dma_ops->opt_mapping_size 0
PARAM_VALUE 1 consumer->dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 1 consumer->dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 1 consumer->dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 1 consumer->dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 1 consumer->dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 1 consumer->dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 1 consumer->iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 1 consumer->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 consumer->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 consumer->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 consumer->power.wakeirq->status 0-4294967295
PARAM_VALUE 5 lookupflags 7585167187277279232
PARAM_VALUE 5 *lookupflags 0
BUF_SIZE 0 fwnode (-1)-0,64
BUF_SIZE 0 fwnode (-1)-0,64
BUF_SIZE 1 consumer (-1)-0,24-s32max
BUF_SIZE 1 consumer (-1)-0,24-s32max
BUF_SIZE 1 consumer->bus (-1),168
BUF_SIZE 1 consumer->driver (-1),152
BUF_SIZE 1 consumer->fwnode (-1)-0,64
BUF_SIZE 1 consumer->groups (-1),16
BUF_SIZE 1 consumer->init_name (-1),50
BUF_SIZE 1 consumer->parent (-1),1616
BUF_SIZE 1 consumer->platform_data (-1),32,56,224
BUF_SIZE 2 con_id (-1),3-23,25,128,256
BUF_SIZE 2 con_id (-1),3-23,25,128,256
DATA_SOURCE 0 fwnode $0
DATA_SOURCE 1 consumer $1
DATA_SOURCE 2 con_id $2
DATA_SOURCE 3 idx $3
DATA_SOURCE 4 flags $4
DATA_SOURCE 5 lookupflags $5
STR_LEN 0 fwnode (-1),1-2,6-9,11-13,15-16,18-19
STR_LEN 0 fwnode (-1),1-2,6-9,11-13,15-16,18-19
STR_LEN 1 consumer (-1),2-22,24,127
STR_LEN 1 consumer (-1),2-22,24,127
STR_LEN 1 consumer->init_name (-1)
STR_LEN 1 consumer->parent (-1),20,23
STR_LEN 2 con_id (-1),1,11-13,18
STR_LEN 2 con_id (-1),1,11-13,18
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 consumer->flags 4096-u32max
NO_OVERFLOW_SIMPLE 3 idx
UNITS 0 fwnode unit_byte
UNITS 1 consumer unit_byte
UNITS 3 idx unit_array_size
LOCK2 _T->lock
HALF_LOCKED2 1 &consumer->mutex

drivers/gpio/gpiolib.c gpiod_fwnode_lookup() -> gpiod_find_by_fwnode()

Type Parameter Key Value
PARAM_VALUE 1 consumer->dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 1 consumer->dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 1 consumer->dma_ops->cache_sync 0
PARAM_VALUE 1 consumer->dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 1 consumer->dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 1 consumer->dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 1 consumer->dma_ops->get_merge_boundary 0
PARAM_VALUE 1 consumer->dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 1 consumer->dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 1 consumer->dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 1 consumer->dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 1 consumer->dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 1 consumer->dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 1 consumer->dma_ops->opt_mapping_size 0
PARAM_VALUE 1 consumer->dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 1 consumer->dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 1 consumer->dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 1 consumer->dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 1 consumer->dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 1 consumer->dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 1 consumer->iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 1 consumer->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 consumer->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 consumer->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 consumer->power.wakeirq->status 0-4294967295
PARAM_VALUE 5 lookupflags 7585167187277279232
BUF_SIZE 1 consumer (-1)-0,24-s32max
BUF_SIZE 1 consumer (-1)-0,24-s32max
BUF_SIZE 1 consumer->bus (-1),168
BUF_SIZE 1 consumer->driver (-1),152
BUF_SIZE 1 consumer->fwnode (-1)-0,64
BUF_SIZE 1 consumer->groups (-1),16
BUF_SIZE 1 consumer->init_name (-1),50
BUF_SIZE 1 consumer->parent (-1),1616
BUF_SIZE 1 consumer->platform_data (-1),32,56,224
BUF_SIZE 2 con_id (-1),3-23,25,128,256
BUF_SIZE 2 con_id (-1),3-23,25,128,256
DATA_SOURCE 1 consumer $1
DATA_SOURCE 2 con_id $2
DATA_SOURCE 3 idx $3
DATA_SOURCE 4 flags $4
DATA_SOURCE 5 lookupflags $5
STR_LEN 0 fwnode (-1),2-22,24,127
STR_LEN 1 consumer (-1),1,11-13,18
STR_LEN 1 consumer (-1),2-22,24,127
STR_LEN 1 consumer->init_name (-1)
STR_LEN 1 consumer->parent (-1),20,23
STR_LEN 2 con_id (-1),1,11-13,18
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 consumer->flags 4096-u32max
NO_OVERFLOW_SIMPLE 3 idx
UNITS 0 fwnode unit_byte
UNITS 1 consumer unit_byte
UNITS 3 idx unit_array_size
LOCK2 _T->lock
HALF_LOCKED2 1 &consumer->mutex