id
stringlengths
4
63
text
stringlengths
153
8.81M
scmi_lookup_and_call_event_chain(9)
NAME scmi_lookup_and_call_event_chain - Lookup the proper chain and call it SYNOPSIS void scmi_lookup_and_call_event_chain (struct scmi_notify_instance *ni , u32 evt_key , void *report ); ARGUMENTS ni A reference to the notification instance to use evt_key The key to use to lookup the related not...
scmi_msg_response_validate(9)
NAME scmi_msg_response_validate - Validate message type against state of related xfer SYNOPSIS int scmi_msg_response_validate (struct scmi_chan_info *cinfo , u8 msg_type , struct scmi_xfer *xfer ); ARGUMENTS cinfo A reference to the channel descriptor. msg_type Message type to check xfer ...
scmi_notification_exit(9)
NAME scmi_notification_exit - Shutdown and clean Notification core SYNOPSIS void scmi_notification_exit (struct scmi_handle *handle ); ARGUMENTS handle The handle identifying the platform instance to shutdown SEE ALSO Kernel file ./drivers/firmware/arm_scmi/notify.c Kernel API(9), struct scmi_notify_instance(9...
scmi_notification_init(9)
NAME scmi_notification_init - Initializes Notification Core Support SYNOPSIS int scmi_notification_init (struct scmi_handle *handle ); ARGUMENTS handle The handle identifying the platform instance to initialize DESCRIPTION This function lays out all the basic resources needed by the notification core instance i...
scmi_notifier_register(9)
NAME scmi_notifier_register - Register a notifier_block for an event SYNOPSIS int scmi_notifier_register (const struct scmi_handle *handle , u8 proto_id , u8 evt_id , const u32 *src_id , struct notifier_block *nb ); ARGUMENTS handle The handle identifying the platform instance against which the callback is regis...
scmi_notifier_unregister(9)
NAME scmi_notifier_unregister - Unregister a notifier_block for an event SYNOPSIS int scmi_notifier_unregister (const struct scmi_handle *handle , u8 proto_id , u8 evt_id , const u32 *src_id , struct notifier_block *nb ); ARGUMENTS handle The handle identifying the platform instance against which the callback is...
scmi_notify(9)
NAME scmi_notify - Queues a notification for further deferred processing SYNOPSIS int scmi_notify (const struct scmi_handle *handle , u8 proto_id , u8 evt_id , const void *buf , size_t len , ktime_t ts ); ARGUMENTS handle The handle identifying the platform instance from which the dispatched event is generated ...
scmi_process_event_header(9)
NAME scmi_process_event_header - Dequeue and process an event header SYNOPSIS struct scmi_registered_event * scmi_process_event_header (struct events_queue *eq , struct scmi_registered_events_desc *pd ); ARGUMENTS eq The queue to use pd The protocol descriptor to use DESCRIPTION Read an eve...
scmi_process_event_payload(9)
NAME scmi_process_event_payload - Dequeue and process an event payload SYNOPSIS bool scmi_process_event_payload (struct events_queue *eq , struct scmi_registered_events_desc *pd , struct scmi_registered_event *r_evt ); ARGUMENTS eq The queue to use pd The protocol descriptor to use r...
scmi_protocol_acquire(9)
NAME scmi_protocol_acquire - Protocol acquire SYNOPSIS int scmi_protocol_acquire (const struct scmi_handle *handle , u8 protocol_id ); ARGUMENTS handle A reference to the SCMI platform instance. protocol_id The protocol being requested. DESCRIPTION Register a new user for the requested protocol on the s...
scmi_protocol_device_request(9)
NAME scmi_protocol_device_request - Helper to request a device SYNOPSIS int scmi_protocol_device_request (const struct scmi_device_id *id_table ); ARGUMENTS id_table A protocol/name pair descriptor for the device to be created. DESCRIPTION This helper let an SCMI driver request specific devices identified b...
scmi_protocol_device_unrequest(9)
NAME scmi_protocol_device_unrequest - Helper to unrequest a device SYNOPSIS void scmi_protocol_device_unrequest (const struct scmi_device_id *id_table ); ARGUMENTS id_table A protocol/name pair descriptor for the device to be unrequested. DESCRIPTION The unrequested device, described by the provided id_table, is ...
scmi_protocol_msg_check(9)
NAME scmi_protocol_msg_check - Check protocol message attributes SYNOPSIS int scmi_protocol_msg_check (const struct scmi_protocol_handle *ph , u32 message_id , u32 *attributes ); ARGUMENTS ph A reference to the protocol handle. message_id The ID of the message to check. attributes A paramet...
scmi_protocol_release(9)
NAME scmi_protocol_release - Protocol de-initialization helper. SYNOPSIS void scmi_protocol_release (const struct scmi_handle *handle , u8 protocol_id ); ARGUMENTS handle A reference to the SCMI platform instance. protocol_id The protocol being requested. DESCRIPTION Remove one user for the specified pr...
scmi_protocol_version_initialize(9)
NAME scmi_protocol_version_initialize - Initialize protocol version SYNOPSIS void scmi_protocol_version_initialize (struct device *dev , struct scmi_protocol_instance *pi ); ARGUMENTS dev A device reference. pi A reference to the protocol instance being initialized DESCRIPTION At first retr...
scmi_protocol_version_negotiate(9)
NAME scmi_protocol_version_negotiate - Negotiate protocol version SYNOPSIS int scmi_protocol_version_negotiate (struct scmi_protocol_handle *ph ); ARGUMENTS ph A reference to the protocol handle. DESCRIPTION An helper to negotiate a protocol version different from the latest advertised as supported from the...
scmi_protocols_late_init(9)
NAME scmi_protocols_late_init - Worker for late initialization SYNOPSIS void scmi_protocols_late_init (struct work_struct *work ); ARGUMENTS work The work item to use associated to the proper SCMI instance DESCRIPTION This kicks in whenever a new protocol has completed its own registration via scmi_regist...
scmi_put_handler_unlocked(9)
NAME scmi_put_handler_unlocked - Put an event handler SYNOPSIS bool scmi_put_handler_unlocked (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 act upon DESCRIPTION After having got excl...
scmi_raw_error_report(9)
NAME scmi_raw_error_report - Helper to report back timed-out or generally unexpected replies. SYNOPSIS void scmi_raw_error_report (void *r , struct scmi_chan_info *cinfo , u32 msg_hdr , void *priv ); ARGUMENTS r An opaque reference to the raw instance configuration cinfo A reference to the cha...
scmi_raw_message_receive(9)
NAME scmi_raw_message_receive - An helper to dequeue and report the next available enqueued raw message payload that has been collected. SYNOPSIS int scmi_raw_message_receive (struct scmi_raw_mode_info *raw , void *buf , size_t len , size_t *size , unsigned int idx , unsigned int chan_id , bool o_nonblock ); ARGUMENT...
scmi_raw_message_report(9)
NAME scmi_raw_message_report - Helper to report back valid reponses/notifications to raw message requests. SYNOPSIS void scmi_raw_message_report (void *r , struct scmi_xfer *xfer , unsigned int idx , unsigned int chan_id ); ARGUMENTS r An opaque reference to the raw instance configuration xfer ...
scmi_raw_message_send(9)
NAME scmi_raw_message_send - An helper to build and send an SCMI command using the provided SCMI bare message buffer SYNOPSIS int scmi_raw_message_send (struct scmi_raw_mode_info *raw , void *buf , size_t len , u8 chan_id , bool async , bool poll ); ARGUMENTS raw A reference to the Raw instance. buf ...
scmi_raw_mode_cleanup(9)
NAME scmi_raw_mode_cleanup - Function to cleanup the SCMI Raw stack SYNOPSIS void scmi_raw_mode_cleanup (void *r ); ARGUMENTS r An opaque handle to an initialized SCMI Raw instance SEE ALSO Kernel file ./drivers/firmware/arm_scmi/raw_mode.c Kernel API(9), struct scmi_raw_queue(9), struct scmi_raw_m...
scmi_raw_mode_init(9)
NAME scmi_raw_mode_init - Function to initialize the SCMI Raw stack SYNOPSIS void * scmi_raw_mode_init (const struct scmi_handle *handle , struct dentry *top_dentry , int instance_id , u8 *channels , int num_chans , const struct scmi_desc *desc , int tx_max_msg ); ARGUMENTS handle Pointer to SCMI entity handle ...
scmi_reboot_notifier(9)
NAME scmi_reboot_notifier - A reboot notifier to catch an ongoing successful system transition SYNOPSIS int scmi_reboot_notifier (struct notifier_block *nb , unsigned long reason , void *__unused ); ARGUMENTS nb Reference to the related notifier block reason The reason for the ongoing reboot ...
scmi_register_event_handler(9)
NAME scmi_register_event_handler - Register whenever possible an Event handler SYNOPSIS int scmi_register_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 register DESCRIP...
scmi_register_protocol_events(9)
NAME scmi_register_protocol_events - Register Protocol Events with the core SYNOPSIS int scmi_register_protocol_events (const struct scmi_handle *handle , u8 proto_id , const struct scmi_protocol_handle *ph , const struct scmi_protocol_events *ee ); ARGUMENTS handle The handle identifying the platform instance a...
scmi_request_forceful_transition(9)
NAME scmi_request_forceful_transition - Request forceful SystemPower transition SYNOPSIS void scmi_request_forceful_transition (struct scmi_syspower_conf *sc ); ARGUMENTS sc A reference to the configuration data DESCRIPTION Initiates the required SystemPower transition without involving userspace: just trig...
scmi_request_graceful_transition(9)
NAME scmi_request_graceful_transition - Request graceful SystemPower transition SYNOPSIS void scmi_request_graceful_transition (struct scmi_syspower_conf *sc , unsigned int timeout_ms ); ARGUMENTS sc A reference to the configuration data timeout_ms The desired timeout to wait for the shutdown to com...
scmi_reset_assert(9)
NAME scmi_reset_assert - assert device reset SYNOPSIS int scmi_reset_assert (struct reset_controller_dev *rcdev , unsigned long id ); ARGUMENTS rcdev reset controller entity id ID of the reset to be asserted DESCRIPTION This function implements the reset driver op to assert a device's reset us...
scmi_reset_deassert(9)
NAME scmi_reset_deassert - deassert device reset SYNOPSIS int scmi_reset_deassert (struct reset_controller_dev *rcdev , unsigned long id ); ARGUMENTS rcdev reset controller entity id ID of the reset to be deasserted DESCRIPTION This function implements the reset driver op to deassert a device'...
scmi_reset_reset(9)
NAME scmi_reset_reset - reset the device SYNOPSIS int scmi_reset_reset (struct reset_controller_dev *rcdev , unsigned long id ); ARGUMENTS rcdev reset controller entity id ID of the reset signal to be reset(assert + deassert) DESCRIPTION This function implements the reset driver op to trigger ...
scmi_revision_area_get(9)
NAME scmi_revision_area_get - Retrieve version memory area. SYNOPSIS struct scmi_revision_info * scmi_revision_area_get (const struct scmi_protocol_handle *ph ); ARGUMENTS ph A reference to the protocol handle. DESCRIPTION A helper to grab the version memory area reference during SCMI Base protocol initiali...
scmi_rx_callback(9)
NAME scmi_rx_callback - callback for receiving messages SYNOPSIS void scmi_rx_callback (struct scmi_chan_info *cinfo , u32 msg_hdr , void *priv ); ARGUMENTS cinfo SCMI channel info msg_hdr Message header priv Transport specific private data. DESCRIPTION Processes one received message...
scmi_sensor_reading_get(9)
NAME scmi_sensor_reading_get - Read scalar sensor value SYNOPSIS int scmi_sensor_reading_get (const struct scmi_protocol_handle *ph , u32 sensor_id , u64 *value ); ARGUMENTS ph Protocol handle sensor_id Sensor ID value The 64bit value sensor reading DESCRIPTION This function returns...
scmi_sensor_reading_get_timestamped(9)
NAME scmi_sensor_reading_get_timestamped - Read multiple-axis timestamped values SYNOPSIS int scmi_sensor_reading_get_timestamped (const struct scmi_protocol_handle *ph , u32 sensor_id , u8 count , struct scmi_sensor_reading *readings ); ARGUMENTS ph Protocol handle sensor_id Sensor ID coun...
scmi_set_protocol_priv(9)
NAME scmi_set_protocol_priv - Set protocol specific data at init time SYNOPSIS int scmi_set_protocol_priv (const struct scmi_protocol_handle *ph , void *priv ); ARGUMENTS ph A reference to the protocol handle. priv The private data to set. RETURN 0 on Success SEE ALSO Kernel file ./drivers...
scmi_userspace_notifier(9)
NAME scmi_userspace_notifier - Notifier callback to act on SystemPower Notifications SYNOPSIS int scmi_userspace_notifier (struct notifier_block *nb , unsigned long event , void *data ); ARGUMENTS nb Reference to the related notifier block event The SystemPower notification event id dat...
scmi_valid_pending_handler(9)
NAME scmi_valid_pending_handler - Helper to check pending status of handlers SYNOPSIS int scmi_valid_pending_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 check DESCRIPTION A...
scmi_wait_for_message_response(9)
NAME scmi_wait_for_message_response - An helper to group all the possible ways of waiting for a synchronous message response. SYNOPSIS int scmi_wait_for_message_response (struct scmi_chan_info *cinfo , struct scmi_xfer *xfer ); ARGUMENTS cinfo SCMI channel info xfer Reference to the transfer bein...
scmi_xfer_command_acquire(9)
NAME scmi_xfer_command_acquire - Helper to lookup and acquire a command xfer SYNOPSIS struct scmi_xfer * scmi_xfer_command_acquire (struct scmi_chan_info *cinfo , u32 msg_hdr ); ARGUMENTS cinfo A reference to the channel descriptor. msg_hdr A message header to use as lookup key DESCRIPTION When a v...
scmi_xfer_get(9)
NAME scmi_xfer_get - Allocate one message SYNOPSIS struct scmi_xfer * scmi_xfer_get (const struct scmi_handle *handle , struct scmi_xfers_info *minfo ); ARGUMENTS handle Pointer to SCMI entity handle minfo Pointer to Tx/Rx Message management info based on channel type DESCRIPTION Helper function ...
scmi_xfer_inflight_register(9)
NAME scmi_xfer_inflight_register - Try to register an xfer as in-flight SYNOPSIS int scmi_xfer_inflight_register (struct scmi_xfer *xfer , struct scmi_xfers_info *minfo ); ARGUMENTS xfer The xfer to register minfo Pointer to Tx/Rx Message management info based on channel type DESCRIPTION Note t...
scmi_xfer_inflight_register_unlocked(9)
NAME scmi_xfer_inflight_register_unlocked - Register the xfer as in-flight SYNOPSIS void scmi_xfer_inflight_register_unlocked (struct scmi_xfer *xfer , struct scmi_xfers_info *minfo ); ARGUMENTS xfer The xfer to register minfo Pointer to Tx/Rx Message management info based on channel type DESCRI...
scmi_xfer_lookup_unlocked(9)
NAME scmi_xfer_lookup_unlocked - Helper to lookup an xfer_id SYNOPSIS struct scmi_xfer * scmi_xfer_lookup_unlocked (struct scmi_xfers_info *minfo , u16 xfer_id ); ARGUMENTS minfo Pointer to Tx/Rx Message management info based on channel type xfer_id Token ID to lookup in pending_xfers DESCRIPTION R...
scmi_xfer_pending_set(9)
NAME scmi_xfer_pending_set - Pick a proper sequence number and mark the xfer as pending in-flight SYNOPSIS int scmi_xfer_pending_set (struct scmi_xfer *xfer , struct scmi_xfers_info *minfo ); ARGUMENTS xfer The xfer to act upon minfo Pointer to Tx/Rx Message management info based on channel type ...
scmi_xfer_raw_channel_get(9)
NAME scmi_xfer_raw_channel_get - Helper to get a reference to the proper channel to use for a specific protocol_id Raw transaction. SYNOPSIS struct scmi_chan_info * scmi_xfer_raw_channel_get (const struct scmi_handle *handle , u8 protocol_id ); ARGUMENTS handle Pointer to SCMI entity handle protocol_id I...
scmi_xfer_raw_get(9)
NAME scmi_xfer_raw_get - Helper to get a bare free xfer from the TX channel SYNOPSIS struct scmi_xfer * scmi_xfer_raw_get (const struct scmi_handle *handle ); ARGUMENTS handle Pointer to SCMI entity handle DESCRIPTION Note that xfer is taken from the TX channel structures. RETURN A valid xfer on Success, or an...
scmi_xfer_raw_get_init(9)
NAME scmi_xfer_raw_get_init - An helper to build a valid xfer from the provided bare SCMI message. SYNOPSIS int scmi_xfer_raw_get_init (struct scmi_raw_mode_info *raw , void *buf , size_t len , struct scmi_xfer **p ); ARGUMENTS raw A reference to the Raw instance. buf A buffer containing the w...
scmi_xfer_raw_inflight_register(9)
NAME scmi_xfer_raw_inflight_register - An helper to register the given xfer as in flight on the TX channel, if possible. SYNOPSIS int scmi_xfer_raw_inflight_register (const struct scmi_handle *handle , struct scmi_xfer *xfer ); ARGUMENTS handle Pointer to SCMI entity handle xfer The xfer to regist...
scmi_xfer_raw_put(9)
NAME scmi_xfer_raw_put - Release an xfer that was taken by @scmi_xfer_raw_get SYNOPSIS void scmi_xfer_raw_put (const struct scmi_handle *handle , struct scmi_xfer *xfer ); ARGUMENTS handle Pointer to SCMI entity handle xfer A reference to the xfer to put DESCRIPTION Note that as with other xfer_p...
scmi_xfer_raw_wait_for_message_response(9)
NAME scmi_xfer_raw_wait_for_message_response - An helper to wait for a message reply to an xfer raw request on a specific channel for the required timeout. SYNOPSIS int scmi_xfer_raw_wait_for_message_response (struct scmi_chan_info *cinfo , struct scmi_xfer *xfer , unsigned int timeout_ms ); ARGUMENTS cinfo SCM...
scmi_xfer_raw_worker(9)
NAME scmi_xfer_raw_worker - Work function to wait for Raw xfers completions SYNOPSIS void scmi_xfer_raw_worker (struct work_struct *work ); ARGUMENTS work A reference to the work. DESCRIPTION In SCMI Raw mode, once a user-provided injected SCMI message is sent, we cannot wait to receive its response (if any...
scmi_xfer_state_update(9)
NAME scmi_xfer_state_update - Update xfer state SYNOPSIS void scmi_xfer_state_update (struct scmi_xfer *xfer , u8 msg_type ); ARGUMENTS xfer A reference to the xfer to update msg_type Type of message being processed. DESCRIPTION Note that this message is assumed to have been already successfully va...
scmi_xfer_token_clear(9)
NAME scmi_xfer_token_clear - Release the token SYNOPSIS void scmi_xfer_token_clear (struct scmi_xfers_info *minfo , struct scmi_xfer *xfer ); ARGUMENTS minfo Pointer to Tx/Rx Message management info based on channel type xfer The xfer to act upon SEE ALSO Kernel file ./drivers/firmware/arm_scm...
scmi_xfer_token_set(9)
NAME scmi_xfer_token_set - Reserve and set new token for the xfer at hand SYNOPSIS int scmi_xfer_token_set (struct scmi_xfers_info *minfo , struct scmi_xfer *xfer ); ARGUMENTS minfo Pointer to Tx/Rx Message management info based on channel type xfer The xfer to act upon DESCRIPTION Pick the ne...
scmi_zones_register(9)
NAME scmi_zones_register - Register SCMI powercap zones starting from parent zones SYNOPSIS int scmi_zones_register (struct device *dev , struct scmi_powercap_root *pr ); ARGUMENTS dev A reference to the SCMI device pr A reference to the root powercap zones descriptors DESCRIPTION When regi...
scnprintf(9)
NAME scnprintf - Format a string and place it in a buffer SYNOPSIS int scnprintf (char *buf , size_t size , const char *fmt , ... ); ARGUMENTS buf The buffer to place the result into size The size of the buffer, including the trailing null space fmt The format string to use ...
sco(7)
NAME sco - SCO transport SYNOPSIS #include <sys/socket.h> #include <bluetooth/bluetooth.h> #include <bluetooth/sco.h> sco_socket = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO); DESCRIPTION The SCO logical transport, is a symmetric, point-to-point transport between the Central and a specific Periphera...
scols-filter(5)
NAME scols-filter - syntax for libsmartcols filter expressions SYNTAX expr: param | ( expr ) | expr && expr | expr AND expr | expr || expr | expr OR expr | !expr | NOT expr | expr == expr | expr EQ expr | expr != expr | expr NE expr | expr >= expr | expr GE expr | expr <= expr | expr LE expr | expr > expr | ex...
scoped_seqlock_read(9)
NAME scoped_seqlock_read - execute the read-side critical section without manual sequence counter handling or calls to other helpers SYNOPSIS scoped_seqlock_read (_seqlock , _target ); ARGUMENTS _seqlock pointer to seqlock_t protecting the data _target an enum ss_state: one of {ss_lock, ss_lock_irqsave...
scoped_user_read_access(9)
NAME scoped_user_read_access - Start a scoped user read access SYNOPSIS scoped_user_read_access (usrc , elbl ); ARGUMENTS usrc Pointer to the user space address to read from elbl Error label to goto when the access region is rejected DESCRIPTION The size of the access starting from usrc is dete...
scoped_user_read_access_size(9)
NAME scoped_user_read_access_size - Start a scoped user read access with given size SYNOPSIS scoped_user_read_access_size (usrc , size , elbl ); ARGUMENTS usrc Pointer to the user space address to read from size Size of the access starting from usrc elbl Error label to goto when t...
scoped_user_rw_access(9)
NAME scoped_user_rw_access - Start a scoped user read/write access SYNOPSIS scoped_user_rw_access (uptr , elbl ); ARGUMENTS uptr Pointer to the user space address to read from and write to elbl Error label to goto when the access region is rejected DESCRIPTION The size of the access starting fr...
scoped_user_rw_access_size(9)
NAME scoped_user_rw_access_size - Start a scoped user read/write access with given size SYNOPSIS scoped_user_rw_access_size (uptr , size , elbl ); ARGUMENTS uptr Pointer to the user space address to read from and write to size Size of the access starting from uptr elbl Error label...
scoped_user_write_access(9)
NAME scoped_user_write_access - Start a scoped user write access SYNOPSIS scoped_user_write_access (udst , elbl ); ARGUMENTS udst Pointer to the user space address to write to elbl Error label to goto when the access region is rejected DESCRIPTION The size of the access starting from udst is de...
scoped_user_write_access_size(9)
NAME scoped_user_write_access_size - Start a scoped user write access with given size SYNOPSIS scoped_user_write_access_size (udst , size , elbl ); ARGUMENTS udst Pointer to the user space address to write to size Size of the access starting from udst elbl Error label to goto when...
scp(1)
NAME scp — OpenSSH secure file copy SYNOPSIS scp [-346ABCOpqRrsTv] [-c cipher] [-D sftp_server_path] [-F ssh_config] [-i identity_file] [-J destination] [-l limit] [-o ssh_option] [-P port] [-S program] [-X sftp_option] source ... target DESCRIPTION scp copies files between hosts on a network. scp uses the SF...
scp_get(9)
NAME scp_get - get a reference to SCP. SYNOPSIS struct mtk_scp * scp_get (struct platform_device *pdev ); ARGUMENTS pdev the platform device of the module requesting SCP platform device for using SCP API. RETURN Return NULL if failed. otherwise reference to SCP. SEE ALSO Kernel file ./drivers/remoteproc/mtk...
scp_get_default_fw_path(9)
NAME scp_get_default_fw_path - Get default SCP firmware path SYNOPSIS const char * scp_get_default_fw_path (struct device *dev , int core_id ); ARGUMENTS dev SCP Device core_id SCP Core number DESCRIPTION This function generates a path based on the following format: mediatek/(soc_model)/scp(_cX)....
scp_get_device(9)
NAME scp_get_device - get device struct of SCP SYNOPSIS struct device * scp_get_device (struct mtk_scp *scp ); ARGUMENTS scp mtk_scp structure SEE ALSO Kernel file ./drivers/remoteproc/mtk_scp.c scp_get(9), scp_put(9), scp_get_rproc(9), scp_get_vdec_hw_capa(9), scp_get_venc_hw_capa(9), scp_mapping_dm_addr(9)...
scp_get_rproc(9)
NAME scp_get_rproc - get rproc struct of SCP SYNOPSIS struct rproc * scp_get_rproc (struct mtk_scp *scp ); ARGUMENTS scp mtk_scp structure SEE ALSO Kernel file ./drivers/remoteproc/mtk_scp.c scp_get(9), scp_put(9), scp_get_device(9), scp_get_vdec_hw_capa(9), scp_get_venc_hw_capa(9), scp_mapping_dm_addr(9), s...
scp_get_vdec_hw_capa(9)
NAME scp_get_vdec_hw_capa - get video decoder hardware capability SYNOPSIS unsigned int scp_get_vdec_hw_capa (struct mtk_scp *scp ); ARGUMENTS scp mtk_scp structure RETURN video decoder hardware capability SEE ALSO Kernel file ./drivers/remoteproc/mtk_scp.c scp_get(9), scp_put(9), scp_get_device(9), scp_get...
scp_get_venc_hw_capa(9)
NAME scp_get_venc_hw_capa - get video encoder hardware capability SYNOPSIS unsigned int scp_get_venc_hw_capa (struct mtk_scp *scp ); ARGUMENTS scp mtk_scp structure RETURN video encoder hardware capability SEE ALSO Kernel file ./drivers/remoteproc/mtk_scp.c scp_get(9), scp_put(9), scp_get_device(9), scp_get...
scp_ipi_lock(9)
NAME scp_ipi_lock - Lock before operations of an IPI ID SYNOPSIS void scp_ipi_lock (struct mtk_scp *scp , u32 id ); ARGUMENTS scp mtk_scp structure id IPI ID NOTE This should not be used by drivers other than mtk_scp. SEE ALSO Kernel file ./drivers/remoteproc/mtk_scp_ipi.c scp_ipi_register(...
scp_ipi_register(9)
NAME scp_ipi_register - register an ipi function SYNOPSIS int scp_ipi_register (struct mtk_scp *scp , u32 id , scp_ipi_handler_t handler , void *priv ); ARGUMENTS scp mtk_scp structure id IPI ID handler IPI handler priv private data for IPI handler DESCRIPTION Regi...
scp_ipi_send(9)
NAME scp_ipi_send - send data from AP to scp. SYNOPSIS int scp_ipi_send (struct mtk_scp *scp , u32 id , void *buf , unsigned int len , unsigned int wait ); ARGUMENTS scp mtk_scp structure id IPI ID buf the data buffer len the data buffer length wait ...
scp_ipi_unlock(9)
NAME scp_ipi_unlock - Unlock after operations of an IPI ID SYNOPSIS void scp_ipi_unlock (struct mtk_scp *scp , u32 id ); ARGUMENTS scp mtk_scp structure id IPI ID NOTE This should not be used by drivers other than mtk_scp. SEE ALSO Kernel file ./drivers/remoteproc/mtk_scp_ipi.c scp_ipi_regi...
scp_ipi_unregister(9)
NAME scp_ipi_unregister - unregister an ipi function SYNOPSIS void scp_ipi_unregister (struct mtk_scp *scp , u32 id ); ARGUMENTS scp mtk_scp structure id IPI ID DESCRIPTION Unregister an ipi function to receive ipi interrupt from SCP. SEE ALSO Kernel file ./drivers/remoteproc/mtk_scp_ipi.c ...
scp_mapping_dm_addr(9)
NAME scp_mapping_dm_addr - Mapping SRAM/DRAM to kernel virtual address SYNOPSIS void * scp_mapping_dm_addr (struct mtk_scp *scp , u32 mem_addr ); ARGUMENTS scp mtk_scp structure mem_addr SCP views memory address DESCRIPTION Mapping the SCP's SRAM address / DMEM (Data Extended Memory) memory addres...
scp_put(9)
NAME scp_put - "free" the SCP SYNOPSIS void scp_put (struct mtk_scp *scp ); ARGUMENTS scp mtk_scp structure from scp_get. SEE ALSO Kernel file ./drivers/remoteproc/mtk_scp.c scp_get(9), scp_get_device(9), scp_get_rproc(9), scp_get_vdec_hw_capa(9), scp_get_venc_hw_capa(9), scp_mapping_dm_addr(9), scp_get_defa...
scr_dump(5)
NAME scr_dump - curses screen dump DESCRIPTION The curses library provides applications with the ability to write the contents of a window to an external file using scr_dump or putwin, and read it back using scr_restore or getwin. The putwin and getwin functions do the work; while scr_dump and scr_restore conv...
scr_dump.3x(3)
NAME scr_dump, scr_restore, scr_init, scr_set - read/write a curses screen from/to a file SYNOPSIS #include <ncursesw/curses.h> int scr_dump(const char *filename); int scr_restore(const char *filename); int scr_init(const char *filename); int scr_set(const char *filename); DESCRIPTION cur...
scr_init.3x(3)
NAME scr_dump, scr_restore, scr_init, scr_set - read/write a curses screen from/to a file SYNOPSIS #include <ncursesw/curses.h> int scr_dump(const char *filename); int scr_restore(const char *filename); int scr_init(const char *filename); int scr_set(const char *filename); DESCRIPTION cur...
scr_init_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
scr_restore.3x(3)
NAME scr_dump, scr_restore, scr_init, scr_set - read/write a curses screen from/to a file SYNOPSIS #include <ncursesw/curses.h> int scr_dump(const char *filename); int scr_restore(const char *filename); int scr_init(const char *filename); int scr_set(const char *filename); DESCRIPTION cur...
scr_restore_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
scr_set.3x(3)
NAME scr_dump, scr_restore, scr_init, scr_set - read/write a curses screen from/to a file SYNOPSIS #include <ncursesw/curses.h> int scr_dump(const char *filename); int scr_restore(const char *filename); int scr_init(const char *filename); int scr_set(const char *filename); DESCRIPTION cur...
scr_set_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
scrcpy(1)
NAME scrcpy - Display and control your Android device SYNOPSIS scrcpy [options] DESCRIPTION scrcpy provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. OPTIONS --always-on-top Make scrcpy window always on top (above other windows). --angle de...
screen_info_pci_dev(9)
NAME screen_info_pci_dev - Return PCI parent device that contains screen_info's framebuffer SYNOPSIS struct pci_dev * screen_info_pci_dev (const struct screen_info *si ); ARGUMENTS si the screen_info RETURN The screen_info's parent device or NULL on success, or a pointer-encoded errno value otherwise. The v...
screen_info_pixel_format(9)
NAME screen_info_pixel_format - Returns the screen-info format as pixel-format description SYNOPSIS int screen_info_pixel_format (const struct screen_info *si , struct pixel_format *f ); ARGUMENTS si the screen_info f pointer to return pixel-format description RETURN 0 on success, or a neg...
screen_info_resources(9)
NAME screen_info_resources - Get resources from screen_info structure SYNOPSIS ssize_t screen_info_resources (const struct screen_info *si , struct resource *r , size_t num ); ARGUMENTS si the screen_info r pointer to an array of resource structures num number of elements in...
screen_info_video_type(9)
NAME screen_info_video_type - Decodes the video type from struct screen_info SYNOPSIS unsigned int screen_info_video_type (const struct screen_info *si ); ARGUMENTS si an instance of struct screen_info RETURN A VIDEO_TYPE_ constant representing si's type of video display, or 0 otherwise. SEE ALSO Kernel fi...
screendump(1)
NAME screendump - dump the contents of a virtual console to stdout SYNOPSIS screendump [options] [N] DESCRIPTION The screendump command dumps the contents of virtual console N , (or the current console if N is omitted) to standard out. Just saying cat /dev/vcsN has a similar effect. OPTI...
scribble_alloc(9)
NAME scribble_alloc - allocate percpu scribble buffer for required size of the scribble region SYNOPSIS int scribble_alloc (struct raid5_percpu *percpu , int num , int cnt ); ARGUMENTS percpu from for_each_present_cpu of the caller num total number of disks in the array cnt scribb...
script(1)
NAME script - make typescript of terminal session SYNOPSIS script [options] [file] DESCRIPTION script makes a typescript of everything on your terminal session. The terminal data are stored in raw form to the log file and information about timing to another (optional) structured log file. The timing log file is neces...
scriptlive(1)
NAME scriptlive - re-run session typescripts, using timing information SYNOPSIS scriptlive [options] timingfile typescript DESCRIPTION This program re-runs a typescript, using stdin typescript and timing information to ensure that input happens in the same rhythm as it originally appeared when the script was recorded...
scriptreplay(1)
NAME scriptreplay - play back typescripts, using timing information SYNOPSIS scriptreplay [options] timingfile [typescript [divisor]] DESCRIPTION This program replays a typescript, using timing information to ensure that output happens in the same rhythm as it originally appeared when the script was recorded. ...
scrl.3x(3)
NAME scroll, scrl, wscrl - scroll a curses window SYNOPSIS #include <ncursesw/curses.h> int scroll(WINDOW *win); int scrl(int n); int wscrl(WINDOW *win, int n); DESCRIPTION scroll scrolls the given window up one line. That is, every visible line we might number i becomes line i-1. The tex...