Defined in 10 files as a member:

Defined in 2 files as a function:

Referenced in 29 files:

Smatch caller information:

drivers/hid/hid-haptic.c hid_haptic_erase() -> switch_mode()

Type Parameter Key Value
PARAM_VALUE 1 haptic 4096-ptr_max
PARAM_VALUE 1 haptic->mode 1
PARAM_VALUE 1 haptic->release_ordinal 0
PARAM_VALUE 2 mode 0
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 1 haptic 40,1696
BUF_SIZE 1 haptic 40,1696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hdev unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &evdev->mutex

drivers/hid/hid-haptic.c hid_haptic_erase() -> switch_mode()

Type Parameter Key Value
PARAM_VALUE 1 haptic 4096-ptr_max
PARAM_VALUE 1 haptic->mode 1
PARAM_VALUE 1 haptic->press_ordinal 0
PARAM_VALUE 2 mode 0
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 1 haptic 40,1696
BUF_SIZE 1 haptic 40,1696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hdev unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &evdev->mutex

drivers/hid/hid-haptic.c hid_haptic_upload_effect() -> switch_mode()

Type Parameter Key Value
PARAM_VALUE 1 haptic 4096-ptr_max
PARAM_VALUE 1 haptic->effect 4096-ptr_max
PARAM_VALUE 1 haptic->hid_usage_map 4096-ptr_max
PARAM_VALUE 1 haptic->manual_trigger_mutex.dep_map->name 0-255
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 haptic->manual_trigger_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 haptic->manual_trigger_report 4096-ptr_max
PARAM_VALUE 1 haptic->manual_trigger_report->maxfield 0-s32max
PARAM_VALUE 1 haptic->max_waveform_id 1-u32max
PARAM_VALUE 1 haptic->mode 0
PARAM_VALUE 2 mode 1
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 1 haptic 40,1696
BUF_SIZE 1 haptic 40,1696
CAPPED_DATA 1 haptic->manual_trigger_report->maxfield 1
CAPPED_DATA 1 haptic->max_waveform_id 1
NOCHECK_CALL
UNITS 0 hdev unit_byte
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex

drivers/gpu/drm/xe/xe_hw_engine_group.c xe_hw_engine_group_get_mode() -> switch_mode()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->mode_sem.dep_map->name 0-255
PARAM_VALUE 0 hdev->mode_sem.first_waiter->handoff_set 1
PARAM_VALUE 0 hdev->mode_sem.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 hdev->mode_sem.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 hdev->mode_sem.first_waiter->type 0-1
PARAM_VALUE 0 hdev->mode_sem.wait_lock.dep_map->name 0-255
CAPPED_DATA 0 &hdev->mode_sem 1
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->mode_sem
TYPE_LOCK (struct xe_hw_engine_group)->mode_sem

Smatch assignments to (struct xgbe_phy_impl_if)->switch_mode:

drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c xgbe_init_function_ptrs_phy_v2() -> (struct xgbe_phy_impl_if)->switch_mode [3014457456838660096]

drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c xgbe_phy_mii_read_c22() -> (struct xgbe_phy_impl_if)->switch_mode [ignore]

drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c xgbe_phy_mii_read_c45() -> (struct xgbe_phy_impl_if)->switch_mode [ignore]

drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c xgbe_phy_mii_write_c22() -> (struct xgbe_phy_impl_if)->switch_mode [ignore]

drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c xgbe_phy_mii_write_c45() -> (struct xgbe_phy_impl_if)->switch_mode [ignore]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_channels() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_coalesce() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_drvinfo() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_ethtool_stats() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_link_ksettings() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_module_eeprom() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_module_info() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_msglevel() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_pauseparam() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_ringparam() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_rx_ring_count() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_rxfh() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_rxfh_indir_size() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_rxfh_key_size() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_sset_count() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_strings() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_get_ts_info() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_set_channels() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_set_coalesce() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_set_link_ksettings() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_set_msglevel() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_set_pauseparam() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_set_ringparam() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c xgbe_set_rxfh() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_change_mtu() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_close() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_ecc_isr() -> (struct xgbe_phy_impl_if)->switch_mode [0-u64max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_fix_features() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_get_stats64() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_isr() -> (struct xgbe_phy_impl_if)->switch_mode [0-u64max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_open() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_poll_controller() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_set_features() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_set_mac_address() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_set_rx_mode() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_setup_tc() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_tx_timeout() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_vlan_rx_add_vid() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_vlan_rx_kill_vid() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_vxlan_set_port() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_vxlan_unset_port() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_xmit() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-phy-v1.c xgbe_init_function_ptrs_phy_v1() -> (struct xgbe_phy_impl_if)->switch_mode [1296826579117760512]

drivers/net/ethernet/amd/xgbe/xgbe-dcb.c xgbe_dcb_ieee_getets() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-dcb.c xgbe_dcb_ieee_getpfc() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-dcb.c xgbe_dcb_ieee_setets() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-dcb.c xgbe_dcb_ieee_setpfc() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-dcb.c xgbe_dcb_setdcbx() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-selftest.c xgbe_selftest_run() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-main.c xgbe_alloc_pdata() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-hwtstamp.c xgbe_get_hwtstamp_settings() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]

drivers/net/ethernet/amd/xgbe/xgbe-hwtstamp.c xgbe_set_hwtstamp_settings() -> (struct xgbe_phy_impl_if)->switch_mode [min-max]