id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
dprtc_close(9) | NAME dprtc_close - Close the control session of the object
SYNOPSIS int dprtc_close (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPRTC object
DESCRIPTION Af... |
dprtc_get_irq_enable(9) | NAME dprtc_get_irq_enable - Get overall interrupt state
SYNOPSIS int dprtc_get_irq_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u8 *en );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token o... |
dprtc_get_irq_mask(9) | NAME dprtc_get_irq_mask - Get interrupt mask.
SYNOPSIS int dprtc_get_irq_mask (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u32 *mask );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPRTC o... |
dprtc_get_irq_status(9) | NAME dprtc_get_irq_status - Get the current status of any pending interrupts.
SYNOPSIS int dprtc_get_irq_status (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u32 *status );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
... |
dprtc_open(9) | NAME dprtc_open - Open a control session for the specified object.
SYNOPSIS int dprtc_open (struct fsl_mc_io *mc_io , u32 cmd_flags , int dprtc_id , u16 *token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
dprtc_id DPRTC unique I... |
dprtc_set_irq_enable(9) | NAME dprtc_set_irq_enable - Set overall interrupt state.
SYNOPSIS int dprtc_set_irq_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u8 en );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token o... |
dprtc_set_irq_mask(9) | NAME dprtc_set_irq_mask - Set interrupt mask.
SYNOPSIS int dprtc_set_irq_mask (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u32 mask );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPRTC ob... |
dpseci_close(9) | NAME dpseci_close - Close the control session of the object
SYNOPSIS int dpseci_close (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSECI object
DESCRIPTION... |
dpseci_disable(9) | NAME dpseci_disable - Disable the DPSECI, stop sending and receiving frames
SYNOPSIS int dpseci_disable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSECI o... |
dpseci_enable(9) | NAME dpseci_enable - Enable the DPSECI, allow sending and receiving frames
SYNOPSIS int dpseci_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSECI obj... |
dpseci_get_api_version(9) | NAME dpseci_get_api_version - Get Data Path SEC Interface API version
SYNOPSIS int dpseci_get_api_version (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 *major_ver , u16 *minor_ver );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
major... |
dpseci_get_attributes(9) | NAME dpseci_get_attributes - Retrieve DPSECI attributes
SYNOPSIS int dpseci_get_attributes (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , struct dpseci_attr *attr );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Tok... |
dpseci_get_congestion_notification(9) | NAME dpseci_get_congestion_notification - Get congestion group notification configuration
SYNOPSIS int dpseci_get_congestion_notification (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , struct dpseci_congestion_notification_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags ... |
dpseci_get_rx_queue(9) | NAME dpseci_get_rx_queue - Retrieve Rx queue attributes
SYNOPSIS int dpseci_get_rx_queue (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 queue , struct dpseci_rx_queue_attr *attr );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
... |
dpseci_get_sec_attr(9) | NAME dpseci_get_sec_attr - Retrieve SEC accelerator attributes
SYNOPSIS int dpseci_get_sec_attr (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , struct dpseci_sec_attr *attr );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token ... |
dpseci_get_tx_queue(9) | NAME dpseci_get_tx_queue - Retrieve Tx queue attributes
SYNOPSIS int dpseci_get_tx_queue (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 queue , struct dpseci_tx_queue_attr *attr );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
... |
dpseci_is_enabled(9) | NAME dpseci_is_enabled - Check if the DPSECI is enabled.
SYNOPSIS int dpseci_is_enabled (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , int *en );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSECI object
... |
dpseci_open(9) | NAME dpseci_open - Open a control session for the specified object
SYNOPSIS int dpseci_open (struct fsl_mc_io *mc_io , u32 cmd_flags , int dpseci_id , u16 *token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
dpseci_id DPSECI uniqu... |
dpseci_reset(9) | NAME dpseci_reset - Reset the DPSECI, returns the object to initial state
SYNOPSIS int dpseci_reset (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSECI objec... |
dpseci_set_congestion_notification(9) | NAME dpseci_set_congestion_notification - Set congestion group notification configuration
SYNOPSIS int dpseci_set_congestion_notification (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , const struct dpseci_congestion_notification_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_f... |
dpseci_set_rx_queue(9) | NAME dpseci_set_rx_queue - Set Rx queue configuration
SYNOPSIS int dpseci_set_rx_queue (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 queue , const struct dpseci_rx_queue_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
... |
dpsw_acl_add(9) | NAME dpsw_acl_add - Create an ACL table
SYNOPSIS int dpsw_acl_add (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 *acl_id , const struct dpsw_acl_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of... |
dpsw_acl_add_entry(9) | NAME dpsw_acl_add_entry - Add a rule to the ACL table.
SYNOPSIS int dpsw_acl_add_entry (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 acl_id , const struct dpsw_acl_entry_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
... |
dpsw_acl_add_if(9) | NAME dpsw_acl_add_if - Associate interface/interfaces with an ACL table.
SYNOPSIS int dpsw_acl_add_if (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 acl_id , const struct dpsw_acl_if_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_C... |
dpsw_acl_prepare_entry_cfg(9) | NAME dpsw_acl_prepare_entry_cfg - Setup an ACL entry
SYNOPSIS void dpsw_acl_prepare_entry_cfg (const struct dpsw_acl_key *key , u8 *entry_cfg_buf );
ARGUMENTS key Key
entry_cfg_buf
Zeroed 256 bytes of memory before mapping it to DMA
DESCRIPTION This function has to be called before... |
dpsw_acl_remove(9) | NAME dpsw_acl_remove - Remove an ACL table from L2 switch.
SYNOPSIS int dpsw_acl_remove (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 acl_id );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object... |
dpsw_acl_remove_entry(9) | NAME dpsw_acl_remove_entry - Removes an entry from ACL.
SYNOPSIS int dpsw_acl_remove_entry (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 acl_id , const struct dpsw_acl_entry_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_... |
dpsw_acl_remove_if(9) | NAME dpsw_acl_remove_if - De-associate interface/interfaces from an ACL table
SYNOPSIS int dpsw_acl_remove_if (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 acl_id , const struct dpsw_acl_if_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more ... |
dpsw_clear_irq_status(9) | NAME dpsw_clear_irq_status - Clear a pending interrupt's status
SYNOPSIS int dpsw_clear_irq_status (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u32 status );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token ... |
dpsw_close(9) | NAME dpsw_close - Close the control session of the object
SYNOPSIS int dpsw_close (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
DESCRIPTION After... |
dpsw_ctrl_if_disable(9) | NAME dpsw_ctrl_if_disable - Function disables control interface
SYNOPSIS int dpsw_ctrl_if_disable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
R... |
dpsw_ctrl_if_enable(9) | NAME dpsw_ctrl_if_enable - Enable control interface
SYNOPSIS int dpsw_ctrl_if_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
RETURN SEE ALS... |
dpsw_ctrl_if_get_attributes(9) | NAME dpsw_ctrl_if_get_attributes - Obtain control interface attributes
SYNOPSIS int dpsw_ctrl_if_get_attributes (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , struct dpsw_ctrl_if_attr *attr );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLA... |
dpsw_ctrl_if_set_pools(9) | NAME dpsw_ctrl_if_set_pools - Set control interface buffer pools
SYNOPSIS int dpsw_ctrl_if_set_pools (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , const struct dpsw_ctrl_if_pools_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG... |
dpsw_ctrl_if_set_queue(9) | NAME dpsw_ctrl_if_set_queue - Set Rx queue configuration
SYNOPSIS int dpsw_ctrl_if_set_queue (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , enum dpsw_queue_type qtype , const struct dpsw_ctrl_if_queue_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or... |
dpsw_disable(9) | NAME dpsw_disable - Disable DPSW functionality
SYNOPSIS int dpsw_disable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
RETURN Completion status. ... |
dpsw_enable(9) | NAME dpsw_enable - Enable DPSW functionality
SYNOPSIS int dpsw_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
RETURN Completion status. '0'... |
dpsw_fdb_add(9) | NAME dpsw_fdb_add - Add FDB to switch and Returns handle to FDB table for the reference
SYNOPSIS int dpsw_fdb_add (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 *fdb_id , const struct dpsw_fdb_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or mor... |
dpsw_fdb_add_multicast(9) | NAME dpsw_fdb_add_multicast - Add a set of egress interfaces to multi-cast group
SYNOPSIS int dpsw_fdb_add_multicast (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 fdb_id , const struct dpsw_fdb_multicast_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags... |
dpsw_fdb_add_unicast(9) | NAME dpsw_fdb_add_unicast - Function adds an unicast entry into MAC lookup table
SYNOPSIS int dpsw_fdb_add_unicast (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 fdb_id , const struct dpsw_fdb_unicast_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; on... |
dpsw_fdb_dump(9) | NAME dpsw_fdb_dump - Dump the content of FDB table into memory.
SYNOPSIS int dpsw_fdb_dump (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 fdb_id , u64 iova_addr , u32 iova_size , u16 *num_entries );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of '... |
dpsw_fdb_remove(9) | NAME dpsw_fdb_remove - Remove FDB from switch
SYNOPSIS int dpsw_fdb_remove (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 fdb_id );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
fdb_... |
dpsw_fdb_remove_multicast(9) | NAME dpsw_fdb_remove_multicast - Removing interfaces from an existing multicast group.
SYNOPSIS int dpsw_fdb_remove_multicast (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 fdb_id , const struct dpsw_fdb_multicast_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Comm... |
dpsw_fdb_remove_unicast(9) | NAME dpsw_fdb_remove_unicast - removes an entry from MAC lookup table
SYNOPSIS int dpsw_fdb_remove_unicast (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 fdb_id , const struct dpsw_fdb_unicast_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or mor... |
dpsw_get_api_version(9) | NAME dpsw_get_api_version - Get Data Path Switch API version
SYNOPSIS int dpsw_get_api_version (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 *major_ver , u16 *minor_ver );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
major_ver Majo... |
dpsw_get_attributes(9) | NAME dpsw_get_attributes - Retrieve DPSW attributes
SYNOPSIS int dpsw_get_attributes (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , struct dpsw_attr *attr );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DP... |
dpsw_get_irq_status(9) | NAME dpsw_get_irq_status - Get the current status of any pending interrupts
SYNOPSIS int dpsw_get_irq_status (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u32 *status );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
... |
dpsw_if_add_reflection(9) | NAME dpsw_if_add_reflection - Setup mirroring rule
SYNOPSIS int dpsw_if_add_reflection (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , const struct dpsw_reflection_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
... |
dpsw_if_disable(9) | NAME dpsw_if_disable - Disable Interface
SYNOPSIS int dpsw_if_disable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
if_id ... |
dpsw_if_enable(9) | NAME dpsw_if_enable - Enable Interface
SYNOPSIS int dpsw_if_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
if_id I... |
dpsw_if_get_attributes(9) | NAME dpsw_if_get_attributes - Function obtains attributes of interface
SYNOPSIS int dpsw_if_get_attributes (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , struct dpsw_if_attr *attr );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_F... |
dpsw_if_get_counter(9) | NAME dpsw_if_get_counter - Get specific counter of particular interface
SYNOPSIS int dpsw_if_get_counter (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , enum dpsw_counter type , u64 *counter );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of... |
dpsw_if_get_link_state(9) | NAME dpsw_if_get_link_state - Return the link state
SYNOPSIS int dpsw_if_get_link_state (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , struct dpsw_link_state *state );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
t... |
dpsw_if_get_port_mac_addr(9) | NAME dpsw_if_get_port_mac_addr - Retrieve MAC address associated to the physical port
SYNOPSIS int dpsw_if_get_port_mac_addr (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , u8 mac_addr[6] );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'M... |
dpsw_if_get_tci(9) | NAME dpsw_if_get_tci - Get default VLAN Tag Control Information (TCI)
SYNOPSIS int dpsw_if_get_tci (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , struct dpsw_tci_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
... |
dpsw_if_remove_reflection(9) | NAME dpsw_if_remove_reflection - Remove mirroring rule
SYNOPSIS int dpsw_if_remove_reflection (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , const struct dpsw_reflection_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FL... |
dpsw_if_set_learning_mode(9) | NAME dpsw_if_set_learning_mode - Configure the learning mode on an interface. If this API is used, it will take precedence over the FDB configuration.
SYNOPSIS int dpsw_if_set_learning_mode (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , enum dpsw_learning_mode mode );
ARGUMENTS mc_io Pointer... |
dpsw_if_set_link_cfg(9) | NAME dpsw_if_set_link_cfg - Set the link configuration.
SYNOPSIS int dpsw_if_set_link_cfg (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , struct dpsw_link_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
tok... |
dpsw_if_set_max_frame_length(9) | NAME dpsw_if_set_max_frame_length - Set Maximum Receive frame length.
SYNOPSIS int dpsw_if_set_max_frame_length (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , u16 frame_length );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_... |
dpsw_if_set_stp(9) | NAME dpsw_if_set_stp - Function sets Spanning Tree Protocol (STP) state.
SYNOPSIS int dpsw_if_set_stp (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , const struct dpsw_stp_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_F... |
dpsw_if_set_tci(9) | NAME dpsw_if_set_tci - Set default VLAN Tag Control Information (TCI)
SYNOPSIS int dpsw_if_set_tci (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id , const struct dpsw_tci_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG... |
dpsw_open(9) | NAME dpsw_open - Open a control session for the specified object
SYNOPSIS int dpsw_open (struct fsl_mc_io *mc_io , u32 cmd_flags , int dpsw_id , u16 *token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
dpsw_id DPSW unique ID
... |
dpsw_reset(9) | NAME dpsw_reset - Reset the DPSW, returns the object to initial state.
SYNOPSIS int dpsw_reset (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
RETU... |
dpsw_set_egress_flood(9) | NAME dpsw_set_egress_flood - Set egress parameters associated with an FDB ID
SYNOPSIS int dpsw_set_egress_flood (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , const struct dpsw_egress_flood_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'M... |
dpsw_set_irq_enable(9) | NAME dpsw_set_irq_enable - Set overall interrupt state.
SYNOPSIS int dpsw_set_irq_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u8 en );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of ... |
dpsw_set_irq_mask(9) | NAME dpsw_set_irq_mask - Set interrupt mask.
SYNOPSIS int dpsw_set_irq_mask (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 irq_index , u32 mask );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPCI objec... |
dpsw_set_reflection_if(9) | NAME dpsw_set_reflection_if - Set target interface for traffic mirrored
SYNOPSIS int dpsw_set_reflection_if (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 if_id );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token T... |
dpsw_vlan_add(9) | NAME dpsw_vlan_add - Adding new VLAN to DPSW.
SYNOPSIS int dpsw_vlan_add (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 vlan_id , const struct dpsw_vlan_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token ... |
dpsw_vlan_add_if(9) | NAME dpsw_vlan_add_if - Adding a set of interfaces to an existing VLAN.
SYNOPSIS int dpsw_vlan_add_if (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 vlan_id , const struct dpsw_vlan_if_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC... |
dpsw_vlan_add_if_untagged(9) | NAME dpsw_vlan_add_if_untagged - Defining a set of interfaces that should be transmitted as untagged.
SYNOPSIS int dpsw_vlan_add_if_untagged (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 vlan_id , const struct dpsw_vlan_if_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_fl... |
dpsw_vlan_remove(9) | NAME dpsw_vlan_remove - Remove an entire VLAN
SYNOPSIS int dpsw_vlan_remove (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 vlan_id );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_CMD_FLAG_'
token Token of DPSW object
vl... |
dpsw_vlan_remove_if(9) | NAME dpsw_vlan_remove_if - Remove interfaces from an existing VLAN.
SYNOPSIS int dpsw_vlan_remove_if (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 vlan_id , const struct dpsw_vlan_if_cfg *cfg );
ARGUMENTS mc_io Pointer to MC portal's I/O object
cmd_flags Command flags; one or more of 'MC_... |
dpsw_vlan_remove_if_untagged(9) | NAME dpsw_vlan_remove_if_untagged - Define a set of interfaces that should be converted from transmitted as untagged to transmit as tagged.
SYNOPSIS int dpsw_vlan_remove_if_untagged (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u16 vlan_id , const struct dpsw_vlan_if_cfg *cfg );
ARGUMENTS mc_io Pointer... |
dpu_core_irq(9) | NAME dpu_core_irq - core IRQ handler
SYNOPSIS irqreturn_t dpu_core_irq (struct msm_kms *kms );
ARGUMENTS kms MSM KMS handle
RETURN interrupt handling status
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c struct dpu_intr_reg(9), dpu_core_irq_callback_handler(9), dpu_core_irq_read(9)... |
dpu_core_irq_callback_handler(9) | NAME dpu_core_irq_callback_handler - dispatch core interrupts
SYNOPSIS void dpu_core_irq_callback_handler (struct dpu_kms *dpu_kms , unsigned int irq_idx );
ARGUMENTS dpu_kms Pointer to DPU's KMS structure
irq_idx interrupt index
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupt... |
dpu_core_irq_preinstall(9) | NAME dpu_core_irq_preinstall - perform pre-installation of core IRQ handler
SYNOPSIS void dpu_core_irq_preinstall (struct msm_kms *kms );
ARGUMENTS kms MSM KMS handle
RETURN none
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c struct dpu_intr_reg(9), dpu_core_irq_callback_handl... |
dpu_core_irq_read(9) | NAME dpu_core_irq_read - IRQ helper function for reading IRQ status
SYNOPSIS u32 dpu_core_irq_read (struct dpu_kms *dpu_kms , unsigned int irq_idx );
ARGUMENTS dpu_kms DPU handle
irq_idx irq index
RETURN non-zero if irq detected; otherwise no irq detected
SEE ALSO Kernel file ./drivers/gpu/drm/msm... |
dpu_core_irq_register_callback(9) | NAME dpu_core_irq_register_callback - For registering callback function on IRQ interrupt
SYNOPSIS int dpu_core_irq_register_callback (struct dpu_kms *dpu_kms , unsigned int irq_idx , void (*irq_cb)(void *arg) , void *irq_arg );
ARGUMENTS dpu_kms DPU handle
irq_idx irq index
irq_cb IRQ cal... |
dpu_core_irq_uninstall(9) | NAME dpu_core_irq_uninstall - uninstall core IRQ handler
SYNOPSIS void dpu_core_irq_uninstall (struct msm_kms *kms );
ARGUMENTS kms MSM KMS handle
RETURN none
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c struct dpu_intr_reg(9), dpu_core_irq_callback_handler(9), dpu_core_irq(... |
dpu_core_irq_unregister_callback(9) | NAME dpu_core_irq_unregister_callback - For unregistering callback function on IRQ interrupt
SYNOPSIS int dpu_core_irq_unregister_callback (struct dpu_kms *dpu_kms , unsigned int irq_idx );
ARGUMENTS dpu_kms DPU handle
irq_idx irq index
RETURN 0 for success registering callback, otherwise failure
DE... |
dpu_core_perf_adjusted_mode_clk(9) | NAME dpu_core_perf_adjusted_mode_clk - Adjust given mode clock rate according to the perf clock factor. @crtc_clk_rate - Unadjusted mode clock rate
SYNOPSIS u64 dpu_core_perf_adjusted_mode_clk (u64 mode_clk_rate , const struct dpu_perf_cfg *perf_cfg );
ARGUMENTS mode_clk_rate -- undescribed --
perf_cfg per... |
dpu_core_perf_crtc_check(9) | NAME dpu_core_perf_crtc_check - validate performance of the given crtc state
SYNOPSIS int dpu_core_perf_crtc_check (struct drm_crtc *crtc , struct drm_crtc_state *state );
ARGUMENTS crtc Pointer to crtc
state Pointer to new crtc state
RETURN zero if success, or error code otherwise
SEE ALSO Ker... |
dpu_core_perf_crtc_release_bw(9) | NAME dpu_core_perf_crtc_release_bw - request zero bandwidth
SYNOPSIS void dpu_core_perf_crtc_release_bw (struct drm_crtc *crtc );
ARGUMENTS crtc pointer to a crtc
DESCRIPTION Function checks a state variable for the crtc, if all pending commit requests are done, meaning no more bandwidth is needed, release ba... |
dpu_core_perf_crtc_update(9) | NAME dpu_core_perf_crtc_update - update performance of the given crtc
SYNOPSIS int dpu_core_perf_crtc_update (struct drm_crtc *crtc , int params_changed );
ARGUMENTS crtc Pointer to crtc
params_changed
true if crtc parameters are modified
RETURN zero if success, or error code otherw... |
dpu_core_perf_debugfs_init(9) | NAME dpu_core_perf_debugfs_init - initialize debugfs for core performance context
SYNOPSIS int dpu_core_perf_debugfs_init (struct dpu_kms *dpu_kms , struct dentry *parent );
ARGUMENTS dpu_kms Pointer to the dpu_kms struct
parent Pointer to parent debugfs
SEE ALSO Kernel file ./drivers/gpu/drm/... |
dpu_core_perf_init(9) | NAME dpu_core_perf_init - initialize the given core performance context
SYNOPSIS int dpu_core_perf_init (struct dpu_core_perf *perf , const struct dpu_perf_cfg *perf_cfg , unsigned long max_core_clk_rate );
ARGUMENTS perf Pointer to core performance context
perf_cfg Pointer to platform performance c... |
dpu_crtc_check_mode_changed(9) | NAME dpu_crtc_check_mode_changed - check if full modeset is required
SYNOPSIS int dpu_crtc_check_mode_changed (struct drm_crtc_state *old_crtc_state , struct drm_crtc_state *new_crtc_state );
ARGUMENTS old_crtc_state Previous CRTC state
new_crtc_state
Corresponding CRTC state to be checked
... |
dpu_crtc_commit_kickoff(9) | NAME dpu_crtc_commit_kickoff - trigger kickoff of the commit for this crtc
SYNOPSIS void dpu_crtc_commit_kickoff (struct drm_crtc *crtc );
ARGUMENTS crtc Pointer to drm crtc object
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c _dpu_crtc_blend_setup(9), _dpu_crtc_complete_flip(9), dpu_crtc_ge... |
dpu_crtc_complete_commit(9) | NAME dpu_crtc_complete_commit - callback signalling completion of current commit
SYNOPSIS void dpu_crtc_complete_commit (struct drm_crtc *crtc );
ARGUMENTS crtc Pointer to drm crtc object
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c _dpu_crtc_blend_setup(9), _dpu_crtc_complete_flip(9), dp... |
dpu_crtc_destroy_state(9) | NAME dpu_crtc_destroy_state - state destroy hook
SYNOPSIS void dpu_crtc_destroy_state (struct drm_crtc *crtc , struct drm_crtc_state *state );
ARGUMENTS crtc drm CRTC
state CRTC state object to release
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c _dpu_crtc_blend_setup(9), _dpu... |
dpu_crtc_duplicate_state(9) | NAME dpu_crtc_duplicate_state - state duplicate hook
SYNOPSIS struct drm_crtc_state * dpu_crtc_duplicate_state (struct drm_crtc *crtc );
ARGUMENTS crtc Pointer to drm crtc structure
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c _dpu_crtc_blend_setup(9), _dpu_crtc_complete_flip(9), dpu_crtc_g... |
dpu_crtc_frame_event_cb(9) | NAME dpu_crtc_frame_event_cb - crtc frame event callback API
SYNOPSIS void dpu_crtc_frame_event_cb (struct drm_crtc *crtc , u32 event );
ARGUMENTS crtc Pointer to crtc
event Event to process
DESCRIPTION Encoder may call this for different events from different context - IRQ, user thread, commit... |
dpu_crtc_frame_pending(9) | NAME dpu_crtc_frame_pending - return the number of pending frames
SYNOPSIS int dpu_crtc_frame_pending (struct drm_crtc *crtc );
ARGUMENTS crtc Pointer to drm crtc object
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h enum dpu_crtc_client_type(9), enum dpu_crtc_smmu_state(9), enu... |
dpu_crtc_get_client_type(9) | NAME dpu_crtc_get_client_type - check the crtc type- rt, nrt etc.
SYNOPSIS enum dpu_crtc_client_type dpu_crtc_get_client_type (struct drm_crtc *crtc );
ARGUMENTS crtc Pointer to crtc
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h enum dpu_crtc_client_type(9), enum dpu_crtc_smmu_st... |
dpu_crtc_get_intf_mode(9) | NAME dpu_crtc_get_intf_mode - get interface mode of the given crtc
SYNOPSIS enum dpu_intf_mode dpu_crtc_get_intf_mode (struct drm_crtc *crtc );
ARGUMENTS crtc Pointert to crtc
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c _dpu_crtc_blend_setup(9), _dpu_crtc_complete_flip(9), dpu_crtc_vblank_... |
dpu_crtc_init(9) | NAME dpu_crtc_init - create a new crtc object
SYNOPSIS struct drm_crtc * dpu_crtc_init (struct drm_device *dev , struct drm_plane *plane , struct drm_plane *cursor );
ARGUMENTS dev dpu device
plane base plane
cursor cursor plane
RETURN new crtc object or error
DESCRIPTION initiali... |
dpu_crtc_vblank(9) | NAME dpu_crtc_vblank - enable or disable vblanks for this crtc
SYNOPSIS int dpu_crtc_vblank (struct drm_crtc *crtc , bool en );
ARGUMENTS crtc Pointer to drm crtc object
en true to enable vblanks, false to disable
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c _dpu_crtc_blend... |
dpu_crtc_vblank_callback(9) | NAME dpu_crtc_vblank_callback - called on vblank irq, issues completion events
SYNOPSIS void dpu_crtc_vblank_callback (struct drm_crtc *crtc );
ARGUMENTS crtc Pointer to drm crtc object
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c _dpu_crtc_blend_setup(9), _dpu_crtc_complete_flip(9), dpu_... |
dpu_debugfs_core_irq_init(9) | NAME dpu_debugfs_core_irq_init - register core irq debugfs
SYNOPSIS void dpu_debugfs_core_irq_init (struct dpu_kms *dpu_kms , struct dentry *parent );
ARGUMENTS dpu_kms pointer to kms
parent debugfs directory root
SEE ALSO Kernel file ./drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c struct dp... |
dpu_debugfs_create_regset32(9) | NAME dpu_debugfs_create_regset32 - Create register read back file for debugfs
SYNOPSIS void dpu_debugfs_create_regset32 (const char *name , umode_t mode , void *parent , uint32_t offset , uint32_t length , struct dpu_kms *dpu_kms );
ARGUMENTS name File name within debugfs
mode File mode within d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.