MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                         csxPut8(9F)



NAME
     csxPut8, csxPut16, csxPut32, csxPut64 - write to  device
     register

SYNOPSIS
     #include 



     void csxPut8(acchandlet handle, uint32t offset, uint8t value);


     void csxPut16(acchandlet handle, uint32t offset, uint16t value);


     void csxPut32(acchandlet handle, uint32t offset, uint32t value);


     void csxPut64(acchandlet handle, uint32t offset, uint64t value);


INTERFACE LEVEL
     Solaris DI Specific (Solaris DI)

PARAMETERS
     handle     The     access     handle      returned      from
                csxRequestIO(9F),    csxRequestWindow(9F),   or
                csxDupHandle(9F).


     offset     The offset in bytes from the base of  the  mapped
                resource.


     value      The data to be written to the device.


DESCRIPTION
     These functions generate a write of  various  sizes  to  the
     mapped memory or device register.


     The csxPut8(), csxPut16(),  csxPut32(),  and  csxPut64()
     functions  write  8  bits,  16 bits, 32 bits, and 64 bits of
     data, respectively, to the device address represented by the
     handle,  handle,  at  an  offset in bytes represented by the
     offset, offset.


     Data that consists of more than one byte will  automatically
     be translated to maintain a consistent view between the host
     and the device based on the encoded information in the  data



SunOS 5.11          Last change: 19 Jul 1996                    1






Kernel Functions for Drivers                         csxPut8(9F)



     access  handle. The translation may involve byte swapping if
     the host and the device  have  incompatible  endian  charac-
     teristics.

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

SEE ALSO
     csxDupHandle(9F),   csxGet8(9F),    csxGetMappedAddr(9F),
     csxRepGet8(9F),     csxRepPut8(9F),     csxRequestIO(9F),
     csxRequestWindow(9F)


     PC Card 95 Standard, PCMCIA/JEIDA








































SunOS 5.11          Last change: 19 Jul 1996                    2



OpenSolaris man pages main menu

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