Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/ssb/pcmcia.c select_core_and_segment() -> ssb_pcmcia_switch_segment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->mapped_device | 4096-ptr_max |
| PARAM_VALUE | 1 | seg | 0-1 |
| CAPPED_DATA | 0 | bus->mapped_device | 1 |
| FUZZY_MAX | 1 | seg | 1 |
| PARAM_COMPARE | 0 | bus->mapped_pcmcia_seg | != $1 |
| PARAM_COMPARE | 1 | seg | != $0->mapped_pcmcia_seg |
| HARD_MAX | 1 | seg | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->chipco.capabilities | 0-u32max |
| HOST_DATA | 0 | bus->chipco.max_timer_ms | 2114-u16max,541200-u32max[c] |
| HOST_DATA | 0 | bus->chipco.status | 0-u32max |
| HOST_DATA | 0 | bus->chipco.ticks_per_ms | 1-31[c] |
| LOCK2 | &bus->bar_lock | ||
| HALF_LOCKED2 | &wl->mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ssb_bus)->bar_lock |
drivers/ssb/pcmcia.c ssb_pcmcia_hardware_setup() -> ssb_pcmcia_switch_segment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->bustype | 2 |
| PARAM_VALUE | 0 | bus->chipco.dev->bus->chipco.pmu.crystalfreq | 0,2,12000,13000,14400,15360,16200,16800,19200,19800,20000,24000,25000,26000,30000,38400,40000 |
| PARAM_VALUE | 0 | bus->pcicore.dev->bus->chipco.pmu.crystalfreq | 250,12000,13000,14400,15360,16200,16800,19200,19800,20000,24000,25000,26000,30000,38400,40000 |
| PARAM_VALUE | 1 | seg | 0 |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bus->host_pci | (-1),1-s32max |
| BUF_SIZE | 0 | bus->ops | (-1),64 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->host_pci->current_state | 0-3[c] |
| UNITS | 0 | bus | unit_byte |
drivers/ssb/scan.c scan_read32() -> ssb_pcmcia_switch_segment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->busnumber | 0-9 |
| PARAM_VALUE | 0 | bus->bustype | 2 |
| PARAM_VALUE | 0 | bus->chipco.dev->bus->chipco.pmu.crystalfreq | 0,2,12000,13000,14400,15360,16200,16800,19200,19800,20000,24000,25000,26000,30000,38400,40000 |
| PARAM_VALUE | 0 | bus->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->mmio | 1-u64max |
| PARAM_VALUE | 0 | bus->ops | 1236619403580723200,1906250246210007040,2807846452821266432,2990613140242620416 |
| PARAM_VALUE | 0 | bus->pcicore.dev->bus->chipco.pmu.crystalfreq | 250,12000,13000,14400,15360,16200,16800,19200,19800,20000,24000,25000,26000,30000,38400,40000 |
| PARAM_VALUE | 1 | seg | 1 |
| BUF_SIZE | 0 | bus->chipco.dev | (-1),1024 |
| BUF_SIZE | 0 | bus->host_pci | (-1),1-s32max |
| BUF_SIZE | 0 | bus->ops | 64 |
| BUF_SIZE | 0 | bus->pcicore.dev | (-1),1024 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->chip_id | 0-u16max |
| HOST_DATA | 0 | bus->chip_package | 0-15[c] |
| HOST_DATA | 0 | bus->chip_rev | 0-15[c] |
| HOST_DATA | 0 | bus->chipco.capabilities | 0-u32max |
| HOST_DATA | 0 | bus->chipco.dev->id.coreid | 2048[c] |
| HOST_DATA | 0 | bus->chipco.dev->id.revision | 0-127[c] |
| HOST_DATA | 0 | bus->chipco.dev->id.vendor | 0-u16max |
| HOST_DATA | 0 | bus->host_pci->current_state | 0-3[c] |
| HOST_DATA | 0 | bus->nr_devices | 1-15[c] |
| HOST_DATA | 0 | bus->pcicore.dev->id.coreid | 2052,2080[c] |
| HOST_DATA | 0 | bus->pcicore.dev->id.revision | 0-127[c] |
| HOST_DATA | 0 | bus->pcicore.dev->id.vendor | 0-u16max |
drivers/ssb/scan.c scan_read32() -> ssb_pcmcia_switch_segment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->busnumber | 0-9 |
| PARAM_VALUE | 0 | bus->bustype | 2 |
| PARAM_VALUE | 0 | bus->chipco.dev->bus->chipco.pmu.crystalfreq | 0,2,12000,13000,14400,15360,16200,16800,19200,19800,20000,24000,25000,26000,30000,38400,40000 |
| PARAM_VALUE | 0 | bus->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->mmio | 1-u64max |
| PARAM_VALUE | 0 | bus->nr_devices | 0-15 |
| PARAM_VALUE | 0 | bus->ops | 1236619403580723200,1906250246210007040,2807846452821266432,2990613140242620416 |
| PARAM_VALUE | 0 | bus->pcicore.dev->bus->chipco.pmu.crystalfreq | 250,12000,13000,14400,15360,16200,16800,19200,19800,20000,24000,25000,26000,30000,38400,40000 |
| PARAM_VALUE | 1 | seg | 0 |
| BUF_SIZE | 0 | bus->host_pci | (-1),1-s32max |
| BUF_SIZE | 0 | bus->ops | 64 |
| DATA_SOURCE | 0 | bus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bus->chip_id | 0-u16max |
| HOST_DATA | 0 | bus->chip_package | 0-15[c] |
| HOST_DATA | 0 | bus->chip_rev | 0-15[c] |
| HOST_DATA | 0 | bus->host_pci->current_state | 0-3[c] |
| HOST_DATA | 0 | bus->nr_devices | 0-15[c] |