man Pages(9F) : DDI and DKI Kernel Functions
只搜尋這本書
以 PDF 格式下載這本書 (1271 KB)
A
activate a new DMA window -- ddi_dma_getwin ( Index Term Link )
add a fully initialized kstat to the system -- kstat_install ( Index Term Link )
add a soft interrupt, -- ddi_add_softintr ( Index Term Link )
add an interrupt handler, -- ddi_add_intr ( Index Term Link )
address, return mapped virtual address -- csx_GetMappedAddr ( Index Term Link )
adjmsg -- trim bytes from a message ( Index Term Link )
allocate and free a scsi_pkt structure -- scsi_hba_pkt_alloc ( Index Term Link )
allocate and free transport structures -- scsi_hba_tran_alloc ( Index Term Link )
allocate and free a scsi_pkt structure -- scsi_hba_pkt_alloc, scsi_hba_pkt_free ( Index Term Link )
allocate and free transport structures -- scsi_hba_tran_alloc, scsi_hba_tran_free ( Index Term Link )
allocate and free non-sequentially accessed memory
-- ddi_iopb_alloc ( Index Term Link )
-- ddi_iopb_free ( Index Term Link )
allocate DMA handle -- ddi_dma_alloc_handle ( Index Term Link )
allocate kernel memory
-- ddi_umem_alloc ( Index Term Link )
-- ddi_umem_free ( Index Term Link )
-- ddi_umem_zalloc ( Index Term Link )
-- kmem_alloc ( Index Term Link )
-- kmem_free ( Index Term Link )
-- kmem_zalloc ( Index Term Link )
allocate memory for DMA transfer -- ddi_dma_mem_alloc ( Index Term Link )
allocate space -- rmalloc ( Index Term Link )
allocate space from a resource map -- rmalloc_wait ( Index Term Link )
allow 64 bit transfers on SBus -- ddi_dma_set_sbus64 ( Index Term Link )
anocancel -- prevent cancellation of asynchronous I/O request ( Index Term Link )
aphysio -- perform asynchronous physical I/O ( Index Term Link )
assert -- expression verification ( Index Term Link )
asynchronous physical I/O -- aphysio ( Index Term Link )
asynchronous STREAMS perimeter upgrade -- qwriter ( Index Term Link )
B
bcopy -- copy data between address locations in kernel ( Index Term Link )
binds a system buffer to a DMA handle -- ddi_dma_buf_bind_handle ( Index Term Link )
binds an address to a DMA handle -- ddi_dma_addr_bind_handle ( Index Term Link )
bioclone -- clone another buffer ( Index Term Link )
bioerror -- indicate error in buffer header ( Index Term Link )
biofini -- uninitialize a buffer structure ( Index Term Link )
bioinit -- initialize a buffer structure ( Index Term Link )
biomodified -- check if a buffer is modified ( Index Term Link )
bioreset -- reuse a private buffer header after I/O is complete ( Index Term Link )
biosize -- returns size of a buffer structure ( Index Term Link )
bufcall -- call a function when a buffer becomes available ( Index Term Link ) ( Index Term Link )
bufcall, call a function when a buffer becomes available ( Index Term Link )
buffer header
indicate error -- bioerror ( Index Term Link )
reuse a private buffer header after I/O is complete -- bioreset ( Index Term Link )
busy-wait for specified interval -- drv_usecwait ( Index Term Link )
byte streams, compare two -- bcmp ( Index Term Link )
bytes, size
convert size in pages -- ptob ( Index Term Link )
convert to size in memory pages (round down) -- btop ( Index Term Link )
convert to size in memory pages (round up) -- btopr ( Index Term Link )
C
call a function when a buffer becomes available -- qbufcall ( Index Term Link )
call a function when a buffer becomes available, bufcall ( Index Term Link )
call a STREAMS put procedure -- put ( Index Term Link )
cancel a pending qbufcall request -- qunbufcall ( Index Term Link )
cancel previous timeout function call -- quntimeout ( Index Term Link )
cancellation of asynchronous I/O -- anocancel ( Index Term Link )
character strings
compare two null terminated strings -- strcmp, strncmp ( Index Term Link )
convert between an integer and a decimal string -- stoi, numtos ( Index Term Link )
copy a string from one location to another -- strcpy, strncpy ( Index Term Link )
determine the number of non-null bytes in a string -- strlen ( Index Term Link )
find a character in a string -- strchr ( Index Term Link )
format in memory -- sprintf ( Index Term Link )
check for an available buffer -- testb ( Index Term Link )
check for the existence of a property -- ddi_prop_exists ( Index Term Link )
check if a buffer is modified -- biomodified ( Index Term Link )
CIS tuple
first tuple -- csx_GetFirstTuple ( Index Term Link )
next tuple -- csx_GetNextTuple ( Index Term Link )
clear client event mask -- csx_ReleaseSocketMask ( Index Term Link )
client, register client -- csx_RegisterClient ( Index Term Link )
client event mask
return client event mask -- csx_GetEventMask ( Index Term Link )
set client event mask -- csx_SetEventMask ( Index Term Link )
client return
-- csx_GetFirstClient ( Index Term Link )
-- csx_GetNextClient ( Index Term Link )
clone another buffer -- bioclone ( Index Term Link )
condition variable routines, driver
-- condvar ( Index Term Link )
-- cv_broadcast ( Index Term Link )
-- cv_init ( Index Term Link )
-- cv_signal ( Index Term Link )
-- cv_timedwait ( Index Term Link )
-- cv_timedwait_sig ( Index Term Link )
-- cv_wait ( Index Term Link )
-- cv_wait_sig ( Index Term Link )
configure PC Card and socket -- csx_RequestConfiguration ( Index Term Link )
control driver notification of user accesses -- ddi_mapdev_intercept ( Index Term Link )
ddi_mapdev_nointercept ( Index Term Link )
control device components' availability for power management
-- pm_busy_component ( Index Term Link )
-- pm_idle_component ( Index Term Link )
control the validation of memory address translations
-- devmap_load ( Index Term Link )
-- devmap_unload ( Index Term Link )
convert a DMA segment to a DMA address cookie -- ddi_dma_segtocookie ( Index Term Link )
convert clock ticks to microseconds -- drv_hztousec ( Index Term Link )
convert device sizes -- csx_ConvertSize ( Index Term Link )
convert device speeds -- csx_ConvertSpeed ( Index Term Link )
convert error return codes to text strings -- csx_Error2Text ( Index Term Link )
convert events to text strings -- csx_Event2Text ( Index Term Link )
convert microseconds to clock ticks -- drv_usectohz ( Index Term Link )
copy data from one device register to another device register -- ddi_device_copy ( Index Term Link )
create minor nodes for client -- csx_MakeDeviceNode ( Index Term Link )
create a minor node for this device -- ddi_create_minor_node ( Index Term Link )
create and initialize a new kstat -- kstat_create ( Index Term Link )
create driver-controlled mapping of device -- ddi_mapdev ( Index Term Link )
csx_AccessConfigurationRegister -- read or write a PC Card Configuration Register ( Index Term Link )
csx_ConvertSize -- convert device sizes ( Index Term Link )
csx_ConvertSpeed -- convert device speeds ( Index Term Link )
csx_CS_DDI_Info -- obtain DDI information ( Index Term Link )
csx_DeregisterClient -- remove client from Card Services list ( Index Term Link )
csx_DupHandle -- duplicate access handle ( Index Term Link )
csx_Error2Text -- convert error return codes to text strings ( Index Term Link )
csx_Event2Text -- convert events to text strings ( Index Term Link )
csx_FreeHandle -- free access handle ( Index Term Link )
csx_Get8 -- read from device register ( Index Term Link )
csx_Get16 -- read from device register ( Index Term Link )
csx_Get32 -- read from device register ( Index Term Link )
csx_Get64 -- read from device register ( Index Term Link )
csx_GetEventMask -- return client event mask ( Index Term Link )
csx_GetFirstClient -- return first client ( Index Term Link )
csx_GetFirstTuple -- return first CIS tuple ( Index Term Link )
csx_GetHandleOffset -- return current access handle offset ( Index Term Link )
csx_GetMappedAddr -- return mapped virtual address ( Index Term Link )
csx_GetNextClient -- return next client ( Index Term Link )
csx_GetNextTuple -- return next CIS tuple ( Index Term Link )
csx_GetStatus -- return status of PC Card and socket ( Index Term Link )
csx_GetTupleData -- return data portion of tuple ( Index Term Link )
csx_MakeDeviceNode -- create minor nodes for client ( Index Term Link )
csx_MapLogSocket -- return physical socket number ( Index Term Link )
csx_MapMemPage -- map memory area on PC Card ( Index Term Link )
csx_ModifyConfiguration -- modify PC Card configuration ( Index Term Link )
csx_ModifyWindow -- modify window attributes ( Index Term Link )
csx_Parse_CISTPL_BATTERY -- parse Battery Replacement Date tuple ( Index Term Link )
csx_Parse_CISTPL_BYTEORDER -- parse Byte Order tuple ( Index Term Link )
csx_Parse_CISTPL_CFTABLE_ENTRY -- parse Card Configuration Table tuple ( Index Term Link )
csx_Parse_CISTPL_CONFIG -- parse Configuration tuple ( Index Term Link )
csx_Parse_CISTPL_DATE -- parse Card Initialization Date tuple ( Index Term Link )
csx_Parse_CISTPL_DEVICE -- parse Device Information tuple for Common Memory ( Index Term Link )
csx_Parse_CISTPL_DEVICE_A -- parse Device Information tuple for Attribute Memory ( Index Term Link )
csx_Parse_CISTPL_DEVICE_OA -- parse Other Condition Device Information tuple for Attribute Memory ( Index Term Link )
csx_Parse_CISTPL_DEVICE_OC -- parse Other Condition Device Information tuple for Common Memory ( Index Term Link )
csx_Parse_CISTPL_DEVICEGEO -- parse Device Geo tuple ( Index Term Link )
csx_Parse_CISTPL_DEVICEGEO_A -- parse Device Geo A tuple ( Index Term Link )
csx_Parse_CISTPL_FORMAT -- parse Data Recording Format tuple ( Index Term Link )
csx_Parse_CISTPL_FUNCE -- parse Function Extension tuple ( Index Term Link )
csx_Parse_CISTPL_FUNCID -- parse Function Identification tuple ( Index Term Link )
csx_Parse_CISTPL_GEOMETRY -- parse Geometry tuple ( Index Term Link )
csx_Parse_CISTPL_JEDEC_A -- parse JEDEC Identifier tuple for Attribute Memory ( Index Term Link )
csx_Parse_CISTPL_JEDEC_C -- parse JEDEC Identifier tuple for Common Memory ( Index Term Link )
csx_Parse_CISTPL_LINKTARGET -- parse Link Target tuple ( Index Term Link )
csx_Parse_CISTPL_LONGLINK_A -- parse Long Link A tuple ( Index Term Link )
csx_Parse_CISTPL_LONGLINK_C -- parse Long Link C tuple ( Index Term Link )
csx_Parse_CISTPL_LONGLINK_MFC -- parse Multi-Function tuple ( Index Term Link )
csx_Parse_CISTPL_MANFID -- parse Manufacturer Identification tuple ( Index Term Link )
csx_Parse_CISTPL_ORG -- parse Data Organization tuple ( Index Term Link )
csx_Parse_CISTPL_SPCL -- parse Special Purpose tuple ( Index Term Link )
csx_Parse_CISTPL_SWIL -- parse Software Interleaving tuple ( Index Term Link )
csx_Parse_CISTPL_VERS_1 -- parse Level-1 Version/Product Information tuple ( Index Term Link )
csx_Parse_CISTPL_VERS_2 -- parse Level-2 Version and Information tuple ( Index Term Link )
csx_ParseTuple -- generic tuple parser ( Index Term Link )
csx_Put8 -- write to device register ( Index Term Link )
csx_Put16 -- write to device register ( Index Term Link )
csx_Put32 -- write to device register ( Index Term Link )
csx_Put64 -- write to device register ( Index Term Link )
csx_RegisterClient -- register client ( Index Term Link )
csx_ReleaseConfiguration -- release configuration on PC Card ( Index Term Link )
csx_ReleaseIO -- release I/O resources ( Index Term Link )
csx_ReleaseIRQ -- release IRQ resource ( Index Term Link )
csx_ReleaseSocketMask -- clear client event mask ( Index Term Link )
csx_ReleaseWindow -- release window resources ( Index Term Link )
csx_RepGet8 -- read repetitively from device register ( Index Term Link )
csx_RepGet16 -- read repetitively from device register ( Index Term Link )
csx_RepGet32 -- read repetitively from device register ( Index Term Link )
csx_RepGet64 -- read repetitively from device register ( Index Term Link )
csx_RepPut8 -- write repetitively to device register ( Index Term Link )
csx_RepPut16 -- write repetitively to device register ( Index Term Link )
csx_RepPut32 -- write repetitively to device register ( Index Term Link )
csx_RepPut64 -- write repetitively to device register ( Index Term Link )
csx_RequestConfiguration -- configure PC Card and socket ( Index Term Link )
csx_RequestIO -- request I/O resources ( Index Term Link )
csx_RequestIRQ -- request IRQ resource ( Index Term Link )
csx_RequestSocketMask -- request client event mask ( Index Term Link )
csx_RequestWindow -- request window resources ( Index Term Link )
csx_ResetFunction -- reset a function on a PC card ( Index Term Link )
csx_SetEventMask -- set client event mask ( Index Term Link )
csx_SetHandleOffset -- set current access handle offset ( Index Term Link )
csx_ValidateCIS -- validate Card Information Structure (CIS) ( Index Term Link )
D
datamsg -- test whether a message is a data message ( Index Term Link )
DDI access credential structure, -- ddi_get_cred ( Index Term Link )
ddi_add_intr -- add an interrupt handler ( Index Term Link )
ddi_add_softintr -- add a soft interrupt ( Index Term Link )
DDI announce a device, -- ddi_report_dev ( Index Term Link )
ddi_binding_name -- return driver binding name ( Index Term Link )
ddi_create_minor_node -- create a minor node for this device ( Index Term Link )
ddi_dev_is_needed -- inform the system that a device's component is required ( Index Term Link )
DDI device access, slave access only -- ddi_slaveonly ( Index Term Link )
ddi_device_copy -- copy data from one device register to another device register ( Index Term Link )
DDI device critical region of control
enter -- ddi_enter_critical ( Index Term Link )
exit -- ddi_exit_critical ( Index Term Link )
DDI device information structure
find parent -- ddi_get_parent ( Index Term Link )
get the root of the dev_info tree -- ddi_root_node ( Index Term Link )
remove a minor node for this devinfo -- ddi_remove_minor_node ( Index Term Link )
DDI device instance number, get -- ddi_get_instance ( Index Term Link )
DDI device mapping
ddi_mapdev -- create driver-controlled mapping of device ( Index Term Link )
ddi_mapdev_intercept -- control driver notification of user accesses ( Index Term Link )
ddi_mapdev_nointercept -- control driver notification of user accesses ( Index Term Link )
devmap_default_access -- device mapping access entry point ( Index Term Link )
DDI device registers
map -- ddi_map_regs ( Index Term Link )
return the number of register sets -- ddi_dev_nregs ( Index Term Link )
return the size -- ddi_dev_regsize ( Index Term Link )
unmap -- ddi_unmap_regs ( Index Term Link )
DDI device's private data area
get the address -- ddi_get_driver_private ( Index Term Link )
set the address -- ddi_set_driver_private ( Index Term Link )
DDI device virtual address
read 16 bit -- ddi_peek16 ( Index Term Link )
read 32 bit -- ddi_peek32 ( Index Term Link )
read 64 bit-- ddi_peek64 ( Index Term Link )
read 8 bit -- ddi_peek8 ( Index Term Link )
read a value -- ddi_peek ( Index Term Link )
write 16 bit -- ddi_poke16 ( Index Term Link )
write 32 bit -- ddi_poke32 ( Index Term Link )
write 64 bit -- ddi_poke64 ( Index Term Link )
write 8 bit -- ddi_poke8 ( Index Term Link )
write a value -- ddi_poke ( Index Term Link )
ddi_device_zero -- zero fill the device register ( Index Term Link )
ddi_devid_compare -- Kernel interfaces for device ids ( Index Term Link )
ddi_devid_free -- Kernel interfaces for device ids ( Index Term Link )
ddi_devid_init -- Kernel interfaces for device ids ( Index Term Link )
ddi_devid_register -- Kernel interfaces for device ids ( Index Term Link )
ddi_devid_sizeof -- Kernel interfaces for device ids ( Index Term Link )
ddi_devid_unregister -- Kernel interfaces for device ids ( Index Term Link )
ddi_devid_valid -- Kernel interfaces for device ids ( Index Term Link )
DDI devinfo node name
return -- ddi_binding_name ( Index Term Link )
return -- ddi_get_name ( Index Term Link )
return -- ddi_node_name ( Index Term Link )
DDI direct memory access, convert DMA handle to DMA addressing cookie -- ddi_dma_htoc ( Index Term Link )
DDI direct memory access services
allocate consistent memory-- ddi_iopb_alloc ( Index Term Link )
convert a DMA cookie -- ddi_dma_coff ( Index Term Link )
easier DMA setup -- ddi_dma_addr_setup ( Index Term Link )
easier DMA setup -- ddi_dma_buf_setup ( Index Term Link )
find minimum alignment and transfer size for device -- ddi_iomin ( Index Term Link )
find post DMA mapping alignment and minimum effect properties -- ddi_dma_devalign ( Index Term Link )
free consistent memory -- ddi_iopb_free ( Index Term Link )
report current DMA window offset and size -- ddi_dma_curwin ( Index Term Link ) ( Index Term Link )
setup DMA mapping -- ddi_dma_setup ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
setup DMA resources -- ddi_dma_setup ( Index Term Link )
shift current DMA window -- ddi_dma_movwin ( Index Term Link )
tear down DMA mapping -- ddi_dma_free ( Index Term Link )
ddi_dma_addr_bind_handle -- binds an address to a DMA handle ( Index Term Link )
ddi_dma_alloc_handle -- allocate DMA handle ( Index Term Link )
ddi_dma_buf_bind_handle -- binds a system buffer to a DMA handle ( Index Term Link )
ddi_dma_burstsizes -- find out the allowed burst sizes for a DMA mapping ( Index Term Link )
ddi_dma_free_handle -- free DMA handle ( Index Term Link )
ddi_dma_getwin -- activate a new DMA window ( Index Term Link )
ddi_dma_mem_alloc -- allocate memory for DMA transfer ( Index Term Link )
ddi_dma_mem_free -- free previously allocated memory ( Index Term Link )
ddi_dma_nextcookie -- retrieve subsequent DMA cookie ( Index Term Link )
ddi_dma_nextseg -- get next DMA segment ( Index Term Link )
ddi_dma_nextwin -- get next DMA window ( Index Term Link )
ddi_dma_numwin -- retrieve number of DMA windows ( Index Term Link )
ddi_dma_segtocookie -- convert a DMA segment to a DMA address cookie ( Index Term Link )
ddi_dma_set_sbus64 -- allow 64 bit transfers on SBus ( Index Term Link )
ddi_dma_sync -- synchronize CPU and I/O views of memory ( Index Term Link )
ddi_dma_unbind_handle -- unbinds the address in a DMA handle ( Index Term Link )
ddi_dmae -- system DMA engine functions ( Index Term Link )
ddi_dmae_1stparty -- system DMA engine functions ( Index Term Link )
ddi_dmae_alloc -- system DMA engine functions ( Index Term Link )
ddi_dmae_disable -- system DMA engine functions ( Index Term Link )
ddi_dmae_enable -- system DMA engine functions ( Index Term Link )
ddi_dmae_getattr -- system DMA engine functions ( Index Term Link )
ddi_dmae_getcnt -- system DMA engine functions ( Index Term Link )
ddi_dmae_getlim -- system DMA engine functions ( Index Term Link )
ddi_dmae_prog -- system DMA engine functions ( Index Term Link )
ddi_dmae_release -- system DMA engine functions ( Index Term Link )
ddi_dmae_stop -- system DMA engine functions ( Index Term Link )
ddi_ffs -- find first (last) bit set in a long integer ( Index Term Link )
ddi_fls -- find first (last) bit set in a long integer ( Index Term Link )
ddi_get8 -- read data from the device ( Index Term Link )
ddi_get16 -- read data from the device ( Index Term Link )
ddi_get32 -- read data from the device ( Index Term Link )
ddi_get64 -- read data from the device ( Index Term Link )
ddi_get_iblock_cookie -- get interrupt block cookie ( Index Term Link )
ddi_get_lbolt, returns the value of lbolt ( Index Term Link )
ddi_get_name -- return driver binding name ( Index Term Link )
ddi_get_pid, returns the process ID ( Index Term Link )
ddi_get_soft_iblock_cookie -- get soft interrupt block cookie ( Index Term Link )
ddi_get_time, returns the current time in seconds ( Index Term Link )
ddi_in_panic -- determine if system is in panic state ( Index Term Link )
DDI information -- csx_CS_DDI_Info ( Index Term Link )
DDI interrupt handling
add an interrupt -- ddi_add_intr ( Index Term Link )
get interrupt block cookie -- ddi_get_iblock_cookie ( Index Term Link )
indicate interrupt handler type -- ddi_intr_hilevel ( Index Term Link )
remove an interrupt -- ddi_remove_intr ( Index Term Link )
return the number of interrupt specifications -- ddi_dev_nintrs ( Index Term Link )
ddi_io_get8 -- read data from the mapped device register in I/O space ( Index Term Link )
ddi_io_get16 -- read data from the mapped device register in I/O space ( Index Term Link )
ddi_io_get32 -- read data from the mapped device register in I/O space ( Index Term Link )
ddi_io_getb -- read data from the mapped device register in I/O space ( Index Term Link )
ddi_io_getl -- read data from the mapped device register in I/O space ( Index Term Link )
ddi_io_getw -- read data from the mapped device register in I/O space ( Index Term Link )
ddi_io_put8 -- write data to the mapped device register in I/O space ( Index Term Link )
ddi_io_put16 -- write data to the mapped device register in I/O space ( Index Term Link )
ddi_io_put32 -- write data to the mapped device register in I/O space ( Index Term Link )
ddi_io_putb -- write data to the mapped device register in I/O space ( Index Term Link )
ddi_io_putl -- write data to the mapped device register in I/O space ( Index Term Link )
ddi_io_putw -- write data to the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_get8 -- read multiple data from the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_get16 -- read multiple data from the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_get32 -- read multiple data from the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_getb -- read multiple data from the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_getl -- read multiple data from the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_getw -- read multiple data from the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_put8 -- write multiple data to the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_put16 -- write multiple data to the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_put32 -- write multiple data to the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_putb -- write multiple data to the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_putl -- write multiple data to the mapped device register in I/O space ( Index Term Link )
ddi_io_rep_putw -- write multiple data to the mapped device register in I/O space ( Index Term Link )
ddi_iopb_alloc -- allocate and free non-sequentially accessed memory ( Index Term Link )
ddi_iopb_free -- allocate and free non-sequentially accessed memory ( Index Term Link )
ddi_mapdev -- create driver-controlled mapping of device ( Index Term Link )
ddi_mapdev_intercept -- control driver notification of user accesses ( Index Term Link ) ( Index Term Link )
ddi_mapdev_set_device_acc_attr -- Set the device attributes for the mapping ( Index Term Link )
ddi_mem_get16 -- read data from mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_get32 -- read data from mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_get64 -- read data from mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_put16 -- write data to mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_put32 -- write data to mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_put64 -- write data to mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_rep_get8 -- read data from mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_rep_get16 -- read data from mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_rep_get32 -- read data from mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_rep_get64 -- read data from mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_rep_put8 -- write data to mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_rep_put16 -- write data to mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_rep_put32 -- write data to mapped device in the memory space or allocated DMA memory ( Index Term Link )
ddi_mem_rep_put64 -- write data to mapped device in the memory space or allocated DMA memory ( Index Term Link )
DDI memory mapping
map a segment -- ddi_segmap ( Index Term Link )
map a segment -- devmap_setup ( Index Term Link )
ddi_mmap_get_model -- return data model type of current thread ( Index Term Link )
ddi_model_convert_from -- determine data model type mismatch ( Index Term Link )
ddi_model_convert_from -- Determine if there is a need to translate shared data structure contents ( Index Term Link )
ddi_node_name -- return the devinfo node name ( Index Term Link )
DDI page size conversions
-- ddi_btop ( Index Term Link )
-- ddi_btopr ( Index Term Link )
-- ddi_ptob ( Index Term Link )
ddi_prop_exists -- check for the existence of a property ( Index Term Link )
ddi_prop_get_int -- look up integer property ( Index Term Link )
ddi_prop_lookup -- lookup property information ( Index Term Link )
ddi_prop_lookup_byte_array -- lookup property information ( Index Term Link )
ddi_prop_lookup_int_array -- lookup property information ( Index Term Link )
ddi_prop_lookup_string -- lookup property information ( Index Term Link )
ddi_prop_lookup_string_array -- lookup property information ( Index Term Link )
ddi_prop_update -- update property information. ( Index Term Link )
ddi_prop_update_byte_array -- update property information. ( Index Term Link )
ddi_prop_update_int -- update property information. ( Index Term Link )
ddi_prop_update_int_array -- update property information. ( Index Term Link )
ddi_prop_update_string -- update property information. ( Index Term Link )
ddi_prop_update_string_array -- update property information. ( Index Term Link )
DDI property management
create properties for leaf device drivers -- ddi_prop_create ( Index Term Link )
-- ddi_getlongprop ( Index Term Link )
-- ddi_getlongprop_buf ( Index Term Link )
-- ddi_getprop ( Index Term Link )
-- ddi_getproplen ( Index Term Link )
-- ddi_prop_op ( Index Term Link )
modify properties for leaf device drivers -- ddi_prop_modify ( Index Term Link )
remove all properties for leaf device drivers -- ddi_prop_remove_all ( Index Term Link )
remove properties for leaf device drivers -- ddi_prop_remove ( Index Term Link )
remove properties for leaf device drivers -- ddi_prop_undefine ( Index Term Link )
ddi_put8 -- write data to the device ( Index Term Link )
ddi_put16 -- write data to the device ( Index Term Link )
ddi_put32 -- write data to the device ( Index Term Link )
ddi_put64 -- write data to the device ( Index Term Link )
ddi_regs_map_free -- free mapped register address space ( Index Term Link )
ddi_regs_map_setup -- set up a mapping for a register address space ( Index Term Link )
ddi_remove_intr -- remove an interrupt handler ( Index Term Link )
ddi_remove_softintr -- remove a soft interrupt ( Index Term Link )
ddi_rep_get8 -- read data from the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_get16 -- read data from the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_get32 -- read data from the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_get64 -- read data from the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_getb -- read data from the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_getl -- read data from the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_getll -- read data from the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_getw -- read data from the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_put8 -- write data to the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_put16 -- write data to the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_put32 -- write data to the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_put64 -- write data to the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_putb -- write data to the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_putl -- write data to the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_putll -- write data to the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
ddi_rep_putw -- write data to the mapped memory address, device register or allocated DMA memory address ( Index Term Link )
DDI self identifying devices, tell whether a device is self-identifying -- ddi_dev_is_sid ( Index Term Link )
DDI soft interrupt handling
add a soft interrupt -- ddi_add_softintr ( Index Term Link )
get soft interrupt block cookie -- ddi_get_soft_iblock_cookie ( Index Term Link )
remove a soft interrupt -- ddi_remove_softintr ( Index Term Link )
DDI soft state utility routines
allocate state structure -- ddi_soft_state_zalloc ( Index Term Link )
free soft state entry -- ddi_soft_state_free ( Index Term Link )
get pointer to soft state -- ddi_get_soft_state ( Index Term Link )
initialize state -- ddi_soft_state_init ( Index Term Link )
remove all state info -- ddi_soft_state_fini ( Index Term Link )
ddi_trigger_softintr -- trigger a soft interrupt ( Index Term Link )
ddi_umem_alloc -- allocate kernel memory ( Index Term Link )
ddi_umem_free -- allocate kernel memory ( Index Term Link )
ddi_umem_zalloc -- allocate kernel memory ( Index Term Link )
default SCSI HBA probe function -- scsi_hba_probe ( Index Term Link )
delay -- delay process execution for a specified number of clock ticks ( Index Term Link )
deregister client from Card Services list -- csx_DeregisterClient ( Index Term Link )
determine data model type mismatch -- ddi_model_convert_from ( Index Term Link )
Device Driver Interface
See DDI
device mapping access entry point -- devmap_default_access ( Index Term Link )
device switch tables, return function for insignificant entries -- nulldev ( Index Term Link )
devices
get major device number -- getmajor ( Index Term Link )
get minor device number -- getminor ( Index Term Link )
make device number from major and minor numbers -- makedevice ( Index Term Link )
devices, non-pollable, error return function -- nochpoll ( Index Term Link )
devmap_default_access -- device mapping access entry point ( Index Term Link )
devmap_devmem_setup -- Set driver memory mapping parameters ( Index Term Link )
devmap_devmem_setup() ( Index Term Link )
devmap_umem_setup() ( Index Term Link )
devmap_do_ctxmgt -- perform device context switching on a mapping ( Index Term Link )
devmap_load -- control the validation of memory address translations ( Index Term Link )
devmap_set_ctx_timeout -- set context management timeout value ( Index Term Link )
devmap_umem_setup -- Set driver memory mapping parameters ( Index Term Link )
devmap_unload -- control the validation of memory address translations ( Index Term Link )
disksort -- single direction elevator seek sort for buffers ( Index Term Link )
display a SCSI request sense message, scsi_vu_errmsg ( Index Term Link )
DMA mapping, the allowed burst sizes for -- ddi_dma_burstsizes ( Index Term Link )
driver buffers
copy data-- ddi_copyin ( Index Term Link )
copy data from driver -- ddi_copyout ( Index Term Link )
copy data from driver to user program -- copyout ( Index Term Link )
copy data from user program -- copyin ( Index Term Link )
driver error messages, display an error message or panic the system -- cmn_err ( Index Term Link )
driver privilege -- drv_priv ( Index Term Link )
drv_getparm -- retrieve kernel state information ( Index Term Link )
drv_hztousec -- convert clock ticks to microseconds ( Index Term Link )
drv_priv -- determine driver privilege ( Index Term Link )
drv_usectohz -- convert microseconds to clock ticks ( Index Term Link )
drv_usecwait -- busy-wait for specified interval ( Index Term Link )
dupb -- duplicate a message block descriptor ( Index Term Link )
duplicate a message -- dupmsg ( Index Term Link )
duplicate a message block descriptor -- dupb ( Index Term Link )
duplicate access handle -- csx_DupHandle ( Index Term Link )
dupmsg -- duplicate a message ( Index Term Link )
E
enable/disable accesses to the PCI Local Bus Configuration space.
-- pci_config_setup ( Index Term Link )
-- pci_config_teardown ( Index Term Link )
error return codes converted to text strings -- csx_Error2Text ( Index Term Link )
error return function for illegal entries -- nodev ( Index Term Link )
event mask
return client event mask -- csx_GetEventMask ( Index Term Link )
set client event mask -- csx_SetEventMask ( Index Term Link )
events converted to text strings -- csx_Event2Text ( Index Term Link )
expression verification, -- assert ( Index Term Link )
F
find first (last) bit set in a long integer -- ddi_ffs ( Index Term Link )
ddi_fls ( Index Term Link )
first CIS tuple -- csx_GetFirstTuple ( Index Term Link )
flushband -- flush messages for specified priority band ( Index Term Link )
free access handle -- csx_FreeHandle ( Index Term Link )
free DMA handle, -- ddi_dma_free_handle ( Index Term Link )
free mapped register address space -- ddi_regs_map_free ( Index Term Link )
free previously allocated memory -- ddi_dma_mem_free ( Index Term Link )
free space -- rmfree ( Index Term Link )
freerbuf -- free a raw buffer header ( Index Term Link )
freeze, thaw the state of a stream -- freezestr ( Index Term Link )
unfreezestr ( Index Term Link )
freezestr -- freeze, thaw the state of a stream ( Index Term Link )
G
generic tuple parser -- csx_ParseTuple ( Index Term Link )
get interrupt block cookie, -- ddi_get_iblock_cookie ( Index Term Link )
get next DMA segment -- ddi_dma_nextseg ( Index Term Link )
get next DMA window -- ddi_dma_nextwin ( Index Term Link )
get soft interrupt block cookie, -- ddi_get_soft_iblock_cookie ( Index Term Link )
getmajor -- get major device number ( Index Term Link )
getminor -- get minor device number ( Index Term Link )
getrbuf -- get a raw buffer header ( Index Term Link )
H
handle variable argument list
-- va_arg ( Index Term Link )
-- va_copy ( Index Term Link )
-- va_end ( Index Term Link )
-- va_start ( Index Term Link )
I
I/O, block, suspend processes pending completion -- biowait ( Index Term Link )
I/O, buffer, release buffer and notify processes -- biodone ( Index Term Link )
I/O, paged request
allocate virtual address space -- bp_mapin ( Index Term Link )
deallocate virtual address space -- bp_mapout ( Index Term Link )
I/O, physical
-- minphys ( Index Term Link )
-- physio ( Index Term Link )
I/O error, return -- geterror ( Index Term Link )
I/O resources
release I/O resources -- csx_ReleaseIO ( Index Term Link )
request I/O resources -- csx_RequestIO ( Index Term Link )
inb -- read from an I/O port ( Index Term Link )
inform the system that a device's component is required. -- ddi_dev_is_needed ( Index Term Link )
initialize a buffer structure -- bioinit ( Index Term Link )
initialize a named kstat -- kstat_named_init ( Index Term Link )
inl -- read from an I/O port ( Index Term Link )
interrupt handling
add an interrupt -- ddi_add_intr ( Index Term Link )
get interrupt block cookie -- ddi_get_iblock_cookie ( Index Term Link )
remove an interrupt -- ddi_remove_intr ( Index Term Link )
inw -- read from an I/O port ( Index Term Link )
IOC_CONVERT_FROM -- Determine if there is a need to translate M_IOCTL contents ( Index Term Link )
IRQ resource
release IRQ resource -- csx_ReleaseIRQ ( Index Term Link )
request IRQ resource -- csx_RequestIRQ ( Index Term Link )
K
kernel address locations, between locations -- bcopy ( Index Term Link )
kernel addresses, get page frame number -- hat_getkpfnum ( Index Term Link )
Kernel interfaces for device ids
-- ddi_devid_compare ( Index Term Link )
-- ddi_devid_free ( Index Term Link )
-- ddi_devid_init ( Index Term Link )
-- ddi_devid_register ( Index Term Link )
-- ddi_devid_sizeof ( Index Term Link )
-- ddi_devid_unregister ( Index Term Link )
-- ddi_devid_valid ( Index Term Link )
kernel modules, dynamic loading
add loadable module -- mod_install ( Index Term Link )
query loadable module -- mod_info ( Index Term Link )
remove loadable module -- mod_remove ( Index Term Link )
kernel state information -- drv_getparm ( Index Term Link )
kmem_alloc -- allocate kernel memory ( Index Term Link )
kmem_free -- allocate kernel memory ( Index Term Link )
kmem_zalloc -- allocate kernel memory ( Index Term Link )
kstat_create -- create and initialize a new kstat ( Index Term Link )
kstat_delete -- remove a kstat from the system ( Index Term Link )
kstat_install -- add a fully initialized kstat to the system ( Index Term Link )
kstat_named_init -- initialize a named kstat ( Index Term Link )
kstat_queue -- update I/O kstat statistics ( Index Term Link )
kstat_runq_back_to_waitq -- update I/O kstat statistics ( Index Term Link )
kstat_runq_enter -- update I/O kstat statistics ( Index Term Link )
kstat_runq_exit -- update I/O kstat statistics ( Index Term Link )
kstat_waitq_enter -- update I/O kstat statistics ( Index Term Link )
kstat_waitq_exit -- update I/O kstat statistics ( Index Term Link )
kstat_waitq_to_runq -- update I/O kstat statistics ( Index Term Link )
L
look up integer property -- ddi_prop_get_int ( Index Term Link )
lookup property information
-- ddi_prop_lookup ( Index Term Link )
-- ddi_prop_lookup_byte_array ( Index Term Link )
-- ddi_prop_lookup_int_array ( Index Term Link )
-- ddi_prop_lookup_string ( Index Term Link )
-- ddi_prop_lookup_string_array ( Index Term Link )
M
makedevice -- make device number from major and minor numbers ( Index Term Link )
map memory area on PC Card -- csx_MapMemPage ( Index Term Link )
max -- return the larger of two integers ( Index Term Link )
memory, clear for a given number of bytes -- bzero ( Index Term Link )
min -- return the lesser of two integers ( Index Term Link )
minor node for device, create -- ddi_create_minor_node ( Index Term Link )
modify PC Card configuration -- csx_ModifyConfiguration ( Index Term Link )
modify window attributes -- csx_ModifyWindow ( Index Term Link )
mt-streams -- STREAMS multithreading ( Index Term Link )
mutex routines
-- mutex ( Index Term Link )
-- mutex_destroy ( Index Term Link )
-- mutex_enter ( Index Term Link )
-- mutex_exit ( Index Term Link )
-- mutex_init ( Index Term Link )
-- mutex_owned ( Index Term Link )
-- mutex_tryenter ( Index Term Link )
mutual exclusion lock
See mutex
N
next CIS tuple -- csx_GetNextTuple ( Index Term Link )
nodes, create minor nodes for client -- csx_MakeDeviceNode ( Index Term Link )
notify target driver of bus resets -- scsi_reset_notify ( Index Term Link )
O
obtain DDI information -- csx_CS_DDI_Info ( Index Term Link )
OTHERQ -- get pointer to queue's partner queue ( Index Term Link )
outb -- write to an I/O port ( Index Term Link )
outl -- write to an I/O port ( Index Term Link )
outw -- write to an I/O port ( Index Term Link )
P
panic state -- ddi_in_panic ( Index Term Link )
parse Battery Replacement Date tuple -- csx_Parse_CISTPL_BATTERY ( Index Term Link )
parse Byte Order tuple -- csx_Parse_CISTPL_BYTEORDER ( Index Term Link )
parse Card Configuration Table tuple -- csx_Parse_CISTPL_CFTABLE_ENTRY ( Index Term Link )
parse Card Initialization Date tuple -- csx_Parse_CISTPL_DATE ( Index Term Link )
parse Configuration tuple -- csx_Parse_CISTPL_CONFIG ( Index Term Link )
parse Data Organization tuple -- csx_Parse_CISTPL_ORG ( Index Term Link )
parse Data Recording Format tuple -- csx_Parse_CISTPL_FORMAT ( Index Term Link )
parse Device Geo A tuple -- csx_Parse_CISTPL_DEVICEGEO_A ( Index Term Link )
parse Device Geo tuple -- csx_Parse_CISTPL_DEVICEGEO ( Index Term Link )
parse Device Information tuple
for Attribute Memory -- csx_Parse_CISTPL_DEVICE_A ( Index Term Link )
for Common Memory -- csx_Parse_CISTPL_DEVICE ( Index Term Link )
parse Function Extension tuple -- csx_Parse_CISTPL_FUNCE ( Index Term Link )
parse Function Identification tuple -- csx_Parse_CISTPL_FUNCID ( Index Term Link )
parse Geometry tuple -- csx_Parse_CISTPL_GEOMETRY ( Index Term Link )
parse JEDEC Identifier tuple
for Attribute Memory -- csx_Parse_CISTPL_JEDEC_A ( Index Term Link )
for Common Memory -- csx_Parse_CISTPL_JEDEC_C ( Index Term Link )
parse Level-2 Version and Information tuple -- csx_Parse_CISTPL_VERS_2 ( Index Term Link )
parse Level-1 Version/Product Information tuple -- csx_Parse_CISTPL_VERS_1 ( Index Term Link )
parse Link Target tuple -- csx_Parse_CISTPL_LINKTARGET ( Index Term Link )
parse Long Link A tuple, -- csx_Parse_CISTPL_LONGLINK_A ( Index Term Link )
parse Long Link C tuple, -- csx_Parse_CISTPL_LONGLINK_C ( Index Term Link )
parse Manufacturer Identification tuple -- csx_Parse_CISTPL_MANFID ( Index Term Link )
parse Multi-Function tuple -- csx_Parse_CISTPL_LONGLINK_MFC ( Index Term Link )
parse Other Condition Device Information tuple
for Attribute Memory -- csx_Parse_CISTPL_DEVICE_OA ( Index Term Link )
for Common Memory -- csx_Parse_CISTPL_DEVICE_OC ( Index Term Link )
parse Software Interleaving tuple -- csx_Parse_CISTPL_SWIL ( Index Term Link )
parse Special Purpose tuple -- csx_Parse_CISTPL_SPCL ( Index Term Link )
parser, for tuples (generic) -- csx_ParseTuple ( Index Term Link )
pci_config_get8 -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_get16 -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_get32 -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_get64 -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_getb -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_getl -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_getll -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_getw -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_put8 -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_put16 -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_put32 -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_put64 -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_putb -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_putl -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_putll -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_putw -- read or write single datum of various sizes to the PCI Local Bus Configuration space ( Index Term Link )
pci_config_setup -- enable/disable accesses to the PCI Local Bus Configuration space. ( Index Term Link )
pci_config_teardown -- enable/disable accesses to the PCI Local Bus Configuration space. ( Index Term Link )
perform device context switching on a mapping -- devmap_do_ctxmgt ( Index Term Link )
pm_busy_component -- control device components' availability for power management ( Index Term Link )
pm_idle_component -- control device components' availability for power management ( Index Term Link )
pollwakeup -- inform a process that an event has occurred ( Index Term Link )
proc_ref -- send a signal to a process ( Index Term Link )
proc_signal -- send a signal to a process ( Index Term Link )
proc_unref -- send a signal to a process ( Index Term Link )
put -- call a STREAMS put procedure ( Index Term Link )
Q
qbufcall -- call a function when a buffer becomes available ( Index Term Link )
qtimeout -- execute a function after a specified length of time ( Index Term Link )
qunbufcall -- cancel a pending qbufcall request ( Index Term Link )
quntimeout -- cancel previous timeout function call ( Index Term Link )
qwait -- STREAMS wait routines ( Index Term Link )
qwait_sig -- STREAMS wait routines ( Index Term Link )
qwriter -- asynchronous STREAMS perimeter upgrade ( Index Term Link )
R
raw buffer
free a raw buffer header -- freerbuf ( Index Term Link )
get a raw buffer header -- getrbuf ( Index Term Link )
RD -- get pointer to the read queue ( Index Term Link )
read from an I/O port -- inb ( Index Term Link )
read from an I/O port -- inl, inl ( Index Term Link )
read from an I/O port -- inw, inw ( Index Term Link )
read from an I/O port -- repinsb, repinsb ( Index Term Link )
read from an I/O port -- repinsd, repinsd ( Index Term Link )
read from an I/O port -- repinsw, repinsw ( Index Term Link )
read data from mapped device in the memory space or allocated DMA memory
-- ddi_mem_get8 ( Index Term Link )
-- ddi_mem_get16 ( Index Term Link )
-- ddi_mem_get32 ( Index Term Link )
-- ddi_mem_get64 ( Index Term Link )
-- ddi_mem_rep_get8 ( Index Term Link )
-- ddi_mem_rep_get16 ( Index Term Link )
-- ddi_mem_rep_get32 ( Index Term Link )
-- ddi_mem_rep_get64 ( Index Term Link )
read data from the device
-- ddi_get8 ( Index Term Link )
-- ddi_get16 ( Index Term Link )
-- ddi_get32 ( Index Term Link )
-- ddi_get64 ( Index Term Link )
read data from the mapped device register in I/O space
-- ddi_io_get8 ( Index Term Link )
-- ddi_io_get16 ( Index Term Link )
-- ddi_io_get32 ( Index Term Link )
-- ddi_io_getb ( Index Term Link )
-- ddi_io_getl ( Index Term Link )
-- ddi_io_getw ( Index Term Link )
read data from the mapped memory address, device register or allocated DMA memory address
-- ddi_rep_get8 ( Index Term Link )
-- ddi_rep_get16 ( Index Term Link )
-- ddi_rep_get32 ( Index Term Link )
-- ddi_rep_get64 ( Index Term Link )
-- ddi_rep_getb ( Index Term Link )
-- ddi_rep_getl ( Index Term Link )
-- ddi_rep_getll ( Index Term Link )
-- ddi_rep_getw ( Index Term Link )
read from device register
-- csx_Get8 ( Index Term Link )
-- csx_Get16 ( Index Term Link )
-- csx_Get32 ( Index Term Link )
-- csx_Get64 ( Index Term Link )
read multiple data from the mapped device register in I/O space
-- ddi_io_rep_get8 ( Index Term Link )
-- ddi_io_rep_get16 ( Index Term Link )
-- ddi_io_rep_get32 ( Index Term Link )
-- ddi_io_rep_getb ( Index Term Link )
-- ddi_io_rep_getl ( Index Term Link )
-- ddi_io_rep_getw ( Index Term Link )
read or write a PC Card Configuration Register -- csx_AccessConfigurationRegister ( Index Term Link )
read or write single datum of various sizes to the PCI Local Bus Configuration space
-- pci_config_get8 ( Index Term Link )
-- pci_config_get16 ( Index Term Link )
-- pci_config_get32 ( Index Term Link )
-- pci_config_get64 ( Index Term Link )
-- pci_config_getb ( Index Term Link )
-- pci_config_getl ( Index Term Link )
-- pci_config_getll ( Index Term Link )
-- pci_config_getw ( Index Term Link )
-- pci_config_put8 ( Index Term Link )
-- pci_config_put16 ( Index Term Link )
-- pci_config_put32 ( Index Term Link )
-- pci_config_put64 ( Index Term Link )
-- pci_config_putb ( Index Term Link )
-- pci_config_putl ( Index Term Link )
-- pci_config_putll ( Index Term Link )
-- pci_config_putw ( Index Term Link )
read repetitively from device register
-- csx_RepGet8 ( Index Term Link )
-- csx_RepGet16 ( Index Term Link )
-- csx_RepGet32 ( Index Term Link )
-- csx_RepGet64 ( Index Term Link )
readers/writer lock functions
-- rw_destroy ( Index Term Link )
-- rw_downgrade ( Index Term Link )
-- rw_enter ( Index Term Link )
-- rw_exit ( Index Term Link )
-- rw_init ( Index Term Link )
-- rw_read_locked ( Index Term Link )
-- rw_tryenter ( Index Term Link )
-- rw_tryupgrade ( Index Term Link )
-- rwlock ( Index Term Link )
register client -- csx_RegisterClient ( Index Term Link )
release client event mask -- csx_ReleaseSocketMask ( Index Term Link )
release I/O resources -- csx_ReleaseIO ( Index Term Link )
release IRQ resource -- csx_ReleaseIRQ ( Index Term Link )
release window resources -- csx_ReleaseWindow ( Index Term Link )
release configuration on PC Card -- csx_ReleaseConfiguration ( Index Term Link )
remove a kstat from the system -- kstat_delete ( Index Term Link )
remove a soft interrupt, -- ddi_remove_softintr ( Index Term Link )
remove an interrupt handler, -- ddi_remove_intr ( Index Term Link )
remove client from Card Services list -- csx_DeregisterClient ( Index Term Link )
repinsb -- read from an I/O port ( Index Term Link )
repinsd -- read from an I/O port ( Index Term Link )
repinsw -- read from an I/O port ( Index Term Link )
repoutsb -- write to an I/O port ( Index Term Link )
repoutsd -- write to an I/O port ( Index Term Link )
repoutsw -- write to an I/O port ( Index Term Link )
request client event mask -- csx_RequestSocketMask ( Index Term Link )
request I/O resources -- csx_RequestIO ( Index Term Link )
request IRQ resource -- csx_RequestIRQ ( Index Term Link )
request window resources -- csx_RequestWindow ( Index Term Link )
reset a function on a PC card -- csx_ResetFunction ( Index Term Link )
resource map
allocate resource maps -- rmallocmap ( Index Term Link )
free resource maps -- rmallocmap ( Index Term Link )
retrieve number of DMA windows -- ddi_dma_numwin ( Index Term Link )
retrieve subsequent DMA cookie -- ddi_dma_nextcookie ( Index Term Link )
return client event mask -- csx_GetEventMask ( Index Term Link )
return client
-- csx_GetFirstClient ( Index Term Link )
-- csx_GetNextClient ( Index Term Link )
return current access handle offset -- csx_GetHandleOffset ( Index Term Link )
return data model type of current thread -- ddi_mmap_get_model ( Index Term Link )
return data portion of tuple -- csx_GetTupleData ( Index Term Link )
return driver binding name
-- ddi_binding_name ( Index Term Link )
-- ddi_get_name ( Index Term Link )
return index matching capability string -- scsi_hba_lookup_capstr ( Index Term Link )
return physical socket number -- csx_MapLogSocket ( Index Term Link )
return status of PC Card and socket -- csx_GetStatus ( Index Term Link )
return the devinfo node name -- ddi_node_name ( Index Term Link )
return the larger of two integers -- max ( Index Term Link )
return the lesser of two integers -- min ( Index Term Link )
return tuple
first CIS tuple -- csx_GetFirstTuple ( Index Term Link )
next CIS tuple -- csx_GetNextTuple ( Index Term Link )
returns size of a buffer structure -- biosize ( Index Term Link )
returns the current time in seconds, ddi_get_time ( Index Term Link )
returns the process ID, ddi_get_pid ( Index Term Link )
returns the value of lbolt, returns the value of lbolt ( Index Term Link )
rmalloc -- allocate space from a resource map ( Index Term Link )
rmalloc_wait -- allocate space from a resource map ( Index Term Link )
rmfree -- free space back into a resource map ( Index Term Link )
S
SAMESTR -- test if next queue is in the same stream ( Index Term Link )
SCSI Host Bus Adapter system initialization and completion routines
-- scsi_hba_init ( Index Term Link ) ( Index Term Link )
scsi_abort -- abort a SCSI command ( Index Term Link )
scsi_alloc_consistent_buf -- scsi dma utility for allocating an I/O buffer for SCSI DMA ( Index Term Link )
scsi_cname -- decode SCSI commands ( Index Term Link )
SCSI commands, make packet
-- makecom ( Index Term Link )
-- makecom_g0 ( Index Term Link )
-- makecom_g1 ( Index Term Link )
-- makecom_g5 ( Index Term Link )
-- makecom_g0_s ( Index Term Link )
scsi_destroy_pkt -- free an allocated SCSI packet and its DMA resource ( Index Term Link )
SCSI dma utility routines
-- scsi_dmafree ( Index Term Link )
-- scsi_dmaget ( Index Term Link )
scsi_dname -- decode SCSI peripheral device type ( Index Term Link )
scsi_errmsg -- display a SCSI request sense message ( Index Term Link )
scsi_free_consistent_buf -- free a previously allocated SCSI DMA I/O buffer ( Index Term Link )
scsi_hba_attach -- SCSI HBA attach and detach routines ( Index Term Link )
SCSI HBA attach and detach routines
-- scsi_hba_attach ( Index Term Link )
-- scsi_hba_attach_setup ( Index Term Link )
-- scsi_hba_detach ( Index Term Link )
scsi_hba_attach_setup -- SCSI HBA attach and detach routines ( Index Term Link )
scsi_hba_detach -- SCSI HBA attach and detach routines ( Index Term Link )
scsi_hba_fini -- SCSI Host Bus Adapter system completion routines ( Index Term Link )
scsi_hba_init -- SCSI Host Bus Adapter system initialization routines ( Index Term Link )
scsi_hba_lookup_capstr -- return index matching capability string ( Index Term Link )
scsi_hba_pkt_alloc -- allocate and free a scsi_pkt structure ( Index Term Link )
scsi_hba_pkt_free -- allocate and free a scsi_pkt structure ( Index Term Link )
scsi_hba_probe -- default SCSI HBA probe function ( Index Term Link )
scsi_hba_tran_alloc -- allocate and free transport structures ( Index Term Link )
scsi_hba_tran_free -- allocate and free transport structures ( Index Term Link )
scsi_ifgetcap -- get SCSI transport capability ( Index Term Link )
scsi_ifsetcap -- set SCSI transport capability ( Index Term Link )
scsi_init_pkt -- prepare a complete SCSI packet ( Index Term Link )
scsi_log -- display a SCSI-device-related message ( Index Term Link )
scsi_mname -- decode SCSI messages ( Index Term Link )
SCSI packet
allocate a SCSI packet in iopb map -- get_pktiopb ( Index Term Link )
free a packet in iopb map -- free_pktiopb ( Index Term Link )
free an allocated SCSI packet and its DMA resource -- scsi_destroy_pkt ( Index Term Link )
SCSI packet utility routines
-- scsi_pktalloc ( Index Term Link )
-- scsi_pktfree ( Index Term Link )
-- scsi_resalloc ( Index Term Link )
-- scsi_resfree ( Index Term Link )
scsi_poll -- run a polled SCSI command on behalf of a target driver ( Index Term Link )
scsi_probe -- utility for probing a scsi device ( Index Term Link )
scsi_reset -- reset a SCSI bus or target ( Index Term Link )
scsi_reset_notify -- notify target driver of bus resets ( Index Term Link )
scsi_rname -- decode SCSI packet completion reasons ( Index Term Link )
scsi_setup_cdb -- setup SCSI command descriptor block (CDB) ( Index Term Link )
scsi_slave -- utility for SCSI target drivers to establish the presence of a target ( Index Term Link )
scsi_sname -- decode SCSI sense keys ( Index Term Link )
scsi_sync_pkt -- synchronize CPU and I/O views of memory ( Index Term Link )
scsi_transport -- request by a target driver to start a SCSI command ( Index Term Link )
scsi_unprobe -- free resources allocated during initial probing ( Index Term Link )
scsi_unslave -- free resources allocated during initial probing ( Index Term Link )
scsi_vu_errmsg, display a SCSI request sense message ( Index Term Link )
semaphore functions
-- sema_destroy ( Index Term Link )
-- sema_init ( Index Term Link )
-- sema_p ( Index Term Link )
-- sema_p_sig ( Index Term Link )
-- sema_tryp ( Index Term Link )
-- sema_v ( Index Term Link )
-- semaphore ( Index Term Link )
send a signal to a process
-- proc_ref ( Index Term Link )
-- proc_signal ( Index Term Link )
-- proc_unref ( Index Term Link )
set client event mask -- csx_RequestSocketMask ( Index Term Link )
set client event mask -- csx_SetEventMask ( Index Term Link )
set current access handle offset -- csx_SetHandleOffset ( Index Term Link )
Set driver memory mapping parameters
-- devmap_devmem_setup ( Index Term Link )
-- devmap_umem_setup ( Index Term Link )
Set the device attributes for the mapping -- ddi_mapdev_set_device_acc_attr ( Index Term Link )
set up a mapping for a register address space -- ddi_regs_map_setup ( Index Term Link )
setup SCSI command descriptor block (CDB) -- scsi_setup_cdb ( Index Term Link )
single direction elevator seek sort for buffers -- disksort ( Index Term Link )
size in bytes
convert size in pages -- ptob ( Index Term Link )
convert to size in memory pages (round down) -- btop ( Index Term Link )
convert to size in memory pages (round up) -- btopr ( Index Term Link )
socket number, return physical socket number -- csx_MapLogSocket ( Index Term Link )
soft interrupt handling
add a soft interrupt -- ddi_add_softintr ( Index Term Link )
get soft interrupt block cookie -- ddi_get_soft_iblock_cookie ( Index Term Link )
remove a soft interrupt -- ddi_remove_softintr ( Index Term Link )
trigger a soft interrupt -- ddi_trigger_softintr ( Index Term Link )
sprintf -- format characters in memory ( Index Term Link )
status of PC Card and socket -- csx_GetStatus ( Index Term Link )
STREAMS wait routines -- qwait, qwait_sig ( Index Term Link )
STREAMS ioctl blocks, allocate -- mkiocb ( Index Term Link )
STREAMS message blocks
allocate -- allocb ( Index Term Link )
attach a user-supplied data buffer in place -- esballoc ( Index Term Link )
call a function when a buffer becomes available -- bufcall ( Index Term Link ) ( Index Term Link )
call a function when a buffer becomes available -- qbufcall ( Index Term Link ) ( Index Term Link )
call function when buffer is available -- esbbcall ( Index Term Link )
concatenate bytes in a message -- msgpullup ( Index Term Link )
concatenate bytes in a message -- pullupmsg ( Index Term Link )
concatenate two -- linkb ( Index Term Link )
copy -- copyb ( Index Term Link )
erase the contents of a buffer -- clrbuf ( Index Term Link )
free all message blocks in a message -- freemsg ( Index Term Link )
free one -- freeb ( Index Term Link )
remove from head of message -- unlinkb ( Index Term Link )
remove one form a message -- rmvb ( Index Term Link )
STREAMS message queue, insert a message into a queue -- insq ( Index Term Link )
STREAMS message queues ( Index Term Link )
STREAMS Message queues, get next message -- getq ( Index Term Link )
STREAMS message queues
reschedule a queue for service -- enableok ( Index Term Link )
test for room -- canputnext ( Index Term Link )
test for room -- canput ( Index Term Link )
STREAMS messages
copy a message -- copymsg ( Index Term Link )
flush for specified priority band -- flushband ( Index Term Link )
remove form queue -- flushq ( Index Term Link )
remove form queue -- rmvq ( Index Term Link )
return the number of bytes in a message -- msgdsize ( Index Term Link )
submit messages to the log driver -- strlog ( Index Term Link )
test whether a message is a data message -- datamsg ( Index Term Link )
trim bytes -- adjmsg ( Index Term Link )
STREAMS multithreading
-- mt-streams ( Index Term Link )
qbufcall -- call a function when a buffer becomes available ( Index Term Link )
qtimeout -- execute a function after a specified length of time ( Index Term Link )
qunbufcall -- cancel a pending qbufcall request ( Index Term Link )
quntimeout -- cancel previous timeout function call ( Index Term Link )
qwait, qwait_sig -- STREAMS wait routines ( Index Term Link )
qwriter -- asynchronous STREAMS perimeter upgrade ( Index Term Link )
STREAMS put and service procedures
disable -- qprocsoff ( Index Term Link )
enable -- qprocson ( Index Term Link )
STREAMS queues
change information about a queue or band of the queue -- strqset ( Index Term Link )
enable a queue -- qenable ( Index Term Link )
get pointer to queue's partner queue -- OTHERQ ( Index Term Link )
get pointer to the read queue -- RD ( Index Term Link )
get information about a queue or band of the queue -- strqget ( Index Term Link )
number of messages on a queue -- qsize ( Index Term Link )
place a message at the head of a queue -- putbq ( Index Term Link )
prevent a queue from being scheduled -- noenable ( Index Term Link )
put a message on a queue -- putq ( Index Term Link )
send a control message to a queue -- putctl ( Index Term Link )
send a control message to a queue -- putnextctl ( Index Term Link )
send a control message with a one-byte parameter to a queue -- putctl1 ( Index Term Link )
send a control message with a one-byte parameter to a queue -- putnextctl1 ( Index Term Link )
send a message on a stream in the reverse direction -- qreply ( Index Term Link )
send a message to the next queue -- putnext ( Index Term Link )
test if next queue is in the same stream -- SAMESTR ( Index Term Link )
test for flow control in specified priority band -- bcanput ( Index Term Link )
STREAMS write queues, get pointer for this module or driver -- WR ( Index Term Link )
STRUCT_DECL, 32bit application data access macros ( Index Term Link )
swab -- swap bytes in 16-bit halfwords ( Index Term Link )
synchronize CPU and I/O views of memory -- ddi_dma_sync ( Index Term Link )
synchronize CPU and I/O views of memory -- scsi_sync_pkt ( Index Term Link )
system DMA engine functions
-- ddi_dmae ( Index Term Link )
-- ddi_dmae_1stparty ( Index Term Link )
-- ddi_dmae_alloc ( Index Term Link )
-- ddi_dmae_disable ( Index Term Link )
-- ddi_dmae_enable ( Index Term Link )
-- ddi_dmae_getattr ( Index Term Link )
-- ddi_dmae_getcnt ( Index Term Link )
-- ddi_dmae_getlim ( Index Term Link )
-- ddi_dmae_prog ( Index Term Link )
-- ddi_dmae_release ( Index Term Link )
-- ddi_dmae_stop ( Index Term Link )
T
testb -- check for an available buffer ( Index Term Link )
timeout -- execute a function after a specified length of time ( Index Term Link )
timeout, cancel previous timeout function call -- untimeout ( Index Term Link )
trigger a soft interrupt, -- ddi_trigger_softintr ( Index Term Link )
tuple
first CIS tuple -- csx_GetFirstTuple ( Index Term Link )
next CIS tuple -- csx_GetNextTuple ( Index Term Link )
return data portion of tuple -- csx_GetTupleData ( Index Term Link )
tuple entry
generic tuple parser -- csx_ParseTuple ( Index Term Link )
parse Device Information tuple for Attribute Memory -- csx_Parse_CISTPL_DEVICE_A ( Index Term Link )
parse Device Information tuple for Common Memory -- csx_Parse_CISTPL_DEVICE ( Index Term Link )
parse JEDEC Identifier tuple for Attribute Memory -- csx_Parse_CISTPL_JEDEC_A ( Index Term Link )
parse JEDEC Identifier tuple for Common Memory -- csx_Parse_CISTPL_JEDEC_C ( Index Term Link )
parse Long Link A tuple -- csx_Parse_CISTPL_LONGLINK_A ( Index Term Link )
parse Long Link C tuple -- csx_Parse_CISTPL_LONGLINK_C ( Index Term Link )
parse Other Condition Device Information tuple for Attribute Memory -- csx_Parse_CISTPL_DEVICE_OA ( Index Term Link )
parse Other Condition Device Information tuple for Common Memory -- csx_Parse_CISTPL_DEVICE_OC ( Index Term Link )
parse Battery Replacement Date tuple -- csx_Parse_CISTPL_BATTERY ( Index Term Link )
parse Byte Order tuple -- csx_Parse_CISTPL_BYTEORDER ( Index Term Link )
parse Card Configuration Table tuple -- csx_Parse_CISTPL_CFTABLE_ENTRY ( Index Term Link )
parse Card Initialization Date tuple -- csx_Parse_CISTPL_DATE ( Index Term Link )
parse Configuration tuple -- csx_Parse_CISTPL_CONFIG ( Index Term Link )
parse Data Organization tuple -- csx_Parse_CISTPL_ORG ( Index Term Link )
parse Data Recording Format tuple -- csx_Parse_CISTPL_FORMAT ( Index Term Link )
parse Device Geo A tuple -- csx_Parse_CISTPL_DEVICE_A ( Index Term Link )
parse Device Geo tuple -- csx_Parse_CISTPL_DEVICEGEO ( Index Term Link )
parse Function Extension tuple -- csx_Parse_CISTPL_FUNCE ( Index Term Link )
parse Function Identification tuple -- csx_Parse_CISTPL_FUNCID ( Index Term Link )
parse Geometry tuple -- csx_Parse_CISTPL_GEOMETRY ( Index Term Link )
parse Level-1 Version/Product Information tuple -- csx_Parse_CISTPL_VERS_1 ( Index Term Link )
parse Level-2 Version and Information tuple -- csx_Parse_CISTPL_VERS_2 ( Index Term Link )
parse Link Target tuple -- csx_Parse_CISTPL_LINKTARGET ( Index Term Link )
parse Manufacturer Identification tuple -- csx_Parse_CISTPL_MANFID ( Index Term Link )
parse Multi-Function tuple -- csx_Parse_CISTPL_LONGLINK_MFC ( Index Term Link )
parse Software Interleaving tuple -- csx_Parse_CISTPL_SWIL ( Index Term Link )
parse Special Purpose tuple -- csx_Parse_CISTPL_SPCL ( Index Term Link )
U
uio structure
add character -- ureadc ( Index Term Link )
remove a character -- uwritec ( Index Term Link )
uiomove -- copy kernel data using uio structure ( Index Term Link )
unbinds the address in a DMA handle -- ddi_dma_unbind_handle ( Index Term Link )
unfreezestr -- freeze, thaw the state of a stream ( Index Term Link )
uninitialize a buffer structure -- biofini ( Index Term Link )
update I/O kstat statistics
-- kstat_queue ( Index Term Link )
-- kstat_runq_back_to_waitq ( Index Term Link )
-- kstat_runq_enter ( Index Term Link )
-- kstat_runq_exit ( Index Term Link )
-- kstat_waitq_enter ( Index Term Link )
-- kstat_waitq_exit ( Index Term Link )
-- kstat_waitq_to_runq ( Index Term Link )
update property information.
-- ddi_prop_update ( Index Term Link )
-- ddi_prop_update_byte_array ( Index Term Link )
-- ddi_prop_update_int ( Index Term Link )
-- ddi_prop_update_int_array ( Index Term Link )
-- ddi_prop_update_string ( Index Term Link )
-- ddi_prop_update_string_array ( Index Term Link )
V
va_arg -- handle variable argument list ( Index Term Link )
va_copy -- handle variable argument list ( Index Term Link )
va_end -- handle variable argument list ( Index Term Link )
va_start -- handle variable argument list ( Index Term Link )
validate Card Information Structure (CIS) -- csx_ValidateCIS ( Index Term Link )
virtual address, return mapped virtual address -- csx_GetMappedAddr ( Index Term Link )
vsprintf -- format characters in memory ( Index Term Link )
W
window resources
release window resources -- csx_ReleaseWindow ( Index Term Link )
request window resources -- csx_RequestWindow ( Index Term Link )
write data to mapped device in the memory space or allocated DMA memory
-- ddi_mem_put8 ( Index Term Link )
-- ddi_mem_put16 ( Index Term Link )
-- ddi_mem_put32 ( Index Term Link )
-- ddi_mem_put64 ( Index Term Link )
-- ddi_mem_rep_put8 ( Index Term Link )
-- ddi_mem_rep_put16 ( Index Term Link )
-- ddi_mem_rep_put32 ( Index Term Link )
-- ddi_mem_rep_put64 ( Index Term Link )
write data to the device
-- ddi_put8 ( Index Term Link )
-- ddi_put16 ( Index Term Link )
-- ddi_put32 ( Index Term Link )
-- ddi_put64 ( Index Term Link )
write data to the mapped device register in I/O space
-- ddi_io_put8 ( Index Term Link )
-- ddi_io_put16 ( Index Term Link )
-- ddi_io_put32 ( Index Term Link )
-- ddi_io_putb ( Index Term Link )
-- ddi_io_putl ( Index Term Link )
-- ddi_io_putw ( Index Term Link )
write data to the mapped memory address, device register or allocated DMA memory address
-- ddi_rep_put8 ( Index Term Link )
-- ddi_rep_put16 ( Index Term Link )
-- ddi_rep_put32 ( Index Term Link )
-- ddi_rep_put64 ( Index Term Link )
-- ddi_rep_putb ( Index Term Link )
-- ddi_rep_putl ( Index Term Link )
-- ddi_rep_putll ( Index Term Link )
-- ddi_rep_putw ( Index Term Link )
write multiple data to the mapped device register in I/O space
-- ddi_io_rep_put8 ( Index Term Link )
-- ddi_io_rep_put16 ( Index Term Link )
-- ddi_io_rep_put32 ( Index Term Link )
-- ddi_io_rep_putb ( Index Term Link )
-- ddi_io_rep_putl ( Index Term Link )
-- ddi_io_rep_putw ( Index Term Link )
write or read a PC Card Configuration Register -- csx_AccessConfigurationRegister ( Index Term Link )
write repetitively to device register
-- csx_RepPut8 ( Index Term Link )
-- csx_RepPut16 ( Index Term Link )
-- csx_RepPut32 ( Index Term Link )
-- csx_RepPut64 ( Index Term Link )
write to an I/O port
-- outb ( Index Term Link )
-- outl ( Index Term Link )
-- outw ( Index Term Link )
-- repoutsb ( Index Term Link )
-- repoutsd ( Index Term Link )
-- repoutsw ( Index Term Link )
write to device register
-- csx_Put8 ( Index Term Link )
-- csx_Put16 ( Index Term Link )
-- csx_Put32 ( Index Term Link )
-- csx_Put64 ( Index Term Link )
Z
zero fill the device register -- ddi_device_zero ( Index Term Link )