id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
rpcrdma_add_one(9) | NAME rpcrdma_add_one - ib_client device insertion callback
SYNOPSIS int rpcrdma_add_one (struct ib_device *device );
ARGUMENTS device device about to be inserted
DESCRIPTION Returns zero on success. xprtrdma private data has been allocated for this device. On failure, a negative errno is returned.
SEE ALSO Ker... |
rpcrdma_bc_receive_call(9) | NAME rpcrdma_bc_receive_call - Handle a reverse-direction Call
SYNOPSIS void rpcrdma_bc_receive_call (struct rpcrdma_xprt *r_xprt , struct rpcrdma_rep *rep );
ARGUMENTS r_xprt transport receiving the call
rep receive buffer containing the call
DESCRIPTION Operational assumptions: o Backchannel c... |
rpcrdma_buffer_create(9) | NAME rpcrdma_buffer_create - Create initial set of req/rep objects
SYNOPSIS int rpcrdma_buffer_create (struct rpcrdma_xprt *r_xprt );
ARGUMENTS r_xprt transport instance to (re)initialize
DESCRIPTION Returns zero on success, otherwise a negative errno.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c r... |
rpcrdma_buffer_destroy(9) | NAME rpcrdma_buffer_destroy - Release all hw resources
SYNOPSIS void rpcrdma_buffer_destroy (struct rpcrdma_buffer *buf );
ARGUMENTS buf root control block for resources
DESCRIPTION ORDERING: relies on a prior rpcrdma_xprt_drain : - No more Send or Receive completions can occur - All MRs, reps, and reqs are ... |
rpcrdma_buffer_get(9) | NAME rpcrdma_buffer_get - Get a request buffer
SYNOPSIS struct rpcrdma_req * rpcrdma_buffer_get (struct rpcrdma_buffer *buffers );
ARGUMENTS buffers Buffer pool from which to obtain a buffer
DESCRIPTION Returns a fresh rpcrdma_req, or NULL if none are available.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/ve... |
rpcrdma_buffer_put(9) | NAME rpcrdma_buffer_put - Put request/reply buffers back into pool
SYNOPSIS void rpcrdma_buffer_put (struct rpcrdma_buffer *buffers , struct rpcrdma_req *req );
ARGUMENTS buffers buffer pool
req object to return
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnect(9),... |
rpcrdma_cm_event_handler(9) | NAME rpcrdma_cm_event_handler - Handle RDMA CM events
SYNOPSIS int rpcrdma_cm_event_handler (struct rdma_cm_id *id , struct rdma_cm_event *event );
ARGUMENTS id rdma_cm_id on which an event has occurred
event details of the event
DESCRIPTION Called with id's mutex held. Returns 1 if caller sho... |
rpcrdma_complete_rqst(9) | NAME rpcrdma_complete_rqst - Pass completed rqst back to RPC
SYNOPSIS void rpcrdma_complete_rqst (struct rpcrdma_rep *rep );
ARGUMENTS rep RPC/RDMA Receive context
DESCRIPTION Reconstruct the RPC reply and complete the transaction while rqst is still pinned to ensure the rep, rqst, and rq_task pointers remai... |
rpcrdma_flush_disconnect(9) | NAME rpcrdma_flush_disconnect - Disconnect on flushed completion
SYNOPSIS void rpcrdma_flush_disconnect (struct rpcrdma_xprt *r_xprt , struct ib_wc *wc );
ARGUMENTS r_xprt transport to disconnect
wc work completion entry
DESCRIPTION Must be called in process context.
SEE ALSO Kernel file ./... |
rpcrdma_ib_client_register(9) | NAME rpcrdma_ib_client_register - register ib_client for rpcrdma
SYNOPSIS int rpcrdma_ib_client_register (void );
ARGUMENTS void no arguments
DESCRIPTION Returns zero on success, or a negative errno.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/ib_client.c rpcrdma_rn_register(9), rpcrdma_rn_unregister(9), rpcr... |
rpcrdma_ib_client_unregister(9) | NAME rpcrdma_ib_client_unregister - unregister ib_client for xprtrdma
SYNOPSIS void rpcrdma_ib_client_unregister (void );
ARGUMENTS void no arguments
DESCRIPTION cel: watch for orphaned rpcrdma_device objects on module unload
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/ib_client.c rpcrdma_rn_register(9), rpcr... |
rpcrdma_inline_fixup(9) | NAME rpcrdma_inline_fixup - Scatter inline received data into rqst's iovecs
SYNOPSIS unsigned long rpcrdma_inline_fixup (struct rpc_rqst *rqst , char *srcp , int copy_len , int pad );
ARGUMENTS rqst controlling RPC request
srcp points to RPC message payload in receive buffer
copy_len ... |
rpcrdma_marshal_req(9) | NAME rpcrdma_marshal_req - Marshal and send one RPC request
SYNOPSIS int rpcrdma_marshal_req (struct rpcrdma_xprt *r_xprt , struct rpc_rqst *rqst );
ARGUMENTS r_xprt controlling transport
rqst RPC request to be marshaled
DESCRIPTION For the RPC in "rqst", this function: - Chooses the transfer ... |
rpcrdma_mr_get(9) | NAME rpcrdma_mr_get - Allocate an rpcrdma_mr object
SYNOPSIS struct rpcrdma_mr * rpcrdma_mr_get (struct rpcrdma_xprt *r_xprt );
ARGUMENTS r_xprt controlling transport
DESCRIPTION Returns an initialized rpcrdma_mr or NULL if no free rpcrdma_mr objects are available.
SEE ALSO Kernel file ./net/sunrpc/xprtrdm... |
rpcrdma_mrs_destroy(9) | NAME rpcrdma_mrs_destroy - Release all of a transport's MRs
SYNOPSIS void rpcrdma_mrs_destroy (struct rpcrdma_xprt *r_xprt );
ARGUMENTS r_xprt controlling transport instance
DESCRIPTION Relies on caller holding the transport send lock to protect removing mr->mr_list from req->rl_free_mrs safely.
SEE ALSO Kerne... |
rpcrdma_mrs_refresh(9) | NAME rpcrdma_mrs_refresh - Wake the MR refresh worker
SYNOPSIS void rpcrdma_mrs_refresh (struct rpcrdma_xprt *r_xprt );
ARGUMENTS r_xprt controlling transport instance
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnect(9), rpcrdma_wc_send(9), rpcrdma_wc_receive(9), rpcrdma_cm_e... |
rpcrdma_post_recvs(9) | NAME rpcrdma_post_recvs - Refill the Receive Queue
SYNOPSIS void rpcrdma_post_recvs (struct rpcrdma_xprt *r_xprt , int needed );
ARGUMENTS r_xprt controlling transport instance
needed current credit grant
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnect(9), rpcrdma... |
rpcrdma_prepare_send_sges(9) | NAME rpcrdma_prepare_send_sges - Construct SGEs for a Send WR
SYNOPSIS int rpcrdma_prepare_send_sges (struct rpcrdma_xprt *r_xprt , struct rpcrdma_req *req , u32 hdrlen , struct xdr_buf *xdr , enum rpcrdma_chunktype rtype );
ARGUMENTS r_xprt controlling transport
req context of RPC Call being mar... |
rpcrdma_regbuf_dma_map(9) | NAME rpcrdma_regbuf_dma_map - DMA-map a regbuf
SYNOPSIS bool rpcrdma_regbuf_dma_map (struct rpcrdma_xprt *r_xprt , struct rpcrdma_regbuf *rb );
ARGUMENTS r_xprt controlling transport instance
rb regbuf to be mapped
DESCRIPTION Returns true if the buffer is currently DMA mapped.
SEE ALSO Kernel... |
rpcrdma_regbuf_is_mapped(9) | NAME rpcrdma_regbuf_is_mapped - check if buffer is DMA mapped
SYNOPSIS bool rpcrdma_regbuf_is_mapped (struct rpcrdma_regbuf *rb );
ARGUMENTS rb -- undescribed --
DESCRIPTION Returns true if the buffer is now mapped to rb->rg_device.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/xprt_rdma.h rpcrdma_regbuf_dma_... |
rpcrdma_regbuf_realloc(9) | NAME rpcrdma_regbuf_realloc - re-allocate a SEND/RECV buffer
SYNOPSIS bool rpcrdma_regbuf_realloc (struct rpcrdma_regbuf *rb , size_t size , gfp_t flags );
ARGUMENTS rb regbuf to reallocate
size size of buffer to be allocated, in bytes
flags GFP flags
DESCRIPTION Returns true if... |
rpcrdma_remove_one(9) | NAME rpcrdma_remove_one - ib_client device removal callback
SYNOPSIS void rpcrdma_remove_one (struct ib_device *device , void *client_data );
ARGUMENTS device device about to be removed
client_data this module's private per-device data
DESCRIPTION Upon return, all transports associated with device have ... |
rpcrdma_rep_put(9) | NAME rpcrdma_rep_put - Release rpcrdma_rep back to free list
SYNOPSIS void rpcrdma_rep_put (struct rpcrdma_buffer *buf , struct rpcrdma_rep *rep );
ARGUMENTS buf buffer pool
rep rep to release
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnect(9), rpcrdma_wc_se... |
rpcrdma_reply_handler(9) | NAME rpcrdma_reply_handler - Process received RPC/RDMA messages
SYNOPSIS void rpcrdma_reply_handler (struct rpcrdma_rep *rep );
ARGUMENTS rep Incoming rpcrdma_rep object to process
DESCRIPTION Errors must result in the RPC task either being awakened, or allowed to timeout, to discover the errors at that time... |
rpcrdma_reply_put(9) | NAME rpcrdma_reply_put - Put reply buffers back into pool
SYNOPSIS void rpcrdma_reply_put (struct rpcrdma_buffer *buffers , struct rpcrdma_req *req );
ARGUMENTS buffers buffer pool
req object to return
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnect(9), rpcrdma_... |
rpcrdma_req_create(9) | NAME rpcrdma_req_create - Allocate an rpcrdma_req object
SYNOPSIS struct rpcrdma_req * rpcrdma_req_create (struct rpcrdma_xprt *r_xprt , size_t size );
ARGUMENTS r_xprt controlling r_xprt
size initial size, in bytes, of send and receive buffers
DESCRIPTION Returns an allocated and fully initializ... |
rpcrdma_req_destroy(9) | NAME rpcrdma_req_destroy - Destroy an rpcrdma_req object
SYNOPSIS void rpcrdma_req_destroy (struct rpcrdma_req *req );
ARGUMENTS req unused object to be destroyed
DESCRIPTION Relies on caller holding the transport send lock to protect removing req->rl_all from buf->rb_all_reqs safely.
SEE ALSO Kernel file... |
rpcrdma_req_setup(9) | NAME rpcrdma_req_setup - Per-connection instance setup of an rpcrdma_req object
SYNOPSIS int rpcrdma_req_setup (struct rpcrdma_xprt *r_xprt , struct rpcrdma_req *req );
ARGUMENTS r_xprt controlling transport instance
req rpcrdma_req object to set up
DESCRIPTION Returns zero on success, and a neg... |
rpcrdma_reset_cwnd(9) | NAME rpcrdma_reset_cwnd - Reset the xprt's congestion window
SYNOPSIS void rpcrdma_reset_cwnd (struct rpcrdma_xprt *r_xprt );
ARGUMENTS r_xprt controlling transport instance
DESCRIPTION Prepare r_xprt for the next connection by reinitializing its credit grant to one (see RFC 8166, Section 3.3.3).
SEE ALSO Kern... |
rpcrdma_rn_register(9) | NAME rpcrdma_rn_register - register to get device removal notifications
SYNOPSIS int rpcrdma_rn_register (struct ib_device *device , struct rpcrdma_notification *rn , void (*done)(struct rpcrdma_notification *rn) );
ARGUMENTS device device to monitor
rn notification object that wishes to be noti... |
rpcrdma_rn_unregister(9) | NAME rpcrdma_rn_unregister - stop device removal notifications
SYNOPSIS void rpcrdma_rn_unregister (struct ib_device *device , struct rpcrdma_notification *rn );
ARGUMENTS device monitored device
rn notification object that no longer wishes to be notified
SEE ALSO Kernel file ./net/sunrpc/xprtr... |
rpcrdma_sendctx_get_locked(9) | NAME rpcrdma_sendctx_get_locked - Acquire a send context
SYNOPSIS struct rpcrdma_sendctx * rpcrdma_sendctx_get_locked (struct rpcrdma_xprt *r_xprt );
ARGUMENTS r_xprt controlling transport instance
DESCRIPTION Returns pointer to a free send completion context; or NULL if the queue is empty. Usage: Called to ... |
rpcrdma_sendctx_put_locked(9) | NAME rpcrdma_sendctx_put_locked - Release a send context
SYNOPSIS void rpcrdma_sendctx_put_locked (struct rpcrdma_xprt *r_xprt , struct rpcrdma_sendctx *sc );
ARGUMENTS r_xprt controlling transport instance
sc send context to release
DESCRIPTION Usage: Called from Send completion to return a se... |
rpcrdma_sendctx_unmap(9) | NAME rpcrdma_sendctx_unmap - DMA-unmap Send buffer
SYNOPSIS void rpcrdma_sendctx_unmap (struct rpcrdma_sendctx *sc );
ARGUMENTS sc sendctx containing SGEs to unmap
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/rpc_rdma.c rpcrdma_set_max_header_sizes(9), rpcrdma_prepare_send_sges(9), rpcrdma_marshal_req(9)... |
rpcrdma_set_max_header_sizes(9) | NAME rpcrdma_set_max_header_sizes - Initialize inline payload sizes
SYNOPSIS void rpcrdma_set_max_header_sizes (struct rpcrdma_ep *ep );
ARGUMENTS ep endpoint to initialize
DESCRIPTION The max_inline fields contain the maximum size of an RPC message so the marshaling code doesn't have to repeat this calcula... |
rpcrdma_unpin_rqst(9) | NAME rpcrdma_unpin_rqst - Release rqst without completing it
SYNOPSIS void rpcrdma_unpin_rqst (struct rpcrdma_rep *rep );
ARGUMENTS rep RPC/RDMA Receive context
DESCRIPTION This is done when a connection is lost so that a Reply can be dropped and its matching Call can be subsequently retransmitted on a new c... |
rpcrdma_wc_receive(9) | NAME rpcrdma_wc_receive - Invoked by RDMA provider for each polled Receive WC
SYNOPSIS void rpcrdma_wc_receive (struct ib_cq *cq , struct ib_wc *wc );
ARGUMENTS cq completion queue
wc WCE for a completed Receive WR
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnec... |
rpcrdma_wc_send(9) | NAME rpcrdma_wc_send - Invoked by RDMA provider for each polled Send WC
SYNOPSIS void rpcrdma_wc_send (struct ib_cq *cq , struct ib_wc *wc );
ARGUMENTS cq completion queue
wc WCE for a completed Send WR
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnect(9), rpcrdma... |
rpcrdma_xprt_connect(9) | NAME rpcrdma_xprt_connect - Connect an unconnected transport
SYNOPSIS int rpcrdma_xprt_connect (struct rpcrdma_xprt *r_xprt );
ARGUMENTS r_xprt controlling transport instance
DESCRIPTION Returns 0 on success or a negative errno.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/verbs.c rpcrdma_flush_disconnect(9),... |
rpcrdma_xprt_disconnect(9) | NAME rpcrdma_xprt_disconnect - Disconnect underlying transport
SYNOPSIS void rpcrdma_xprt_disconnect (struct rpcrdma_xprt *r_xprt );
ARGUMENTS r_xprt controlling transport instance
DESCRIPTION Caller serializes. Either the transport send lock is held, or we're being called to destroy the transport. On return, ... |
rpi_firmware_get(9) | NAME rpi_firmware_get - Get pointer to rpi_firmware structure.
SYNOPSIS struct rpi_firmware * rpi_firmware_get (struct device_node *firmware_node );
ARGUMENTS firmware_node Pointer to the firmware Device Tree node.
DESCRIPTION The reference to rpi_firmware has to be released with rpi_firmware_put. Returns NULL is t... |
rpi_firmware_property(9) | NAME rpi_firmware_property - Submit single firmware property
SYNOPSIS int rpi_firmware_property (struct rpi_firmware *fw , u32 tag , void *tag_data , size_t buf_size );
ARGUMENTS fw Pointer to firmware structure from rpi_firmware_get.
tag One of enum_mbox_property_tag.
tag_data Tag... |
rpi_firmware_property_list(9) | NAME rpi_firmware_property_list - Submit firmware property list
SYNOPSIS int rpi_firmware_property_list (struct rpi_firmware *fw , void *data , size_t tag_size );
ARGUMENTS fw Pointer to firmware structure from rpi_firmware_get.
data Buffer holding tags.
tag_size Size of tags buffer... |
rpm_callback(9) | NAME rpm_callback - Run a given runtime PM callback for a given device.
SYNOPSIS int rpm_callback (int (*cb)(struct device *) , struct device *dev );
ARGUMENTS cb Runtime PM callback to run.
dev Device to run the callback for.
SEE ALSO Kernel file ./drivers/base/power/runtime.c update_pm_... |
rpm_check_suspend_allowed(9) | NAME rpm_check_suspend_allowed - Test whether a device may be suspended.
SYNOPSIS int rpm_check_suspend_allowed (struct device *dev );
ARGUMENTS dev Device to test.
SEE ALSO Kernel file ./drivers/base/power/runtime.c update_pm_runtime_accounting(9), pm_runtime_deactivate_timer(9), pm_runtime_cancel_pendin... |
rpm_idle(9) | NAME rpm_idle - Notify device bus type if the device can be suspended.
SYNOPSIS int rpm_idle (struct device *dev , int rpmflags );
ARGUMENTS dev Device to notify the bus type about.
rpmflags Flag bits.
DESCRIPTION Check if the device's runtime PM status allows it to be suspended. If another idle... |
rpm_regulator_init_vreg(9) | NAME rpm_regulator_init_vreg - initialize all attributes of a qcom_smd-regulator
SYNOPSIS int rpm_regulator_init_vreg (struct qcom_rpm_reg *vreg , struct device *dev , struct device_node *node , const struct rpm_regulator_data *pmic_rpm_data );
ARGUMENTS vreg Pointer to the individual qcom_smd-regulator resour... |
rpm_resume(9) | NAME rpm_resume - Carry out runtime resume of given device.
SYNOPSIS int rpm_resume (struct device *dev , int rpmflags );
ARGUMENTS dev Device to resume.
rpmflags Flag bits.
DESCRIPTION Check if the device's runtime PM status allows it to be resumed. Cancel any scheduled or pending requests. If ... |
rpm_suspend(9) | NAME rpm_suspend - Carry out runtime suspend of given device.
SYNOPSIS int rpm_suspend (struct device *dev , int rpmflags );
ARGUMENTS dev Device to suspend.
rpmflags Flag bits.
DESCRIPTION Check if the device's runtime PM status allows it to be suspended. Cancel a pending idle notification, auto... |
rpmatch(3) | NAME rpmatch - determine if the answer to a question is affirmative or negative
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
int rpmatch(const char *response);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
rpmatch():
Since glibc 2.19:
... |
rpmb_dev_find_device(9) | NAME rpmb_dev_find_device - return first matching rpmb device
SYNOPSIS struct rpmb_dev * rpmb_dev_find_device (const void *data , const struct rpmb_dev *start , int (*match)(struct device *dev, const void *data) );
ARGUMENTS data data for the match function
start rpmb device to begin with
... |
rpmb_dev_get(9) | NAME rpmb_dev_get - increase rpmb device ref counter
SYNOPSIS struct rpmb_dev * rpmb_dev_get (struct rpmb_dev *rdev );
ARGUMENTS rdev rpmb device
SEE ALSO Kernel file ./drivers/misc/rpmb-core.c rpmb_dev_put(9), rpmb_route_frames(9), rpmb_dev_find_device(9), rpmb_dev_unregister(9), rpmb_dev_register(9)
April ... |
rpmb_dev_put(9) | NAME rpmb_dev_put - decrease rpmb device ref counter
SYNOPSIS void rpmb_dev_put (struct rpmb_dev *rdev );
ARGUMENTS rdev rpmb device
SEE ALSO Kernel file ./drivers/misc/rpmb-core.c rpmb_dev_get(9), rpmb_route_frames(9), rpmb_dev_find_device(9), rpmb_dev_unregister(9), rpmb_dev_register(9)
April 2026 ... |
rpmb_dev_register(9) | NAME rpmb_dev_register - register RPMB partition with the RPMB subsystem
SYNOPSIS struct rpmb_dev * rpmb_dev_register (struct device *dev , struct rpmb_descr *descr );
ARGUMENTS dev storage device of the rpmb device
descr RPMB device description
DESCRIPTION While registering the RPMB partition ... |
rpmb_dev_unregister(9) | NAME rpmb_dev_unregister - unregister RPMB partition from the RPMB subsystem
SYNOPSIS int rpmb_dev_unregister (struct rpmb_dev *rdev );
ARGUMENTS rdev the rpmb device to unregister
DESCRIPTION This function should be called from the release function of the underlying device used when the RPMB device was regis... |
rpmb_route_frames(9) | NAME rpmb_route_frames - route rpmb frames to rpmb device
SYNOPSIS int rpmb_route_frames (struct rpmb_dev *rdev , u8 *req , unsigned int req_len , u8 *rsp , unsigned int rsp_len );
ARGUMENTS rdev rpmb device
req rpmb request frames
req_len length of rpmb request frames in bytes
... |
rpmh_flush(9) | NAME rpmh_flush - Flushes the buffered sleep and wake sets to TCSes
SYNOPSIS int rpmh_flush (struct rpmh_ctrlr *ctrlr );
ARGUMENTS ctrlr Controller making request to flush cached data
RETURN * 0 - Success * Error code - Otherwise
SEE ALSO Kernel file ./drivers/soc/qcom/rpmh.c struct cache_req(9), str... |
rpmh_invalidate(9) | NAME rpmh_invalidate - Invalidate sleep and wake sets in batch_cache
SYNOPSIS void rpmh_invalidate (const struct device *dev );
ARGUMENTS dev The device making the request
DESCRIPTION Invalidate the sleep and wake values in batch_cache.
SEE ALSO Kernel file ./drivers/soc/qcom/rpmh.c struct cache_req(9), str... |
rpmh_regulator_init_vreg(9) | NAME rpmh_regulator_init_vreg - initialize all attributes of an rpmh-regulator
SYNOPSIS int rpmh_regulator_init_vreg (struct rpmh_vreg *vreg , struct device *dev , struct device_node *node , const char *pmic_id , const struct rpmh_vreg_init_data *pmic_rpmh_data );
ARGUMENTS vreg Pointer to the individual rpmh-... |
rpmh_regulator_send_request(9) | NAME rpmh_regulator_send_request - send the request to RPMh
SYNOPSIS int rpmh_regulator_send_request (struct rpmh_vreg *vreg , struct tcs_cmd *cmd , bool wait_for_ack );
ARGUMENTS vreg Pointer to the RPMh regulator
cmd Pointer to the RPMh command to send
wait_for_ack
... |
rpmh_regulator_vrm_get_optimum_mode(9) | NAME rpmh_regulator_vrm_get_optimum_mode - get the mode based on the load
SYNOPSIS unsigned int rpmh_regulator_vrm_get_optimum_mode (struct regulator_dev *rdev , int input_uV , int output_uV , int load_uA );
ARGUMENTS rdev Regulator device pointer for the rpmh-regulator
input_uV Input voltage
... |
rpmh_rsc_cpu_pm_callback(9) | NAME rpmh_rsc_cpu_pm_callback - Check if any of the AMCs are busy.
SYNOPSIS int rpmh_rsc_cpu_pm_callback (struct notifier_block *nfb , unsigned long action , void *v );
ARGUMENTS nfb Pointer to the notifier block in struct rsc_drv.
action CPU_PM_ENTER, CPU_PM_ENTER_FAILED, or CPU_PM_EXIT.
... |
rpmh_rsc_ctrlr_is_busy(9) | NAME rpmh_rsc_ctrlr_is_busy - Check if any of the AMCs are busy.
SYNOPSIS bool rpmh_rsc_ctrlr_is_busy (struct rsc_drv *drv );
ARGUMENTS drv The controller
DESCRIPTION Checks if any of the AMCs are busy in handling ACTIVE sets. This is called from the last cpu powering down before flushing SLEEP and WAKE se... |
rpmh_rsc_invalidate(9) | NAME rpmh_rsc_invalidate - Invalidate sleep and wake TCSes.
SYNOPSIS void rpmh_rsc_invalidate (struct rsc_drv *drv );
ARGUMENTS drv The RSC controller.
DESCRIPTION The caller must ensure that no other RPMH actions are happening when this function is called, since otherwise the device may immediately become u... |
rpmh_rsc_pd_callback(9) | NAME rpmh_rsc_pd_callback - Check if any of the AMCs are busy.
SYNOPSIS int rpmh_rsc_pd_callback (struct notifier_block *nfb , unsigned long action , void *v );
ARGUMENTS nfb Pointer to the genpd notifier block in struct rsc_drv.
action GENPD_NOTIFY_PRE_OFF, GENPD_NOTIFY_OFF, GENPD_NOTIFY_PRE_ON ... |
rpmh_rsc_send_data(9) | NAME rpmh_rsc_send_data - Write / trigger active-only message.
SYNOPSIS int rpmh_rsc_send_data (struct rsc_drv *drv , const struct tcs_request *msg );
ARGUMENTS drv The controller.
msg The data to be sent.
NOTES - This is only used for "ACTIVE_ONLY" since the limitations of this function do... |
rpmh_rsc_write_ctrl_data(9) | NAME rpmh_rsc_write_ctrl_data - Write request to controller but don't trigger.
SYNOPSIS int rpmh_rsc_write_ctrl_data (struct rsc_drv *drv , const struct tcs_request *msg );
ARGUMENTS drv The controller.
msg The data to be written to the controller.
DESCRIPTION This should only be called for s... |
rpmh_rsc_write_next_wakeup(9) | NAME rpmh_rsc_write_next_wakeup - Write next wakeup in CONTROL_TCS.
SYNOPSIS void rpmh_rsc_write_next_wakeup (struct rsc_drv *drv );
ARGUMENTS drv The controller
DESCRIPTION Writes maximum wakeup cycles when called from suspend. Writes earliest hrtimer wakeup when called from idle.
SEE ALSO Kernel file ... |
rpmh_write(9) | NAME rpmh_write - Write a set of RPMH commands and block until response
SYNOPSIS int rpmh_write (const struct device *dev , enum rpmh_state state , const struct tcs_cmd *cmd , u32 n );
ARGUMENTS dev The device making the request
state Active/sleep set
cmd The payload data
... |
rpmh_write_async(9) | NAME rpmh_write_async - Write a set of RPMH commands
SYNOPSIS int rpmh_write_async (const struct device *dev , enum rpmh_state state , const struct tcs_cmd *cmd , u32 n );
ARGUMENTS dev The device making the request
state Active/sleep set
cmd The payload data
n ... |
rpmh_write_batch(9) | NAME rpmh_write_batch - Write multiple sets of RPMH commands and wait for the batch to finish.
SYNOPSIS int rpmh_write_batch (const struct device *dev , enum rpmh_state state , const struct tcs_cmd *cmd , u32 *n );
ARGUMENTS dev the device making the request
state Active/sleep set
cmd ... |
rpmsg_chrdev_eptdev_create(9) | NAME rpmsg_chrdev_eptdev_create - register char device based on an endpoint
SYNOPSIS int rpmsg_chrdev_eptdev_create (struct rpmsg_device *rpdev , struct device *parent , struct rpmsg_channel_info chinfo );
ARGUMENTS rpdev prepared rpdev to be used for creating endpoints
parent parent device
... |
rpmsg_chrdev_eptdev_destroy(9) | NAME rpmsg_chrdev_eptdev_destroy - destroy created char device endpoint.
SYNOPSIS int rpmsg_chrdev_eptdev_destroy (struct device *dev , void *data );
ARGUMENTS dev -- undescribed --
data private data associated to the endpoint device
DESCRIPTION This function destroys a rpmsg char endpoint dev... |
rpmsg_create_channel(9) | NAME rpmsg_create_channel - create a new rpmsg channel using its name and address info.
SYNOPSIS struct rpmsg_device * rpmsg_create_channel (struct rpmsg_device *rpdev , struct rpmsg_channel_info *chinfo );
ARGUMENTS rpdev rpmsg device
chinfo channel_info to bind
RETURN a pointer to the new rpmsg ... |
rpmsg_create_ept(9) | NAME rpmsg_create_ept - create a new rpmsg_endpoint
SYNOPSIS struct rpmsg_endpoint * rpmsg_create_ept (struct rpmsg_device *rpdev , rpmsg_rx_cb_t cb , void *priv , struct rpmsg_channel_info chinfo );
ARGUMENTS rpdev rpmsg channel device
cb rx callback handler
priv private data fo... |
rpmsg_ctrldev_register_device(9) | NAME rpmsg_ctrldev_register_device - register a char device for control based on rpdev
SYNOPSIS int rpmsg_ctrldev_register_device (struct rpmsg_device *rpdev );
ARGUMENTS rpdev prepared rpdev to be used for creating endpoints
DESCRIPTION This function wraps rpmsg_register_device preparing the rpdev for use as ... |
rpmsg_destroy_ept(9) | NAME rpmsg_destroy_ept - destroy an existing rpmsg endpoint
SYNOPSIS void rpmsg_destroy_ept (struct rpmsg_endpoint *ept );
ARGUMENTS ept endpoing to destroy
DESCRIPTION Should be used by drivers to destroy an rpmsg endpoint previously created with rpmsg_create_ept. As with other types of "free" NULL is a val... |
rpmsg_get_mtu(9) | NAME rpmsg_get_mtu - get maximum transmission buffer size for sending message.
SYNOPSIS ssize_t rpmsg_get_mtu (struct rpmsg_endpoint *ept );
ARGUMENTS ept the rpmsg endpoint
DESCRIPTION This function returns maximum buffer size available for a single outgoing message.
RETURN the maximum transmission size on... |
rpmsg_ns_register_device(9) | NAME rpmsg_ns_register_device - register name service device based on rpdev
SYNOPSIS int rpmsg_ns_register_device (struct rpmsg_device *rpdev );
ARGUMENTS rpdev prepared rpdev to be used for creating endpoints
DESCRIPTION This function wraps rpmsg_register_device preparing the rpdev for use as basis for the rp... |
rpmsg_poll(9) | NAME rpmsg_poll - poll the endpoint's send buffers
SYNOPSIS __poll_t rpmsg_poll (struct rpmsg_endpoint *ept , struct file *filp , poll_table *wait );
ARGUMENTS ept the rpmsg endpoint
filp file for poll_wait
wait poll_table for poll_wait
RETURN mask representing the current state... |
rpmsg_release_channel(9) | NAME rpmsg_release_channel - release a rpmsg channel using its name and address info.
SYNOPSIS int rpmsg_release_channel (struct rpmsg_device *rpdev , struct rpmsg_channel_info *chinfo );
ARGUMENTS rpdev rpmsg device
chinfo channel_info to bind
RETURN 0 on success or an appropriate error value.
S... |
rpmsg_send(9) | NAME rpmsg_send - send a message across to the remote processor
SYNOPSIS int rpmsg_send (struct rpmsg_endpoint *ept , void *data , int len );
ARGUMENTS ept the rpmsg endpoint
data payload of message
len length of payload
DESCRIPTION This function sends data of length len on t... |
rpmsg_send_offchannel_raw(9) | NAME rpmsg_send_offchannel_raw - send a message across to the remote processor
SYNOPSIS int rpmsg_send_offchannel_raw (struct rpmsg_device *rpdev , u32 src , u32 dst , void *data , int len , bool wait );
ARGUMENTS rpdev the rpmsg channel
src source address
dst destination address... |
rpmsg_sendto(9) | NAME rpmsg_sendto - send a message across to the remote processor, specify dst
SYNOPSIS int rpmsg_sendto (struct rpmsg_endpoint *ept , void *data , int len , u32 dst );
ARGUMENTS ept the rpmsg endpoint
data payload of message
len length of payload
dst destination... |
rpmsg_set_flow_control(9) | NAME rpmsg_set_flow_control - request remote to pause/resume transmission
SYNOPSIS int rpmsg_set_flow_control (struct rpmsg_endpoint *ept , bool pause , u32 dst );
ARGUMENTS ept the rpmsg endpoint
pause pause transmission
dst destination address of the endpoint
RETURN 0 on succe... |
rpmsg_sg_init(9) | NAME rpmsg_sg_init - initialize scatterlist according to cpu address location
SYNOPSIS void rpmsg_sg_init (struct scatterlist *sg , void *cpu_addr , unsigned int len );
ARGUMENTS sg scatterlist to fill
cpu_addr virtual address of the buffer
len buffer length
DESCRIPTION An interna... |
rpmsg_trysend(9) | NAME rpmsg_trysend - send a message across to the remote processor
SYNOPSIS int rpmsg_trysend (struct rpmsg_endpoint *ept , void *data , int len );
ARGUMENTS ept the rpmsg endpoint
data payload of message
len length of payload
DESCRIPTION This function sends data of length len ... |
rpmsg_trysendto(9) | NAME rpmsg_trysendto - send a message across to the remote processor, specify dst
SYNOPSIS int rpmsg_trysendto (struct rpmsg_endpoint *ept , void *data , int len , u32 dst );
ARGUMENTS ept the rpmsg endpoint
data payload of message
len length of payload
dst desti... |
rport_dev_loss_timedout(9) | NAME rport_dev_loss_timedout - device loss timeout handler
SYNOPSIS void rport_dev_loss_timedout (struct work_struct *work );
ARGUMENTS work Work structure used for scheduling this operation.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_srp.c srp_tmo_valid(9), srp_reconnect_work(9), rport_fast_i... |
rport_fast_io_fail_timedout(9) | NAME rport_fast_io_fail_timedout - fast I/O failure timeout handler
SYNOPSIS void rport_fast_io_fail_timedout (struct work_struct *work );
ARGUMENTS work Work structure used for scheduling this operation.
SEE ALSO Kernel file ./drivers/scsi/scsi_transport_srp.c srp_tmo_valid(9), srp_reconnect_work(9),... |
rpr0521_set_power_state(9) | NAME rpr0521_set_power_state - handles runtime PM state and sensors enabled status
SYNOPSIS int rpr0521_set_power_state (struct rpr0521_data *data , bool on , u8 device_mask );
ARGUMENTS data rpr0521 device private data
on state to be set for devices in device_mask
device_mask bitmask ... |
rproc_add(9) | NAME rproc_add - register a remote processor
SYNOPSIS int rproc_add (struct rproc *rproc );
ARGUMENTS rproc the remote processor handle to register
DESCRIPTION Registers rproc with the remoteproc framework, after it has been allocated with rproc_alloc. This is called by the platform-specific rproc implementat... |
rproc_add_carveout(9) | NAME rproc_add_carveout - register an allocated carveout region
SYNOPSIS void rproc_add_carveout (struct rproc *rproc , struct rproc_mem_entry *mem );
ARGUMENTS rproc rproc handle
mem memory entry to register
DESCRIPTION This function registers specified memory entry in rproc carveouts list. S... |
rproc_add_subdev(9) | NAME rproc_add_subdev - add a subdevice to a remoteproc
SYNOPSIS void rproc_add_subdev (struct rproc *rproc , struct rproc_subdev *subdev );
ARGUMENTS rproc rproc handle to add the subdevice to
subdev subdev handle to register
DESCRIPTION Caller is responsible for populating optional subdevice fun... |
rproc_add_virtio_dev(9) | NAME rproc_add_virtio_dev - register an rproc-induced virtio device
SYNOPSIS int rproc_add_virtio_dev (struct rproc_vdev *rvdev , int id );
ARGUMENTS rvdev the remote vdev
id the device type identification (used to match it with a driver).
DESCRIPTION This function registers a virtio device. T... |
rproc_alloc(9) | NAME rproc_alloc - allocate a remote processor handle
SYNOPSIS struct rproc * rproc_alloc (struct device *dev , const char *name , const struct rproc_ops *ops , const char *firmware , int len );
ARGUMENTS dev the underlying device
name name of this remote processor
ops platform-... |
rproc_alloc_carveout(9) | NAME rproc_alloc_carveout - allocated specified carveout
SYNOPSIS int rproc_alloc_carveout (struct rproc *rproc , struct rproc_mem_entry *mem );
ARGUMENTS rproc rproc handle
mem the memory entry to allocate
DESCRIPTION This function allocate specified memory entry mem using dma_alloc_coherent a... |
rproc_alloc_registered_carveouts(9) | NAME rproc_alloc_registered_carveouts - allocate all carveouts registered in the list
SYNOPSIS int rproc_alloc_registered_carveouts (struct rproc *rproc );
ARGUMENTS rproc the remote processor handle
DESCRIPTION This function parses registered carveout list, performs allocation if alloc ops registered and upda... |
rproc_boot(9) | NAME rproc_boot - boot a remote processor
SYNOPSIS int rproc_boot (struct rproc *rproc );
ARGUMENTS rproc handle of a remote processor
DESCRIPTION Boot a remote processor (i.e. load its firmware, power it on, ...). If the remote processor is already powered on, this function immediately returns (successfully)... |
rproc_check_carveout_da(9) | NAME rproc_check_carveout_da - Check specified carveout da configuration
SYNOPSIS int rproc_check_carveout_da (struct rproc *rproc , struct rproc_mem_entry *mem , u32 da , u32 len );
ARGUMENTS rproc handle of a remote processor
mem pointer on carveout to check
da area device add... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.