Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/nandsim.c ns_init() -> ns_alloc_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->busw | 8,16 |
| PARAM_VALUE | 0 | ns->geom.pgaddrbytes | 3-5 |
| PARAM_VALUE | 0 | ns->geom.pgsz | 512,2048,4096 |
| PARAM_VALUE | 0 | ns->geom.secaddrbytes | 2-3 |
| PARAM_VALUE | 0 | ns->nbparts | 0-1 |
| PARAM_VALUE | 0 | ns->options | 2,8,66,128 |
| BUF_SIZE | 0 | ns | 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768 |
| BUF_SIZE | 0 | ns | 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768 |
| FUZZY_MAX | 0 | ns->busw | 16 |
| FUZZY_MAX | 0 | ns->geom.pgaddrbytes | 5 |
| FUZZY_MAX | 0 | ns->geom.secaddrbytes | 3 |
| BIT_INFO | 0 | ns->busw | 0x0,0x18 |
| BIT_INFO | 0 | ns->geom.pgsz | 0x0,0x1a00 |
| BIT_INFO | 0 | ns->geom.secaddrbytes | 0x2,0x3 |
| BIT_INFO | 0 | ns->options | 0x0,0xca |
| HARD_MAX | 0 | ns->busw | 16 |
| HARD_MAX | 0 | ns->geom.pgaddrbytes | 5 |
| HARD_MAX | 0 | ns->geom.secaddrbytes | 3 |