Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_rio_switch(9) [centos man page]

STRUCT 
RIO_SWITCH(9) Internals STRUCT RIO_SWITCH(9) NAME
struct_rio_switch - RIO switch info SYNOPSIS
struct rio_switch { struct list_head node; u16 switchid; u8 * route_table; u32 port_ok; int (* add_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 route_port); int (* get_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 *route_port); int (* clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table); int (* set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,u8 sw_domain); int (* get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,u8 *sw_domain); int (* em_init) (struct rio_dev *dev); int (* em_handle) (struct rio_dev *dev, u8 swport); int (* sw_sysfs) (struct rio_dev *dev, int create); struct rio_dev * nextdev[0]; }; MEMBERS
node Node in global list of switches switchid Switch ID that is unique across a network route_table Copy of switch routing table port_ok Status of each port (one bit per port) - OK=1 or UNINIT=0 add_entry Callback for switch-specific route add function get_entry Callback for switch-specific route get function clr_table Callback for switch-specific clear route table function set_domain Callback for switch-specific domain setting function get_domain Callback for switch-specific domain get function em_init Callback for switch-specific error management init function em_handle Callback for switch-specific error management handler function sw_sysfs Callback that initializes switch-specific sysfs attributes nextdev[0] Array of per-port pointers to the next attached device AUTHOR
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT RIO_SWITCH(9)

Check Out this Related Man Page

STRUCT 
RIO_OPS(9) Internals STRUCT RIO_OPS(9) NAME
struct_rio_ops - Low-level RIO configuration space operations SYNOPSIS
struct rio_ops { int (* lcread) (struct rio_mport *mport, int index, u32 offset, int len,u32 *data); int (* lcwrite) (struct rio_mport *mport, int index, u32 offset, int len,u32 data); int (* cread) (struct rio_mport *mport, int index, u16 destid,u8 hopcount, u32 offset, int len, u32 *data); int (* cwrite) (struct rio_mport *mport, int index, u16 destid,u8 hopcount, u32 offset, int len, u32 data); int (* dsend) (struct rio_mport *mport, int index, u16 destid, u16 data); int (* pwenable) (struct rio_mport *mport, int enable); int (* open_outb_mbox) (struct rio_mport *mport, void *dev_id,int mbox, int entries); void (* close_outb_mbox) (struct rio_mport *mport, int mbox); int (* open_inb_mbox) (struct rio_mport *mport, void *dev_id,int mbox, int entries); void (* close_inb_mbox) (struct rio_mport *mport, int mbox); int (* add_outb_message) (struct rio_mport *mport, struct rio_dev *rdev,int mbox, void *buffer, size_t len); int (* add_inb_buffer) (struct rio_mport *mport, int mbox, void *buf); void *(* get_inb_message) (struct rio_mport *mport, int mbox); int (* map_inb) (struct rio_mport *mport, dma_addr_t lstart,u64 rstart, u32 size, u32 flags); void (* unmap_inb) (struct rio_mport *mport, dma_addr_t lstart); }; MEMBERS
lcread Callback to perform local (master port) read of config space. lcwrite Callback to perform local (master port) write of config space. cread Callback to perform network read of config space. cwrite Callback to perform network write of config space. dsend Callback to send a doorbell message. pwenable Callback to enable/disable port-write message handling. open_outb_mbox Callback to initialize outbound mailbox. close_outb_mbox Callback to shut down outbound mailbox. open_inb_mbox Callback to initialize inbound mailbox. close_inb_mbox Callback to shut down inbound mailbox. add_outb_message Callback to add a message to an outbound mailbox queue. add_inb_buffer Callback to add a buffer to an inbound mailbox queue. get_inb_message Callback to get a message from an inbound mailbox queue. map_inb Callback to map RapidIO address region into local memory space. unmap_inb Callback to unmap RapidIO address region mapped with map_inb. AUTHOR
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT RIO_OPS(9)
Man Page