/Documentation/ |
D | devices.txt | 9 device numbers and /dev directory nodes for the Linux operating 71 offended. I often get submissions for /dev names that would be bound 86 1 = /dev/mem Physical memory access 87 2 = /dev/kmem Kernel virtual memory access 88 3 = /dev/null Null device 89 4 = /dev/port I/O port access 90 5 = /dev/zero Null byte source 91 6 = /dev/core OBSOLETE - replaced by /proc/kcore 92 7 = /dev/full Returns ENOSPC on write 93 8 = /dev/random Nondeterministic random number gen. [all …]
|
D | serial-console.txt | 31 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/lguest/ |
D | lguest.c | 114 struct device *dev; member 156 struct device *dev; member 245 static u8 *get_feature_bits(struct device *dev) in get_feature_bits() argument 247 return (u8 *)(dev->desc + 1) in get_feature_bits() 248 + dev->desc->num_vq * sizeof(struct lguest_vqconfig); in get_feature_bits() 769 static bool handle_console_input(int fd, struct device *dev) in handle_console_input() argument 773 struct iovec iov[dev->vq->vring.num]; in handle_console_input() 774 struct console_abort *abort = dev->priv; in handle_console_input() 777 head = get_vq_desc(dev->vq, iov, &out_num, &in_num); in handle_console_input() 781 if (head == dev->vq->vring.num) in handle_console_input() [all …]
|
/Documentation/filesystems/ |
D | devpts.txt | 26 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/video4linux/bttv/ |
D | MAKEDEV | 5 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/usb/ |
D | wusb-cbaf | 81 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/ |
D | README.ivtv | 52 irc://irc.freenode.net/ivtv-dev 63 support the framebuffer device /dev/fbx for OSD. 69 crw-rw---- 1 root video 81, 0 Jun 19 22:22 /dev/video0 70 crw-rw---- 1 root video 81, 16 Jun 19 22:22 /dev/video16 71 crw-rw---- 1 root video 81, 24 Jun 19 22:22 /dev/video24 72 crw-rw---- 1 root video 81, 32 Jun 19 22:22 /dev/video32 73 crw-rw---- 1 root video 81, 48 Jun 19 22:22 /dev/video48 74 crw-rw---- 1 root video 81, 64 Jun 19 22:22 /dev/radio0 75 crw-rw---- 1 root video 81, 224 Jun 19 22:22 /dev/vbi0 76 crw-rw---- 1 root video 81, 228 Jun 19 22:22 /dev/vbi8 [all …]
|
/Documentation/cdrom/ |
D | packet-writing.txt | 14 # 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/s390/ |
D | zfcpdump.txt | 20 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 …]
|
D | config3270.sh | 18 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/i2c/ |
D | upgrading-clients | 32 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 …]
|
D | dev-interface | 3 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/ |
D | cpqarray.txt | 52 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
|
D | ramdisk.txt | 30 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/i386/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/networking/ |
D | driver.txt | 14 struct net_device *dev) 16 struct drv *dp = netdev_priv(dev); 22 netif_stop_queue(dev); 25 dev->name); 33 netif_stop_queue(dev); 42 if (netif_queue_stopped(dp->dev) && 44 netif_wake_queue(dp->dev); 57 if (netif_queue_stopped(dp->dev) && 59 netif_wake_queue(dp->dev); 88 1) After the dev->stop routine has been called, the hardware must [all …]
|
D | netdevices.txt | 21 (netdev_priv(dev)) then it is up to the module exit handler to free that. 50 dev->open: 54 dev->stop: 58 Note2: dev->poll() is guaranteed to be stopped 60 dev->do_ioctl: 64 dev->get_stats: 68 dev->hard_start_xmit: 71 When the driver sets NETIF_F_LLTX in dev->features this will be 90 dev->tx_timeout: 95 dev->set_multicast_list: [all …]
|
D | cxacru.txt | 78 [4942145.150704] ATM dev 0: ADSL state: running 79 [4942243.663766] ATM dev 0: ADSL line: down 80 [4942249.665075] ATM dev 0: ADSL line: attempting to activate 81 [4942253.654954] ATM dev 0: ADSL line: training 82 [4942255.666387] ATM dev 0: ADSL line: channel analysis 83 [4942259.656262] ATM dev 0: ADSL line: exchange 84 [2635357.696901] ATM dev 0: ADSL line: up (8128 kb/s down | 832 kb/s up)
|
/Documentation/sound/alsa/ |
D | OSS-Emulation.txt | 33 /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/power/regulator/ |
D | machine.txt | 19 struct device *dev; /* consumer */ 27 .dev = &platform_consumerB_device.dev, 33 .dev = &platform_consumerA_device.dev, 60 .supply_regulator_dev = &platform_regulator1_device.dev, 77 .dev = { 84 .dev = {
|
/Documentation/power/ |
D | swsusp-dmcrypt.txt | 34 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 …]
|
/Documentation/ABI/testing/ |
D | sysfs-dev | 1 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/powerpc/ |
D | hvcs.txt | 110 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/arm/SA1100/ |
D | serial_UART | 17 > 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/ |
D | device.txt | 32 void (*release)(struct device * dev); 102 int device_register(struct device * dev); 114 struct device * get_device(struct device * dev); 115 void put_device(struct device * dev); 123 void lock_device(struct device * dev); 124 void unlock_device(struct device * dev); 131 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 133 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 156 void device_remove_file(struct device * dev, struct device_attribute * attr); 160 device_create_file(dev,&dev_attr_power); [all …]
|
/Documentation/device-mapper/ |
D | linear.txt | 8 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";
|