Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ptp/ptp_sysfs.c extts_enable_store() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->n_ext_ts | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | rq | 8784548913005826048 |
| PARAM_VALUE | 1 | rq->extts.flags | 0 |
| PARAM_VALUE | 1 | rq->extts.index | 0-4294967294 |
| PARAM_VALUE | 1 | rq->perout.flags | 0 |
| PARAM_VALUE | 1 | rq->perout.index | 0 |
| PARAM_VALUE | 1 | rq->perout.on.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.on.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.on.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.period.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.start.sec | 0 |
| PARAM_VALUE | 1 | rq->type | 0 |
| PARAM_VALUE | 2 | on | 0-1 |
| FUZZY_MAX | 2 | on | 1 |
| CONTAINER | 0 | -176+0 | $(-1) |
| HARD_MAX | 2 | on | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/ptp/ptp_sysfs.c period_store() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->n_per_out | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | rq | 3628114007788683264 |
| PARAM_VALUE | 1 | rq->extts.flags | 0 |
| PARAM_VALUE | 1 | rq->extts.index | 0 |
| PARAM_VALUE | 1 | rq->perout.flags | 0 |
| PARAM_VALUE | 1 | rq->perout.index | 0-4294967294 |
| PARAM_VALUE | 1 | rq->perout.on.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.on.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.on.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.reserved | 0 |
| PARAM_VALUE | 1 | rq->type | 1 |
| PARAM_VALUE | 2 | on | 0-1 |
| FUZZY_MAX | 2 | on | 1 |
| CONTAINER | 0 | -176+0 | $(-1) |
| HARD_MAX | 2 | on | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/ptp/ptp_sysfs.c pps_enable_store() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | rq | 7911890800236875776 |
| PARAM_VALUE | 1 | rq->extts.flags | 0 |
| PARAM_VALUE | 1 | rq->extts.index | 0 |
| PARAM_VALUE | 1 | rq->perout.flags | 0 |
| PARAM_VALUE | 1 | rq->perout.index | 0 |
| PARAM_VALUE | 1 | rq->perout.on.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.on.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.on.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.period.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.start.sec | 0 |
| PARAM_VALUE | 1 | rq->type | 2 |
| PARAM_VALUE | 2 | on | 0-1 |
| FUZZY_MAX | 2 | on | 1 |
| CAPABLE | 0 | 25 | |
| CONTAINER | 0 | -176+0 | $(-1) |
| HARD_MAX | 2 | on | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/ptp/ptp_chardev.c ptp_disable_all_events() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->pps | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | rq | 760453526462451712 |
| PARAM_VALUE | 1 | rq->extts.flags | 0 |
| PARAM_VALUE | 1 | rq->extts.index | 0 |
| PARAM_VALUE | 1 | rq->perout.flags | 0 |
| PARAM_VALUE | 1 | rq->perout.index | 0 |
| PARAM_VALUE | 1 | rq->perout.on.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.on.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.on.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.period.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.start.sec | 0 |
| PARAM_VALUE | 1 | rq->type | 2 |
| PARAM_VALUE | 2 | on | 0 |
| CAPPED_DATA | 0 | ptp->n_pins | 1 |
| CONTAINER | 0 | -176+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ptp->max_adj | 125000000 |
| HOST_DATA | 0 | ptp->n_alarm | 0 |
| HOST_DATA | 0 | ptp->n_per_lp | s32min-s32max |
| HOST_DATA | 0 | ptp->n_pins | 0-s32max[c] |
| HOST_DATA | 0 | ptp->pps | s32min-(-1),1-s32max |
| HOST_DATA | 0 | ptp->supported_extts_flags | 0-u32max |
| HOST_DATA | 0 | ptp->supported_perout_flags | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ptp->n_pins | |
| LOCK2 | &ptp->pincfg_mux | ||
| HALF_LOCKED2 | &adapter->vport_ctrl_lock | ||
| HALF_LOCKED2 | &mdev->intf_state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &iwlwifi_opmode_table_mtx | ||
| TYPE_LOCK | (struct ptp_clock)->pincfg_mux |
drivers/ptp/ptp_chardev.c ptp_disable_pinfunc() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->n_pins | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ptp->pin_config | 4096-ptr_max |
| PARAM_VALUE | 1 | rq | 7035655675704795136 |
| PARAM_VALUE | 1 | rq->type | 0 |
| PARAM_VALUE | 2 | on | 0 |
| CAPPED_DATA | 0 | ptp->n_pins | 1 |
| DATA_SOURCE | 0 | ptp | $0 |
| CONTAINER | 0 | -176+0 | $(-1) |
| MEM_ZERO | 1 | rq | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ptp->max_adj | 125000000 |
| HOST_DATA | 0 | ptp->n_alarm | 0 |
| HOST_DATA | 0 | ptp->n_per_lp | s32min-s32max |
| HOST_DATA | 0 | ptp->n_pins | s32min-(-1),1-s32max[c] |
| HOST_DATA | 0 | ptp->pps | s32min-s32max |
| HOST_DATA | 0 | ptp->supported_extts_flags | 0-u32max |
| HOST_DATA | 0 | ptp->supported_perout_flags | 0-u32max |
| USER_DATA | 1 | rq->extts.index | 0-4294967294[c] |
| NO_OVERFLOW_SIMPLE | 0 | ptp->n_pins | |
| HALF_LOCKED2 | &ptp->pincfg_mux |
drivers/ptp/ptp_chardev.c ptp_disable_pinfunc() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->n_per_out | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ptp->n_pins | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ptp->pin_config | 4096-ptr_max |
| PARAM_VALUE | 1 | rq | 7035655675704795136 |
| PARAM_VALUE | 1 | rq->type | 1 |
| PARAM_VALUE | 2 | on | 0 |
| CAPPED_DATA | 0 | ptp->n_pins | 1 |
| DATA_SOURCE | 0 | ptp | $0 |
| CONTAINER | 0 | -176+0 | $(-1) |
| MEM_ZERO | 1 | rq | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | rq->perout.index | 0-4294967294[c] |
| NO_OVERFLOW_SIMPLE | 0 | ptp->n_pins | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &ptp->pincfg_mux |
drivers/ptp/ptp_chardev.c ptp_enable_pps() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 1 | rq | 34527876795936768 |
| PARAM_VALUE | 1 | rq->extts.flags | 0 |
| PARAM_VALUE | 1 | rq->extts.index | 0 |
| PARAM_VALUE | 1 | rq->perout.flags | 0 |
| PARAM_VALUE | 1 | rq->perout.index | 0 |
| PARAM_VALUE | 1 | rq->perout.on.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.on.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.on.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.period.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.start.sec | 0 |
| PARAM_VALUE | 1 | rq->type | 2 |
| DATA_SOURCE | 2 | on | $1 |
| CAPABLE | 0 | 25 | |
| CONTAINER | 0 | -176+0 | $(-1) |
| USER_DATA | 2 | on | 0-1 |
drivers/ptp/ptp_chardev.c ptp_extts_request() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->n_ext_ts | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | rq | 3520102199486971904 |
| PARAM_VALUE | 1 | rq->extts.flags | 0-30 |
| PARAM_VALUE | 1 | rq->extts.index | 0-4294967294 |
| PARAM_VALUE | 1 | rq->perout.flags | 0 |
| PARAM_VALUE | 1 | rq->perout.index | 0 |
| PARAM_VALUE | 1 | rq->perout.on.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.on.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.on.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.period.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.period.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.phase.sec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.nsec | 0 |
| PARAM_VALUE | 1 | rq->perout.start.reserved | 0 |
| PARAM_VALUE | 1 | rq->perout.start.sec | 0 |
| PARAM_VALUE | 1 | rq->type | 0 |
| PARAM_VALUE | 2 | on | 0-1 |
| FUZZY_MAX | 2 | on | 1 |
| CONTAINER | 0 | -176+0 | $(-1) |
| NOSPEC | 1 | rq->extts.index | |
| HARD_MAX | 2 | on | 1 |
| USER_DATA | 1 | rq->extts.flags | 0-30[c] |
| USER_DATA | 1 | rq->extts.index | 0-s32max[c] |
drivers/ptp/ptp_chardev.c ptp_perout_request() -> (struct ptp_clock_info)->enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptp | 4096-ptr_max |
| PARAM_VALUE | 0 | ptp->n_per_out | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | rq | 6252451916119171072 |
| PARAM_VALUE | 1 | rq->extts.flags | 0 |
| PARAM_VALUE | 1 | rq->extts.index | 0 |
| PARAM_VALUE | 1 | rq->perout.flags | 0-6 |
| PARAM_VALUE | 1 | rq->perout.index | 0-4294967294 |
| PARAM_VALUE | 1 | rq->type | 1 |
| PARAM_VALUE | 2 | on | 0-1 |
| FUZZY_MAX | 2 | on | 1 |
| CONTAINER | 0 | -176+0 | $(-1) |
| HARD_MAX | 2 | on | 1 |
| USER_DATA | 2 | on | 0-1 |