The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/hpc/files.hpcio

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #       $NetBSD: files.hpcio,v 1.3 2002/01/13 14:00:38 takemura Exp $
    2 #       H/PC GPIO interface
    3 
    4 #  platform: 
    5 #    iochip: sepecify GPIO chip
    6 #    evtype: event tyep of config_hook
    7 #        id: event id of config_hook
    8 #      port: port number on GPIO
    9 #    active: which value is 'ON', 0 or 1.
   10 # initvalue: initial value
   11 #               0: low
   12 #               1: high
   13 #               default: do nothing
   14 #     level: level sense interrupt
   15 #               0: low
   16 #               1: high
   17 #               default: edge
   18 #      edge: edge trriger interrupt
   19 #               1: positive edge
   20 #               2: negative edge
   21 #               other: both
   22 
   23 define hpcioif { [platform = -1], [iochip = -1], [id = -1], [port = -1], [active = 1], [level = -1], [edge = -1], [initvalue = -1], [addr=-1], [size=-1] }
   24 
   25 device hpcioman { [iochip = -1], [evtype = -1], [id = -1], [port = -1], [active = 1], [level = -1], [edge = -1], [initvalue = -1], [hold = -1], [connect = 0] }
   26 
   27 attach hpcioman at hpcioif
   28 file dev/hpc/hpcioman.c         hpcioman
   29 
   30 device hpcin
   31 attach hpcin at hpcioman
   32 file dev/hpc/hpcin.c            hpcin
   33 
   34 device hpcout
   35 attach hpcout at hpcioman
   36 file dev/hpc/hpcout.c           hpcout
   37 
   38 device pwctl
   39 attach pwctl at hpcioif
   40 file dev/hpc/pwctl.c            pwctl
   41 
   42 device button
   43 attach button at hpcioif
   44 file dev/hpc/button.c           button

Cache object: 350515381228bc6d4c13037ece72f8fd


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.