MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                      ddiioput8(9F)



NAME
     ddiioput8,   ddiioput16,   ddiioput32,    ddiioputb,
     ddiioputl,  ddiioputw  - write data to the mapped device
     register in I/O space

SYNOPSIS
     #include 
     #include 



     void ddiioput8(ddiacchandlet handle, uint8t *devaddr,
          uint8t value);


     void ddiioput16(ddiacchandlet handle, uint16t *devaddr,
          uint16t value);


     void ddiioput32(ddiacchandlet handle, uint32t *devaddr,
          uint32t value);


INTERFACE LEVEL
     Solaris  DI  specific  (Solaris  DI).  The  ddiioput8(),
     ddiioput16(),        ddiioput32(),        ddiioputb(),
     ddiioputl(), and ddiioputw() functions are obsolete. The
     ddiput8(9F)    function    replaces    ddiioput8().   The
     ddiput16(9F)   function   replaces   ddiioput16().    The
     ddiput32(9F)    function   replaces   ddiioput32().   The
     ddiput8(9F)   function    replaces    ddiioputb().    The
     ddiput32(9F)    function    replaces   ddiioputl().   The
     ddiput16(9F) function replaces ddiioputw().

PARAMETERS
     handle      Data access handle returned  from  setup  calls,
                 such as ddiregsmapsetup(9F).


     devaddr    Base device address.


     value       Data to be written to the device.


DESCRIPTION
     These routines generate a write of various sizes to the dev-
     ice  address,  devaddr,  in  I/O  space. The ddiioput8(),
     ddiioput16(), and ddiioput32() functions write  8  bits,
     16  bits,  and  32 bits of data, respectively, to the device
     address, devaddr.




SunOS 5.11           Last change: 1 Nov 2005                    1






Kernel Functions for Drivers                      ddiioput8(9F)



     Each individual datum will automatically  be  translated  to
     maintain  a  consistent view between the host and the device
     based on the encoded information in the data access  handle.
     The  translation  may  involve byte-swapping if the host and
     the device have incompatible endian characteristics.

CONTEXT
     These functions can be called from user, kernel,  or  inter-
     rupt context.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Obsolete                    
    


SEE ALSO
     isa(4),        ddiioget8(9F),         ddiiorepget8(9F),
     ddiiorepput8(9F),       ddiput8(9F),      ddiput16(9F),
     ddiput32(9F),                       ddiregsmapsetup(9F),
     ddideviceaccattr(9S)



























SunOS 5.11           Last change: 1 Nov 2005                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™