csx_Put8 man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

CSX_PUT8(9F)							  CSX_PUT8(9F)

       csx_Put8, csx_Put16, csx_Put32, csx_Put64 - write to device register

       #include <sys/pccard.h>

       void csx_Put8(acc_handle_t handle, uint32_t offset, uint8_t value);

       void csx_Put16(acc_handle_t handle, uint32_t offset, uint16_t value);

       void csx_Put32(acc_handle_t handle, uint32_t offset, uint32_t value);

       void csx_Put64(acc_handle_t handle, uint32_t offset, uint64_t value);

       Solaris DDI Specific (Solaris DDI)

		  The	access	 handle	  returned   from   csx_RequestIO(9F),
		  csx_RequestWindow(9F), or csx_DupHandle(9F).

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

		  The data to be written to the device.

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

       The  csx_Put8(),	 csx_Put16(),  csx_Put32(),  and csx_Put64() 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	trans‐
       lated  to  maintain  a  consistent view between the host and the device
       based on the encoded information in the data access handle. The	trans‐
       lation may involve byte swapping if the host and the device have incom‐
       patible endian characteristics.

       These functions may be called from user, kernel, or interrupt context.

       csx_DupHandle(9F),	  csx_Get8(9F),		csx_GetMappedAddr(9F),
       csx_RepGet8(9F),	 csx_RepPut8(9F),  csx_RequestIO(9F),  csx_RequestWin‐

       PC Card 95 Standard, PCMCIA/JEIDA

				 Jul 19, 1996			  CSX_PUT8(9F)

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net