Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/industrialio-core.c __iio_add_chan_devattr() -> __iio_device_attr_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_attr | 4096-ptr_max |
| PARAM_VALUE | 2 | chan | 4096-ptr_max |
| PARAM_VALUE | 3 | readfunc | 0,4096-ptr_max |
| PARAM_VALUE | 4 | writefunc | 0,1255667833819922432,1721532205455970304,2148403531681808384,3185777094337667072,4392534889780301824,6099372000895504384 |
| BUF_SIZE | 1 | postfix | (-1)-s32max |
| BUF_SIZE | 1 | postfix | (-1)-s32max |
| BUF_SIZE | 3 | readfunc | (-1)-0,8 |
| BUF_SIZE | 3 | readfunc | (-1)-0,8 |
| BUF_SIZE | 4 | writefunc | (-1)-0,8 |
| BUF_SIZE | 4 | writefunc | (-1)-0,8 |
| DATA_SOURCE | 1 | postfix | $0 |
| DATA_SOURCE | 2 | chan | $1 |
| DATA_SOURCE | 3 | readfunc | $2 |
| DATA_SOURCE | 4 | writefunc | $3 |
| DATA_SOURCE | 5 | shared_by | $5 |
| STR_LEN | 0 | dev_attr | (-1),2,4-5 |
| STR_LEN | 1 | postfix | (-1),2,4-5 |
| BIT_INFO | 3 | readfunc | 0x0,0x7fffffffffffffff |
| BIT_INFO | 3 | readfunc | 0x0,0x7fffffffffffffff |