Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/wireless/ath/ath9k/eeprom_4k.c, line 193
- drivers/net/wireless/ath/ath9k/eeprom_9287.c, line 191
- drivers/net/wireless/ath/ath9k/eeprom_def.c, line 272
Smatch caller information:
drivers/net/wireless/ath/ath9k/eeprom_9287.c ath9k_hw_ar9287_check_eeprom() -> ath9k_hw_nvram_swap_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData | 0,4149904397366251520,5088511038832726016 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calCollect | 5489423275708624896 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calPostProc | 1398424883548065792 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calType | 2 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData | 0,2328951398677917696,7848416130895151104 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calCollect | 9219502188780249088 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calPostProc | 3044083261979680768 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calType | 1 |
| PARAM_VALUE | 0 | ah->ani_function | 4087,4095 |
| PARAM_VALUE | 0 | ah->btcoex_hw.mci.ready | 0 |
| PARAM_VALUE | 0 | ah->chip_fullsleep | 1 |
| PARAM_VALUE | 0 | ah->config.analog_shiftreg | 1 |
| PARAM_VALUE | 0 | ah->config.cwm_ignore_extcca | 0 |
| PARAM_VALUE | 0 | ah->config.dma_beacon_response_time | 1 |
| PARAM_VALUE | 0 | ah->config.max_txtrig_level | 31,63 |
| PARAM_VALUE | 0 | ah->config.pll_pwrsave | 0,7 |
| PARAM_VALUE | 0 | ah->config.rimt_first | 700,2000 |
| PARAM_VALUE | 0 | ah->config.rimt_last | 250,500 |
| PARAM_VALUE | 0 | ah->config.rx_intr_mitigation | 1 |
| PARAM_VALUE | 0 | ah->config.serialize_regmode | 0-1 |
| PARAM_VALUE | 0 | ah->config.sw_beacon_response_time | 6 |
| PARAM_VALUE | 0 | ah->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->eep_ops | 401882547319939072,729825117603717120,1590782675362660352,6777961189959979008 |
| PARAM_VALUE | 0 | ah->enabled_cals | 0-1,3 |
| PARAM_VALUE | 0 | ah->globaltxtimeout | u32max |
| PARAM_VALUE | 0 | ah->htc_reset_init | 1 |
| PARAM_VALUE | 0 | ah->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->hw->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->hw_version.macRev | 0-15 |
| PARAM_VALUE | 0 | ah->hw_version.macVersion | 12-13,20,64,128,192,320,384,448,512,576,640,704,768,1024,1280,1536 |
| PARAM_VALUE | 0 | ah->hw_version.magic | 425988116 |
| PARAM_VALUE | 0 | ah->hw_version.subvendorid | 0 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData | 0,1477256604340690944,4777676671416549376,8923472672166752256 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calCollect | 1695678688901332992,6199610253362896896 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calPostProc | 1589106148631003136,5859052849610117120 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calType | 1,4 |
| PARAM_VALUE | 0 | ah->nf_2g.max | (-116),(-108),(-97),(-80),(-60) |
| PARAM_VALUE | 0 | ah->nf_2g.min | (-127),(-125),(-100) |
| PARAM_VALUE | 0 | ah->nf_2g.nominal | (-127),(-118),(-112),(-110),(-90) |
| PARAM_VALUE | 0 | ah->nf_5g.max | (-102),(-90),(-60) |
| PARAM_VALUE | 0 | ah->nf_5g.min | (-127),(-125),(-122),(-110) |
| PARAM_VALUE | 0 | ah->nf_5g.nominal | (-127),(-115),(-112),(-100) |
| PARAM_VALUE | 0 | ah->power_mode | 0 |
| PARAM_VALUE | 0 | ah->radar_conf.fir_power | (-33),(-28) |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_height | 10 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_inband | 8,15 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_inband_step | 12 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_maxlen | 255 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_rssi | 15 |
| PARAM_VALUE | 0 | ah->radar_conf.radar_inband | 8 |
| PARAM_VALUE | 0 | ah->radar_conf.radar_rssi | 0,20 |
| PARAM_VALUE | 0 | ah->reg_ops.multi_read | 1469282327187095552,4948842229153079296 |
| PARAM_VALUE | 0 | ah->reg_ops.read | 7468358872580296704,8257428178327875584 |
| PARAM_VALUE | 0 | ah->reg_ops.rmw | 3049928195557015552,8327245528386433024 |
| PARAM_VALUE | 0 | ah->reg_ops.write | 4358930921022136320,9213353716748288000 |
| PARAM_VALUE | 0 | ah->slottime | 9 |
| PARAM_VALUE | 0 | ah->sta_id1_defaults | 2281701376,2285895680 |
| PARAM_VALUE | 0 | ah->supp_cals | 0-1,4,6-7 |
| PARAM_VALUE | 0 | ah->tpc_enabled | 0 |
| PARAM_VALUE | 0 | ah->tx_trig_level | 4,8 |
| PARAM_VALUE | 0 | *ah->btcoex_hw.aic->aic_sram | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->nf_regs | 0-4294967295 |
| PARAM_VALUE | 1 | swap_needed | 2260494753504686080 |
| PARAM_VALUE | 2 | size | 363 |
| BUF_SIZE | 0 | ah->dev | (-1),1616 |
| BUF_SIZE | 0 | ah->eep_ops | 88 |
| BUF_SIZE | 0 | ah->hw | 208 |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->hw_version.macVersion | 448 |
| BIT_INFO | 0 | ah->eep_ops | 0x400000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ah->WARegVal | 0,16384-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | ah->hw_version.analog5GhzRev | 0-3[c] |
| HOST_DATA | 0 | ah->hw_version.phyRev | 0-u16max |
drivers/net/wireless/ath/ath9k/eeprom_4k.c ath9k_hw_4k_check_eeprom() -> ath9k_hw_nvram_swap_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData | 0,4149904397366251520,5088511038832726016 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calCollect | 5489423275708624896 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calPostProc | 1398424883548065792 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calType | 2 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData | 0,2328951398677917696,7848416130895151104 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calCollect | 9219502188780249088 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calPostProc | 3044083261979680768 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calType | 1 |
| PARAM_VALUE | 0 | ah->ani_function | 4087,4095 |
| PARAM_VALUE | 0 | ah->btcoex_hw.mci.ready | 0 |
| PARAM_VALUE | 0 | ah->chip_fullsleep | 1 |
| PARAM_VALUE | 0 | ah->config.analog_shiftreg | 1 |
| PARAM_VALUE | 0 | ah->config.cwm_ignore_extcca | 0 |
| PARAM_VALUE | 0 | ah->config.dma_beacon_response_time | 1 |
| PARAM_VALUE | 0 | ah->config.max_txtrig_level | 31,63 |
| PARAM_VALUE | 0 | ah->config.pll_pwrsave | 0,7 |
| PARAM_VALUE | 0 | ah->config.rimt_first | 700,2000 |
| PARAM_VALUE | 0 | ah->config.rimt_last | 250,500 |
| PARAM_VALUE | 0 | ah->config.rx_intr_mitigation | 1 |
| PARAM_VALUE | 0 | ah->config.serialize_regmode | 0-1 |
| PARAM_VALUE | 0 | ah->config.sw_beacon_response_time | 6 |
| PARAM_VALUE | 0 | ah->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->eep_ops | 401882547319939072,729825117603717120,1590782675362660352,6777961189959979008 |
| PARAM_VALUE | 0 | ah->enabled_cals | 0-1,3 |
| PARAM_VALUE | 0 | ah->globaltxtimeout | u32max |
| PARAM_VALUE | 0 | ah->htc_reset_init | 1 |
| PARAM_VALUE | 0 | ah->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->hw->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->hw_version.macRev | 0-15 |
| PARAM_VALUE | 0 | ah->hw_version.macVersion | 12-13,20,64,128,192,320,384,448,512,576,640,704,768,1024,1280,1536 |
| PARAM_VALUE | 0 | ah->hw_version.magic | 425988116 |
| PARAM_VALUE | 0 | ah->hw_version.subvendorid | 0 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData | 0,1477256604340690944,4777676671416549376,8923472672166752256 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calCollect | 1695678688901332992,6199610253362896896 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calPostProc | 1589106148631003136,5859052849610117120 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calType | 1,4 |
| PARAM_VALUE | 0 | ah->nf_2g.max | (-116),(-108),(-97),(-80),(-60) |
| PARAM_VALUE | 0 | ah->nf_2g.min | (-127),(-125),(-100) |
| PARAM_VALUE | 0 | ah->nf_2g.nominal | (-127),(-118),(-112),(-110),(-90) |
| PARAM_VALUE | 0 | ah->nf_5g.max | (-102),(-90),(-60) |
| PARAM_VALUE | 0 | ah->nf_5g.min | (-127),(-125),(-122),(-110) |
| PARAM_VALUE | 0 | ah->nf_5g.nominal | (-127),(-115),(-112),(-100) |
| PARAM_VALUE | 0 | ah->power_mode | 0 |
| PARAM_VALUE | 0 | ah->radar_conf.fir_power | (-33),(-28) |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_height | 10 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_inband | 8,15 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_inband_step | 12 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_maxlen | 255 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_rssi | 15 |
| PARAM_VALUE | 0 | ah->radar_conf.radar_inband | 8 |
| PARAM_VALUE | 0 | ah->radar_conf.radar_rssi | 0,20 |
| PARAM_VALUE | 0 | ah->reg_ops.multi_read | 1469282327187095552,4948842229153079296 |
| PARAM_VALUE | 0 | ah->reg_ops.read | 7468358872580296704,8257428178327875584 |
| PARAM_VALUE | 0 | ah->reg_ops.rmw | 3049928195557015552,8327245528386433024 |
| PARAM_VALUE | 0 | ah->reg_ops.write | 4358930921022136320,9213353716748288000 |
| PARAM_VALUE | 0 | ah->slottime | 9 |
| PARAM_VALUE | 0 | ah->sta_id1_defaults | 2281701376,2285895680 |
| PARAM_VALUE | 0 | ah->supp_cals | 0-1,4,6-7 |
| PARAM_VALUE | 0 | ah->tpc_enabled | 0 |
| PARAM_VALUE | 0 | ah->tx_trig_level | 4,8 |
| PARAM_VALUE | 0 | *ah->btcoex_hw.aic->aic_sram | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->nf_regs | 0-4294967295 |
| PARAM_VALUE | 1 | swap_needed | 704906096604585984 |
| PARAM_VALUE | 2 | size | 188 |
| BUF_SIZE | 0 | ah->dev | (-1),1616 |
| BUF_SIZE | 0 | ah->eep_ops | 88 |
| BUF_SIZE | 0 | ah->hw | 208 |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->hw_version.macVersion | 448 |
| BIT_INFO | 0 | ah->eep_ops | 0x400000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ah->WARegVal | 0,16384-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | ah->hw_version.analog5GhzRev | 0-3[c] |
| HOST_DATA | 0 | ah->hw_version.phyRev | 0-u16max |
drivers/net/wireless/ath/ath9k/eeprom_def.c ath9k_hw_def_check_eeprom() -> ath9k_hw_nvram_swap_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData | 0,4149904397366251520,5088511038832726016 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calCollect | 5489423275708624896 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calPostProc | 1398424883548065792 |
| PARAM_VALUE | 0 | ah->adcdc_caldata.calData->calType | 2 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData | 0,2328951398677917696,7848416130895151104 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calCollect | 9219502188780249088 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calPostProc | 3044083261979680768 |
| PARAM_VALUE | 0 | ah->adcgain_caldata.calData->calType | 1 |
| PARAM_VALUE | 0 | ah->ani_function | 4087,4095 |
| PARAM_VALUE | 0 | ah->btcoex_hw.mci.ready | 0 |
| PARAM_VALUE | 0 | ah->chip_fullsleep | 1 |
| PARAM_VALUE | 0 | ah->config.analog_shiftreg | 1 |
| PARAM_VALUE | 0 | ah->config.cwm_ignore_extcca | 0 |
| PARAM_VALUE | 0 | ah->config.dma_beacon_response_time | 1 |
| PARAM_VALUE | 0 | ah->config.max_txtrig_level | 31,63 |
| PARAM_VALUE | 0 | ah->config.pll_pwrsave | 0,7 |
| PARAM_VALUE | 0 | ah->config.rimt_first | 700,2000 |
| PARAM_VALUE | 0 | ah->config.rimt_last | 250,500 |
| PARAM_VALUE | 0 | ah->config.rx_intr_mitigation | 1 |
| PARAM_VALUE | 0 | ah->config.serialize_regmode | 0-1 |
| PARAM_VALUE | 0 | ah->config.sw_beacon_response_time | 6 |
| PARAM_VALUE | 0 | ah->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->eep_ops | 401882547319939072,729825117603717120,1590782675362660352,6777961189959979008 |
| PARAM_VALUE | 0 | ah->enabled_cals | 0-1,3 |
| PARAM_VALUE | 0 | ah->globaltxtimeout | u32max |
| PARAM_VALUE | 0 | ah->htc_reset_init | 1 |
| PARAM_VALUE | 0 | ah->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->hw->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->hw_version.macRev | 0-15 |
| PARAM_VALUE | 0 | ah->hw_version.macVersion | 12-13,20,64,128,192,320,384,448,512,576,640,704,768,1024,1280,1536 |
| PARAM_VALUE | 0 | ah->hw_version.magic | 425988116 |
| PARAM_VALUE | 0 | ah->hw_version.subvendorid | 0 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData | 0,1477256604340690944,4777676671416549376,8923472672166752256 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calCollect | 1695678688901332992,6199610253362896896 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calCountMax | 2,10 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calNumSamples | 1,64 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calPostProc | 1589106148631003136,5859052849610117120 |
| PARAM_VALUE | 0 | ah->iq_caldata.calData->calType | 1,4 |
| PARAM_VALUE | 0 | ah->nf_2g.max | (-116),(-108),(-97),(-80),(-60) |
| PARAM_VALUE | 0 | ah->nf_2g.min | (-127),(-125),(-100) |
| PARAM_VALUE | 0 | ah->nf_2g.nominal | (-127),(-118),(-112),(-110),(-90) |
| PARAM_VALUE | 0 | ah->nf_5g.max | (-102),(-90),(-60) |
| PARAM_VALUE | 0 | ah->nf_5g.min | (-127),(-125),(-122),(-110) |
| PARAM_VALUE | 0 | ah->nf_5g.nominal | (-127),(-115),(-112),(-100) |
| PARAM_VALUE | 0 | ah->power_mode | 0 |
| PARAM_VALUE | 0 | ah->radar_conf.fir_power | (-33),(-28) |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_height | 10 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_inband | 8,15 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_inband_step | 12 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_maxlen | 255 |
| PARAM_VALUE | 0 | ah->radar_conf.pulse_rssi | 15 |
| PARAM_VALUE | 0 | ah->radar_conf.radar_inband | 8 |
| PARAM_VALUE | 0 | ah->radar_conf.radar_rssi | 0,20 |
| PARAM_VALUE | 0 | ah->reg_ops.multi_read | 1469282327187095552,4948842229153079296 |
| PARAM_VALUE | 0 | ah->reg_ops.read | 7468358872580296704,8257428178327875584 |
| PARAM_VALUE | 0 | ah->reg_ops.rmw | 3049928195557015552,8327245528386433024 |
| PARAM_VALUE | 0 | ah->reg_ops.write | 4358930921022136320,9213353716748288000 |
| PARAM_VALUE | 0 | ah->slottime | 9 |
| PARAM_VALUE | 0 | ah->sta_id1_defaults | 2281701376,2285895680 |
| PARAM_VALUE | 0 | ah->supp_cals | 0-1,4,6-7 |
| PARAM_VALUE | 0 | ah->tpc_enabled | 0 |
| PARAM_VALUE | 0 | ah->tx_trig_level | 4,8 |
| PARAM_VALUE | 0 | *ah->btcoex_hw.aic->aic_sram | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->nf_regs | 0-4294967295 |
| PARAM_VALUE | 1 | swap_needed | 730888106861826048 |
| PARAM_VALUE | 2 | size | 1628 |
| BUF_SIZE | 0 | ah->dev | (-1),1616 |
| BUF_SIZE | 0 | ah->eep_ops | 88 |
| BUF_SIZE | 0 | ah->hw | 208 |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->hw_version.macVersion | 448 |
| BIT_INFO | 0 | ah->eep_ops | 0x400000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ah->WARegVal | 0,16384-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | ah->hw_version.analog5GhzRev | 0-3[c] |
| HOST_DATA | 0 | ah->hw_version.phyRev | 0-u16max |