Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 377) sorted by relevance

12345678910>>...16

/Documentation/
Ddevices.txt9 device numbers and /dev directory nodes for the Linux operating
76 offended. I often get submissions for /dev names that would be bound
91 1 = /dev/mem Physical memory access
92 2 = /dev/kmem Kernel virtual memory access
93 3 = /dev/null Null device
94 4 = /dev/port I/O port access
95 5 = /dev/zero Null byte source
96 6 = /dev/core OBSOLETE - replaced by /proc/kcore
97 7 = /dev/full Returns ENOSPC on write
98 8 = /dev/random Nondeterministic random number gen.
[all …]
Dserial-console.txt31 you open /dev/console. So, for example:
35 defines that opening /dev/console will get you the current foreground
47 You will need to create a new device to use /dev/console. The official
48 /dev/console is now character device 5,1.
53 Here's an example that will use /dev/ttyS1 (COM2) as the console.
56 1. Create /dev/console (real console) and /dev/tty0 (master virtual
59 cd /dev
88 6. /dev/console and X
90 open /dev/console. If you have created the new /dev/console device,
93 /dev/console instead of /dev/tty0. Some of those programs are:
[all …]
/Documentation/video4linux/bttv/
DMAKEDEV5 for dev in 0 1 2 3; do
6 echo "/dev/$1$dev: char 81 $[ $2 + $dev ]"
7 rm -f /dev/$1$dev
8 mknod /dev/$1$dev c 81 $[ $2 + $dev ]
9 chmod 666 /dev/$1$dev
13 rm -f /dev/$1
14 ln -s /dev/${1}0 /dev/$1
/Documentation/filesystems/
Ddevpts.txt26 is the presence of new, '/dev/pts/ptmx' node with permissions 0000, which
33 /dev/pts/ptmx node is present. To effectively use the multi-instance mode,
34 open of /dev/ptmx must be a redirected to '/dev/pts/ptmx' using a symlink or
39 $ chmod 0666 /dev/pts/ptmx
40 $ rm /dev/ptmx
41 $ ln -s pts/ptmx /dev/ptmx
46 $ umount /dev/pts
47 $ mount -t devpts -o newinstance lxcpts /dev/pts
52 the original mount of /dev/pts.
60 1. If -o newinstance mount option is never used, /dev/pts/ptmx can be ignored
[all …]
/Documentation/usb/
Dwusb-cbaf81 for dev in ${2:-$hdevs}
83 echo $host_CHID > $dev/wusb_chid
84 echo I: started host $(basename $dev) >&2
88 for dev in ${2:-$hdevs}
90 echo 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > $dev/wusb_chid
91 echo I: stopped host $(basename $dev) >&2
96 for dev in ${2:-$devs}; do
97 echo "${4:-$host_name}" > $dev/wusb_host_name
98 echo "${3:-$host_band_group}" > $dev/wusb_host_band_groups
99 echo ${2:-$host_CHID} > $dev/wusb_chid
[all …]
/Documentation/video4linux/
DREADME.ivtv51 irc://irc.freenode.net/ivtv-dev
62 support the framebuffer device /dev/fbx for OSD.
68 crw-rw---- 1 root video 81, 0 Jun 19 22:22 /dev/video0
69 crw-rw---- 1 root video 81, 16 Jun 19 22:22 /dev/video16
70 crw-rw---- 1 root video 81, 24 Jun 19 22:22 /dev/video24
71 crw-rw---- 1 root video 81, 32 Jun 19 22:22 /dev/video32
72 crw-rw---- 1 root video 81, 48 Jun 19 22:22 /dev/video48
73 crw-rw---- 1 root video 81, 64 Jun 19 22:22 /dev/radio0
74 crw-rw---- 1 root video 81, 224 Jun 19 22:22 /dev/vbi0
75 crw-rw---- 1 root video 81, 228 Jun 19 22:22 /dev/vbi8
[all …]
/Documentation/s390/
Dzfcpdump.txt20 standalone dump format. It can be used in the same way as e.g. /dev/mem. The
52 dir /dev 755 0 0
53 nod /dev/console 644 0 0 c 5 1
54 nod /dev/null 644 0 0 c 1 3
55 nod /dev/sda1 644 0 0 b 8 1
56 nod /dev/sda2 644 0 0 b 8 2
57 nod /dev/sda3 644 0 0 b 8 3
58 nod /dev/sda4 644 0 0 b 8 4
59 nod /dev/sda5 644 0 0 b 8 5
60 nod /dev/sda6 644 0 0 b 8 6
[all …]
Dconfig3270.sh18 D=$ROOT/dev
30 if ! ls $P > /dev/null 2>&1; then
31 modprobe tub3270 > /dev/null 2>&1
33 ls $P > /dev/null 2>&1 || exit 1
40 if [ ! -d /dev/dasd ]; then
45 if [ ! -d /dev/dasd ]; then
55 if [ ! -d /dev/dasd ]; then
60 if [ ! -d /dev/dasd ]; then
64 if [ ! -d /dev/dasd ]; then
/Documentation/cdrom/
Dpacket-writing.txt14 # cdrwtool -d /dev/hdc -q
17 # pktsetup dev_name /dev/hdc
19 - Now you can mount /dev/pktcdvd/dev_name and copy files to it. Enjoy!
20 # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime
30 # dvd+rw-format /dev/hdc
34 # pktsetup dev_name /dev/hdc
35 # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime
46 # dvd+rw-format /dev/hdc (only needed if the disc has never
48 # mkudffs /dev/hdc
49 # mount /dev/hdc /cdrom -t udf -o rw,noatime
[all …]
/Documentation/i2c/
Dupgrading-clients32 struct device *dev = &adap->dev; /* to use for dev_ reports */
37 dev_err(dev, "failed to create our state\n");
50 dev_err(dev, "failed to attach client\n");
55 dev = &state->i2c_client.dev;
59 dev_info(dev, "example client created\n");
155 - dev_err(dev, "failed to attach client\n");
171 - struct device *dev = &adap->dev; /* to use for dev_ reports */
172 + struct device *dev = &i2c_client->dev; /* to use for dev_ reports */
177 - dev = &state->i2c_client.dev;
186 struct device *dev = &i2c_client->dev;
[all …]
Ddev-interface3 the /dev interface. You need to load module i2c-dev for this.
6 examine /sys/class/i2c-dev/ to see what number corresponds to which adapter.
21 first thing to do is "#include <linux/i2c-dev.h>". Please note that
22 there are two files named "i2c-dev.h" out there, one is distributed
29 inspect /sys/class/i2c-dev/ or run "i2cdetect -l" to decide this.
39 snprintf(filename, 19, "/dev/i2c-%d", adapter_nr);
176 when you use the /dev interface to I2C:
178 1* Your program opens /dev/i2c-N and calls ioctl() on it, as described in
181 2* These open() and ioctl() calls are handled by the i2c-dev kernel
182 driver: see i2c-dev.c:i2cdev_open() and i2c-dev.c:i2cdev_ioctl(),
[all …]
/Documentation/blockdev/
Dcpqarray.txt52 You need some entries in /dev for the ida device. MAKEDEV in the /dev
75 /dev/ida/c0d0 Controller 0, disk 0, whole device
76 /dev/ida/c0d0p1 Controller 0, disk 0, partition 1
77 /dev/ida/c0d0p2 Controller 0, disk 0, partition 2
78 /dev/ida/c0d0p3 Controller 0, disk 0, partition 3
80 /dev/ida/c1d1 Controller 1, disk 1, whole device
81 /dev/ida/c1d1p1 Controller 1, disk 1, partition 1
82 /dev/ida/c1d1p2 Controller 1, disk 1, partition 2
83 /dev/ida/c1d1p3 Controller 1, disk 1, partition 3
Dramdisk.txt30 To use RAM disk support with your system, run './MAKEDEV ram' from the /dev
32 for /dev/ram0, etc. If used, modern kernels use /dev/ram0 for an initrd.
88 /usr/src/linux# cat arch/x86/boot/zImage > /dev/fd0
89 /usr/src/linux# rdev /dev/fd0 /dev/fd0
90 /usr/src/linux# rdev -r /dev/fd0 49152
104 example, we will use the RAM disk device, "/dev/ram0".
107 of RAM. If using a spare disk partition instead of /dev/ram0, then this
116 dd if=/dev/zero of=/dev/ram0 bs=1k count=2048
120 mke2fs -vm0 /dev/ram0 2048
122 c) Mount it, copy the files you want to it (eg: /etc/* /dev/* ...)
[all …]
/Documentation/ABI/testing/
Dsysfs-bus-pci-devices-cciss1 Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/model
8 Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/rev
15 Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/unique_id
22 Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/vendor
29 Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/block:cciss!cXdY
35 Where: /sys/bus/pci/devices/<dev>/ccissX/rescan
42 Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/lunid
49 Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/raid_level
56 Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/usage_count
63 Where: /sys/bus/pci/devices/<dev>/ccissX/resettable
[all …]
Dsysfs-dev1 What: /sys/dev
5 Description: The /sys/dev tree provides a method to look up the sysfs
8 beneath /sys/dev containing symbolic links with names of
13 $ readlink /sys/dev/block/8:32
16 Entries in /sys/dev/char and /sys/dev/block will be
/Documentation/sound/alsa/
DOSS-Emulation.txt33 /dev/sndstat, which is available on the commercial OSS driver.
34 On ALSA, you can symlink /dev/sndstat to this proc file.
47 /dev/dspX
48 /dev/adspX
51 /dev/mixerX
54 /dev/midi0X
55 /dev/amidi0X
58 /dev/sequencer
59 /dev/sequencer2 (aka /dev/music)
63 (NOTE: Some distributions have the device files like /dev/midi0 and
[all …]
/Documentation/PCI/
Dpci-iov-howto.txt43 int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn);
47 void pci_disable_sriov(struct pci_dev *dev);
50 irqreturn_t pci_sriov_migration(struct pci_dev *dev);
56 static int __devinit dev_probe(struct pci_dev *dev, const struct pci_device_id *id)
58 pci_enable_sriov(dev, NR_VIRTFN);
65 static void __devexit dev_remove(struct pci_dev *dev)
67 pci_disable_sriov(dev);
72 static int dev_suspend(struct pci_dev *dev, pm_message_t state)
79 static int dev_resume(struct pci_dev *dev)
86 static void dev_shutdown(struct pci_dev *dev)
/Documentation/power/
Dswsusp-dmcrypt.txt34 brw------- 1 root root 254, 0 Jul 28 13:37 /dev/mapper/swap0
36 Now set up your kernel to use /dev/mapper/swap0 as the default
39 CONFIG_PM_STD_PARTITION="/dev/mapper/swap0"
48 append="root=/dev/ram0 init=/linuxrc rw"
53 fs which resides on /dev/hde1 when the card is inserted. The
58 /dev/hda1 /mnt ext3 ro 0 0
62 /dev/hda1 contains an unencrypted mini system that sets up all
66 continues boot with your mini system on /dev/hda1 if resume
86 mount -t ext2 -o ro /dev/hde1 /mnt
89 dmsetup create swap0 /mnt/swapkey > /dev/null 2>&1 && mapped=1
[all …]
Druntime_pm.txt40 int (*runtime_suspend)(struct device *dev);
41 int (*runtime_resume)(struct device *dev);
42 int (*runtime_idle)(struct device *dev);
50 1. PM domain of the device, if the device's PM domain object, dev->pm_domain,
53 2. Device type of the device, if both dev->type and dev->type->pm are present.
55 3. Device class of the device, if both dev->class and dev->class->pm are
58 4. Bus type of the device, if both dev->bus and dev->bus->pm are present.
62 dev->driver->pm directly (if present).
296 void pm_runtime_init(struct device *dev);
299 void pm_runtime_remove(struct device *dev);
[all …]
/Documentation/networking/
Ddriver.txt14 struct net_device *dev)
16 struct drv *dp = netdev_priv(dev);
22 netif_stop_queue(dev);
25 dev->name);
33 netif_stop_queue(dev);
43 if (netif_queue_stopped(dp->dev) &&
45 netif_wake_queue(dp->dev);
58 if (netif_queue_stopped(dp->dev) &&
60 netif_wake_queue(dp->dev);
/Documentation/powerpc/
Dhvcs.txt110 There is a maximum number of dev entries that can be specified on insmod.
154 | | `-- dev
156 | | `-- dev
158 | | `-- dev
160 | | `-- dev
167 "dev" entry in the hvcs directory:
169 Pow5:/sys/class/tty/hvcs0/ # cat dev
172 Pow5:/sys/class/tty/hvcs1/ # cat dev
175 Pow5:/sys/class/tty/hvcs2/ # cat dev
178 Pow5:/sys/class/tty/hvcs3/ # cat dev
[all …]
/Documentation/device-mapper/
Dthin-provisioning.txt70 dd if=/dev/zero of=$metadata_dev bs=4096 count=1
124 active pool device, /dev/mapper/pool in this example.
126 dmsetup message /dev/mapper/pool 0 "create_thin 0"
136 dmsetup create thin --table "0 2097152 thin /dev/mapper/pool 0"
151 dmsetup suspend /dev/mapper/thin
152 dmsetup message /dev/mapper/pool 0 "create_snap 1 0"
153 dmsetup resume /dev/mapper/thin
170 dmsetup create snap --table "0 2097152 thin /dev/mapper/pool 1"
193 dmsetup message /dev/mapper/pool 0 "create_thin 0"
199 dmsetup create snap --table "0 2097152 thin /dev/mapper/pool 0 /dev/image"
[all …]
Dlinear.txt8 Parameters: <dev path> <offset>
9 <dev path>: Full pathname to the underlying block-device, or a
39 my $dev = $ARGV[0];
43 if (!defined($dev)) {
47 my $dev_size = `blockdev --getsize $dev`;
57 $table .= "$this_start $extent_size linear $dev $this_offset\n";
/Documentation/arm/SA1100/
Dserial_UART17 > 5 = /dev/ttySA0 SA1100 builtin serial port 0
18 > 6 = /dev/ttySA1 SA1100 builtin serial port 1
19 > 7 = /dev/ttySA2 SA1100 builtin serial port 2
22 > 5 = /dev/cusa0 Callout device for ttySA0
23 > 6 = /dev/cusa1 Callout device for ttySA1
24 > 7 = /dev/cusa2 Callout device for ttySA2
27 You must create those inodes in /dev on the root filesystem used
/Documentation/driver-model/
Ddevice.txt13 int device_register(struct device * dev);
25 struct device * get_device(struct device * dev);
26 void put_device(struct device * dev);
34 void lock_device(struct device * dev);
35 void unlock_device(struct device * dev);
42 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
44 ssize_t (*store)(struct device *dev, struct device_attribute *attr,
88 dev->groups = dev_attr_groups;
89 device_register(dev);

12345678910>>...16