Searched refs:devices (Results 1 - 25 of 370) sorted by relevance

1234567891011>>

/linux-master/arch/sh/boards/mach-rsk/
H A DMakefile3 obj-$(CONFIG_SH_RSK7203) += devices-rsk7203.o
4 obj-$(CONFIG_SH_RSK7264) += devices-rsk7264.o
5 obj-$(CONFIG_SH_RSK7269) += devices-rsk7269.o
/linux-master/include/linux/platform_data/
H A Di2c-xiic.h16 * @num_devices: Number of devices that shall be added when the driver
18 * @devices: The actuall devices to add.
21 * of devices that should be added to the I2C bus. The reason is that sometimes
28 struct i2c_board_info const *devices; member in struct:xiic_i2c_platform_data
H A Di2c-ocores.h17 u8 num_devices; /* number of devices in the devices list */
18 struct i2c_board_info const *devices; /* devices connected to the bus */ member in struct:ocores_i2c_platform_data
/linux-master/drivers/ipack/
H A DMakefile6 obj-y += devices/
/linux-master/tools/testing/selftests/powerpc/eeh/
H A Deeh-basic.sh11 # record the devices that we break in here. Assuming everything
14 devices=""
16 # Build up a list of candidate devices.
17 for dev in `ls -1 /sys/bus/pci/devices/ | grep '\.0$'` ; do
23 if [ -e "/sys/bus/pci/devices/$dev/physfn" ] ; then
31 devices="$devices $dev"
34 dev_count="$(echo $devices | wc -w)"
35 echo "Found ${dev_count} breakable devices..."
38 for dev in $devices ; d
[all...]
H A Deeh-functions.sh12 local path="/sys/bus/pci/devices/$dev/eeh_pe_state"
67 if [ -e "/sys/bus/pci/devices/$dev/pci_bus" ] ; then
76 if [ "ahci" = "$(basename $(realpath /sys/bus/pci/devices/$dev/driver))" ] ; then
82 # PEs that contain multiple PCI devices (e.g. multi-function cards)
100 if ! test -e /sys/bus/pci/devices/$dev/ ; then
139 test -e /sys/bus/pci/devices/$1/driver;
152 devices=""
165 for dev in `ls -1 /sys/bus/pci/devices/` ; do
166 sysfs="/sys/bus/pci/devices/$dev"
183 devices
[all...]
H A Deeh-vf-unaware.sh22 echo "$vf" > /sys/bus/pci/devices/$vf/driver/unbind
/linux-master/include/linux/spi/
H A Dxilinx_spi.h10 * @devices: Devices to add when the driver is probed.
11 * @num_devices: Number of devices in the devices array.
16 struct spi_board_info *devices; member in struct:xspi_platform_data
/linux-master/drivers/iommu/
H A Dfsl_pamu_domain.h13 /* list of devices associated with the domain */
14 struct list_head devices; member in struct:fsl_dma_domain
/linux-master/arch/x86/kernel/
H A Dplatform-quirks.c15 x86_platform.legacy.devices.pnpbios = 1;
22 x86_platform.legacy.devices.pnpbios = 0;
27 x86_platform.legacy.devices.pnpbios = 0;
39 return x86_platform.legacy.devices.pnpbios == 0;
/linux-master/arch/mips/ath25/
H A DMakefile11 obj-y += board.o prom.o devices.o
/linux-master/arch/mips/rb532/
H A DMakefile8 obj-y += irq.o time.o setup.o prom.o gpio.o devices.o
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dpci_reset.sh30 if [ ! -f /sys/bus/pci/devices/$bdf/reset_method ]; then
36 [[ $(cat /sys/bus/pci/devices/$bdf/reset_method) == "bus" ]]
41 echo 1 > /sys/bus/pci/devices/$bdf/reset
/linux-master/tools/power/cpupower/bench/
H A Dcpufreq-bench_script.sh30 echo $up_threshold >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
31 echo $sampling_rate >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
32 up_threshold_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold)
33 sampling_rate_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate)
/linux-master/arch/arm/mach-ep93xx/
H A Dplatform.h26 void ep93xx_register_i2c(struct i2c_board_info *devices, int num);
28 struct spi_board_info *devices, int num);
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_hotplug.tc8 ls -d /sys/devices/system/cpu/cpu[0-9]* | wc -l
20 for i in /sys/devices/system/cpu/cpu[1-9]*; do
/linux-master/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh27 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then
33 online_cpus=`cat $SYSFS/devices/system/cpu/online`
41 present_cpus=`cat $SYSFS/devices/system/cpu/present`
47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`
63 for cpu in $SYSFS/devices/system/cpu/cpu*; do
82 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
87 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
92 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
97 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c53 if (radeon_encoder->devices & ATOM_DEVICE_LCD_SUPPORT)
56 if (radeon_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT)
67 if (radeon_clone->devices & (ATOM_DEVICE_LCD_SUPPORT))
69 if (radeon_clone->devices & ATOM_DEVICE_DFP2_SUPPORT)
170 if (!(radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)))
222 if (radeon_encoder->devices & radeon_connector->devices) {
224 if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
241 radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices;
[all...]
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-common.sh5 NSIM_DEV_SYS=/sys/bus/netdevsim/devices/netdevsim$NSIM_ID
56 ls /sys/bus/netdevsim/devices/netdevsim${NSIM_ID}/net/
/linux-master/drivers/rapidio/
H A DMakefile12 obj-$(CONFIG_RAPIDIO) += devices/
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c50 if (amdgpu_encoder->devices & amdgpu_connector->devices) {
52 if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
74 amdgpu_encoder->active_device = amdgpu_encoder->devices & amdgpu_connector->devices;
76 amdgpu_encoder->active_device, amdgpu_encoder->devices,
77 amdgpu_connector->devices, encoder->encoder_type);
95 if (amdgpu_encoder->active_device & amdgpu_connector->devices) {
116 if (amdgpu_encoder->devices & amdgpu_connector->devices) {
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh113 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then
119 declare -g "${freq}=$(cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq)"
120 declare -g "${governor}=$(cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor)"
122 cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_max_freq > \
123 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq
125 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor
134 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then
138 echo "${!freq}" > /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq
140 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor
/linux-master/sound/core/
H A Ddevice.c48 list_for_each_prev(p, &card->devices) {
86 list_for_each_entry(dev, &card->devices, list)
165 * but it can be called later if any new devices are created after
186 * register all the devices on the card.
196 list_for_each_entry(dev, &card->devices, list) {
205 * disconnect all the devices on the card.
214 list_for_each_entry_reverse(dev, &card->devices, list)
219 * release all the devices on the card.
228 list_for_each_entry_safe_reverse(dev, next, &card->devices, list) {
237 list_for_each_entry_safe_reverse(dev, next, &card->devices, lis
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c24 MODULE_PARM_DESC(force_pid_filter_usage, "force all dvb-usb-devices to use a PID filter, if any (default: 0).");
219 for (j = 0; j < DVB_USB_ID_MAX_NUM && props->devices[i].cold_ids[j] != NULL; j++) {
220 deb_info("check for cold %x %x\n", props->devices[i].cold_ids[j]->idVendor, props->devices[i].cold_ids[j]->idProduct);
221 if (props->devices[i].cold_ids[j]->idVendor == le16_to_cpu(udev->descriptor.idVendor) &&
222 props->devices[i].cold_ids[j]->idProduct == le16_to_cpu(udev->descriptor.idProduct)) {
224 desc = &props->devices[i];
232 for (j = 0; j < DVB_USB_ID_MAX_NUM && props->devices[i].warm_ids[j] != NULL; j++) {
233 deb_info("check for warm %x %x\n", props->devices[i].warm_ids[j]->idVendor, props->devices[
[all...]
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Djitter.sh31 for i in /sys/devices/system/cpu/cpu[0-9]*
58 if cpus=`grep 1 /sys/devices/system/cpu/*/online 2>&1 |

Completed in 335 milliseconds

1234567891011>>