id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
rintl(3) | NAME nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest integer
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double nearbyint(double x);
float nearbyintf(float x);
long double nearbyintl(long double x);
double rint(double x);
float rintf(float ... |
rio_add_device(9) | NAME rio_add_device - Adds a RIO device to the device model
SYNOPSIS int rio_add_device (struct rio_dev *rdev );
ARGUMENTS rdev RIO device
DESCRIPTION Adds the RIO device to the global device list and adds the RIO device to the RIO device list. Creates the generic sysfs nodes for an RIO device.
SEE ALSO Ker... |
rio_add_inb_buffer(9) | NAME rio_add_inb_buffer - Add buffer to an inbound mailbox queue
SYNOPSIS int rio_add_inb_buffer (struct rio_mport *mport , int mbox , void *buffer );
ARGUMENTS mport Master port containing the inbound mailbox
mbox The inbound mailbox number
buffer Pointer to the message buffer
DESC... |
rio_add_mport_pw_handler(9) | NAME rio_add_mport_pw_handler - add port-write message handler into the list of mport specific pw handlers
SYNOPSIS int rio_add_mport_pw_handler (struct rio_mport *mport , void *context , int (*pwcback)(struct rio_mport *mport, void *context, union rio_pw_msg *msg, int step) );
ARGUMENTS mport RIO master port t... |
rio_add_outb_message(9) | NAME rio_add_outb_message - Add RIO message to an outbound mailbox queue
SYNOPSIS int rio_add_outb_message (struct rio_mport *mport , struct rio_dev *rdev , int mbox , void *buffer , size_t len );
ARGUMENTS mport RIO master port containing the outbound queue
rdev RIO device the message is be sent... |
rio_alloc_net(9) | NAME rio_alloc_net - Allocate and initialize a new RIO network data structure
SYNOPSIS struct rio_net * rio_alloc_net (struct rio_mport *mport );
ARGUMENTS mport Master port associated with the RIO network
DESCRIPTION Allocates a RIO network structure, initializes per-network list heads, and adds the associate... |
rio_basic_attach(9) | NAME rio_basic_attach -
SYNOPSIS int rio_basic_attach (void );
ARGUMENTS void no arguments
DESCRIPTION When this enumeration/discovery method is loaded as a module this function registers its specific enumeration and discover routines for all available RapidIO mport devices. The "scan" command line parameter ... |
rio_build_route_tables(9) | NAME rio_build_route_tables - Generate route tables from switch route entries
SYNOPSIS void rio_build_route_tables (struct rio_net *net );
ARGUMENTS net RIO network to run route tables scan on
DESCRIPTION For each switch device, generate a route table by copying existing route entries from the switch.
SEE A... |
rio_bus_init(9) | NAME rio_bus_init - Register the RapidIO bus with the device model
SYNOPSIS int rio_bus_init (void );
ARGUMENTS void no arguments
DESCRIPTION Registers the RIO mport device class and RIO bus type with the Linux device model.
SEE ALSO Kernel file ./drivers/rapidio/rio-driver.c rio_match_device(9), rio_dev_get... |
rio_chk_dev_access(9) | NAME rio_chk_dev_access - Validate access to the specified device.
SYNOPSIS int rio_chk_dev_access (struct rio_dev *rdev );
ARGUMENTS rdev Pointer to RIO device control structure
SEE ALSO Kernel file ./drivers/rapidio/rio.c rio_local_get_device_id(9), rio_query_mport(9), rio_alloc_net(9), rio_local... |
rio_chk_dev_route(9) | NAME rio_chk_dev_route - Validate route to the specified device.
SYNOPSIS int rio_chk_dev_route (struct rio_dev *rdev , struct rio_dev **nrdev , int *npnum );
ARGUMENTS rdev RIO device failed to respond
nrdev Last active device on the route to rdev
npnum nrdev's port number on the r... |
rio_clear_locks(9) | NAME rio_clear_locks - Release all host locks and signal enumeration complete
SYNOPSIS int rio_clear_locks (struct rio_net *net );
ARGUMENTS net RIO network to run on
DESCRIPTION Marks the component tag CSR on each device with the enumeration complete flag. When complete, it then release the host locks on ea... |
rio_clr_err_stopped(9) | NAME rio_clr_err_stopped - Clears port Error-stopped states.
SYNOPSIS int rio_clr_err_stopped (struct rio_dev *rdev , u32 pnum , u32 err_status );
ARGUMENTS rdev Pointer to RIO device control structure
pnum Switch port number to clear errors
err_status port error status (if 0 reads regi... |
rio_del_mport_pw_handler(9) | NAME rio_del_mport_pw_handler - remove port-write message handler from the list of mport specific pw handlers
SYNOPSIS int rio_del_mport_pw_handler (struct rio_mport *mport , void *context , int (*pwcback)(struct rio_mport *mport, void *context, union rio_pw_msg *msg, int step) );
ARGUMENTS mport RIO master por... |
rio_destid_alloc(9) | NAME rio_destid_alloc - Allocate next available destID for given network
SYNOPSIS u16 rio_destid_alloc (struct rio_net *net );
ARGUMENTS net RIO network
DESCRIPTION Returns next available device destination ID for the specified RIO network. Marks allocated ID as one in use. Returns RIO_INVALID_DESTID if ne... |
rio_destid_first(9) | NAME rio_destid_first - return first destID in use
SYNOPSIS u16 rio_destid_first (struct rio_net *net );
ARGUMENTS net RIO network
SEE ALSO Kernel file ./drivers/rapidio/rio-scan.c rio_destid_alloc(9), rio_destid_reserve(9), rio_destid_free(9), rio_destid_next(9), rio_get_device_id(9), rio_set_device_... |
rio_destid_free(9) | NAME rio_destid_free - free a previously allocated destID
SYNOPSIS void rio_destid_free (struct rio_net *net , u16 destid );
ARGUMENTS net RIO network
destid destID to free
DESCRIPTION Makes the specified destID available for use.
SEE ALSO Kernel file ./drivers/rapidio/rio-scan.c rio_destid_... |
rio_destid_next(9) | NAME rio_destid_next - return next destID in use
SYNOPSIS u16 rio_destid_next (struct rio_net *net , u16 from );
ARGUMENTS net RIO network
from destination ID from which search shall continue
SEE ALSO Kernel file ./drivers/rapidio/rio-scan.c rio_destid_alloc(9), rio_destid_reserve(9), rio... |
rio_destid_reserve(9) | NAME rio_destid_reserve - Reserve the specified destID
SYNOPSIS int rio_destid_reserve (struct rio_net *net , u16 destid );
ARGUMENTS net RIO network
destid destID to reserve
DESCRIPTION Tries to reserve the specified destID. Returns 0 if successful.
SEE ALSO Kernel file ./drivers/rapidio/ri... |
rio_dev_get(9) | NAME rio_dev_get - Increments the reference count of the RIO device structure
SYNOPSIS struct rio_dev * rio_dev_get (struct rio_dev *rdev );
ARGUMENTS rdev RIO device being referenced
DESCRIPTION Each live reference to a device should be refcounted. Drivers for RIO devices should normally record such refer... |
rio_dev_put(9) | NAME rio_dev_put - Release a use of the RIO device structure
SYNOPSIS void rio_dev_put (struct rio_dev *rdev );
ARGUMENTS rdev RIO device being disconnected
DESCRIPTION Must be called when a user of a device is finished with it. When the last user of the device calls this function, the memory of the device i... |
rio_device_has_destid(9) | NAME rio_device_has_destid - Test if a device contains a destination ID register
SYNOPSIS int rio_device_has_destid (struct rio_mport *port , int src_ops , int dst_ops );
ARGUMENTS port Master port to issue transaction
src_ops RIO device source operations
dst_ops RIO device destination ... |
rio_device_probe(9) | NAME rio_device_probe - Tell if a RIO device structure has a matching RIO device id structure
SYNOPSIS int rio_device_probe (struct device *dev );
ARGUMENTS dev the RIO device structure to match against
DESCRIPTION return 0 and set rio_dev->driver when drv claims rio_dev, else error
SEE ALSO Kernel file ./d... |
rio_device_remove(9) | NAME rio_device_remove - Remove a RIO device from the system
SYNOPSIS void rio_device_remove (struct device *dev );
ARGUMENTS dev the RIO device structure to match against
DESCRIPTION Remove a RIO device from the system. If it has an associated driver, then run the driver remove method. Then update the refe... |
rio_disc_mport(9) | NAME rio_disc_mport - Start discovery through a master port
SYNOPSIS int rio_disc_mport (struct rio_mport *mport , u32 flags );
ARGUMENTS mport Master port to send transactions
flags discovery control flags
DESCRIPTION Starts the discovery process. If we have an active link, then wait for the s... |
rio_disc_peer(9) | NAME rio_disc_peer - Recursively discovers a RIO network through a master port
SYNOPSIS int rio_disc_peer (struct rio_net *net , struct rio_mport *port , u16 destid , u8 hopcount , struct rio_dev *prev , int prev_port );
ARGUMENTS net RIO network being discovered
port Master port to send transa... |
rio_dma_prep_xfer(9) | NAME rio_dma_prep_xfer - RapidIO specific wrapper for device_prep_slave_sg callback defined by DMAENGINE.
SYNOPSIS struct dma_async_tx_descriptor * rio_dma_prep_xfer (struct dma_chan *dchan , u16 destid , struct rio_dma_data *data , enum dma_transfer_direction direction , unsigned long flags );
ARGUMENTS dchan ... |
rio_enable_rx_tx_port(9) | NAME rio_enable_rx_tx_port - enable input receiver and output transmitter of given port
SYNOPSIS int rio_enable_rx_tx_port (struct rio_mport *port , int local , u16 destid , u8 hopcount , u8 port_num );
ARGUMENTS port Master port associated with the RIO network
local local=1 select local port oth... |
rio_enum_complete(9) | NAME rio_enum_complete - Tests if enumeration of a network is complete
SYNOPSIS int rio_enum_complete (struct rio_mport *port );
ARGUMENTS port Master port to send transaction
DESCRIPTION Tests the PGCCSR discovered bit for non-zero value (enumeration complete flag). Return 1 if enumeration is complete or 0 i... |
rio_enum_host(9) | NAME rio_enum_host - Set host lock and initialize host destination ID
SYNOPSIS int rio_enum_host (struct rio_mport *port );
ARGUMENTS port Master port to issue transaction
DESCRIPTION Sets the local host master port lock and destination ID register with the host device ID value. The host device ID value is pr... |
rio_enum_mport(9) | NAME rio_enum_mport - Start enumeration through a master port
SYNOPSIS int rio_enum_mport (struct rio_mport *mport , u32 flags );
ARGUMENTS mport Master port to send transactions
flags Enumeration control flags
DESCRIPTION Starts the enumeration process. If somebody has enumerated our master ... |
rio_enum_peer(9) | NAME rio_enum_peer - Recursively enumerate a RIO network through a master port
SYNOPSIS int rio_enum_peer (struct rio_net *net , struct rio_mport *port , u8 hopcount , struct rio_dev *prev , int prev_port );
ARGUMENTS net RIO network being enumerated
port Master port to send transactions
... |
rio_get_comptag(9) | NAME rio_get_comptag - Begin or continue searching for a RIO device by component tag
SYNOPSIS struct rio_dev * rio_get_comptag (u32 comp_tag , struct rio_dev *from );
ARGUMENTS comp_tag RIO component tag to match
from Previous RIO device found in search, or NULL for new search
DESCRIPTION Iterates ... |
rio_get_device_id(9) | NAME rio_get_device_id - Get the base/extended device id for a device
SYNOPSIS u16 rio_get_device_id (struct rio_mport *port , u16 destid , u8 hopcount );
ARGUMENTS port RIO master port
destid Destination ID of device
hopcount Hopcount to device
DESCRIPTION Reads the base/extended devi... |
rio_get_drvdata(9) | NAME rio_get_drvdata - Get RIO driver specific data
SYNOPSIS void * rio_get_drvdata (struct rio_dev *rdev );
ARGUMENTS rdev RIO device
DESCRIPTION Get RIO driver specific data. Returns a pointer to the driver specific data.
SEE ALSO Kernel file ./include/linux/rio_drv.h rio_local_read_config_32(9), rio_... |
rio_get_host_deviceid_lock(9) | NAME rio_get_host_deviceid_lock - Reads the Host Device ID Lock CSR on a device
SYNOPSIS u16 rio_get_host_deviceid_lock (struct rio_mport *port , u8 hopcount );
ARGUMENTS port Master port to send transaction
hopcount Number of hops to the device
DESCRIPTION Used during enumeration to read the Host ... |
rio_get_inb_message(9) | NAME rio_get_inb_message - Get A RIO message from an inbound mailbox queue
SYNOPSIS void * rio_get_inb_message (struct rio_mport *mport , int mbox );
ARGUMENTS mport Master port containing the inbound mailbox
mbox The inbound mailbox number
DESCRIPTION Get a RIO message from an inbound mailbox q... |
rio_get_input_status(9) | NAME rio_get_input_status - Sends a Link-Request/Input-Status control symbol and returns link-response (if requested).
SYNOPSIS int rio_get_input_status (struct rio_dev *rdev , int pnum , u32 *lnkresp );
ARGUMENTS rdev RIO devive to issue Input-status command
pnum Device port number to issue the... |
rio_inb_pwrite_handler(9) | NAME rio_inb_pwrite_handler - inbound port-write message handler
SYNOPSIS int rio_inb_pwrite_handler (struct rio_mport *mport , union rio_pw_msg *pw_msg );
ARGUMENTS mport mport device associated with port-write
pw_msg pointer to inbound port-write message
DESCRIPTION Processes an inbound port-wri... |
rio_init_dbell_res(9) | NAME rio_init_dbell_res - Initialize a RIO doorbell resource
SYNOPSIS void rio_init_dbell_res (struct resource *res , u16 start , u16 end );
ARGUMENTS res resource struct
start start of doorbell range
end end of doorbell range
DESCRIPTION This function is used to initialize the ... |
rio_init_em(9) | NAME rio_init_em - Initializes RIO Error Management (for switches)
SYNOPSIS void rio_init_em (struct rio_dev *rdev );
ARGUMENTS rdev RIO device
DESCRIPTION For each enumerated switch, call device-specific error management initialization routine (if supplied by the switch driver).
SEE ALSO Kernel file ./d... |
rio_init_mbox_res(9) | NAME rio_init_mbox_res - Initialize a RIO mailbox resource
SYNOPSIS void rio_init_mbox_res (struct resource *res , int start , int end );
ARGUMENTS res resource struct
start start of mailbox range
end end of mailbox range
DESCRIPTION This function is used to initialize the field... |
rio_is_switch(9) | NAME rio_is_switch - Tests if a RIO device has switch capabilities
SYNOPSIS int rio_is_switch (struct rio_dev *rdev );
ARGUMENTS rdev RIO device
DESCRIPTION Gets the RIO device Processing Element Features register contents and tests for switch capabilities. Returns 1 if the device is a switch or 0 if it is no... |
rio_local_get_device_id(9) | NAME rio_local_get_device_id - Get the base/extended device id for a port
SYNOPSIS u16 rio_local_get_device_id (struct rio_mport *port );
ARGUMENTS port RIO master port from which to get the deviceid
DESCRIPTION Reads the base/extended device id from the local device implementing the master port. Returns the ... |
rio_local_read_config_16(9) | NAME rio_local_read_config_16 - Read 16 bits from local configuration space
SYNOPSIS int rio_local_read_config_16 (struct rio_mport *port , u32 offset , u16 * data );
ARGUMENTS port Master port
offset Offset into local configuration space
data Pointer to read data into
DESCRIPTION ... |
rio_local_read_config_32(9) | NAME rio_local_read_config_32 - Read 32 bits from local configuration space
SYNOPSIS int rio_local_read_config_32 (struct rio_mport *port , u32 offset , u32 * data );
ARGUMENTS port Master port
offset Offset into local configuration space
data Pointer to read data into
DESCRIPTION ... |
rio_local_read_config_8(9) | NAME rio_local_read_config_8 - Read 8 bits from local configuration space
SYNOPSIS int rio_local_read_config_8 (struct rio_mport *port , u32 offset , u8 * data );
ARGUMENTS port Master port
offset Offset into local configuration space
data Pointer to read data into
DESCRIPTION Read... |
rio_local_set_device_id(9) | NAME rio_local_set_device_id - Set the base/extended device id for a port
SYNOPSIS void rio_local_set_device_id (struct rio_mport *port , u16 did );
ARGUMENTS port RIO master port
did Device ID value to be written
DESCRIPTION Writes the base/extended device id from a device.
SEE ALSO Kernel ... |
rio_local_write_config_16(9) | NAME rio_local_write_config_16 - Write 16 bits to local configuration space
SYNOPSIS int rio_local_write_config_16 (struct rio_mport *port , u32 offset , u16 data );
ARGUMENTS port Master port
offset Offset into local configuration space
data Data to be written
DESCRIPTION Writes 1... |
rio_local_write_config_32(9) | NAME rio_local_write_config_32 - Write 32 bits to local configuration space
SYNOPSIS int rio_local_write_config_32 (struct rio_mport *port , u32 offset , u32 data );
ARGUMENTS port Master port
offset Offset into local configuration space
data Data to be written
DESCRIPTION Writes 3... |
rio_local_write_config_8(9) | NAME rio_local_write_config_8 - Write 8 bits to local configuration space
SYNOPSIS int rio_local_write_config_8 (struct rio_mport *port , u32 offset , u8 data );
ARGUMENTS port Master port
offset Offset into local configuration space
data Data to be written
DESCRIPTION Writes 8 bit... |
rio_lock_device(9) | NAME rio_lock_device - Acquires host device lock for specified device
SYNOPSIS int rio_lock_device (struct rio_mport *port , u16 destid , u8 hopcount , int wait_ms );
ARGUMENTS port Master port to send transaction
destid Destination ID for device/switch
hopcount Hopcount to reach switch... |
rio_map_inb_region(9) | NAME rio_map_inb_region - - Map inbound memory region.
SYNOPSIS int rio_map_inb_region (struct rio_mport *mport , dma_addr_t local , u64 rbase , u32 size , u32 rflags );
ARGUMENTS mport Master port.
local physical address of memory region to be mapped
rbase RIO base address assigned ... |
rio_map_outb_region(9) | NAME rio_map_outb_region - - Map outbound memory region.
SYNOPSIS int rio_map_outb_region (struct rio_mport *mport , u16 destid , u64 rbase , u32 size , u32 rflags , dma_addr_t *local );
ARGUMENTS mport Master port.
destid destination id window points to
rbase RIO base address window ... |
rio_match_bus(9) | NAME rio_match_bus - Tell if a RIO device structure has a matching RIO driver device id structure
SYNOPSIS int rio_match_bus (struct device *dev , const struct device_driver *drv );
ARGUMENTS dev the standard device structure to match against
drv the standard driver structure containing the id... |
rio_match_device(9) | NAME rio_match_device - Tell if a RIO device has a matching RIO device id structure
SYNOPSIS const struct rio_device_id * rio_match_device (const struct rio_device_id *id , const struct rio_dev *rdev );
ARGUMENTS id the RIO device id structure to match against
rdev the RIO device structure to ... |
rio_mport_chk_dev_access(9) | NAME rio_mport_chk_dev_access - Validate access to the specified device.
SYNOPSIS int rio_mport_chk_dev_access (struct rio_mport *mport , u16 destid , u8 hopcount );
ARGUMENTS mport Master port to send transactions
destid Device destination ID in network
hopcount Number of hops into the ... |
rio_mport_get_efb(9) | NAME rio_mport_get_efb - get pointer to next extended features block
SYNOPSIS u32 rio_mport_get_efb (struct rio_mport *port , int local , u16 destid , u8 hopcount , u32 from );
ARGUMENTS port Master port to issue transaction
local Indicate a local master port or remote device access
desti... |
rio_mport_get_feature(9) | NAME rio_mport_get_feature - query for devices' extended features
SYNOPSIS u32 rio_mport_get_feature (struct rio_mport * port , int local , u16 destid , u8 hopcount , int ftr );
ARGUMENTS port Master port to issue transaction
local Indicate a local master port or remote device access
dest... |
rio_mport_get_physefb(9) | NAME rio_mport_get_physefb - Helper function that returns register offset for Physical Layer Extended Features Block.
SYNOPSIS u32 rio_mport_get_physefb (struct rio_mport *port , int local , u16 destid , u8 hopcount , u32 *rmap );
ARGUMENTS port Master port to issue transaction
local Indicate a l... |
rio_mport_is_active(9) | NAME rio_mport_is_active - Tests if master port link is active
SYNOPSIS int rio_mport_is_active (struct rio_mport *port );
ARGUMENTS port Master port to test
DESCRIPTION Reads the port error status CSR for the master port to determine if the port has an active link. Returns RIO_PORT_N_ERR_STS_PORT_OK if the ... |
rio_mport_scan(9) | NAME rio_mport_scan - execute enumeration/discovery on the specified mport
SYNOPSIS int rio_mport_scan (int mport_id );
ARGUMENTS mport_id number (ID) of mport device
SEE ALSO Kernel file ./drivers/rapidio/rio.c rio_local_get_device_id(9), rio_query_mport(9), rio_alloc_net(9), rio_local_set_device_id(9... |
rio_mport_send_doorbell(9) | NAME rio_mport_send_doorbell - Send a doorbell message
SYNOPSIS int rio_mport_send_doorbell (struct rio_mport *mport , u16 destid , u16 data );
ARGUMENTS mport RIO master port
destid RIO device destination ID
data Doorbell message data
DESCRIPTION Send a doorbell message to a RIO de... |
rio_name(9) | NAME rio_name - Get the unique RIO device identifier
SYNOPSIS const char * rio_name (struct rio_dev *rdev );
ARGUMENTS rdev RIO device
DESCRIPTION Get the unique RIO device identifier. Returns the device identifier string.
SEE ALSO Kernel file ./include/linux/rio_drv.h rio_local_read_config_32(9), rio_l... |
rio_pw_enable(9) | NAME rio_pw_enable - Enables/disables port-write handling by a master port
SYNOPSIS void rio_pw_enable (struct rio_mport *mport , int enable );
ARGUMENTS mport Master port associated with port-write handling
enable 1=enable, 0=disable
SEE ALSO Kernel file ./drivers/rapidio/rio.c rio_local_g... |
rio_query_mport(9) | NAME rio_query_mport - Query mport device attributes
SYNOPSIS int rio_query_mport (struct rio_mport *port , struct rio_mport_attr *mport_attr );
ARGUMENTS port mport device to query
mport_attr mport attributes data structure
DESCRIPTION Returns attributes of specified mport through the pointer to att... |
rio_read_config_16(9) | NAME rio_read_config_16 - Read 16 bits from configuration space
SYNOPSIS int rio_read_config_16 (struct rio_dev *rdev , u32 offset , u16 * data );
ARGUMENTS rdev RIO device
offset Offset into device configuration space
data Pointer to read data into
DESCRIPTION Reads 16 bits of dat... |
rio_read_config_32(9) | NAME rio_read_config_32 - Read 32 bits from configuration space
SYNOPSIS int rio_read_config_32 (struct rio_dev *rdev , u32 offset , u32 * data );
ARGUMENTS rdev RIO device
offset Offset into device configuration space
data Pointer to read data into
DESCRIPTION Reads 32 bits of dat... |
rio_read_config_8(9) | NAME rio_read_config_8 - Read 8 bits from configuration space
SYNOPSIS int rio_read_config_8 (struct rio_dev *rdev , u32 offset , u8 * data );
ARGUMENTS rdev RIO device
offset Offset into device configuration space
data Pointer to read data into
DESCRIPTION Reads 8 bits of data fro... |
rio_register_driver(9) | NAME rio_register_driver - register a new RIO driver
SYNOPSIS int rio_register_driver (struct rio_driver *rdrv );
ARGUMENTS rdrv the RIO driver structure to register
DESCRIPTION Adds a struct rio_driver to the list of registered drivers. Returns a negative value on error, otherwise 0. If no error occurred, t... |
rio_register_scan(9) | NAME rio_register_scan - enumeration/discovery method registration interface
SYNOPSIS int rio_register_scan (int mport_id , struct rio_scan *scan_ops );
ARGUMENTS mport_id mport device ID for which fabric scan routine has to be set (RIO_MPORT_ANY = set for all available mports)
scan_ops enumeration/disc... |
rio_release_dev(9) | NAME rio_release_dev - Frees a RIO device struct
SYNOPSIS void rio_release_dev (struct device *dev );
ARGUMENTS dev LDM device associated with a RIO device struct
DESCRIPTION Gets the RIO device struct associated a RIO device struct. The RIO device struct is freed.
SEE ALSO Kernel file ./drivers/rapidi... |
rio_release_dma(9) | NAME rio_release_dma - release specified DMA channel
SYNOPSIS void rio_release_dma (struct dma_chan *dchan );
ARGUMENTS dchan DMA channel to release
SEE ALSO Kernel file ./drivers/rapidio/rio.c rio_local_get_device_id(9), rio_query_mport(9), rio_alloc_net(9), rio_local_set_device_id(9), rio_add_dev... |
rio_release_inb_dbell(9) | NAME rio_release_inb_dbell - release inbound doorbell message service
SYNOPSIS int rio_release_inb_dbell (struct rio_mport *mport , u16 start , u16 end );
ARGUMENTS mport RIO master port from which to release the doorbell resource
start Doorbell info range start
end Doorbell info r... |
rio_release_inb_mbox(9) | NAME rio_release_inb_mbox - release inbound mailbox message service
SYNOPSIS int rio_release_inb_mbox (struct rio_mport *mport , int mbox );
ARGUMENTS mport RIO master port from which to release the mailbox resource
mbox Mailbox number to release
DESCRIPTION Releases ownership of an inbound mail... |
rio_release_inb_pwrite(9) | NAME rio_release_inb_pwrite - release inbound port-write message service associated with specific RapidIO device
SYNOPSIS int rio_release_inb_pwrite (struct rio_dev *rdev );
ARGUMENTS rdev RIO device which registered for inbound port-write callback
DESCRIPTION Removes callback from the rio_dev structure. Retu... |
rio_release_outb_dbell(9) | NAME rio_release_outb_dbell - release outbound doorbell message range
SYNOPSIS int rio_release_outb_dbell (struct rio_dev *rdev , struct resource *res );
ARGUMENTS rdev RIO device from which to release the doorbell resource
res Doorbell resource to be freed
DESCRIPTION Releases ownership of a ... |
rio_release_outb_mbox(9) | NAME rio_release_outb_mbox - release outbound mailbox message service
SYNOPSIS int rio_release_outb_mbox (struct rio_mport *mport , int mbox );
ARGUMENTS mport RIO master port from which to release the mailbox resource
mbox Mailbox number to release
DESCRIPTION Releases ownership of an inbound m... |
rio_request_inb_dbell(9) | NAME rio_request_inb_dbell - request inbound doorbell message service
SYNOPSIS int rio_request_inb_dbell (struct rio_mport *mport , void *dev_id , u16 start , u16 end , void (*dinb) (struct rio_mport * mport, void *dev_id, u16 src, u16 dst, u16 info) );
ARGUMENTS mport RIO master port from which to allocate the... |
rio_request_inb_mbox(9) | NAME rio_request_inb_mbox - request inbound mailbox service
SYNOPSIS int rio_request_inb_mbox (struct rio_mport *mport , void *dev_id , int mbox , int entries , void (*minb) (struct rio_mport * mport, void *dev_id, int mbox, int slot) );
ARGUMENTS mport RIO master port from which to allocate the mailbox resourc... |
rio_request_inb_pwrite(9) | NAME rio_request_inb_pwrite - request inbound port-write message service for specific RapidIO device
SYNOPSIS int rio_request_inb_pwrite (struct rio_dev *rdev , int (*pwcback)(struct rio_dev *rdev, union rio_pw_msg *msg, int step) );
ARGUMENTS rdev RIO device to which register inbound port-write callback routi... |
rio_request_mport_dma(9) | NAME rio_request_mport_dma - request RapidIO capable DMA channel associated with specified local RapidIO mport device.
SYNOPSIS struct dma_chan * rio_request_mport_dma (struct rio_mport *mport );
ARGUMENTS mport RIO mport to perform DMA data transfers
DESCRIPTION Returns pointer to allocated DMA channel or NUL... |
rio_request_outb_dbell(9) | NAME rio_request_outb_dbell - request outbound doorbell message range
SYNOPSIS struct resource * rio_request_outb_dbell (struct rio_dev *rdev , u16 start , u16 end );
ARGUMENTS rdev RIO device from which to allocate the doorbell resource
start Doorbell message range start
end Door... |
rio_request_outb_mbox(9) | NAME rio_request_outb_mbox - request outbound mailbox service
SYNOPSIS int rio_request_outb_mbox (struct rio_mport *mport , void *dev_id , int mbox , int entries , void (*moutb) (struct rio_mport * mport, void *dev_id, int mbox, int slot) );
ARGUMENTS mport RIO master port from which to allocate the mailbox res... |
rio_route_add_entry(9) | NAME rio_route_add_entry - Add a route entry to a switch routing table
SYNOPSIS int rio_route_add_entry (struct rio_dev *rdev , u16 table , u16 route_destid , u8 route_port , int lock );
ARGUMENTS rdev RIO device
table Routing table ID
route_destid
Destination ID to be ... |
rio_route_clr_table(9) | NAME rio_route_clr_table - Clear a switch routing table
SYNOPSIS int rio_route_clr_table (struct rio_dev *rdev , u16 table , int lock );
ARGUMENTS rdev RIO device
table Routing table ID
lock apply a hardware lock on switch device flag (1=lock, 0=no_lock)
DESCRIPTION If available c... |
rio_route_get_entry(9) | NAME rio_route_get_entry - Read an entry from a switch routing table
SYNOPSIS int rio_route_get_entry (struct rio_dev *rdev , u16 table , u16 route_destid , u8 *route_port , int lock );
ARGUMENTS rdev RIO device
table Routing table ID
route_destid
Destination ID to be r... |
rio_send_doorbell(9) | NAME rio_send_doorbell - Send a doorbell message to a device
SYNOPSIS int rio_send_doorbell (struct rio_dev *rdev , u16 data );
ARGUMENTS rdev RIO device
data Doorbell message data
DESCRIPTION Send a doorbell message to a RIO device. The doorbell message has a 16-bit info field provided by the ... |
rio_set_device_id(9) | NAME rio_set_device_id - Set the base/extended device id for a device
SYNOPSIS void rio_set_device_id (struct rio_mport *port , u16 destid , u8 hopcount , u16 did );
ARGUMENTS port RIO master port
destid Destination ID of device
hopcount Hopcount to device
did Device ID ... |
rio_set_drvdata(9) | NAME rio_set_drvdata - Set RIO driver specific data
SYNOPSIS void rio_set_drvdata (struct rio_dev *rdev , void *data );
ARGUMENTS rdev RIO device
data Pointer to driver specific data
DESCRIPTION Set RIO driver specific data. device struct driver data pointer is set to the data argument.
SEE AL... |
rio_set_port_lockout(9) | NAME rio_set_port_lockout - Sets/clears LOCKOUT bit (RIO EM 1.3) for a switch port.
SYNOPSIS int rio_set_port_lockout (struct rio_dev *rdev , u32 pnum , int lock );
ARGUMENTS rdev Pointer to RIO device control structure
pnum Switch port number to set LOCKOUT bit
lock Operation : s... |
rio_setup_device(9) | NAME rio_setup_device - Allocates and sets up a RIO device
SYNOPSIS struct rio_dev * rio_setup_device (struct rio_net *net , struct rio_mport *port , u16 destid , u8 hopcount , int do_enum );
ARGUMENTS net RIO network
port Master port to send transactions
destid Current destination... |
rio_setup_inb_dbell(9) | NAME rio_setup_inb_dbell - bind inbound doorbell callback
SYNOPSIS int rio_setup_inb_dbell (struct rio_mport *mport , void *dev_id , struct resource *res , void (*dinb) (struct rio_mport * mport, void *dev_id, u16 src, u16 dst, u16 info) );
ARGUMENTS mport RIO master port to bind the doorbell callback
d... |
rio_sport_is_active(9) | NAME rio_sport_is_active - Tests if a switch port has an active connection.
SYNOPSIS int rio_sport_is_active (struct rio_dev *rdev , int sp );
ARGUMENTS rdev RapidIO device object
sp Switch port number
DESCRIPTION Reads the port error status CSR for a particular switch port to determine if th... |
rio_std_route_add_entry(9) | NAME rio_std_route_add_entry - Add switch route table entry using standard registers defined in RIO specification rev.1.3
SYNOPSIS int rio_std_route_add_entry (struct rio_mport *mport , u16 destid , u8 hopcount , u16 table , u16 route_destid , u8 route_port );
ARGUMENTS mport Master port to issue transaction
... |
rio_std_route_clr_table(9) | NAME rio_std_route_clr_table - Clear swotch route table using standard registers defined in RIO specification rev.1.3.
SYNOPSIS int rio_std_route_clr_table (struct rio_mport *mport , u16 destid , u8 hopcount , u16 table );
ARGUMENTS mport Master port to issue transaction
destid Destination ID of th... |
rio_std_route_get_entry(9) | NAME rio_std_route_get_entry - Read switch route table entry (port number) associated with specified destID using standard registers defined in RIO specification rev.1.3
SYNOPSIS int rio_std_route_get_entry (struct rio_mport *mport , u16 destid , u8 hopcount , u16 table , u16 route_destid , u8 *route_port );
ARGUMENT... |
rio_unlock_device(9) | NAME rio_unlock_device - Releases host device lock for specified device
SYNOPSIS int rio_unlock_device (struct rio_mport *port , u16 destid , u8 hopcount );
ARGUMENTS port Master port to send transaction
destid Destination ID for device/switch
hopcount Hopcount to reach switch
DESCRIPT... |
rio_unmap_inb_region(9) | NAME rio_unmap_inb_region - - Unmap the inbound memory region
SYNOPSIS void rio_unmap_inb_region (struct rio_mport *mport , dma_addr_t lstart );
ARGUMENTS mport Master port
lstart physical address of memory region to be unmapped
SEE ALSO Kernel file ./drivers/rapidio/rio.c rio_local_get_devi... |
rio_unmap_outb_region(9) | NAME rio_unmap_outb_region - - Unmap the inbound memory region
SYNOPSIS void rio_unmap_outb_region (struct rio_mport *mport , u16 destid , u64 rstart );
ARGUMENTS mport Master port
destid destination id mapping points to
rstart RIO base address window translates to
SEE ALSO Kernel f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.