Loading Documentation/00-INDEX +2 −2 Original line number Diff line number Diff line Loading @@ -130,8 +130,6 @@ edac.txt - information on EDAC - Error Detection And Correction eisa.txt - info on EISA bus support. exception.txt - how Linux v2.2 handles exceptions without verify_area etc. fault-injection/ - dir with docs about the fault injection capabilities infrastructure. fb/ Loading Loading @@ -234,6 +232,8 @@ memory.txt - info on typical Linux memory problems. mips/ - directory with info about Linux on MIPS architecture. mmc/ - directory with info about the MMC subsystem mono.txt - how to execute Mono-based .NET binaries with the help of BINFMT_MISC. mutex-design.txt Loading Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352 0 → 100644 +21 −0 Original line number Diff line number Diff line Where: /sys/bus/i2c/devices/.../heading0_input Date: April 2010 Kernel Version: 2.6.36? Contact: alan.cox@intel.com Description: Reports the current heading from the compass as a floating point value in degrees. Where: /sys/bus/i2c/devices/.../power_state Date: April 2010 Kernel Version: 2.6.36? Contact: alan.cox@intel.com Description: Sets the power state of the device. 0 sets the device into sleep mode, 1 wakes it up. Where: /sys/bus/i2c/devices/.../calibration Date: April 2010 Kernel Version: 2.6.36? Contact: alan.cox@intel.com Description: Sets the calibration on or off (1 = on, 0 = off). See the chip data sheet. Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget +12 −0 Original line number Diff line number Diff line Loading @@ -7,3 +7,15 @@ Description: 0 -> resumed (_UDC_ is the name of the USB Device Controller driver) What: /sys/devices/platform/_UDC_/gadget/gadget-lunX/nofua Date: July 2010 Contact: Andy Shevchenko <andy.shevchenko@gmail.com> Description: Show or set the reaction on the FUA (Force Unit Access) bit in the SCSI WRITE(10,12) commands when a gadget in USB Mass Storage mode. Possible values are: 1 -> ignore the FUA flag 0 -> obey the FUA flag Documentation/ABI/testing/sysfs-i2c-bmp085 0 → 100644 +31 −0 Original line number Diff line number Diff line What: /sys/bus/i2c/devices/<busnum>-<devaddr>/pressure0_input Date: June 2010 Contact: Christoph Mair <christoph.mair@gmail.com> Description: Start a pressure measurement and read the result. Values represent the ambient air pressure in pascal (0.01 millibar). Reading: returns the current air pressure. What: /sys/bus/i2c/devices/<busnum>-<devaddr>/temp0_input Date: June 2010 Contact: Christoph Mair <christoph.mair@gmail.com> Description: Measure the ambient temperature. The returned value represents the ambient temperature in units of 0.1 degree celsius. Reading: returns the current temperature. What: /sys/bus/i2c/devices/<busnum>-<devaddr>/oversampling Date: June 2010 Contact: Christoph Mair <christoph.mair@gmail.com> Description: Tell the bmp085 to use more samples to calculate a pressure value. When writing to this file the chip will use 2^x samples to calculate the next pressure value with x being the value written. Using this feature will decrease RMS noise and increase the measurement time. Reading: returns the current oversampling setting. Writing: sets a new oversampling setting. Accepted values: 0..3. Documentation/DMA-API-HOWTO.txt +13 −3 Original line number Diff line number Diff line Loading @@ -738,21 +738,31 @@ to "Closing". CONFIG_NEED_SG_DMA_LENGTH if the architecture supports IOMMUs (including software IOMMU). 2) ARCH_KMALLOC_MINALIGN 2) ARCH_DMA_MINALIGN Architectures must ensure that kmalloc'ed buffer is DMA-safe. Drivers and subsystems depend on it. If an architecture isn't fully DMA-coherent (i.e. hardware doesn't ensure that data in the CPU cache is identical to data in main memory), ARCH_KMALLOC_MINALIGN must be set so that the memory allocator ARCH_DMA_MINALIGN must be set so that the memory allocator makes sure that kmalloc'ed buffer doesn't share a cache line with the others. See arch/arm/include/asm/cache.h as an example. Note that ARCH_KMALLOC_MINALIGN is about DMA memory alignment Note that ARCH_DMA_MINALIGN is about DMA memory alignment constraints. You don't need to worry about the architecture data alignment constraints (e.g. the alignment constraints about 64-bit objects). 3) Supporting multiple types of IOMMUs If your architecture needs to support multiple types of IOMMUs, you can use include/linux/asm-generic/dma-mapping-common.h. It's a library to support the DMA API with multiple types of IOMMUs. Lots of architectures (x86, powerpc, sh, alpha, ia64, microblaze and sparc) use it. Choose one to see how it can be used. If you need to support multiple types of IOMMUs in a single system, the example of x86 or powerpc helps. Closing This document, and the API itself, would not be in its current Loading Loading
Documentation/00-INDEX +2 −2 Original line number Diff line number Diff line Loading @@ -130,8 +130,6 @@ edac.txt - information on EDAC - Error Detection And Correction eisa.txt - info on EISA bus support. exception.txt - how Linux v2.2 handles exceptions without verify_area etc. fault-injection/ - dir with docs about the fault injection capabilities infrastructure. fb/ Loading Loading @@ -234,6 +232,8 @@ memory.txt - info on typical Linux memory problems. mips/ - directory with info about Linux on MIPS architecture. mmc/ - directory with info about the MMC subsystem mono.txt - how to execute Mono-based .NET binaries with the help of BINFMT_MISC. mutex-design.txt Loading
Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352 0 → 100644 +21 −0 Original line number Diff line number Diff line Where: /sys/bus/i2c/devices/.../heading0_input Date: April 2010 Kernel Version: 2.6.36? Contact: alan.cox@intel.com Description: Reports the current heading from the compass as a floating point value in degrees. Where: /sys/bus/i2c/devices/.../power_state Date: April 2010 Kernel Version: 2.6.36? Contact: alan.cox@intel.com Description: Sets the power state of the device. 0 sets the device into sleep mode, 1 wakes it up. Where: /sys/bus/i2c/devices/.../calibration Date: April 2010 Kernel Version: 2.6.36? Contact: alan.cox@intel.com Description: Sets the calibration on or off (1 = on, 0 = off). See the chip data sheet.
Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget +12 −0 Original line number Diff line number Diff line Loading @@ -7,3 +7,15 @@ Description: 0 -> resumed (_UDC_ is the name of the USB Device Controller driver) What: /sys/devices/platform/_UDC_/gadget/gadget-lunX/nofua Date: July 2010 Contact: Andy Shevchenko <andy.shevchenko@gmail.com> Description: Show or set the reaction on the FUA (Force Unit Access) bit in the SCSI WRITE(10,12) commands when a gadget in USB Mass Storage mode. Possible values are: 1 -> ignore the FUA flag 0 -> obey the FUA flag
Documentation/ABI/testing/sysfs-i2c-bmp085 0 → 100644 +31 −0 Original line number Diff line number Diff line What: /sys/bus/i2c/devices/<busnum>-<devaddr>/pressure0_input Date: June 2010 Contact: Christoph Mair <christoph.mair@gmail.com> Description: Start a pressure measurement and read the result. Values represent the ambient air pressure in pascal (0.01 millibar). Reading: returns the current air pressure. What: /sys/bus/i2c/devices/<busnum>-<devaddr>/temp0_input Date: June 2010 Contact: Christoph Mair <christoph.mair@gmail.com> Description: Measure the ambient temperature. The returned value represents the ambient temperature in units of 0.1 degree celsius. Reading: returns the current temperature. What: /sys/bus/i2c/devices/<busnum>-<devaddr>/oversampling Date: June 2010 Contact: Christoph Mair <christoph.mair@gmail.com> Description: Tell the bmp085 to use more samples to calculate a pressure value. When writing to this file the chip will use 2^x samples to calculate the next pressure value with x being the value written. Using this feature will decrease RMS noise and increase the measurement time. Reading: returns the current oversampling setting. Writing: sets a new oversampling setting. Accepted values: 0..3.
Documentation/DMA-API-HOWTO.txt +13 −3 Original line number Diff line number Diff line Loading @@ -738,21 +738,31 @@ to "Closing". CONFIG_NEED_SG_DMA_LENGTH if the architecture supports IOMMUs (including software IOMMU). 2) ARCH_KMALLOC_MINALIGN 2) ARCH_DMA_MINALIGN Architectures must ensure that kmalloc'ed buffer is DMA-safe. Drivers and subsystems depend on it. If an architecture isn't fully DMA-coherent (i.e. hardware doesn't ensure that data in the CPU cache is identical to data in main memory), ARCH_KMALLOC_MINALIGN must be set so that the memory allocator ARCH_DMA_MINALIGN must be set so that the memory allocator makes sure that kmalloc'ed buffer doesn't share a cache line with the others. See arch/arm/include/asm/cache.h as an example. Note that ARCH_KMALLOC_MINALIGN is about DMA memory alignment Note that ARCH_DMA_MINALIGN is about DMA memory alignment constraints. You don't need to worry about the architecture data alignment constraints (e.g. the alignment constraints about 64-bit objects). 3) Supporting multiple types of IOMMUs If your architecture needs to support multiple types of IOMMUs, you can use include/linux/asm-generic/dma-mapping-common.h. It's a library to support the DMA API with multiple types of IOMMUs. Lots of architectures (x86, powerpc, sh, alpha, ia64, microblaze and sparc) use it. Choose one to see how it can be used. If you need to support multiple types of IOMMUs in a single system, the example of x86 or powerpc helps. Closing This document, and the API itself, would not be in its current Loading