id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
ti_iodelay_pin_to_offset(9) | NAME ti_iodelay_pin_to_offset - get pin register offset based on the pin index
SYNOPSIS unsigned int ti_iodelay_pin_to_offset (struct ti_iodelay_device *iod , unsigned int selector );
ARGUMENTS iod iodelay driver instance
selector Pin index
SEE ALSO Kernel file ./drivers/pinctrl/ti/pinctrl-ti-io... |
ti_iodelay_pinconf_deinit_dev(9) | NAME ti_iodelay_pinconf_deinit_dev - deinit the iodelay device
SYNOPSIS void ti_iodelay_pinconf_deinit_dev (void *data );
ARGUMENTS data IODelay device
DESCRIPTION Deinitialize the IODelay device (basically just lock the region back up.
SEE ALSO Kernel file ./drivers/pinctrl/ti/pinctrl-ti-iodelay.c struct t... |
ti_iodelay_pinconf_group_dbg_show(9) | NAME ti_iodelay_pinconf_group_dbg_show - show the group information
SYNOPSIS void ti_iodelay_pinconf_group_dbg_show (struct pinctrl_dev *pctldev , struct seq_file *s , unsigned int selector );
ARGUMENTS pctldev Show the group information
s Sequence file
selector Group selector
DESCRI... |
ti_iodelay_pinconf_group_get(9) | NAME ti_iodelay_pinconf_group_get - Get the group configuration
SYNOPSIS int ti_iodelay_pinconf_group_get (struct pinctrl_dev *pctldev , unsigned int selector , unsigned long *config );
ARGUMENTS pctldev pinctrl device representing IODelay device
selector Group selector
config Configuratio... |
ti_iodelay_pinconf_group_set(9) | NAME ti_iodelay_pinconf_group_set - Configure the groups of pins
SYNOPSIS int ti_iodelay_pinconf_group_set (struct pinctrl_dev *pctldev , unsigned int selector , unsigned long *configs , unsigned int num_configs );
ARGUMENTS pctldev pinctrl device representing IODelay device
selector Group selector
... |
ti_iodelay_pinconf_init_dev(9) | NAME ti_iodelay_pinconf_init_dev - Initialize IODelay device
SYNOPSIS int ti_iodelay_pinconf_init_dev (struct ti_iodelay_device *iod );
ARGUMENTS iod iodelay device
DESCRIPTION Unlocks the iodelay region, computes the common parameters
RETURN 0 in case of success, else appropriate error value
SEE ALSO Kern... |
ti_iodelay_pinconf_set(9) | NAME ti_iodelay_pinconf_set - Configure the pin configuration
SYNOPSIS int ti_iodelay_pinconf_set (struct ti_iodelay_device *iod , struct ti_iodelay_cfg *cfg );
ARGUMENTS iod iodelay device
cfg Configuration
DESCRIPTION Update the configuration register as per TRM and lockup once done. *IMP... |
ti_iodelay_probe(9) | NAME ti_iodelay_probe - Standard probe
SYNOPSIS int ti_iodelay_probe (struct platform_device *pdev );
ARGUMENTS pdev platform device
RETURN 0 if all went fine, else appropriate error value.
SEE ALSO Kernel file ./drivers/pinctrl/ti/pinctrl-ti-iodelay.c struct ti_iodelay_reg_data(9), struct ti_iodelay_reg_... |
ti_msgmgr_last_tx_done(9) | NAME ti_msgmgr_last_tx_done - See if all the tx messages are sent
SYNOPSIS bool ti_msgmgr_last_tx_done (struct mbox_chan *chan );
ARGUMENTS chan Channel pointer
RETURN SEE ALSO Kernel file ./drivers/mailbox/ti-msgmgr.c struct ti_msgmgr_valid_queue_desc(9), struct ti_msgmgr_desc(9), struct ti_queue_inst(... |
ti_msgmgr_of_xlate(9) | NAME ti_msgmgr_of_xlate - Translation of phandle to queue
SYNOPSIS struct mbox_chan * ti_msgmgr_of_xlate (struct mbox_controller *mbox , const struct of_phandle_args *p );
ARGUMENTS mbox Mailbox controller
p phandle pointer
RETURN Mailbox channel corresponding to the queue, else return error... |
ti_msgmgr_queue_get_num_messages(9) | NAME ti_msgmgr_queue_get_num_messages - Get the number of pending messages
SYNOPSIS int ti_msgmgr_queue_get_num_messages (const struct ti_msgmgr_desc *d , struct ti_queue_inst *qinst );
ARGUMENTS d Description of message manager
qinst Queue instance for which we check the number of pending mes... |
ti_msgmgr_queue_is_error(9) | NAME ti_msgmgr_queue_is_error - Check to see if there is queue error
SYNOPSIS bool ti_msgmgr_queue_is_error (const struct ti_msgmgr_desc *d , struct ti_queue_inst *qinst );
ARGUMENTS d Description of message manager
qinst Queue instance for which we check the number of pending messages
RETURN... |
ti_msgmgr_queue_peek_data(9) | NAME ti_msgmgr_queue_peek_data - Peek to see if there are any rx messages.
SYNOPSIS bool ti_msgmgr_queue_peek_data (struct mbox_chan *chan );
ARGUMENTS chan Channel Pointer
RETURN SEE ALSO Kernel file ./drivers/mailbox/ti-msgmgr.c struct ti_msgmgr_valid_queue_desc(9), struct ti_msgmgr_desc(9), struct ti_... |
ti_msgmgr_queue_rx_interrupt(9) | NAME ti_msgmgr_queue_rx_interrupt - Interrupt handler for receive Queue
SYNOPSIS irqreturn_t ti_msgmgr_queue_rx_interrupt (int irq , void *p );
ARGUMENTS irq Interrupt number
p Channel Pointer
RETURN -EINVAL if there is no instance IRQ_NONE if the interrupt is not ours. IRQ_HANDLED if the ... |
ti_msgmgr_queue_rx_irq_req(9) | NAME ti_msgmgr_queue_rx_irq_req - RX IRQ request
SYNOPSIS int ti_msgmgr_queue_rx_irq_req (struct device *dev , const struct ti_msgmgr_desc *d , struct ti_queue_inst *qinst , struct mbox_chan *chan );
ARGUMENTS dev device pointer
d descriptor for ti_msgmgr
qinst Queue instance
... |
ti_msgmgr_queue_setup(9) | NAME ti_msgmgr_queue_setup - Setup data structures for each queue instance
SYNOPSIS int ti_msgmgr_queue_setup (int idx , struct device *dev , struct device_node *np , struct ti_msgmgr_inst *inst , const struct ti_msgmgr_desc *d , const struct ti_msgmgr_valid_queue_desc *qd , struct ti_queue_inst *qinst , struct mbox_c... |
ti_msgmgr_queue_shutdown(9) | NAME ti_msgmgr_queue_shutdown - Shutdown the queue
SYNOPSIS void ti_msgmgr_queue_shutdown (struct mbox_chan *chan );
ARGUMENTS chan Channel pointer
SEE ALSO Kernel file ./drivers/mailbox/ti-msgmgr.c struct ti_msgmgr_valid_queue_desc(9), struct ti_msgmgr_desc(9), struct ti_queue_inst(9), struct ti_msgmgr_... |
ti_msgmgr_queue_startup(9) | NAME ti_msgmgr_queue_startup - Startup queue
SYNOPSIS int ti_msgmgr_queue_startup (struct mbox_chan *chan );
ARGUMENTS chan Channel pointer
RETURN 0 if all goes good, else return corresponding error message
SEE ALSO Kernel file ./drivers/mailbox/ti-msgmgr.c struct ti_msgmgr_valid_queue_desc(9), struct t... |
ti_msgmgr_send_data(9) | NAME ti_msgmgr_send_data - Send data
SYNOPSIS int ti_msgmgr_send_data (struct mbox_chan *chan , void *data );
ARGUMENTS chan Channel Pointer
data ti_msgmgr_message * Message Pointer
RETURN 0 if all goes good, else appropriate error messages.
SEE ALSO Kernel file ./drivers/mailbox/ti-msgmgr.c... |
ti_sci_clk_probe(9) | NAME ti_sci_clk_probe - Probe function for the TI SCI clock driver
SYNOPSIS int ti_sci_clk_probe (struct platform_device *pdev );
ARGUMENTS pdev platform device pointer to be probed
DESCRIPTION Probes the TI SCI clock device. Allocates a new clock provider and registers this to the common clock framework.... |
ti_sci_clk_remove(9) | NAME ti_sci_clk_remove - Remove TI SCI clock device
SYNOPSIS void ti_sci_clk_remove (struct platform_device *pdev );
ARGUMENTS pdev platform device pointer for the device to be removed
DESCRIPTION Removes the TI SCI device. Unregisters the clock provider registered via common clock framework. Any memory alloc... |
ti_sci_cmd_clk_get_freq(9) | NAME ti_sci_cmd_clk_get_freq - Get current frequency
SYNOPSIS int ti_sci_cmd_clk_get_freq (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , u64 *freq );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
clk_id Clock identifier for the d... |
ti_sci_cmd_clk_get_match_freq(9) | NAME ti_sci_cmd_clk_get_match_freq - Find a good match for frequency
SYNOPSIS int ti_sci_cmd_clk_get_match_freq (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , u64 min_freq , u64 target_freq , u64 max_freq , u64 *match_freq );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device i... |
ti_sci_cmd_clk_get_num_parents(9) | NAME ti_sci_cmd_clk_get_num_parents - Get num parents of the current clk source
SYNOPSIS int ti_sci_cmd_clk_get_num_parents (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , u32 *num_parents );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
... |
ti_sci_cmd_clk_get_parent(9) | NAME ti_sci_cmd_clk_get_parent - Get current parent clock source
SYNOPSIS int ti_sci_cmd_clk_get_parent (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , u32 *parent_id );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
clk_id Clock i... |
ti_sci_cmd_clk_is_auto(9) | NAME ti_sci_cmd_clk_is_auto - Is the clock being auto managed
SYNOPSIS int ti_sci_cmd_clk_is_auto (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , bool *req_state );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
clk_id Clock identi... |
ti_sci_cmd_clk_is_off(9) | NAME ti_sci_cmd_clk_is_off - Is the clock OFF
SYNOPSIS int ti_sci_cmd_clk_is_off (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , bool *req_state , bool *curr_state );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
clk_id Clock iden... |
ti_sci_cmd_clk_is_on(9) | NAME ti_sci_cmd_clk_is_on - Is the clock ON
SYNOPSIS int ti_sci_cmd_clk_is_on (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , bool *req_state , bool *curr_state );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
clk_id Clock identif... |
ti_sci_cmd_clk_set_freq(9) | NAME ti_sci_cmd_clk_set_freq - Set a frequency for clock
SYNOPSIS int ti_sci_cmd_clk_set_freq (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , u64 min_freq , u64 target_freq , u64 max_freq );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
... |
ti_sci_cmd_clk_set_parent(9) | NAME ti_sci_cmd_clk_set_parent - Set the clock source of a specific device clock
SYNOPSIS int ti_sci_cmd_clk_set_parent (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , u32 parent_id );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
clk_... |
ti_sci_cmd_dev_get_clcnt(9) | NAME ti_sci_cmd_dev_get_clcnt - Get context loss counter
SYNOPSIS int ti_sci_cmd_dev_get_clcnt (const struct ti_sci_handle *handle , u32 id , u32 *count );
ARGUMENTS handle Pointer to TISCI handle
id Device Identifier
count Pointer to Context Loss counter to populate
RETURN 0 if a... |
ti_sci_cmd_dev_is_idle(9) | NAME ti_sci_cmd_dev_is_idle - Check if the device is requested to be idle
SYNOPSIS int ti_sci_cmd_dev_is_idle (const struct ti_sci_handle *handle , u32 id , bool *r_state );
ARGUMENTS handle Pointer to TISCI handle
id Device Identifier
r_state true if requested to be idle
RETURN 0 i... |
ti_sci_cmd_dev_is_on(9) | NAME ti_sci_cmd_dev_is_on - Check if the device is requested to be ON
SYNOPSIS int ti_sci_cmd_dev_is_on (const struct ti_sci_handle *handle , u32 id , bool *r_state , bool *curr_state );
ARGUMENTS handle Pointer to TISCI handle
id Device Identifier
r_state true if requested to be ON
... |
ti_sci_cmd_dev_is_stop(9) | NAME ti_sci_cmd_dev_is_stop - Check if the device is requested to be stopped
SYNOPSIS int ti_sci_cmd_dev_is_stop (const struct ti_sci_handle *handle , u32 id , bool *r_state , bool *curr_state );
ARGUMENTS handle Pointer to TISCI handle
id Device Identifier
r_state true if requested ... |
ti_sci_cmd_dev_is_trans(9) | NAME ti_sci_cmd_dev_is_trans - Check if the device is currently transitioning
SYNOPSIS int ti_sci_cmd_dev_is_trans (const struct ti_sci_handle *handle , u32 id , bool *curr_state );
ARGUMENTS handle Pointer to TISCI handle
id Device Identifier
curr_state true if currently transitioning.... |
ti_sci_cmd_dev_is_valid(9) | NAME ti_sci_cmd_dev_is_valid - Is the device valid
SYNOPSIS int ti_sci_cmd_dev_is_valid (const struct ti_sci_handle *handle , u32 id );
ARGUMENTS handle Pointer to TISCI handle as retrieved by *ti_sci_get_handle
id Device Identifier
RETURN 0 if all went fine and the device ID is valid, else ret... |
ti_sci_cmd_free_event_map(9) | NAME ti_sci_cmd_free_event_map - Free an event map between the requested source and Interrupt Aggregator.
SYNOPSIS int ti_sci_cmd_free_event_map (const struct ti_sci_handle *handle , u16 src_id , u16 src_index , u16 ia_id , u16 vint , u16 global_event , u8 vint_status_bit );
ARGUMENTS handle Pointer to TISCI han... |
ti_sci_cmd_free_irq(9) | NAME ti_sci_cmd_free_irq - Free a host irq route between the between the requested source and destination.
SYNOPSIS int ti_sci_cmd_free_irq (const struct ti_sci_handle *handle , u16 src_id , u16 src_index , u16 dst_id , u16 dst_host_irq );
ARGUMENTS handle Pointer to TISCI handle.
src_id Device ID o... |
ti_sci_cmd_get_clock(9) | NAME ti_sci_cmd_get_clock - Get control of a clock from TI SCI
SYNOPSIS int ti_sci_cmd_get_clock (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , bool needs_ssc , bool can_change_freq , bool enable_input_term );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this r... |
ti_sci_cmd_get_clock_state(9) | NAME ti_sci_cmd_get_clock_state - Get clock state helper
SYNOPSIS int ti_sci_cmd_get_clock_state (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id , u8 *programmed_state , u8 *current_state );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
... |
ti_sci_cmd_get_device(9) | NAME ti_sci_cmd_get_device - command to request for device managed by TISCI that can be shared with other hosts.
SYNOPSIS int ti_sci_cmd_get_device (const struct ti_sci_handle *handle , u32 id );
ARGUMENTS handle Pointer to TISCI handle as retrieved by *ti_sci_get_handle
id Device Identifier
DE... |
ti_sci_cmd_get_device_exclusive(9) | NAME ti_sci_cmd_get_device_exclusive - command to request for device managed by TISCI that is exclusively owned by the requesting host.
SYNOPSIS int ti_sci_cmd_get_device_exclusive (const struct ti_sci_handle *handle , u32 id );
ARGUMENTS handle Pointer to TISCI handle as retrieved by *ti_sci_get_handle
... |
ti_sci_cmd_get_device_resets(9) | NAME ti_sci_cmd_get_device_resets - Get reset state for device managed by TISCI
SYNOPSIS int ti_sci_cmd_get_device_resets (const struct ti_sci_handle *handle , u32 id , u32 *reset_state );
ARGUMENTS handle Pointer to TISCI handle
id Device Identifier
reset_state Pointer to reset state to... |
ti_sci_cmd_get_resource_range(9) | NAME ti_sci_cmd_get_resource_range - Get a range of resources assigned to host that is same as ti sci interface host.
SYNOPSIS int ti_sci_cmd_get_resource_range (const struct ti_sci_handle *handle , u32 dev_id , u8 subtype , struct ti_sci_resource_desc *desc );
ARGUMENTS handle Pointer to TISCI handle.
d... |
ti_sci_cmd_get_resource_range_from_shost(9) | NAME ti_sci_cmd_get_resource_range_from_shost - Get a range of resources assigned to a specified host.
SYNOPSIS int ti_sci_cmd_get_resource_range_from_shost (const struct ti_sci_handle *handle , u32 dev_id , u8 subtype , u8 s_host , struct ti_sci_resource_desc *desc );
ARGUMENTS handle Pointer to TISCI handle.
... |
ti_sci_cmd_get_revision(9) | NAME ti_sci_cmd_get_revision - command to get the revision of the SCI entity
SYNOPSIS int ti_sci_cmd_get_revision (struct ti_sci_info *info );
ARGUMENTS info Pointer to SCI entity information
DESCRIPTION Updates the SCI information in the internal data structure.
RETURN 0 if all went fine, else return approp... |
ti_sci_cmd_idle_clock(9) | NAME ti_sci_cmd_idle_clock - Idle a clock which is in our control
SYNOPSIS int ti_sci_cmd_idle_clock (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
clk_id Clock identifier for the de... |
ti_sci_cmd_idle_device(9) | NAME ti_sci_cmd_idle_device - Command to idle a device managed by TISCI
SYNOPSIS int ti_sci_cmd_idle_device (const struct ti_sci_handle *handle , u32 id );
ARGUMENTS handle Pointer to TISCI handle as retrieved by *ti_sci_get_handle
id Device Identifier
DESCRIPTION Request for the device - NOTE:... |
ti_sci_cmd_idle_device_exclusive(9) | NAME ti_sci_cmd_idle_device_exclusive - Command to idle a device managed by TISCI that is exclusively owned by requesting host.
SYNOPSIS int ti_sci_cmd_idle_device_exclusive (const struct ti_sci_handle *handle , u32 id );
ARGUMENTS handle Pointer to TISCI handle as retrieved by *ti_sci_get_handle
id ... |
ti_sci_cmd_lpm_abort(9) | NAME ti_sci_cmd_lpm_abort - Abort entry to LPM by clearing selection of LPM to enter
SYNOPSIS int ti_sci_cmd_lpm_abort (struct device *dev );
ARGUMENTS dev Device pointer corresponding to the SCI entity
RETURN 0 if all went well, else returns appropriate error value.
SEE ALSO Kernel file ./drivers/firmwar... |
ti_sci_cmd_prepare_sleep(9) | NAME ti_sci_cmd_prepare_sleep - Prepare system for system suspend
SYNOPSIS int ti_sci_cmd_prepare_sleep (const struct ti_sci_handle *handle , u8 mode , u32 ctx_lo , u32 ctx_hi , u32 debug_flags );
ARGUMENTS handle pointer to TI SCI handle
mode Device identifier
ctx_lo Low part of addr... |
ti_sci_cmd_proc_get_status(9) | NAME ti_sci_cmd_proc_get_status - Command to get the processor boot status
SYNOPSIS int ti_sci_cmd_proc_get_status (const struct ti_sci_handle *handle , u8 proc_id , u64 *bv , u32 *cfg_flags , u32 *ctrl_flags , u32 *sts_flags );
ARGUMENTS handle Pointer to TI SCI handle
proc_id Processor ID this requ... |
ti_sci_cmd_proc_handover(9) | NAME ti_sci_cmd_proc_handover - Command to handover a physical processor control to a host in the processor's access control list.
SYNOPSIS int ti_sci_cmd_proc_handover (const struct ti_sci_handle *handle , u8 proc_id , u8 host_id );
ARGUMENTS handle Pointer to TI SCI handle
proc_id Processor ID this... |
ti_sci_cmd_proc_release(9) | NAME ti_sci_cmd_proc_release - Command to release a physical processor control
SYNOPSIS int ti_sci_cmd_proc_release (const struct ti_sci_handle *handle , u8 proc_id );
ARGUMENTS handle Pointer to TI SCI handle
proc_id Processor ID this request is for
RETURN 0 if all went well, else returns appropria... |
ti_sci_cmd_proc_request(9) | NAME ti_sci_cmd_proc_request - Command to request a physical processor control
SYNOPSIS int ti_sci_cmd_proc_request (const struct ti_sci_handle *handle , u8 proc_id );
ARGUMENTS handle Pointer to TI SCI handle
proc_id Processor ID this request is for
RETURN 0 if all went well, else returns appropria... |
ti_sci_cmd_proc_set_config(9) | NAME ti_sci_cmd_proc_set_config - Command to set the processor boot configuration flags
SYNOPSIS int ti_sci_cmd_proc_set_config (const struct ti_sci_handle *handle , u8 proc_id , u64 bootvector , u32 config_flags_set , u32 config_flags_clear );
ARGUMENTS handle Pointer to TI SCI handle
proc_id Proces... |
ti_sci_cmd_proc_set_control(9) | NAME ti_sci_cmd_proc_set_control - Command to set the processor boot control flags
SYNOPSIS int ti_sci_cmd_proc_set_control (const struct ti_sci_handle *handle , u8 proc_id , u32 control_flags_set , u32 control_flags_clear );
ARGUMENTS handle Pointer to TI SCI handle
proc_id Processor ID this request... |
ti_sci_cmd_put_clock(9) | NAME ti_sci_cmd_put_clock - Release a clock from our control back to TISCI
SYNOPSIS int ti_sci_cmd_put_clock (const struct ti_sci_handle *handle , u32 dev_id , u32 clk_id );
ARGUMENTS handle pointer to TI SCI handle
dev_id Device identifier this request is for
clk_id Clock identifier fo... |
ti_sci_cmd_put_device(9) | NAME ti_sci_cmd_put_device - command to release a device managed by TISCI
SYNOPSIS int ti_sci_cmd_put_device (const struct ti_sci_handle *handle , u32 id );
ARGUMENTS handle Pointer to TISCI handle as retrieved by *ti_sci_get_handle
id Device Identifier
DESCRIPTION Request for the device - NOTE... |
ti_sci_cmd_rm_psil_pair(9) | NAME ti_sci_cmd_rm_psil_pair - Pair PSI-L source to destination thread
SYNOPSIS int ti_sci_cmd_rm_psil_pair (const struct ti_sci_handle *handle , u32 nav_id , u32 src_thread , u32 dst_thread );
ARGUMENTS handle Pointer to TI SCI handle.
nav_id Device ID of Navigator Subsystem which should be used fo... |
ti_sci_cmd_rm_psil_unpair(9) | NAME ti_sci_cmd_rm_psil_unpair - Unpair PSI-L source from destination thread
SYNOPSIS int ti_sci_cmd_rm_psil_unpair (const struct ti_sci_handle *handle , u32 nav_id , u32 src_thread , u32 dst_thread );
ARGUMENTS handle Pointer to TI SCI handle.
nav_id Device ID of Navigator Subsystem which should be... |
ti_sci_cmd_rm_ring_cfg(9) | NAME ti_sci_cmd_rm_ring_cfg - Configure a NAVSS ring
SYNOPSIS int ti_sci_cmd_rm_ring_cfg (const struct ti_sci_handle *handle , const struct ti_sci_msg_rm_ring_cfg *params );
ARGUMENTS handle Pointer to TI SCI handle.
params Pointer to ti_sci_msg_rm_ring_cfg ring config structure
RETURN 0 if all wen... |
ti_sci_cmd_rm_udmap_rx_ch_cfg(9) | NAME ti_sci_cmd_rm_udmap_rx_ch_cfg - Configure a UDMAP RX channel
SYNOPSIS int ti_sci_cmd_rm_udmap_rx_ch_cfg (const struct ti_sci_handle *handle , const struct ti_sci_msg_rm_udmap_rx_ch_cfg *params );
ARGUMENTS handle Pointer to TI SCI handle.
params Pointer to ti_sci_msg_rm_udmap_rx_ch_cfg RX chann... |
ti_sci_cmd_rm_udmap_rx_flow_cfg(9) | NAME ti_sci_cmd_rm_udmap_rx_flow_cfg - Configure UDMAP RX FLOW
SYNOPSIS int ti_sci_cmd_rm_udmap_rx_flow_cfg (const struct ti_sci_handle *handle , const struct ti_sci_msg_rm_udmap_flow_cfg *params );
ARGUMENTS handle Pointer to TI SCI handle.
params Pointer to ti_sci_msg_rm_udmap_flow_cfg RX FLOW con... |
ti_sci_cmd_rm_udmap_tx_ch_cfg(9) | NAME ti_sci_cmd_rm_udmap_tx_ch_cfg - Configure a UDMAP TX channel
SYNOPSIS int ti_sci_cmd_rm_udmap_tx_ch_cfg (const struct ti_sci_handle *handle , const struct ti_sci_msg_rm_udmap_tx_ch_cfg *params );
ARGUMENTS handle Pointer to TI SCI handle.
params Pointer to ti_sci_msg_rm_udmap_tx_ch_cfg TX chann... |
ti_sci_cmd_set_device_constraint(9) | NAME ti_sci_cmd_set_device_constraint - Set LPM constraint on behalf of a device
SYNOPSIS int ti_sci_cmd_set_device_constraint (const struct ti_sci_handle *handle , u32 id , u8 state );
ARGUMENTS handle pointer to TI SCI handle
id Device identifier
state The desired state of device... |
ti_sci_cmd_set_device_resets(9) | NAME ti_sci_cmd_set_device_resets - command to set resets for device managed by TISCI
SYNOPSIS int ti_sci_cmd_set_device_resets (const struct ti_sci_handle *handle , u32 id , u32 reset_state );
ARGUMENTS handle Pointer to TISCI handle as retrieved by *ti_sci_get_handle
id Device Identifier
... |
ti_sci_cmd_set_event_map(9) | NAME ti_sci_cmd_set_event_map - Configure an event based irq route between the requested source and Interrupt Aggregator.
SYNOPSIS int ti_sci_cmd_set_event_map (const struct ti_sci_handle *handle , u16 src_id , u16 src_index , u16 ia_id , u16 vint , u16 global_event , u8 vint_status_bit );
ARGUMENTS handle Point... |
ti_sci_cmd_set_io_isolation(9) | NAME ti_sci_cmd_set_io_isolation - Enable IO isolation in LPM
SYNOPSIS int ti_sci_cmd_set_io_isolation (const struct ti_sci_handle *handle , u8 state );
ARGUMENTS handle Pointer to TI SCI handle
state The desired state of the IO isolation
RETURN 0 if all went well, else returns appropriate error v... |
ti_sci_cmd_set_irq(9) | NAME ti_sci_cmd_set_irq - Configure a host irq route between the requested source and destination.
SYNOPSIS int ti_sci_cmd_set_irq (const struct ti_sci_handle *handle , u16 src_id , u16 src_index , u16 dst_id , u16 dst_host_irq );
ARGUMENTS handle Pointer to TISCI handle.
src_id Device ID of the IRQ... |
ti_sci_cmd_set_latency_constraint(9) | NAME ti_sci_cmd_set_latency_constraint - Set LPM resume latency constraint
SYNOPSIS int ti_sci_cmd_set_latency_constraint (const struct ti_sci_handle *handle , u16 latency , u8 state );
ARGUMENTS handle pointer to TI SCI handle
latency maximum acceptable latency (in ms) to wake up from LPM
st... |
ti_sci_debug_show(9) | NAME ti_sci_debug_show - Helper to dump the debug log
SYNOPSIS int ti_sci_debug_show (struct seq_file *s , void *unused );
ARGUMENTS s sequence file pointer
unused unused.
RETURN 0
SEE ALSO Kernel file ./drivers/firmware/ti_sci.c struct ti_sci_xfer(9), struct ti_sci_xfers_info(9), stru... |
ti_sci_debugfs_create(9) | NAME ti_sci_debugfs_create - Create log debug file
SYNOPSIS int ti_sci_debugfs_create (struct platform_device *pdev , struct ti_sci_info *info );
ARGUMENTS pdev platform device pointer
info Pointer to SCI entity information
RETURN 0 if all went fine, else corresponding error.
SEE ALSO Kernel ... |
ti_sci_do_xfer(9) | NAME ti_sci_do_xfer - Do one transfer
SYNOPSIS int ti_sci_do_xfer (struct ti_sci_info *info , struct ti_sci_xfer *xfer );
ARGUMENTS info Pointer to SCI entity information
xfer Transfer to initiate and wait for response
RETURN -ETIMEDOUT in case of no response, if transmit error, return correspo... |
ti_sci_dump_header_dbg(9) | NAME ti_sci_dump_header_dbg - Helper to dump a message header.
SYNOPSIS void ti_sci_dump_header_dbg (struct device *dev , struct ti_sci_msg_hdr *hdr );
ARGUMENTS dev Device pointer corresponding to the SCI entity
hdr pointer to header.
SEE ALSO Kernel file ./drivers/firmware/ti_sci.c struc... |
ti_sci_free_irq(9) | NAME ti_sci_free_irq - Helper api to free the irq route between the requested source and destination
SYNOPSIS int ti_sci_free_irq (const struct ti_sci_handle *handle , u32 valid_params , u16 src_id , u16 src_index , u16 dst_id , u16 dst_host_irq , u16 ia_id , u16 vint , u16 global_event , u8 vint_status_bit , u8 s_hos... |
ti_sci_get_by_phandle(9) | NAME ti_sci_get_by_phandle - Get the TI SCI handle using DT phandle
SYNOPSIS const struct ti_sci_handle * ti_sci_get_by_phandle (struct device_node *np , const char *property );
ARGUMENTS np device node
property property name containing phandle on TISCI node
NOTE The function does not track indiv... |
ti_sci_get_device_state(9) | NAME ti_sci_get_device_state - Get device state helper
SYNOPSIS int ti_sci_get_device_state (const struct ti_sci_handle *handle , u32 id , u32 *clcnt , u32 *resets , u8 *p_state , u8 *c_state );
ARGUMENTS handle Handle to the device
id Device Identifier
clcnt Pointer to Context Los... |
ti_sci_get_free_resource(9) | NAME ti_sci_get_free_resource - Get a free resource from TISCI resource.
SYNOPSIS u16 ti_sci_get_free_resource (struct ti_sci_resource *res );
ARGUMENTS res Pointer to the TISCI resource
RETURN resource num if all went ok else TI_SCI_RESOURCE_NULL.
SEE ALSO Kernel file ./drivers/firmware/ti_sci.c struct ... |
ti_sci_get_handle(9) | NAME ti_sci_get_handle - Get the TI SCI handle for a device
SYNOPSIS const struct ti_sci_handle * ti_sci_get_handle (struct device *dev );
ARGUMENTS dev Pointer to device for which we want SCI handle
NOTE The function does not track individual clients of the framework and is expected to be maintained by call... |
ti_sci_get_num_resources(9) | NAME ti_sci_get_num_resources - Get the number of resources in TISCI resource
SYNOPSIS u32 ti_sci_get_num_resources (struct ti_sci_resource *res );
ARGUMENTS res Pointer to the TISCI resource
RETURN Total number of available resources.
SEE ALSO Kernel file ./drivers/firmware/ti_sci.c struct ti_sci_xfer(... |
ti_sci_get_one_xfer(9) | NAME ti_sci_get_one_xfer - Allocate one message
SYNOPSIS struct ti_sci_xfer * ti_sci_get_one_xfer (struct ti_sci_info *info , u16 msg_type , u32 msg_flags , size_t tx_message_size , size_t rx_message_size );
ARGUMENTS info Pointer to SCI entity information
msg_type Message type
msg_flags F... |
ti_sci_get_resource_range(9) | NAME ti_sci_get_resource_range - Helper to get a range of resources assigned to a host. Resource is uniquely identified by type and subtype.
SYNOPSIS int ti_sci_get_resource_range (const struct ti_sci_handle *handle , u32 dev_id , u8 subtype , u8 s_host , struct ti_sci_resource_desc *desc );
ARGUMENTS handle Poi... |
ti_sci_inta_ack_irq(9) | NAME ti_sci_inta_ack_irq - Ack an event
SYNOPSIS void ti_sci_inta_ack_irq (struct irq_data *data );
ARGUMENTS data Pointer to corresponding irq_data
SEE ALSO Kernel file ./drivers/irqchip/irq-ti-sci-inta.c struct ti_sci_inta_event_desc(9), struct ti_sci_inta_vint_desc(9), struct ti_sci_inta_irq_domain(9), ... |
ti_sci_inta_alloc_event(9) | NAME ti_sci_inta_alloc_event - Attach an event to a IA vint.
SYNOPSIS struct ti_sci_inta_event_desc * ti_sci_inta_alloc_event (struct ti_sci_inta_vint_desc *vint_desc , u16 free_bit , u32 hwirq );
ARGUMENTS vint_desc Pointer to vint_desc to which the event gets attached
free_bit Bit inside vint to which ... |
ti_sci_inta_alloc_irq(9) | NAME ti_sci_inta_alloc_irq - Allocate an irq within INTA domain
SYNOPSIS struct ti_sci_inta_event_desc * ti_sci_inta_alloc_irq (struct irq_domain *domain , u32 hwirq );
ARGUMENTS domain irq_domain pointer corresponding to INTA
hwirq hwirq of the input event
NOTE Allocation happens in the follo... |
ti_sci_inta_alloc_parent_irq(9) | NAME ti_sci_inta_alloc_parent_irq - Allocate parent irq to Interrupt aggregator
SYNOPSIS struct ti_sci_inta_vint_desc * ti_sci_inta_alloc_parent_irq (struct irq_domain *domain );
ARGUMENTS domain IRQ domain corresponding to Interrupt Aggregator
DESCRIPTION Return 0 if all went well else corresponding error valu... |
ti_sci_inta_free_irq(9) | NAME ti_sci_inta_free_irq - Free an IRQ within INTA domain
SYNOPSIS void ti_sci_inta_free_irq (struct ti_sci_inta_event_desc *event_desc , u32 hwirq );
ARGUMENTS event_desc Pointer to event_desc that needs to be freed.
hwirq Hwirq number within INTA domain that needs to be freed
SEE ALSO Kernel file ... |
ti_sci_inta_free_parent_irq(9) | NAME ti_sci_inta_free_parent_irq - Free a parent irq to INTA
SYNOPSIS void ti_sci_inta_free_parent_irq (struct ti_sci_inta_irq_domain *inta , struct ti_sci_inta_vint_desc *vint_desc );
ARGUMENTS inta Pointer to inta domain.
vint_desc Pointer to vint_desc that needs to be freed.
SEE ALSO Kernel file... |
ti_sci_inta_irq_domain_alloc(9) | NAME ti_sci_inta_irq_domain_alloc - Allocate Interrupt aggregator IRQs
SYNOPSIS int ti_sci_inta_irq_domain_alloc (struct irq_domain *domain , unsigned int virq , unsigned int nr_irqs , void *data );
ARGUMENTS domain Point to the interrupt aggregator IRQ domain
virq Corresponding Linux virtual IRQ ... |
ti_sci_inta_irq_domain_free(9) | NAME ti_sci_inta_irq_domain_free - Free an IRQ from the IRQ domain
SYNOPSIS void ti_sci_inta_irq_domain_free (struct irq_domain *domain , unsigned int virq , unsigned int nr_irqs );
ARGUMENTS domain Domain to which the irqs belong
virq base linux virtual IRQ to be freed.
nr_irqs Number... |
ti_sci_inta_irq_handler(9) | NAME ti_sci_inta_irq_handler - Chained IRQ handler for the vint irqs
SYNOPSIS void ti_sci_inta_irq_handler (struct irq_desc *desc );
ARGUMENTS desc Pointer to irq_desc corresponding to the irq
SEE ALSO Kernel file ./drivers/irqchip/irq-ti-sci-inta.c struct ti_sci_inta_event_desc(9), struct ti_sci_inta_vint_d... |
ti_sci_inta_manage_event(9) | NAME ti_sci_inta_manage_event - Control the event based on the offset
SYNOPSIS void ti_sci_inta_manage_event (struct irq_data *data , u32 offset );
ARGUMENTS data Pointer to corresponding irq_data
offset register offset using which event is controlled.
SEE ALSO Kernel file ./drivers/irqchip/irq... |
ti_sci_inta_mask_irq(9) | NAME ti_sci_inta_mask_irq - Mask an event
SYNOPSIS void ti_sci_inta_mask_irq (struct irq_data *data );
ARGUMENTS data Pointer to corresponding irq_data
SEE ALSO Kernel file ./drivers/irqchip/irq-ti-sci-inta.c struct ti_sci_inta_event_desc(9), struct ti_sci_inta_vint_desc(9), struct ti_sci_inta_irq_domain(9),... |
ti_sci_inta_release_resources(9) | NAME ti_sci_inta_release_resources - Release resources for input irq
SYNOPSIS void ti_sci_inta_release_resources (struct irq_data *data );
ARGUMENTS data Pointer to corresponding irq_data
NOTE Corresponding to request_resources, all the unmapping and deletion of parent vint irqs happens in this api.
SEE ALSO... |
ti_sci_inta_request_resources(9) | NAME ti_sci_inta_request_resources - Allocate resources for input irq
SYNOPSIS int ti_sci_inta_request_resources (struct irq_data *data );
ARGUMENTS data Pointer to corresponding irq_data
NOTE This is the core api where the actual allocation happens for input hwirq. This allocation involves creating a par... |
ti_sci_inta_set_type(9) | NAME ti_sci_inta_set_type - Update the trigger type of the irq.
SYNOPSIS int ti_sci_inta_set_type (struct irq_data *data , unsigned int type );
ARGUMENTS data Pointer to corresponding irq_data
type Trigger type as specified by user
NOTE This updates the handle_irq callback for level msi. Retur... |
ti_sci_inta_unmask_irq(9) | NAME ti_sci_inta_unmask_irq - Unmask an event
SYNOPSIS void ti_sci_inta_unmask_irq (struct irq_data *data );
ARGUMENTS data Pointer to corresponding irq_data
SEE ALSO Kernel file ./drivers/irqchip/irq-ti-sci-inta.c struct ti_sci_inta_event_desc(9), struct ti_sci_inta_vint_desc(9), struct ti_sci_inta_irq_do... |
ti_sci_inta_xlate_irq(9) | NAME ti_sci_inta_xlate_irq - Translate hwirq to parent's hwirq.
SYNOPSIS int ti_sci_inta_xlate_irq (struct ti_sci_inta_irq_domain *inta , u16 vint_id );
ARGUMENTS inta IRQ domain corresponding to Interrupt Aggregator
vint_id Hardware irq corresponding to the above irq domain
DESCRIPTION Return par... |
ti_sci_intr_alloc_parent_irq(9) | NAME ti_sci_intr_alloc_parent_irq - Allocate parent IRQ
SYNOPSIS int ti_sci_intr_alloc_parent_irq (struct irq_domain *domain , unsigned int virq , u32 hwirq , u32 hwirq_type );
ARGUMENTS domain Pointer to the interrupt router IRQ domain
virq Corresponding Linux virtual IRQ number
hwirq ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.