Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/phy/phy_led_triggers.c, line 31 (as a function)
- include/linux/phy_led_triggers.h, line 38 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/phy/phy_led_triggers.c phy_led_triggers_register() -> phy_led_trigger_change_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->advertising | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->probe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->read_mmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->interrupts | 0 |
| PARAM_VALUE | 0 | phy->is_on_sfp_module | 0 |
| PARAM_VALUE | 0 | phy->last_triggered | 0 |
| PARAM_VALUE | 0 | phy->led_link_trigger | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->led_link_trigger->speed | 0 |
| PARAM_VALUE | 0 | phy->led_link_trigger->trigger.led_cdevs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->led_link_trigger->trigger.led_cdevs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->led_link_trigger->trigger.led_cdevs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->led_link_trigger->trigger.led_cdevs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->led_link_trigger->trigger.led_cdevs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->led_link_trigger->trigger.next_trig.next | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->mdio.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->mdio.bus->mdio_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | phy->mdio.dev.of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->mdio.reset_ctrl->deassert_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->mdio.reset_state | 0 |
| PARAM_VALUE | 0 | phy->phy_led_triggers | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->phy_num_led_triggers | 1-50 |
| PARAM_VALUE | 0 | phy->port | 0,3,255 |
| PARAM_VALUE | 0 | phy->sfp_bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->state | 1 |
| PARAM_VALUE | 0 | phy->supported | 4096-ptr_max |
| PARAM_VALUE | 0 | *phy->led_link_trigger->name | 0-255 |
| PARAM_VALUE | 0 | *phy->mdio.bus->mdio_lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | phy->led_link_trigger | 232 |
| BUF_SIZE | 0 | phy->phy_led_triggers | 232-11600 |
| CAPPED_DATA | 0 | phy->max_n_ports | 1 |
| CAPPED_DATA | 0 | phy->phy_num_led_triggers | 1 |
| DATA_SOURCE | 0 | phy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | phy->phy_num_led_triggers |
drivers/net/phy/phy.c phy_link_down() -> phy_led_trigger_change_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->attached_dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | phy->devlink->link_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | phy->devlink->link_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | phy->drv->aneg_done | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->cable_test_get_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->cable_test_start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->cable_test_tdr_start | 0,4360922641206964224 |
| PARAM_VALUE | 0 | phy->drv->features | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->flags | 0-2,4-5,8 |
| PARAM_VALUE | 0 | phy->drv->get_sqi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_sqi_max | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_strings | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_tunable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_wol | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->inband_caps | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->link_change_notify | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->module_eeprom | 0 |
| PARAM_VALUE | 0 | phy->drv->module_info | 0 |
| PARAM_VALUE | 0 | phy->drv->phy_id_mask | 0,1048512,1048560,1048574,16777212,16777215,268435440,429496627,4294966272,4294967247,4294967272,4294967279-4294967280,4294967282,4294967289,4294967292,4294967294-u32max |
| PARAM_VALUE | 0 | phy->drv->probe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->read_mmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->remove | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->set_tunable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->set_wol | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->soft_reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->update_stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->write_mmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phy->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phy->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | phy->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | phy->mdio.dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | phy->mdio.dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | phy->mdio.dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | phy->adjust_link | (-1),8 |
| DATA_SOURCE | 0 | phy | $0 |
| NOSPEC | 0 | phy->attached_dev->ifindex | |
| NOSPEC | 0 | phy->speed | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | phy->attached_dev->flags | 0-526849[c] |
| USER_DATA | 0 | phy->attached_dev->group | s32min-s32max |
| USER_DATA | 0 | phy->attached_dev->ifindex | s32min-s32max |
| USER_DATA | 0 | phy->attached_dev->mtu | 0-s32max[c] |
| USER_DATA | 0 | phy->attached_dev->num_tc | 1-16[c] |
| USER_DATA | 0 | phy->attached_dev->real_num_rx_queues | 1-s32max[c] |
| USER_DATA | 0 | phy->autoneg | 0 |
| USER_DATA | 0 | phy->duplex | 0-255 |
| USER_DATA | 0 | phy->eee_cfg.eee_enabled | 0-1 |
| USER_DATA | 0 | phy->eee_cfg.tx_lpi_enabled | 0-1 |
| USER_DATA | 0 | phy->eee_cfg.tx_lpi_timer | 0-u32max |
| USER_DATA | 0 | phy->speed | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | phy->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | phy->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | phy->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | phy->attached_dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 0 | phy->mdio.dev.physical_location | |
| NO_OVERFLOW_SIMPLE | 0 | phy->skb->extensions | |
| UNITS | 0 | phy | unit_byte |
| LOCK2 | 0 | &phy->lock | |
| TYPE_LOCK | (struct phy_device)->lock |
drivers/net/phy/phy.c phy_link_up() -> phy_led_trigger_change_speed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->attached_dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | phy->devlink->link_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | phy->devlink->link_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | phy->drv | 1-u64max |
| PARAM_VALUE | 0 | phy->drv->aneg_done | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->cable_test_get_status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->cable_test_start | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->cable_test_tdr_start | 0,4360922641206964224 |
| PARAM_VALUE | 0 | phy->drv->features | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->flags | 0-2,4-5,8 |
| PARAM_VALUE | 0 | phy->drv->get_sqi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_sqi_max | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_strings | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_tunable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->get_wol | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->inband_caps | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->link_change_notify | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->module_eeprom | 0 |
| PARAM_VALUE | 0 | phy->drv->module_info | 0 |
| PARAM_VALUE | 0 | phy->drv->phy_id_mask | 0,1048512,1048560,1048574,16777212,16777215,268435440,429496627,4294966272,4294967247,4294967272,4294967279-4294967280,4294967282,4294967289,4294967292,4294967294-u32max |
| PARAM_VALUE | 0 | phy->drv->probe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->read_mmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->remove | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->set_loopback | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->set_tunable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->set_wol | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->soft_reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->update_stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->write_mmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->drv->write_page | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phy->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phy->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | phy->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | phy->mdio.dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | phy->mdio.dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | phy->mdio.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *phy->attached_dev->name | 0-255 |
| BUF_SIZE | 0 | phy->adjust_link | (-1),8 |
| DATA_SOURCE | 0 | phy | $0 |
| NOSPEC | 0 | phy->attached_dev->ifindex | |
| NOSPEC | 0 | phy->speed | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | phy->attached_dev->flags | 0-526849[c] |
| USER_DATA | 0 | phy->attached_dev->group | s32min-s32max |
| USER_DATA | 0 | phy->attached_dev->ifindex | s32min-s32max |
| USER_DATA | 0 | phy->attached_dev->mtu | 0-s32max[c] |
| USER_DATA | 0 | phy->attached_dev->num_tc | 1-16[c] |
| USER_DATA | 0 | phy->attached_dev->real_num_rx_queues | 1-s32max[c] |
| USER_DATA | 0 | phy->autoneg | 0 |
| USER_DATA | 0 | phy->duplex | 0-255 |
| USER_DATA | 0 | phy->eee_cfg.eee_enabled | 0-1 |
| USER_DATA | 0 | phy->eee_cfg.tx_lpi_enabled | 0-1 |
| USER_DATA | 0 | phy->eee_cfg.tx_lpi_timer | 0-u32max |
| USER_DATA | 0 | phy->enable_tx_lpi | 0-1 |
| USER_DATA | 0 | phy->speed | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | phy->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | phy->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | phy->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | phy->attached_dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 0 | phy->mdio.dev.physical_location | |
| NO_OVERFLOW_SIMPLE | 0 | phy->skb->extensions | |
| UNITS | 0 | phy | unit_byte |
| LOCK2 | 0 | &phy->lock | |
| TYPE_LOCK | (struct phy_device)->lock |