Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/serial/mos7720.c, line 166 (as a function)
- tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c, line 441 (as a function)
Referenced in 19 files:
- drivers/usb/serial/mos7720.c
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_cc56run_test.c, line 50
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_exceptionbits_test.c
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_fc56_pmc1ce_test.c
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_fc56_pmc56_test.c, line 49
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_pmccext_test.c, line 50
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_pmcjce_test.c, line 49
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr1_comb_test.c, line 57
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr1_sel_unit_cache_test.c
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr2_fcs_fch_test.c
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr2_l2l3_test.c, line 63
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr3_src_test.c, line 58
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_any_test.c, line 56
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_cond_test.c, line 60
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_disable_no_branch_test.c, line 55
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_disable_test.c, line 57
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_ind_call_test.c, line 60
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_thresh_cmp_test.c, line 65
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_thresh_marked_sample_test.c
Smatch caller information:
drivers/usb/serial/mos7720.c read_mos_reg() -> get_reg_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 7,12,19 |
| DATA_SOURCE | 0 | reg | $2 |
| DATA_SOURCE | 1 | serial_portnum | $1 |
| HARD_MAX | 0 | reg | 19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pp->private_data->serial->disc_mutex | ||
| HALF_LOCKED2 | &serial->disc_mutex |
drivers/usb/serial/mos7720.c write_mos_reg() -> get_reg_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0,2-3,5-6,10-12,14-19 |
| DATA_SOURCE | 0 | reg | $2 |
| DATA_SOURCE | 1 | serial_portnum | $1 |
| FUZZY_MAX | 0 | reg | 17 |
| HARD_MAX | 0 | reg | 19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pp->private_data->serial->disc_mutex | ||
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | _T->lock |