Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/dsa/ocelot/felix.c, line 1816
- drivers/net/ethernet/mscc/ocelot_net.c, line 933
- drivers/net/ethernet/mscc/ocelot_ptp.c, line 585
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_net.c ocelot_port_hwtstamp_set() -> ocelot_hwstamp_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port | 0-255 |
| DATA_SOURCE | 2 | cfg | $1 |
| DATA_SOURCE | 3 | extack | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | cfg->flags | s32min-s32max |
| USER_DATA | 2 | cfg->rx_filter | s32min-s32max |
| USER_DATA | 2 | cfg->tx_type | s32min-s32max |
| USER_DATA | 3 | extack->miss_nest->nla_type | 0-u16max |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | port | unit_array_size |
drivers/net/dsa/ocelot/felix.c felix_hwtstamp_set() -> ocelot_hwstamp_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | port | $1 |
| DATA_SOURCE | 2 | cfg | $2 |
| DATA_SOURCE | 3 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | cfg->flags | s32min-s32max |
| USER_DATA | 2 | cfg->rx_filter | s32min-s32max |
| USER_DATA | 2 | cfg->tx_type | s32min-s32max |
| USER_DATA | 3 | extack->miss_nest->nla_type | 0-u16max |
| UNITS | 0 | ocelot | unit_byte |