id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
sci_port_configuration_agent_find_port(9) | NAME sci_port_configuration_agent_find_port -
SYNOPSIS struct isci_port * sci_port_configuration_agent_find_port (struct isci_host *ihost , struct isci_phy *iphy );
ARGUMENTS ihost The controller object used for the port search.
iphy The phy object to match.
DESCRIPTION This routine will find a ... |
sci_port_configuration_agent_validate_ports(9) | NAME sci_port_configuration_agent_validate_ports -
SYNOPSIS enum sci_status sci_port_configuration_agent_validate_ports (struct isci_host *ihost , struct sci_port_configuration_agent *port_agent );
ARGUMENTS ihost This is the controller object that contains the port agent
port_agent This is the port co... |
sci_port_construct_dummy_rnc(9) | NAME sci_port_construct_dummy_rnc - create dummy rnc for si workaround
SYNOPSIS void sci_port_construct_dummy_rnc (struct isci_port *iport , u16 rni );
ARGUMENTS iport logical port on which we need to create the remote node context
rni remote node index for this remote node context.
DESCRIPTION... |
sci_port_general_link_up_handler(9) | NAME sci_port_general_link_up_handler - phy can be assigned to port?
SYNOPSIS void sci_port_general_link_up_handler (struct isci_port *iport , struct isci_phy *iphy , u8 flags );
ARGUMENTS iport sci_port object for which has a phy that has gone link up.
iphy This is the struct isci_phy object tha... |
sci_port_get_properties(9) | NAME sci_port_get_properties - This method simply returns the properties regarding the port, such as: physical index, protocols, sas address, etc.
SYNOPSIS enum sci_status sci_port_get_properties (struct isci_port *iport , struct sci_port_properties *prop );
ARGUMENTS iport this parameter specifies the port for... |
sci_port_is_phy_mask_valid(9) | NAME sci_port_is_phy_mask_valid -
SYNOPSIS bool sci_port_is_phy_mask_valid (struct isci_port *iport , u32 phy_mask );
ARGUMENTS iport This is the port object for which to determine if the phy mask can be supported.
phy_mask Phy mask belonging to this port
DESCRIPTION This method will return a tr... |
sci_port_is_wide(9) | NAME sci_port_is_wide -
SYNOPSIS bool sci_port_is_wide (struct isci_port *iport );
ARGUMENTS iport The port for which the wide port condition is to be checked.
DESCRIPTION This method returns false if the port only has a single phy object assigned. If there are no phys or more than one phy then the method wi... |
sci_port_link_detected(9) | NAME sci_port_link_detected -
SYNOPSIS bool sci_port_link_detected (struct isci_port *iport , struct isci_phy *iphy );
ARGUMENTS iport The port associated with the phy object.
iphy The phy object that is trying to go link up.
DESCRIPTION This method is called by the PHY object when the link is ... |
sci_port_post_dummy_request(9) | NAME sci_port_post_dummy_request - post dummy/workaround request
SYNOPSIS void sci_port_post_dummy_request (struct isci_port *iport );
ARGUMENTS iport port to post task
DESCRIPTION Prevent the hardware scheduler from posting new requests to the front of the scheduler queue causing a starvation problem for curr... |
sci_port_ready_substate_operational_exit(9) | NAME sci_port_ready_substate_operational_exit -
SYNOPSIS void sci_port_ready_substate_operational_exit (struct sci_base_state_machine *sm );
ARGUMENTS sm This is the object which is cast to a struct isci_port object.
DESCRIPTION This method will perform the actions required by the struct isci_port on exitin... |
sci_port_remove_phy(9) | NAME sci_port_remove_phy -
SYNOPSIS enum sci_status sci_port_remove_phy (struct isci_port *iport , struct isci_phy *iphy );
ARGUMENTS iport This parameter specifies the port in which the phy will be added.
iphy This parameter is the phy which is to be added to the port.
DESCRIPTION This method w... |
sci_port_resume_port_task_scheduler(9) | NAME sci_port_resume_port_task_scheduler -
SYNOPSIS void sci_port_resume_port_task_scheduler (struct isci_port *iport );
ARGUMENTS iport This is the struct isci_port object to resume.
DESCRIPTION This method will resume the port task scheduler for this port object. none
SEE ALSO Kernel file ./drivers/scsi... |
sci_remote_device_construct(9) | NAME sci_remote_device_construct - common construction
SYNOPSIS void sci_remote_device_construct (struct isci_port *iport , struct isci_remote_device *idev );
ARGUMENTS iport SAS/SATA port through which this device is accessed.
idev remote device to construct
DESCRIPTION This routine just perfor... |
sci_remote_device_destruct(9) | NAME sci_remote_device_destruct - free remote node context and destruct
SYNOPSIS enum sci_status sci_remote_device_destruct (struct isci_remote_device *idev );
ARGUMENTS idev This parameter specifies the remote device to be destructed.
DESCRIPTION Remote device objects are a limited resource. As such, the... |
sci_remote_device_start(9) | NAME sci_remote_device_start - This method will start the supplied remote device. This method enables normal IO requests to flow through to the remote device.
SYNOPSIS enum sci_status sci_remote_device_start (struct isci_remote_device *idev , u32 timeout );
ARGUMENTS idev This parameter specifies the device to... |
sci_remote_device_stop(9) | NAME sci_remote_device_stop - This method will stop both transmission and reception of link activity for the supplied remote device. This method disables normal IO requests from flowing through to the remote device.
SYNOPSIS enum sci_status sci_remote_device_stop (struct isci_remote_device *idev , u32 timeout );
ARGU... |
sci_remote_node_context_is_ready(9) | NAME sci_remote_node_context_is_ready -
SYNOPSIS bool sci_remote_node_context_is_ready (struct sci_remote_node_context *sci_rnc );
ARGUMENTS sci_rnc The state of the remote node context object to check.
DESCRIPTION This method will return true if the remote node context is in a READY state otherwise it will re... |
sci_remote_node_table_allocate_remote_node(9) | NAME sci_remote_node_table_allocate_remote_node -
SYNOPSIS u16 sci_remote_node_table_allocate_remote_node (struct sci_remote_node_table *remote_node_table , u32 remote_node_count );
ARGUMENTS remote_node_table This is the remote node table from which the remote node allocation is to take place.
remote_node_co... |
sci_remote_node_table_allocate_single_remote_node(9) | NAME sci_remote_node_table_allocate_single_remote_node -
SYNOPSIS u16 sci_remote_node_table_allocate_single_remote_node (struct sci_remote_node_table *remote_node_table , u32 group_table_index );
ARGUMENTS remote_node_table The remote node table from which to allocate a remote node.
group_table_index
... |
sci_remote_node_table_allocate_triple_remote_node(9) | NAME sci_remote_node_table_allocate_triple_remote_node -
SYNOPSIS u16 sci_remote_node_table_allocate_triple_remote_node (struct sci_remote_node_table *remote_node_table , u32 group_table_index );
ARGUMENTS remote_node_table This is the remote node table from which to allocate the remote node entries.
group_ta... |
sci_remote_node_table_clear_group(9) | NAME sci_remote_node_table_clear_group -
SYNOPSIS void sci_remote_node_table_clear_group (struct sci_remote_node_table *remote_node_table , u32 group_index );
ARGUMENTS remote_node_table The remote node table from which the slot will be cleared.
group_index The index for the slot that is to be cleared.
DESCR... |
sci_remote_node_table_clear_group_index(9) | NAME sci_remote_node_table_clear_group_index -
SYNOPSIS void sci_remote_node_table_clear_group_index (struct sci_remote_node_table *remote_node_table , u32 group_table_index , u32 group_index );
ARGUMENTS remote_node_table This the remote node table in which to clear the selector.
group_table_index
... |
sci_remote_node_table_clear_node_index(9) | NAME sci_remote_node_table_clear_node_index -
SYNOPSIS void sci_remote_node_table_clear_node_index (struct sci_remote_node_table *remote_node_table , u32 remote_node_index );
ARGUMENTS remote_node_table This is the remote node table from which to clear the available remote node bit.
remote_node_index
... |
sci_remote_node_table_get_group_index(9) | NAME sci_remote_node_table_get_group_index -
SYNOPSIS u32 sci_remote_node_table_get_group_index (struct sci_remote_node_table *remote_node_table , u32 group_table_index );
ARGUMENTS remote_node_table This is the remote node index table from which the selection will be made.
group_table_index
... |
sci_remote_node_table_get_group_value(9) | NAME sci_remote_node_table_get_group_value -
SYNOPSIS u8 sci_remote_node_table_get_group_value (struct sci_remote_node_table *remote_node_table , u32 group_index );
ARGUMENTS remote_node_table This is the remote node table that for which the group value is to be returned.
group_index This is the group index t... |
sci_remote_node_table_initialize(9) | NAME sci_remote_node_table_initialize -
SYNOPSIS void sci_remote_node_table_initialize (struct sci_remote_node_table *remote_node_table , u32 remote_node_entries );
ARGUMENTS remote_node_table The remote that which is to be initialized.
remote_node_entries
The number of entries to put in th... |
sci_remote_node_table_release_remote_node_index(9) | NAME sci_remote_node_table_release_remote_node_index -
SYNOPSIS void sci_remote_node_table_release_remote_node_index (struct sci_remote_node_table *remote_node_table , u32 remote_node_count , u16 remote_node_index );
ARGUMENTS remote_node_table The remote node table to which the remote node index is to be freed.
... |
sci_remote_node_table_release_single_remote_node(9) | NAME sci_remote_node_table_release_single_remote_node -
SYNOPSIS void sci_remote_node_table_release_single_remote_node (struct sci_remote_node_table *remote_node_table , u16 remote_node_index );
ARGUMENTS remote_node_table This is the remote node table from which the remote node release is to take place.
remo... |
sci_remote_node_table_release_triple_remote_node(9) | NAME sci_remote_node_table_release_triple_remote_node -
SYNOPSIS void sci_remote_node_table_release_triple_remote_node (struct sci_remote_node_table *remote_node_table , u16 remote_node_index );
ARGUMENTS remote_node_table This is the remote node table to which the remote node index is to be freed.
remote_nod... |
sci_remote_node_table_set_group_index(9) | NAME sci_remote_node_table_set_group_index -
SYNOPSIS void sci_remote_node_table_set_group_index (struct sci_remote_node_table *remote_node_table , u32 group_table_index , u32 group_index );
ARGUMENTS remote_node_table This the remote node table in which to set the selector.
group_table_index
... |
sci_remote_node_table_set_node_index(9) | NAME sci_remote_node_table_set_node_index -
SYNOPSIS void sci_remote_node_table_set_node_index (struct sci_remote_node_table *remote_node_table , u32 remote_node_index );
ARGUMENTS remote_node_table This is the remote node table in which to modify the remote node availability.
remote_node_index
... |
sci_req_tx_bytes(9) | NAME sci_req_tx_bytes - bytes transferred when reply underruns request
SYNOPSIS u32 sci_req_tx_bytes (struct isci_request *ireq );
ARGUMENTS ireq request that was terminated early
SEE ALSO Kernel file ./drivers/scsi/isci/request.c scu_ssp_task_request_construct_task_context(9), scu_sata_req... |
sci_sas_address_compare(9) | NAME sci_sas_address_compare -
SYNOPSIS s32 sci_sas_address_compare (struct sci_sas_address address_one , struct sci_sas_address address_two );
ARGUMENTS address_one A SAS Address to be compared.
address_two A SAS Address to be compared.
DESCRIPTION Compare the two SAS Address and if SAS Address One is great... |
sci_stp_request_pio_data_in_copy_data(9) | NAME sci_stp_request_pio_data_in_copy_data -
SYNOPSIS enum sci_status sci_stp_request_pio_data_in_copy_data (struct isci_stp_request *stp_req , u8 *data_buffer );
ARGUMENTS stp_req The PIO DATA IN request that is to receive the data.
data_buffer The buffer to copy from.
DESCRIPTION Copy the data buffer t... |
sci_stp_request_pio_data_in_copy_data_buffer(9) | NAME sci_stp_request_pio_data_in_copy_data_buffer -
SYNOPSIS enum sci_status sci_stp_request_pio_data_in_copy_data_buffer (struct isci_stp_request *stp_req , u8 *data_buf , u32 len );
ARGUMENTS stp_req The request that is used for the SGL processing.
data_buf The buffer of data to be copied.
le... |
sci_swab32_cpy(9) | NAME sci_swab32_cpy - convert between scsi and scu-hardware byte format
SYNOPSIS void sci_swab32_cpy (void *_dest , void *_src , ssize_t word_cnt );
ARGUMENTS _dest -- undescribed --
_src -- undescribed --
word_cnt -- undescribed --
DESCRIPTION scu hardware handles SSP/SMP control... |
sclp_chp_configure(9) | NAME sclp_chp_configure - perform configure channel-path sclp command
SYNOPSIS int sclp_chp_configure (struct chp_id chpid );
ARGUMENTS chpid channel-path ID
DESCRIPTION Perform configure channel-path command sclp command for specified chpid. Return 0 after command successfully finished, non-zero otherwise.
... |
sclp_chp_deconfigure(9) | NAME sclp_chp_deconfigure - perform deconfigure channel-path sclp command
SYNOPSIS int sclp_chp_deconfigure (struct chp_id chpid );
ARGUMENTS chpid channel-path ID
DESCRIPTION Perform deconfigure channel-path command sclp command for specified chpid and wait for completion. On success return 0. Return non-zero... |
sclp_chp_read_info(9) | NAME sclp_chp_read_info - perform read channel-path information sclp command
SYNOPSIS int sclp_chp_read_info (struct sclp_chp_info *info );
ARGUMENTS info resulting channel-path information data
DESCRIPTION Perform read channel-path information sclp command and wait for completion. On success, store channel-... |
sclp_ftp_cmd(9) | NAME sclp_ftp_cmd - executes a HMC related SCLP Diagnose (ET7) FTP command
SYNOPSIS ssize_t sclp_ftp_cmd (const struct hmcdrv_ftp_cmdspec *ftp , size_t *fsize );
ARGUMENTS ftp pointer to FTP command specification
fsize return of file size (or NULL if undesirable)
DESCRIPTION Attention: Notice t... |
sclp_ftp_et7(9) | NAME sclp_ftp_et7 - start a Diagnostic Test FTP Service SCLP request
SYNOPSIS int sclp_ftp_et7 (const struct hmcdrv_ftp_cmdspec *ftp );
ARGUMENTS ftp pointer to FTP descriptor
RETURN 0 on success, else a (negative) error code
SEE ALSO Kernel file ./drivers/s390/char/sclp_ftp.c sclp_ftp_txcb(9), sclp_ftp_rxc... |
sclp_ftp_rxcb(9) | NAME sclp_ftp_rxcb - Diagnostic Test FTP services receiver event callback
SYNOPSIS void sclp_ftp_rxcb (struct evbuf_header *evbuf );
ARGUMENTS evbuf pointer to Diagnostic Test (ET7) event buffer
SEE ALSO Kernel file ./drivers/s390/char/sclp_ftp.c sclp_ftp_txcb(9), sclp_ftp_et7(9), sclp_ftp_cmd(9), sclp_ftp_sta... |
sclp_ftp_shutdown(9) | NAME sclp_ftp_shutdown - shutdown of FTP services, when running on LPAR
SYNOPSIS void sclp_ftp_shutdown (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/s390/char/sclp_ftp.c sclp_ftp_txcb(9), sclp_ftp_rxcb(9), sclp_ftp_et7(9), sclp_ftp_cmd(9), sclp_ftp_startup(9)
April 2026 ... |
sclp_ftp_startup(9) | NAME sclp_ftp_startup - startup of FTP services, when running on LPAR
SYNOPSIS int sclp_ftp_startup (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/s390/char/sclp_ftp.c sclp_ftp_txcb(9), sclp_ftp_rxcb(9), sclp_ftp_et7(9), sclp_ftp_cmd(9), sclp_ftp_shutdown(9)
April 2026 ... |
sclp_ftp_txcb(9) | NAME sclp_ftp_txcb - Diagnostic Test FTP services SCLP command callback
SYNOPSIS void sclp_ftp_txcb (struct sclp_req *req , void *data );
ARGUMENTS req sclp request
data pointer to struct completion
SEE ALSO Kernel file ./drivers/s390/char/sclp_ftp.c sclp_ftp_rxcb(9), sclp_ftp_et7(9), sclp_ftp... |
sclp_sd_data_reset(9) | NAME sclp_sd_data_reset - Reset Store Data result buffer
SYNOPSIS void sclp_sd_data_reset (struct sclp_sd_data *data );
ARGUMENTS data Data buffer to reset
DESCRIPTION Reset data to initial state and release associated memory.
SEE ALSO Kernel file ./drivers/s390/char/sclp_sd.c struct sclp_sd_data(9), str... |
sclp_sd_file_create(9) | NAME sclp_sd_file_create - Add a sysfs file representing a Store Data entity
SYNOPSIS struct sclp_sd_file * sclp_sd_file_create (const char *name , u8 di );
ARGUMENTS name Name of file
di DI value associated with this entity
DESCRIPTION Create a sysfs directory with the given name located ... |
sclp_sd_file_release(9) | NAME sclp_sd_file_release - Release function for sclp_sd_file object
SYNOPSIS void sclp_sd_file_release (struct kobject *kobj );
ARGUMENTS kobj Kobject embedded in sclp_sd_file object
SEE ALSO Kernel file ./drivers/s390/char/sclp_sd.c struct sclp_sd_data(9), struct sclp_sd_listener(9), struct sclp_sd_file... |
sclp_sd_file_update(9) | NAME sclp_sd_file_update - Update contents of sclp_sd_file object
SYNOPSIS int sclp_sd_file_update (struct sclp_sd_file *sd_file );
ARGUMENTS sd_file Object to update
DESCRIPTION Obtain the current version of data associated with the Store Data entity sd_file. On success, return 0 and generate a KOBJ_CHANGE eve... |
sclp_sd_file_update_async(9) | NAME sclp_sd_file_update_async - Wrapper for asynchronous update call
SYNOPSIS void sclp_sd_file_update_async (void *data , async_cookie_t cookie );
ARGUMENTS data Object to update
cookie Unused
SEE ALSO Kernel file ./drivers/s390/char/sclp_sd.c struct sclp_sd_data(9), struct sclp_sd_listener... |
sclp_sd_init(9) | NAME sclp_sd_init - Initialize sclp_sd support and register sysfs files
SYNOPSIS int sclp_sd_init (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/s390/char/sclp_sd.c struct sclp_sd_data(9), struct sclp_sd_listener(9), struct sclp_sd_file(9), sclp_sd_listener_add(9), sclp_sd_listener_re... |
sclp_sd_listener_add(9) | NAME sclp_sd_listener_add - Add listener for Store Data responses
SYNOPSIS void sclp_sd_listener_add (struct sclp_sd_listener *listener );
ARGUMENTS listener Listener to add
SEE ALSO Kernel file ./drivers/s390/char/sclp_sd.c struct sclp_sd_data(9), struct sclp_sd_listener(9), struct sclp_sd_file(9), sclp... |
sclp_sd_listener_init(9) | NAME sclp_sd_listener_init - Initialize a Store Data response listener
SYNOPSIS void sclp_sd_listener_init (struct sclp_sd_listener *listener , u32 id );
ARGUMENTS listener Response listener to initialize
id Event ID to listen for
DESCRIPTION Initialize a listener for asynchronous Store Data resp... |
sclp_sd_listener_remove(9) | NAME sclp_sd_listener_remove - Remove listener for Store Data responses
SYNOPSIS void sclp_sd_listener_remove (struct sclp_sd_listener *listener );
ARGUMENTS listener Listener to remove
SEE ALSO Kernel file ./drivers/s390/char/sclp_sd.c struct sclp_sd_data(9), struct sclp_sd_listener(9), struct sclp_sd... |
sclp_sd_receiver(9) | NAME sclp_sd_receiver - Receiver for Store Data events
SYNOPSIS void sclp_sd_receiver (struct evbuf_header *evbuf_hdr );
ARGUMENTS evbuf_hdr Header of received events
DESCRIPTION Process Store Data events and complete listeners with matching event IDs.
SEE ALSO Kernel file ./drivers/s390/char/sclp_sd.c struct ... |
sclp_sd_store_data(9) | NAME sclp_sd_store_data - Obtain data for specified Store Data entity
SYNOPSIS int sclp_sd_store_data (struct sclp_sd_data *result , u8 di );
ARGUMENTS result Resulting data
di DI value associated with this entity
DESCRIPTION Perform a series of Store Data requests to obtain the size and conten... |
sclp_sd_sync(9) | NAME sclp_sd_sync - Perform Store Data request synchronously
SYNOPSIS int sclp_sd_sync (unsigned long page , u8 eq , u8 di , u64 sat , u64 sa , u32 *dsize_ptr , u32 *esize_ptr );
ARGUMENTS page Address of work page - must be below 2GB
eq Input EQ value
di Input DI value
... |
scm_driver_register(9) | NAME scm_driver_register - register a scm driver
SYNOPSIS int scm_driver_register (struct scm_driver *scmdrv );
ARGUMENTS scmdrv driver to be registered
SEE ALSO Kernel file ./drivers/s390/cio/scm.c scm_driver_unregister(9)
April 2026 ... |
scm_driver_unregister(9) | NAME scm_driver_unregister - deregister a scm driver
SYNOPSIS void scm_driver_unregister (struct scm_driver *scmdrv );
ARGUMENTS scmdrv driver to be deregistered
SEE ALSO Kernel file ./drivers/s390/cio/scm.c scm_driver_register(9)
April 2026 ... |
scm_legacy_call(9) | NAME scm_legacy_call - Sends a command to the SCM and waits for the command to finish processing.
SYNOPSIS int scm_legacy_call (struct device *dev , const struct qcom_scm_desc *desc , struct qcom_scm_res *res );
ARGUMENTS dev device
desc descriptor structure containing arguments and return valu... |
scm_legacy_call_atomic(9) | NAME scm_legacy_call_atomic - Send an atomic SCM command with up to 5 arguments and 3 return values
SYNOPSIS int scm_legacy_call_atomic (struct device *unused , const struct qcom_scm_desc *desc , struct qcom_scm_res *res );
ARGUMENTS unused device, legacy argument, not used, can be NULL
desc SCM c... |
scm_legacy_command_to_response(9) | NAME scm_legacy_command_to_response - Get a pointer to a scm_legacy_response
SYNOPSIS struct scm_legacy_response * scm_legacy_command_to_response (const struct scm_legacy_command *cmd );
ARGUMENTS cmd command
DESCRIPTION Returns a pointer to a response for a command.
SEE ALSO Kernel file ./drivers/firmw... |
scm_legacy_get_command_buffer(9) | NAME scm_legacy_get_command_buffer - Get a pointer to a command buffer
SYNOPSIS void * scm_legacy_get_command_buffer (const struct scm_legacy_command *cmd );
ARGUMENTS cmd command
DESCRIPTION Returns a pointer to the command buffer of a command.
SEE ALSO Kernel file ./drivers/firmware/qcom/qcom_scm-legac... |
scm_legacy_get_response_buffer(9) | NAME scm_legacy_get_response_buffer - Get a pointer to a response buffer
SYNOPSIS void * scm_legacy_get_response_buffer (const struct scm_legacy_response *rsp );
ARGUMENTS rsp response
DESCRIPTION Returns a pointer to a response buffer of a response.
SEE ALSO Kernel file ./drivers/firmware/qcom/qcom_scm... |
scmd_eh_abort_handler(9) | NAME scmd_eh_abort_handler - Handle command aborts
SYNOPSIS void scmd_eh_abort_handler (struct work_struct *work );
ARGUMENTS work command to be aborted.
NOTE this function must be called only for a command that has timed out. Because the block layer marks a request as complete before it calls scsi_timeout, ... |
scmi_alloc_init_protocol_instance(9) | NAME scmi_alloc_init_protocol_instance - Allocate and initialize a protocol instance descriptor.
SYNOPSIS struct scmi_protocol_instance * scmi_alloc_init_protocol_instance (struct scmi_info *info , const struct scmi_protocol *proto );
ARGUMENTS info The reference to the related SCMI instance.
proto ... |
scmi_allocate_event_handler(9) | NAME scmi_allocate_event_handler - Allocate Event handler
SYNOPSIS struct scmi_event_handler * scmi_allocate_event_handler (struct scmi_notify_instance *ni , u32 evt_key );
ARGUMENTS ni A reference to the notification instance to use
evt_key 32bit key uniquely bind to the event identified by the ... |
scmi_allocate_registered_events_desc(9) | NAME scmi_allocate_registered_events_desc - Allocate a registered events' descriptor
SYNOPSIS struct scmi_registered_events_desc * scmi_allocate_registered_events_desc (struct scmi_notify_instance *ni , u8 proto_id , size_t queue_sz , size_t eh_sz , int num_events , const struct scmi_event_ops *ops );
ARGUMENTS ni ... |
scmi_bad_message_trace(9) | NAME scmi_bad_message_trace - A helper to trace weird messages
SYNOPSIS void scmi_bad_message_trace (struct scmi_chan_info *cinfo , u32 msg_hdr , enum scmi_bad_msg err );
ARGUMENTS cinfo A reference to the channel descriptor on which the message was received
msg_hdr Message header to track
e... |
scmi_base_attributes_get(9) | NAME scmi_base_attributes_get - gets the implementation details that are associated with the base protocol.
SYNOPSIS int scmi_base_attributes_get (const struct scmi_protocol_handle *ph );
ARGUMENTS ph SCMI protocol handle
RETURN 0 on success, else appropriate SCMI error.
SEE ALSO Kernel file ./drivers/firm... |
scmi_base_discover_agent_get(9) | NAME scmi_base_discover_agent_get - discover the name of an agent
SYNOPSIS int scmi_base_discover_agent_get (const struct scmi_protocol_handle *ph , int id , char *name );
ARGUMENTS ph SCMI protocol handle
id Agent identifier
name Agent identifier ASCII string
DESCRIPTION An ... |
scmi_base_implementation_list_get(9) | NAME scmi_base_implementation_list_get - gets the list of protocols it is OSPM is allowed to access
SYNOPSIS int scmi_base_implementation_list_get (const struct scmi_protocol_handle *ph , u8 *protocols_imp );
ARGUMENTS ph SCMI protocol handle
protocols_imp
pointer to hold the list ... |
scmi_base_implementation_version_get(9) | NAME scmi_base_implementation_version_get - gets a vendor-specific implementation 32-bit version. The format of the version number is vendor-specific
SYNOPSIS int scmi_base_implementation_version_get (const struct scmi_protocol_handle *ph );
ARGUMENTS ph SCMI protocol handle
RETURN 0 on success, else approp... |
scmi_base_vendor_id_get(9) | NAME scmi_base_vendor_id_get - gets vendor/subvendor identifier ASCII string.
SYNOPSIS int scmi_base_vendor_id_get (const struct scmi_protocol_handle *ph , bool sub_vendor );
ARGUMENTS ph SCMI protocol handle
sub_vendor specify true if sub-vendor ID is needed
RETURN 0 on success, else appropriate S... |
scmi_bind_event_handler(9) | NAME scmi_bind_event_handler - Helper to attempt binding an handler to an event
SYNOPSIS int scmi_bind_event_handler (struct scmi_notify_instance *ni , struct scmi_event_handler *hndl );
ARGUMENTS ni A reference to the notification instance to use
hndl The event handler to bind
DESCRIPTION If... |
scmi_channels_setup(9) | NAME scmi_channels_setup - Helper to initialize all required channels
SYNOPSIS int scmi_channels_setup (struct scmi_info *info );
ARGUMENTS info The SCMI instance descriptor.
DESCRIPTION Initialize all the channels found described in the DT against the underlying configured transport using custom defined de... |
scmi_clk_ops_alloc(9) | NAME scmi_clk_ops_alloc - Alloc and configure clock operations
SYNOPSIS const struct clk_ops * scmi_clk_ops_alloc (struct device *dev , unsigned long feats_key );
ARGUMENTS dev A device reference for devres
feats_key A bitmap representing the desired clk_ops capabilities
DESCRIPTION Allocate and co... |
scmi_clk_ops_select(9) | NAME scmi_clk_ops_select - Select a proper set of clock operations
SYNOPSIS const struct clk_ops * scmi_clk_ops_select (struct scmi_clk *sclk , bool atomic_capable , unsigned int atomic_threshold_us , const struct clk_ops **clk_ops_db , size_t db_size );
ARGUMENTS sclk A reference to an SCMI clock descriptor
... |
scmi_common_extended_name_get(9) | NAME scmi_common_extended_name_get - Common helper to get extended resources name
SYNOPSIS int scmi_common_extended_name_get (const struct scmi_protocol_handle *ph , u8 cmd_id , u32 res_id , u32 *flags , char *name , size_t len );
ARGUMENTS ph A protocol handle reference.
cmd_id The specific com... |
scmi_common_get_max_msg_size(9) | NAME scmi_common_get_max_msg_size - Get maximum message size
SYNOPSIS int scmi_common_get_max_msg_size (const struct scmi_protocol_handle *ph );
ARGUMENTS ph A protocol handle reference.
RETURN Maximum message size for the current protocol.
SEE ALSO Kernel file ./drivers/firmware/arm_scmi/driver.c struc... |
scmi_create_protocol_devices(9) | NAME scmi_create_protocol_devices - Create devices for all pending requests for this SCMI instance.
SYNOPSIS void scmi_create_protocol_devices (struct device_node *np , struct scmi_info *info , int prot_id , const char *name );
ARGUMENTS np The device node describing the protocol
info The SCMI... |
scmi_deregister_protocol_events(9) | NAME scmi_deregister_protocol_events - Deregister protocol events with the core
SYNOPSIS void scmi_deregister_protocol_events (const struct scmi_handle *handle , u8 proto_id );
ARGUMENTS handle The handle identifying the platform instance against which the protocol's events are registered
proto_id Pro... |
scmi_device_create(9) | NAME scmi_device_create - A method to create one or more SCMI devices
SYNOPSIS struct scmi_device * scmi_device_create (struct device_node *np , struct device *parent , int protocol , const char *name );
ARGUMENTS np A reference to the device node to use for the new device(s)
parent The parent d... |
scmi_devm_notifier_register(9) | NAME scmi_devm_notifier_register - Managed registration of a notifier_block for an event
SYNOPSIS int scmi_devm_notifier_register (struct scmi_device *sdev , u8 proto_id , u8 evt_id , const u32 *src_id , struct notifier_block *nb );
ARGUMENTS sdev A reference to an scmi_device whose embedded struct device is t... |
scmi_devm_notifier_unregister(9) | NAME scmi_devm_notifier_unregister - Managed un-registration of a notifier_block for an event
SYNOPSIS int scmi_devm_notifier_unregister (struct scmi_device *sdev , struct notifier_block *nb );
ARGUMENTS sdev A reference to an scmi_device whose embedded struct device is to be used for devres accounting.
... |
scmi_devm_protocol_acquire(9) | NAME scmi_devm_protocol_acquire - Devres managed helper to get hold of a protocol
SYNOPSIS int scmi_devm_protocol_acquire (struct scmi_device *sdev , u8 protocol_id );
ARGUMENTS sdev A reference to an scmi_device whose embedded struct device is to be used for devres accounting.
protocol_id The protocol... |
scmi_devm_protocol_get(9) | NAME scmi_devm_protocol_get - Devres managed get protocol operations and handle
SYNOPSIS const void * scmi_devm_protocol_get (struct scmi_device *sdev , u8 protocol_id , struct scmi_protocol_handle **ph );
ARGUMENTS sdev A reference to an scmi_device whose embedded struct device is to be used for devres accoun... |
scmi_devm_protocol_put(9) | NAME scmi_devm_protocol_put - Devres managed put protocol operations and handle
SYNOPSIS void scmi_devm_protocol_put (struct scmi_device *sdev , u8 protocol_id );
ARGUMENTS sdev A reference to an scmi_device whose embedded struct device is to be used for devres accounting.
protocol_id The protocol bein... |
scmi_do_xfer_raw_start(9) | NAME scmi_do_xfer_raw_start - An helper to send a valid raw xfer
SYNOPSIS int scmi_do_xfer_raw_start (struct scmi_raw_mode_info *raw , struct scmi_xfer *xfer , u8 chan_id , bool async );
ARGUMENTS raw A reference to the Raw instance.
xfer The xfer to send
chan_id The channel ID to u... |
scmi_event_handler_enable_events(9) | NAME scmi_event_handler_enable_events - Enable events associated to an handler
SYNOPSIS int scmi_event_handler_enable_events (struct scmi_event_handler *hndl );
ARGUMENTS hndl The Event handler to act upon
RETURN 0 on Success
SEE ALSO Kernel file ./drivers/firmware/arm_scmi/notify.c Kernel API(9), struct sc... |
scmi_events_dispatcher(9) | NAME scmi_events_dispatcher - Common worker logic for all work items.
SYNOPSIS void scmi_events_dispatcher (struct work_struct *work );
ARGUMENTS work The work item to use, which is associated to a dedicated events_queue
DESCRIPTION Logic: 1. dequeue one pending RX notification (queued in SCMI RX ISR context... |
scmi_free_event_handler(9) | NAME scmi_free_event_handler - Free the provided Event handler
SYNOPSIS void scmi_free_event_handler (struct scmi_event_handler *hndl );
ARGUMENTS hndl The event handler structure to free
CONTEXT Assumes to be called with proper locking acquired depending on the situation.
SEE ALSO Kernel file ./drivers/fir... |
scmi_get_active_handler(9) | NAME scmi_get_active_handler - Helper to get active handlers only
SYNOPSIS struct scmi_event_handler * scmi_get_active_handler (struct scmi_notify_instance *ni , u32 evt_key );
ARGUMENTS ni A reference to the notification instance to use
evt_key The event key to use
DESCRIPTION Search for the de... |
scmi_get_protocol_instance(9) | NAME scmi_get_protocol_instance - Protocol initialization helper.
SYNOPSIS struct scmi_protocol_instance * scmi_get_protocol_instance (const struct scmi_handle *handle , u8 protocol_id );
ARGUMENTS handle A reference to the SCMI platform instance.
protocol_id The protocol being requested.
DESCRIPTION In... |
scmi_get_protocol_priv(9) | NAME scmi_get_protocol_priv - Set protocol specific data at init time
SYNOPSIS void * scmi_get_protocol_priv (const struct scmi_protocol_handle *ph );
ARGUMENTS ph A reference to the protocol handle.
RETURN Protocol private data if any was set.
SEE ALSO Kernel file ./drivers/firmware/arm_scmi/driver.c s... |
scmi_handle_get(9) | NAME scmi_handle_get - Get the SCMI handle for a device
SYNOPSIS struct scmi_handle * scmi_handle_get (struct device *dev );
ARGUMENTS dev pointer to device for which we want SCMI handle
NOTE The function does not track individual clients of the framework and is expected to be maintained by caller of SCMI pr... |
scmi_handle_put(9) | NAME scmi_handle_put - Release the handle acquired by scmi_handle_get
SYNOPSIS int scmi_handle_put (const struct scmi_handle *handle );
ARGUMENTS handle handle acquired by scmi_handle_get
NOTE The function does not track individual clients of the framework and is expected to be maintained by caller of SCMI prot... |
scmi_initialize_events_queue(9) | NAME scmi_initialize_events_queue - Allocate/Initialize a kfifo buffer
SYNOPSIS int scmi_initialize_events_queue (struct scmi_notify_instance *ni , struct events_queue *equeue , size_t sz );
ARGUMENTS ni A reference to the notification instance to use
equeue The events_queue to initialize
... |
scmi_is_transport_atomic(9) | NAME scmi_is_transport_atomic - Method to check if underlying transport for an SCMI instance is configured as atomic.
SYNOPSIS bool scmi_is_transport_atomic (const struct scmi_handle *handle , unsigned int *atomic_threshold );
ARGUMENTS handle A reference to the SCMI platform instance.
atomic_threshold
... |
scmi_kfifo_free(9) | NAME scmi_kfifo_free - Devres action helper to free the kfifo
SYNOPSIS void scmi_kfifo_free (void *kfifo );
ARGUMENTS kfifo The kfifo to free
SEE ALSO Kernel file ./drivers/firmware/arm_scmi/notify.c Kernel API(9), struct scmi_notify_instance(9), struct events_queue(9), struct scmi_event_header(9), struct scm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.