Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/i2c/busses/i2c-qup.c qup_i2c_bam_make_desc() -> qup_sg_set_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | buflen | 2 |
| PARAM_VALUE | 3 | qup | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->blk.count | 0-256 |
| PARAM_VALUE | 3 | qup->blk.pos | 0-255 |
| PARAM_VALUE | 3 | qup->blk_xfer_limit | 256 |
| PARAM_VALUE | 3 | qup->brx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->brx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->brx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.sg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->btx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->btx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->start_tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->tag_buf_pos | 0,2-u32max |
| PARAM_VALUE | 4 | dir | 2 |
| BUF_SIZE | 1 | buf | 2,2055 |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | qup->blk.pos | 1 |
| DATA_SOURCE | 3 | qup | $0 |
| UNITS | 3 | qup | unit_byte |
drivers/i2c/busses/i2c-qup.c qup_i2c_bam_make_desc() -> qup_sg_set_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 3 | qup | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->blk.count | 0-256 |
| PARAM_VALUE | 3 | qup->blk.pos | 0-255 |
| PARAM_VALUE | 3 | qup->blk_xfer_limit | 256 |
| PARAM_VALUE | 3 | qup->brx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->brx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->brx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.sg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->btx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->btx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | qup->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 3 | qup->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 3 | qup->start_tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->tag_buf_pos | 0,2-u32max |
| PARAM_VALUE | 4 | dir | 2 |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | qup->blk.pos | 1 |
| CAPPED_DATA | 3 | qup->dev | 1 |
| DATA_SOURCE | 3 | qup | $0 |
| UNITS | 2 | buflen | unit_byte |
| UNITS | 3 | qup | unit_byte |
drivers/i2c/busses/i2c-qup.c qup_i2c_bam_make_desc() -> qup_sg_set_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | buflen | 0,2-u32max |
| PARAM_VALUE | 3 | qup | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->blk.count | 0-256 |
| PARAM_VALUE | 3 | qup->blk_xfer_limit | 256 |
| PARAM_VALUE | 3 | qup->brx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->brx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->brx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->btx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->btx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.sg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->start_tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->tag_buf_pos | 0,2-u32max |
| PARAM_VALUE | 4 | dir | 1 |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| DATA_SOURCE | 3 | qup | $0 |
| FUZZY_MAX | 2 | buflen | 0 |
| UNITS | 3 | qup | unit_byte |
drivers/i2c/busses/i2c-qup.c qup_i2c_bam_make_desc() -> qup_sg_set_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 2-5 |
| PARAM_VALUE | 3 | qup | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->blk.count | 0-256 |
| PARAM_VALUE | 3 | qup->blk.pos | 0-255 |
| PARAM_VALUE | 3 | qup->blk_xfer_limit | 256 |
| PARAM_VALUE | 3 | qup->brx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->brx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->brx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->btx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->btx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.sg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->start_tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->tag_buf_pos | 0,2-u32max |
| PARAM_VALUE | 4 | dir | 1 |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | qup->blk.pos | 1 |
| DATA_SOURCE | 2 | buflen | r qup_i2c_set_tags |
| DATA_SOURCE | 3 | qup | $0 |
| UNITS | 3 | qup | unit_byte |
drivers/i2c/busses/i2c-qup.c qup_i2c_bam_make_desc() -> qup_sg_set_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 3 | qup | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->blk.count | 0-256 |
| PARAM_VALUE | 3 | qup->blk.pos | 0-255 |
| PARAM_VALUE | 3 | qup->blk_xfer_limit | 256 |
| PARAM_VALUE | 3 | qup->brx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->brx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->brx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->btx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->btx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.sg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | qup->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 3 | qup->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 3 | qup->start_tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->tag_buf_pos | 0,2-u32max |
| PARAM_VALUE | 4 | dir | 1 |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | qup->blk.pos | 1 |
| CAPPED_DATA | 3 | qup->dev | 1 |
| DATA_SOURCE | 3 | qup | $0 |
| UNITS | 2 | buflen | unit_byte |
| UNITS | 3 | qup | unit_byte |
drivers/i2c/busses/i2c-qup.c qup_i2c_bam_schedule_desc() -> qup_sg_set_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | buflen | 1 |
| PARAM_VALUE | 3 | qup | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->blk.count | 0-256 |
| PARAM_VALUE | 3 | qup->blk_xfer_limit | 256 |
| PARAM_VALUE | 3 | qup->brx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->brx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->brx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.sg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.sg_cnt | 1-u32max |
| PARAM_VALUE | 3 | qup->brx.tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->btx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->btx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->msg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->tag_buf_pos | 0,2-u32max |
| PARAM_VALUE | 4 | dir | 2 |
| BUF_SIZE | 1 | buf | 2,2055 |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| DATA_SOURCE | 3 | qup | $0 |
| UNITS | 3 | qup | unit_byte |
drivers/i2c/busses/i2c-qup.c qup_i2c_bam_schedule_desc() -> qup_sg_set_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | *buf | 0-255 |
| PARAM_VALUE | 2 | buflen | 1-2 |
| PARAM_VALUE | 3 | qup | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->blk.count | 0-256 |
| PARAM_VALUE | 3 | qup->blk_xfer_limit | 256 |
| PARAM_VALUE | 3 | qup->brx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->brx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->brx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->brx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->brx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma | 1-u64max |
| PARAM_VALUE | 3 | qup->btx.dma->client_count | 1-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->dev->device.kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.dma->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 3 | qup->btx.dma->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | qup->btx.dma->slave | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.sg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->btx.tag.start | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->msg | 4096-ptr_max |
| PARAM_VALUE | 3 | qup->tag_buf_pos | 0,2-u32max |
| PARAM_VALUE | 4 | dir | 1 |
| BUF_SIZE | 1 | buf | 2,2055 |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | qup | s32min-(-2),1-s32max |
| DATA_SOURCE | 3 | qup | $0 |
| FUZZY_MAX | 2 | buflen | 2 |
| HARD_MAX | 2 | buflen | 2 |
| UNITS | 3 | qup | unit_byte |