summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJinjian Song <jinjian.song@fibocom.com>2024-02-05 13:22:28 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-09 15:07:48 +0300
commit409c38d4f156740bf3165fd6ceae4fa6425eebf4 (patch)
treeda0b2c9eb3f03056b505c32561657bb4b8a452e2 /tools/perf/scripts/python/exported-sql-viewer.py
parente3caf184107a4e2e196528b98b218ddc41e4cb8c (diff)
downloadlinux-409c38d4f156740bf3165fd6ceae4fa6425eebf4.tar.xz
net: wwan: t7xx: Add sysfs attribute for device state machine
Add support for userspace to get/set the device mode, device's state machine changes between (unknown/ready/reset/fastboot). Get the device state mode: - 'cat /sys/bus/pci/devices/${bdf}/t7xx_mode' Set the device state mode: - reset(cold reset): 'echo reset > /sys/bus/pci/devices/${bdf}/t7xx_mode' - fastboot: 'echo fastboot_switching > /sys/bus/pci/devices/${bdf}/t7xx_mode' Reload driver to get the new device state after setting operation. Signed-off-by: Jinjian Song <jinjian.song@fibocom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions