PM8621-BI PMC-Sierra, Inc., PM8621-BI Datasheet - Page 51

no-image

PM8621-BI

Manufacturer Part Number
PM8621-BI
Description
Driver, NSE/SBS Narrowband Chipset Driver
Manufacturer
PMC-Sierra, Inc.
Datasheet
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-2021248, Issue 1
Chipset Device Management
The following figure shows the typical function call sequences that the chipset driver uses to add,
initialize, re-initialize, and delete the Narrowband Chipset device. The Chipset driver components
(devices) can be added or deleted individually or as a group. User can add/delete individual
devices by referring to the device state diagram. For instance, if a particular device has to be
taken out from the ACTIVE state, user can use
and then
be added to a system at any time by calling
device to the INACTIVE state.
The normal sequence is to add all chipset devices individually first, and then initialize all the
devices with the corresponding DIV. Then, the device should be activated by calling
nbcsActivate.
ACTIVE to INACTIVE. Activating, deactivating, or resetting individual (SBS) devices are
encouraged only when that devices is a new addition or if the device needs to be taken out from
the chipset.
Figure 20: Chipset Device Management Flow Diagram
nbcsReset
nbcsDelete
nbcsDeActivate
nbcsActivate
nbcsDelete
nbcsReset
nbcsAdd
nbcsInit
START
END
The same applies to
to remove the device from the chipset driver. Similarly, a new device can
Calling the underlying devAdd function, the chipset driver detects all the
new device(s) in hardware and stores the user's context for all the
device(s). Returns device handle(s) for all the device(s) to the user.
Applies a reset to all the underlying device(s) and initializes the device
registers and associated RAMs based on the DIV passed by the user. The
system will be in the loopback mode.
Prepares all the device(s) for normal operation by enabling interrupts and
other global enables. All underlying device devActivate function will be
invoked. The device(s) are now operational and all other API can be
invoked.
In order to re-initialize the device, reset all the device(s) in the chipset
using nbcsReset and go through the initialization sequence again.
De-activates all chipset device(s) and removes it from normal operation.
This invokes all underlying device devDeActivate functions which
disables the device interrupts.
Applies a software reset to the chipset device(s) to put it in its default
startup state.
Removes specified or all chipset device(s) from the list of devices being
controlled by the chipset driver. This function de-allocates the device
context information for the device being deleted.
nbcsDeActivate, which
nbcsAdd
nbcsReset
, and then
Narrowband Chipset Device Driver Manual
to bring the device to PRESENT state
nbcsInit
moves the chip state from
to bring the new
Software Architecture
51

Related parts for PM8621-BI