Home
last modified time | relevance | path

Searched refs:DEVPATH (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/powerpc/papr_sysparm/
H A Dpapr_sysparm.c11 #define DEVPATH "/dev/papr-sysparm" macro
15 const int devfd = open(DEVPATH, O_RDONLY); in open_close()
18 DEVPATH " not present"); in open_close()
31 const int devfd = open(DEVPATH, O_RDONLY); in get_splpar()
34 DEVPATH " not present"); in get_splpar()
50 const int devfd = open(DEVPATH, O_RDONLY); in get_bad_parameter()
53 DEVPATH " not present"); in get_bad_parameter()
73 const int devfd = open(DEVPATH, O_RDWR); in check_efault_common()
76 DEVPATH " not present"); in check_efault_common()
104 const int devfd = open(DEVPATH, O_RDWR); in set_hmc0()
[all …]
/linux/tools/testing/selftests/powerpc/papr_vpd/
H A Dpapr_vpd.c14 #define DEVPATH "/dev/papr-vpd" macro
18 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_open_close()
21 DEVPATH " not present"); in dev_papr_vpd_open_close()
31 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_get_handle_all()
37 DEVPATH " not present"); in dev_papr_vpd_get_handle_all()
70 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_get_handle_byte_at_a_time()
75 DEVPATH " not present"); in dev_papr_vpd_get_handle_byte_at_a_time()
111 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_unterm_loc_code()
116 DEVPATH " not present"); in dev_papr_vpd_unterm_loc_code()
137 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_null_handle()
[all …]
/linux/Documentation/firmware_class/
H A Dhotplug-script11 echo 1 > /sys/$DEVPATH/loading
12 cat $HOTPLUG_FW_DIR/$FIRMWARE > /sys/$DEVPATH/data
13 echo 0 > /sys/$DEVPATH/loading
15 echo -1 > /sys/$DEVPATH/loading
/linux/tools/testing/selftests/firmware/
H A Dfw_fallback.sh160 DEVPATH="$DIR"/"nope-$NAME"/loading
169 if [ ! -f $DEVPATH ]; then
172 echo "The file never appeared: $DEVPATH"
/linux/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c20 #define DEVPATH "/dev/dma_heap" macro
95 ret = snprintf(buf, 256, "%s/%s", DEVPATH, name); in dmabuf_heap_open()
395 DIR *d = opendir(DEVPATH); in numer_of_heaps()
417 d = opendir(DEVPATH); in main()
419 ksft_print_msg("No %s directory?\n", DEVPATH); in main()
/linux/Documentation/ABI/testing/
H A Dusb-charger-uevent27 DEVPATH=/devices/soc0/usbphynop1
44 DEVPATH=/devices/soc0/usbphynop1
H A Dusb-uevent16 DEVPATH=/devices/pci0000:00/0000:00:10.0/usb2
/linux/Documentation/driver-api/firmware/
H A Dfallback-mechanisms.rst86 * /sys/$DEVPATH/loading
87 * /sys/$DEVPATH/data
102 echo 1 > /sys/$DEVPATH/loading
155 By default DEVPATH is set by the internal kernel kobject infrastructure.
158 # Both $DEVPATH and $FIRMWARE are already provided in the environment.
160 echo 1 > /sys/$DEVPATH/loading
161 cat $MY_FW_DIR/$FIRMWARE > /sys/$DEVPATH/data
162 echo 0 > /sys/$DEVPATH/loading
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-uevent.rst82 DEVPATH=/block/dm-3
99 DEVPATH=/block/dm-3
/linux/Documentation/translations/zh_CN/core-api/
H A Dcpu_hotplug.rst638 …SUBSYSTEM=="cpu", DRIVERS=="processor", DEVPATH=="/devices/system/cpu/*", RUN+="the_hotplug_receiv…
646 echo "CPU ${DEVPATH##*/} offline"
650 echo "CPU ${DEVPATH##*/} online"
/linux/Documentation/core-api/
H A Dcpu_hotplug.rst720 …SUBSYSTEM=="cpu", DRIVERS=="processor", DEVPATH=="/devices/system/cpu/*", RUN+="the_hotplug_receiv…
728 echo "CPU ${DEVPATH##*/} offline"
732 echo "CPU ${DEVPATH##*/} online"
/linux/Documentation/admin-guide/
H A Dsysfs-rules.rst49 - identical to the DEVPATH value in the event sent from the kernel
/linux/Documentation/driver-api/driver-model/
H A Dporting.rst388 - DEVPATH: set to the device's physical path in sysfs.