id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
media_entity_remote_pad_unique(9) | NAME media_entity_remote_pad_unique - Find a remote pad connected to an entity
SYNOPSIS struct media_pad * media_entity_remote_pad_unique (const struct media_entity *entity , unsigned int type );
ARGUMENTS entity The entity
type The type of pad to find (MEDIA_PAD_FL_SINK or MEDIA_PAD_FL_SOURCE)
D... |
media_entity_remote_source_pad_unique(9) | NAME media_entity_remote_source_pad_unique - Find a remote source pad connected to an entity
SYNOPSIS struct media_pad * media_entity_remote_source_pad_unique (const struct media_entity *entity );
ARGUMENTS entity The entity
DESCRIPTION Search for and return a remote source pad connected to entity through ... |
media_entity_remove_links(9) | NAME media_entity_remove_links - remove all links associated with an entity
SYNOPSIS void media_entity_remove_links (struct media_entity *entity );
ARGUMENTS entity pointer to media_entity
DESCRIPTION .. note:: This is called automatically when an entity is unregistered via media_device_register_entity.
SEE AL... |
media_entity_setup_link(9) | NAME media_entity_setup_link - changes the link flags properties in runtime
SYNOPSIS int media_entity_setup_link (struct media_link *link , u32 flags );
ARGUMENTS link pointer to media_link
flags the requested new link flags
DESCRIPTION The only configurable property is the MEDIA_LNK_FL_ENABL... |
media_entity_to_v4l2_subdev(9) | NAME media_entity_to_v4l2_subdev - Returns a &struct v4l2_subdev from the &struct media_entity embedded in it.
SYNOPSIS media_entity_to_v4l2_subdev (ent );
ARGUMENTS ent pointer to struct media_entity.
SEE ALSO Kernel file ./include/media/v4l2-subdev.h struct v4l2_decode_vbi_line(9), enum v4l2_subdev_i... |
media_entity_to_video_device(9) | NAME media_entity_to_video_device - Returns a &struct video_device from the &struct media_entity embedded on it.
SYNOPSIS media_entity_to_video_device (__entity );
ARGUMENTS __entity pointer to struct media_entity, may be NULL
SEE ALSO Kernel file ./include/media/v4l2-dev.h enum vfl_devnode_type(9), enum vf... |
media_find_id(9) | NAME media_find_id - locates specified media object by type identifier
SYNOPSIS struct tipc_media * media_find_id (u8 type );
ARGUMENTS type type identifier to locate
SEE ALSO Kernel file ./net/tipc/bearer.c tipc_media_find(9), tipc_media_addr_printf(9), bearer_name_validate(9), tipc_bearer_find(9), ... |
media_get_pad_index(9) | NAME media_get_pad_index - retrieves a pad index from an entity
SYNOPSIS int media_get_pad_index (struct media_entity *entity , u32 pad_type , enum media_pad_signal_type sig_type );
ARGUMENTS entity entity where the pads belong
pad_type the type of the pad, one of MEDIA_PAD_FL_* pad types
sig_... |
media_gobj_create(9) | NAME media_gobj_create - Initialize a graph object
SYNOPSIS void media_gobj_create (struct media_device *mdev , enum media_gobj_type type , struct media_gobj *gobj );
ARGUMENTS mdev Pointer to the media_device that contains the object
type Type of the object
gobj Pointer to the st... |
media_gobj_destroy(9) | NAME media_gobj_destroy - Stop using a graph object on a media device
SYNOPSIS void media_gobj_destroy (struct media_gobj *gobj );
ARGUMENTS gobj Pointer to the struct media_gobj graph object
DESCRIPTION This should be called by all routines like media_device_unregister that remove/destroy media graph objects... |
media_gobj_gen_id(9) | NAME media_gobj_gen_id - encapsulates type and ID on at the object ID
SYNOPSIS u32 media_gobj_gen_id (enum media_gobj_type type , u64 local_id );
ARGUMENTS type object type as define at enum media_gobj_type.
local_id next ID, from struct media_device.id.
SEE ALSO Kernel file ./include/media/media... |
media_graph_walk_cleanup(9) | NAME media_graph_walk_cleanup - Release resources used by graph walk.
SYNOPSIS void media_graph_walk_cleanup (struct media_graph *graph );
ARGUMENTS graph Media graph structure that will be used to walk the graph
DESCRIPTION This function is deprecated, use media_pipeline_for_each_pad instead.
SEE ALSO Kernel... |
media_graph_walk_init(9) | NAME media_graph_walk_init - Allocate resources used by graph walk.
SYNOPSIS int media_graph_walk_init (struct media_graph *graph , struct media_device *mdev );
ARGUMENTS graph Media graph structure that will be used to walk the graph
mdev Pointer to the media_device that contains the object
DES... |
media_graph_walk_next(9) | NAME media_graph_walk_next - Get the next entity in the graph
SYNOPSIS struct media_entity * media_graph_walk_next (struct media_graph *graph );
ARGUMENTS graph Media graph structure
DESCRIPTION This function is deprecated, use media_pipeline_for_each_pad instead. Perform a depth-first traversal of the ... |
media_graph_walk_start(9) | NAME media_graph_walk_start - Start walking the media graph at a given entity
SYNOPSIS void media_graph_walk_start (struct media_graph *graph , struct media_entity *entity );
ARGUMENTS graph Media graph structure that will be used to walk the graph
entity Starting entity
DESCRIPTION This function... |
media_id(9) | NAME media_id - return the media object ID
SYNOPSIS u32 media_id (struct media_gobj *gobj );
ARGUMENTS gobj Pointer to the struct media_gobj graph object
SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), struct media_entity_enum(9), struct media_graph... |
media_pad_is_streaming(9) | NAME media_pad_is_streaming - Test if a pad is part of a streaming pipeline
SYNOPSIS bool media_pad_is_streaming (const struct media_pad *pad );
ARGUMENTS pad The pad
RETURN True if the pad is part of a pipeline started with the media_pipeline_start function, false otherwise.
SEE ALSO Kernel file ./includ... |
media_pad_pipeline(9) | NAME media_pad_pipeline - Get the media pipeline a pad is part of
SYNOPSIS struct media_pipeline * media_pad_pipeline (struct media_pad *pad );
ARGUMENTS pad The pad
DESCRIPTION This function returns the media pipeline that a pad has been associated with when constructing the pipeline with media_pipeline_sta... |
media_pad_remote_pad_first(9) | NAME media_pad_remote_pad_first - Find the first pad at the remote end of a link
SYNOPSIS struct media_pad * media_pad_remote_pad_first (const struct media_pad *pad );
ARGUMENTS pad Pad at the local end of the link
DESCRIPTION Search for a remote pad connected to the given pad by iterating over all links ori... |
media_pad_remote_pad_unique(9) | NAME media_pad_remote_pad_unique - Find a remote pad connected to a pad
SYNOPSIS struct media_pad * media_pad_remote_pad_unique (const struct media_pad *pad );
ARGUMENTS pad The pad
DESCRIPTION Search for and return a remote pad connected to pad through an enabled link. If multiple (or no) remote pads ar... |
media_pipeline_alloc_start(9) | NAME media_pipeline_alloc_start - Mark a pipeline as streaming
SYNOPSIS int media_pipeline_alloc_start (struct media_pad *pad );
ARGUMENTS pad Starting pad
DESCRIPTION media_pipeline_alloc_start is similar to media_pipeline_start but instead of working on a given pipeline the function will use an existin... |
media_pipeline_entity_iter_cleanup(9) | NAME media_pipeline_entity_iter_cleanup - Destroy a pipeline entity iterator
SYNOPSIS void media_pipeline_entity_iter_cleanup (struct media_pipeline_entity_iter *iter );
ARGUMENTS iter The iterator
DESCRIPTION This function must be called to destroy iterators initialized with media_pipeline_entity_iter_init.
... |
media_pipeline_entity_iter_init(9) | NAME media_pipeline_entity_iter_init - Initialize a pipeline entity iterator
SYNOPSIS int media_pipeline_entity_iter_init (struct media_pipeline *pipe , struct media_pipeline_entity_iter *iter );
ARGUMENTS pipe The pipeline
iter The iterator
DESCRIPTION This function must be called to initializ... |
media_pipeline_for_each_entity(9) | NAME media_pipeline_for_each_entity - Iterate on all entities in a media pipeline
SYNOPSIS media_pipeline_for_each_entity (pipe , iter , entity );
ARGUMENTS pipe The pipeline
iter The iterator (struct media_pipeline_entity_iter)
entity The iterator entity
DESCRIPTION Iterate on al... |
media_pipeline_for_each_pad(9) | NAME media_pipeline_for_each_pad - Iterate on all pads in a media pipeline
SYNOPSIS media_pipeline_for_each_pad (pipe , iter , pad );
ARGUMENTS pipe The pipeline
iter The iterator (struct media_pipeline_pad_iter)
pad The iterator pad
DESCRIPTION Iterate on all pads in a media pi... |
media_pipeline_start(9) | NAME media_pipeline_start - Mark a pipeline as streaming
SYNOPSIS int media_pipeline_start (struct media_pad *origin , struct media_pipeline *pipe );
ARGUMENTS origin Starting pad
pipe Media pipeline to be assigned to all pads in the pipeline.
DESCRIPTION Mark all pads connected to pad origin t... |
media_pipeline_stop(9) | NAME media_pipeline_stop - Mark a pipeline as not streaming
SYNOPSIS void media_pipeline_stop (struct media_pad *pad );
ARGUMENTS pad Starting pad
DESCRIPTION Mark all pads connected to a given pad through enabled links, either directly or indirectly, as not streaming. The media_pad pipe field is reset to NU... |
media_remove_intf_link(9) | NAME media_remove_intf_link - remove a single interface link
SYNOPSIS void media_remove_intf_link (struct media_link *link );
ARGUMENTS link pointer to media_link.
DESCRIPTION .. note:: Prefer to use this one, instead of __media_remove_intf_link
SEE ALSO Kernel file ./include/media/media-entity.h enum me... |
media_remove_intf_links(9) | NAME media_remove_intf_links - remove all links associated with an interface
SYNOPSIS void media_remove_intf_links (struct media_interface *intf );
ARGUMENTS intf pointer to media_interface
DESCRIPTION .. note:: #) This is called automatically when an entity is unregistered via media_device_register_entity an... |
media_request_alloc(9) | NAME media_request_alloc - Allocate the media request
SYNOPSIS int media_request_alloc (struct media_device *mdev , int *alloc_fd );
ARGUMENTS mdev Media device this request belongs to
alloc_fd Store the request's file descriptor in this int
DESCRIPTION Allocated the media request and put the fd in... |
media_request_get(9) | NAME media_request_get - Get the media request
SYNOPSIS void media_request_get (struct media_request *req );
ARGUMENTS req The media request
DESCRIPTION Get the media request.
SEE ALSO Kernel file ./include/media/media-request.h enum media_request_state(9), struct media_request(9), media_request_lock_for_... |
media_request_get_by_fd(9) | NAME media_request_get_by_fd - Get a media request by fd
SYNOPSIS struct media_request * media_request_get_by_fd (struct media_device *mdev , int request_fd );
ARGUMENTS mdev Media device this request belongs to
request_fd The file descriptor of the request
DESCRIPTION Get the request represented by ... |
media_request_lock_for_access(9) | NAME media_request_lock_for_access - Lock the request to access its objects
SYNOPSIS int media_request_lock_for_access (struct media_request *req );
ARGUMENTS req The media request
DESCRIPTION Use before accessing a completed request. A reference to the request must be held during the access. This usually ta... |
media_request_lock_for_update(9) | NAME media_request_lock_for_update - Lock the request for updating its objects
SYNOPSIS int media_request_lock_for_update (struct media_request *req );
ARGUMENTS req The media request
DESCRIPTION Use before updating a request, i.e. adding, modifying or removing a request object in it. A reference to the r... |
media_request_manual_complete(9) | NAME media_request_manual_complete - Mark the request as completed
SYNOPSIS void media_request_manual_complete (struct media_request *req );
ARGUMENTS req The request
DESCRIPTION This function completes a request that was marked for manual completion by an earlier call to media_request_mark_manual_complet... |
media_request_mark_manual_completion(9) | NAME media_request_mark_manual_completion - Enable manual completion
SYNOPSIS void media_request_mark_manual_completion (struct media_request *req );
ARGUMENTS req The request
DESCRIPTION Mark that the request has to be manually completed by calling media_request_manual_complete. This function shall be call... |
media_request_object_bind(9) | NAME media_request_object_bind - Bind a media request object to a request
SYNOPSIS int media_request_object_bind (struct media_request *req , const struct media_request_object_ops *ops , void *priv , bool is_buffer , struct media_request_object *obj );
ARGUMENTS req The media request
ops The o... |
media_request_object_complete(9) | NAME media_request_object_complete - Mark the media request object as complete
SYNOPSIS void media_request_object_complete (struct media_request_object *obj );
ARGUMENTS obj The object
DESCRIPTION Mark the media request object as complete. Only bound objects can be completed.
SEE ALSO Kernel file ./includ... |
media_request_object_find(9) | NAME media_request_object_find - Find an object in a request
SYNOPSIS struct media_request_object * media_request_object_find (struct media_request *req , const struct media_request_object_ops *ops , void *priv );
ARGUMENTS req The media request
ops Find an object with this ops value
p... |
media_request_object_get(9) | NAME media_request_object_get - Get a media request object
SYNOPSIS void media_request_object_get (struct media_request_object *obj );
ARGUMENTS obj The object
DESCRIPTION Get a media request object.
SEE ALSO Kernel file ./include/media/media-request.h enum media_request_state(9), struct media_request(9),... |
media_request_object_init(9) | NAME media_request_object_init - Initialise a media request object
SYNOPSIS void media_request_object_init (struct media_request_object *obj );
ARGUMENTS obj The object
DESCRIPTION Initialise a media request object. The object will be released using the release callback of the ops once it has no references (... |
media_request_object_put(9) | NAME media_request_object_put - Put a media request object
SYNOPSIS void media_request_object_put (struct media_request_object *obj );
ARGUMENTS obj The object
DESCRIPTION Put a media request object. Once all references are gone, the object's memory is released.
SEE ALSO Kernel file ./include/media/media-... |
media_request_object_unbind(9) | NAME media_request_object_unbind - Unbind a media request object
SYNOPSIS void media_request_object_unbind (struct media_request_object *obj );
ARGUMENTS obj The object
DESCRIPTION Unbind the media request object from the request.
SEE ALSO Kernel file ./include/media/media-request.h enum media_request_sta... |
media_request_put(9) | NAME media_request_put - Put the media request
SYNOPSIS void media_request_put (struct media_request *req );
ARGUMENTS req The media request
DESCRIPTION Put the media request. The media request will be released when the refcount reaches 0.
SEE ALSO Kernel file ./include/media/media-request.h enum media_re... |
media_request_unlock_for_access(9) | NAME media_request_unlock_for_access - Unlock a request previously locked for access
SYNOPSIS void media_request_unlock_for_access (struct media_request *req );
ARGUMENTS req The media request
DESCRIPTION Unlock a request that has previously been locked using media_request_lock_for_access.
SEE ALSO Kernel ... |
media_request_unlock_for_update(9) | NAME media_request_unlock_for_update - Unlock a request previously locked for update
SYNOPSIS void media_request_unlock_for_update (struct media_request *req );
ARGUMENTS req The media request
DESCRIPTION Unlock a request that has previously been locked using media_request_lock_for_update.
SEE ALSO Kernel ... |
media_set_bus_info(9) | NAME media_set_bus_info - Set bus_info field
SYNOPSIS void media_set_bus_info (char *bus_info , size_t bus_info_size , struct device *dev );
ARGUMENTS bus_info Variable where to write the bus info (char array)
bus_info_size
Length of the bus_info
dev Related struct device... |
media_type(9) | NAME media_type - return the media object type
SYNOPSIS enum media_gobj_type media_type (struct media_gobj *gobj );
ARGUMENTS gobj Pointer to the struct media_gobj graph object
SEE ALSO Kernel file ./include/media/media-entity.h enum media_gobj_type(9), struct media_gobj(9), struct media_entity_enum(9... |
mega_adapinq(9) | NAME mega_adapinq -
SYNOPSIS int mega_adapinq (adapter_t *adapter , dma_addr_t dma_handle );
ARGUMENTS adapter pointer to our soft state
dma_handle DMA address of the buffer
DESCRIPTION Issue internal commands while interrupts are available. We only issue direct mailbox commands from within the driver.... |
mega_allocate_inquiry(9) | NAME mega_allocate_inquiry -
SYNOPSIS void * mega_allocate_inquiry (dma_addr_t *dma_handle , struct pci_dev *pdev );
ARGUMENTS dma_handle handle returned for dma address
pdev handle to pci device
DESCRIPTION allocates memory for inquiry structure
SEE ALSO Kernel file ./drivers/scsi/megaraid.c meg... |
mega_allocate_scb(9) | NAME mega_allocate_scb -
SYNOPSIS scb_t * mega_allocate_scb (adapter_t *adapter , struct scsi_cmnd *cmd );
ARGUMENTS adapter pointer to our soft state
cmd scsi command from the mid-layer
DESCRIPTION Allocate a SCB structure. This is the central structure for controller commands.
SEE ALSO Kernel ... |
mega_build_cmd(9) | NAME mega_build_cmd -
SYNOPSIS scb_t * mega_build_cmd (adapter_t *adapter , struct scsi_cmnd *cmd , enum scsi_qc_status *busy );
ARGUMENTS adapter pointer to our soft state
cmd Prepare using this scsi command
busy busy flag if no resources
DESCRIPTION Prepares a command and scatter... |
mega_cmd_done(9) | NAME mega_cmd_done -
SYNOPSIS void mega_cmd_done (adapter_t *adapter , u8 completed[] , int nstatus , int status );
ARGUMENTS adapter pointer to our soft state
completed array of ids of completed commands
nstatus number of completed commands
status status of the last command com... |
mega_create_proc_entry(9) | NAME mega_create_proc_entry -
SYNOPSIS void mega_create_proc_entry (int index , struct proc_dir_entry *parent );
ARGUMENTS index index in soft state array
parent parent node for this /proc entry
DESCRIPTION Creates /proc entries for our controllers.
SEE ALSO Kernel file ./drivers/scsi/megaraid.... |
mega_del_logdrv(9) | NAME mega_del_logdrv -
SYNOPSIS int mega_del_logdrv (adapter_t *adapter , int logdrv );
ARGUMENTS adapter pointer to our soft state
logdrv logical drive to be deleted
DESCRIPTION Delete the specified logical drive. It is the responsibility of the user app to let the OS know about this operation.
SE... |
mega_div64_32(9) | NAME mega_div64_32 - Do a 64-bit division
SYNOPSIS u64 mega_div64_32 (uint64_t dividend , uint32_t divisor );
ARGUMENTS dividend Dividend
divisor Divisor
DESCRIPTION return quotient
SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fp.c
April 2026 ... |
mega_enum_raid_scsi(9) | NAME mega_enum_raid_scsi -
SYNOPSIS void mega_enum_raid_scsi (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Find out what channels are RAID/SCSI. This information is used to differentiate the virtual channels and physical channels and to support ROMB feature and non-disk devices.
... |
mega_get_boot_drv(9) | NAME mega_get_boot_drv -
SYNOPSIS void mega_get_boot_drv (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Find out which device is the boot device. Note, any logical drive or any phyical device (e.g., a CDROM) can be designated as a boot device.
SEE ALSO Kernel file ./drivers/scs... |
mega_get_ldrv_num(9) | NAME mega_get_ldrv_num -
SYNOPSIS int mega_get_ldrv_num (adapter_t *adapter , struct scsi_cmnd *cmd , int channel );
ARGUMENTS adapter pointer to our soft state
cmd scsi mid layer command
channel channel on the controller
DESCRIPTION Calculate the logical drive number based on the inf... |
mega_get_max_sgl(9) | NAME mega_get_max_sgl -
SYNOPSIS void mega_get_max_sgl (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Find out the maximum number of scatter-gather elements supported by this version of the firmware
SEE ALSO Kernel file ./drivers/scsi/megaraid.c mega_setup_mailbox(9), mega_ru... |
mega_init_scb(9) | NAME mega_init_scb -
SYNOPSIS int mega_init_scb (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Allocate memory for the various pointers in the scb structures: scatter-gather list pointer, passthru and extended passthru structure pointers.
SEE ALSO Kernel file ./drivers/scsi/meg... |
mega_internal_command(9) | NAME mega_internal_command -
SYNOPSIS int mega_internal_command (adapter_t *adapter , megacmd_t *mc , mega_passthru *pthru );
ARGUMENTS adapter pointer to our soft state
mc the mailbox command
pthru Passthru structure for DCDB commands
DESCRIPTION Issue the internal commands in int... |
mega_internal_dev_inquiry(9) | NAME mega_internal_dev_inquiry -
SYNOPSIS int mega_internal_dev_inquiry (adapter_t *adapter , u8 ch , u8 tgt , dma_addr_t buf_dma_handle );
ARGUMENTS adapter pointer to our soft state
ch channel for this device
tgt ID of this device
buf_dma_handle
DMA ad... |
mega_is_bios_enabled(9) | NAME mega_is_bios_enabled -
SYNOPSIS int mega_is_bios_enabled (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION issue command to find out if the BIOS is enabled for this controller
SEE ALSO Kernel file ./drivers/scsi/megaraid.c mega_setup_mailbox(9), mega_runpendq(9), mega_allo... |
mega_m_to_n(9) | NAME mega_m_to_n -
SYNOPSIS int mega_m_to_n (void __user *arg , nitioctl_t *uioc );
ARGUMENTS arg user address
uioc new ioctl structure
DESCRIPTION A thin layer to convert older mimd interface ioctl structure to NIT ioctl structure Converts the older mimd ioctl structure to newer NIT structure... |
mega_prepare_extpassthru(9) | NAME mega_prepare_extpassthru -
SYNOPSIS mega_ext_passthru * mega_prepare_extpassthru (adapter_t *adapter , scb_t *scb , struct scsi_cmnd *cmd , int channel , int target );
ARGUMENTS adapter pointer to our soft state
scb our scsi control block
cmd scsi command from the mid-layer
... |
mega_prepare_passthru(9) | NAME mega_prepare_passthru -
SYNOPSIS mega_passthru * mega_prepare_passthru (adapter_t *adapter , scb_t *scb , struct scsi_cmnd *cmd , int channel , int target );
ARGUMENTS adapter pointer to our soft state
scb our scsi control block
cmd scsi command from the mid-layer
chan... |
mega_runpendq(9) | NAME mega_runpendq -
SYNOPSIS void mega_runpendq (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Runs through the list of pending requests.
SEE ALSO Kernel file ./drivers/scsi/megaraid.c mega_setup_mailbox(9), mega_allocate_scb(9), mega_get_ldrv_num(9), mega_build_cmd(9), m... |
mega_setup_mailbox(9) | NAME mega_setup_mailbox -
SYNOPSIS int mega_setup_mailbox (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Allocates a 8 byte aligned memory for the handshake mailbox.
SEE ALSO Kernel file ./drivers/scsi/megaraid.c mega_runpendq(9), mega_allocate_scb(9), mega_get_ldrv_num(... |
mega_support_cluster(9) | NAME mega_support_cluster -
SYNOPSIS int mega_support_cluster (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Find out if this firmware support cluster calls.
SEE ALSO Kernel file ./drivers/scsi/megaraid.c mega_setup_mailbox(9), mega_runpendq(9), mega_allocate_scb(9), mega_g... |
mega_support_ext_cdb(9) | NAME mega_support_ext_cdb -
SYNOPSIS int mega_support_ext_cdb (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Find out if this firmware support cdblen > 10
SEE ALSO Kernel file ./drivers/scsi/megaraid.c mega_setup_mailbox(9), mega_runpendq(9), mega_allocate_scb(9), mega_get_... |
mega_support_random_del(9) | NAME mega_support_random_del -
SYNOPSIS int mega_support_random_del (adapter_t *adapter );
ARGUMENTS adapter pointer to our soft state
DESCRIPTION Find out if this controller supports random deletion and addition of logical drives
SEE ALSO Kernel file ./drivers/scsi/megaraid.c mega_setup_mailbox(9), mega_ru... |
megadev_ioctl(9) | NAME megadev_ioctl -
SYNOPSIS int megadev_ioctl (struct file *filep , unsigned int cmd , unsigned long arg );
ARGUMENTS filep Our device file
cmd ioctl command
arg user buffer
DESCRIPTION ioctl entry point for our private ioctl interface. We move the data in from the user space... |
megadev_open(9) | NAME megadev_open -
SYNOPSIS int megadev_open (struct inode *inode , struct file *filep );
ARGUMENTS inode unused
filep unused
DESCRIPTION Routines for the character/ioctl interface to the driver. Find out if this is a valid open.
SEE ALSO Kernel file ./drivers/scsi/megaraid.c mega_setup_mail... |
megaraid_abort_and_reset(9) | NAME megaraid_abort_and_reset -
SYNOPSIS int megaraid_abort_and_reset (adapter_t *adapter , struct scsi_cmnd *cmd , int aor );
ARGUMENTS adapter megaraid soft state
cmd scsi command to be aborted or reset
aor abort or reset flag
DESCRIPTION Try to locate the scsi command in the pe... |
megaraid_abort_handler(9) | NAME megaraid_abort_handler - abort the scsi command
SYNOPSIS int megaraid_abort_handler (struct scsi_cmnd *scp );
ARGUMENTS scp command to be aborted
DESCRIPTION Abort a previous SCSI request. Only commands on the pending list can be aborted. All the commands issued to the F/W must complete.
SEE ALSO Kerne... |
megaraid_ack_sequence(9) | NAME megaraid_ack_sequence - interrupt ack sequence for memory mapped HBAs
SYNOPSIS int megaraid_ack_sequence (adapter_t *adapter );
ARGUMENTS adapter controller's soft state
DESCRIPTION Interrupt acknowledgement sequence for memory mapped HBAs. Find out the completed command and put them on the completed list f... |
megaraid_alloc_cmd_packets(9) | NAME megaraid_alloc_cmd_packets - allocate shared mailbox
SYNOPSIS int megaraid_alloc_cmd_packets (adapter_t *adapter );
ARGUMENTS adapter soft state of the raid controller
DESCRIPTION Allocate and align the shared mailbox. This mailbox is used to issue all the commands. For IO based controllers, the mailbox is ... |
megaraid_alloc_scb(9) | NAME megaraid_alloc_scb - detach and return a scb from the free list
SYNOPSIS scb_t * megaraid_alloc_scb (adapter_t *adapter , struct scsi_cmnd *scp );
ARGUMENTS adapter controller's soft state
scp pointer to the scsi command to be executed
DESCRIPTION Return the scb from the head of the free lis... |
megaraid_busywait_mbox(9) | NAME megaraid_busywait_mbox - Wait until the controller's mailbox is available
SYNOPSIS int megaraid_busywait_mbox (mraid_device_t *raid_dev );
ARGUMENTS raid_dev RAID device (HBA) soft state
DESCRIPTION Wait until the controller's mailbox is available to accept more commands. Wait for at most 1 second.
SEE ALS... |
megaraid_cmm_register(9) | NAME megaraid_cmm_register - register with the management module
SYNOPSIS int megaraid_cmm_register (adapter_t *adapter );
ARGUMENTS adapter HBA soft state
DESCRIPTION Register with the management module, which allows applications to issue ioctl calls to the drivers. This interface is used by the management modu... |
megaraid_cmm_unregister(9) | NAME megaraid_cmm_unregister - un-register with the management module
SYNOPSIS int megaraid_cmm_unregister (adapter_t *adapter );
ARGUMENTS adapter HBA soft state
DESCRIPTION Un-register with the management module. FIXME: mgmt module must return failure for unregister if it has pending commands in LLD.
SEE ALS... |
megaraid_dealloc_scb(9) | NAME megaraid_dealloc_scb - return the scb to the free pool
SYNOPSIS void megaraid_dealloc_scb (adapter_t *adapter , scb_t *scb );
ARGUMENTS adapter controller's soft state
scb scb to be freed
DESCRIPTION Return the scb back to the free list of scbs. The caller must 'flush' the SCB before calling... |
megaraid_detach_one(9) | NAME megaraid_detach_one - release framework resources and call LLD release routine
SYNOPSIS void megaraid_detach_one (struct pci_dev *pdev );
ARGUMENTS pdev handle for our PCI configuration space
DESCRIPTION This routine is called during driver unload. We free all the allocated resources and call the corresp... |
megaraid_exit(9) | NAME megaraid_exit - driver unload entry point
SYNOPSIS void megaraid_exit (void );
ARGUMENTS void no arguments
DESCRIPTION We simply unwrap the megaraid_init routine here.
SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_init(9), megaraid_probe_one(9), megaraid_detach_one(9), mega... |
megaraid_fini_mbox(9) | NAME megaraid_fini_mbox - undo controller initialization
SYNOPSIS void megaraid_fini_mbox (adapter_t *adapter );
ARGUMENTS adapter our soft state
SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_init(9), megaraid_exit(9), megaraid_probe_one(9), megaraid_detach_one(9), megaraid_mb... |
megaraid_free_cmd_packets(9) | NAME megaraid_free_cmd_packets - free memory
SYNOPSIS void megaraid_free_cmd_packets (adapter_t *adapter );
ARGUMENTS adapter soft state of the raid controller
DESCRIPTION Release memory resources allocated for commands.
SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_init(9), mega... |
megaraid_init(9) | NAME megaraid_init - module load hook
SYNOPSIS int megaraid_init (void );
ARGUMENTS void no arguments
DESCRIPTION We register ourselves as hotplug enabled module and let PCI subsystem discover our adapters.
SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_exit(9), megaraid_probe_one(... |
megaraid_init_mbox(9) | NAME megaraid_init_mbox - initialize controller
SYNOPSIS int megaraid_init_mbox (adapter_t *adapter );
ARGUMENTS adapter our soft state
DESCRIPTION - Allocate 16-byte aligned mailbox memory for firmware handshake - Allocate controller's memory resources - Find out all initialization data - Allocate memory re... |
megaraid_io_attach(9) | NAME megaraid_io_attach - attach a device with the IO subsystem
SYNOPSIS int megaraid_io_attach (adapter_t *adapter );
ARGUMENTS adapter controller's soft state
DESCRIPTION Attach this device with the IO subsystem.
SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_init(9), megaraid_e... |
megaraid_io_detach(9) | NAME megaraid_io_detach - detach a device from the IO subsystem
SYNOPSIS void megaraid_io_detach (adapter_t *adapter );
ARGUMENTS adapter controller's soft state
DESCRIPTION Detach this device from the IO subsystem.
SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_init(9), megaraid_... |
megaraid_isr(9) | NAME megaraid_isr - isr for memory based mailbox based controllers
SYNOPSIS irqreturn_t megaraid_isr (int irq , void *devp );
ARGUMENTS irq irq
devp pointer to our soft state
DESCRIPTION Interrupt service routine for memory-mapped mailbox controllers.
SEE ALSO Kernel file ./drivers/scsi/m... |
megaraid_isr_iomapped(9) | NAME megaraid_isr_iomapped -
SYNOPSIS irqreturn_t megaraid_isr_iomapped (int irq , void *devp );
ARGUMENTS irq irq
devp pointer to our soft state
DESCRIPTION Interrupt service routine for io-mapped controllers. Find out if our device is interrupting. If yes, acknowledge the interrupt and serv... |
megaraid_isr_memmapped(9) | NAME megaraid_isr_memmapped -
SYNOPSIS irqreturn_t megaraid_isr_memmapped (int irq , void *devp );
ARGUMENTS irq irq
devp pointer to our soft state
DESCRIPTION Interrupt service routine for memory-mapped controllers. Find out if our device is interrupting. If yes, acknowledge the interrupt an... |
megaraid_mbox_app_hndl_show(9) | NAME megaraid_mbox_app_hndl_show - display application handle for this adapter
SYNOPSIS ssize_t megaraid_mbox_app_hndl_show (struct device *dev , struct device_attribute *attr , char *buf );
ARGUMENTS dev class device object representation for the host
attr device attribute (unused)
buf... |
megaraid_mbox_build_cmd(9) | NAME megaraid_mbox_build_cmd - transform the mid-layer scsi commands
SYNOPSIS scb_t * megaraid_mbox_build_cmd (adapter_t *adapter , struct scsi_cmnd *scp , enum scsi_qc_status *busy );
ARGUMENTS adapter controller's soft state
scp mid-layer scsi command pointer
busy set if request c... |
megaraid_mbox_display_scb(9) | NAME megaraid_mbox_display_scb - display SCB information, mostly debug purposes
SYNOPSIS void megaraid_mbox_display_scb (adapter_t *adapter , scb_t *scb );
ARGUMENTS adapter controller's soft state
scb SCB to be displayed
DESCRIPTION Diplay information about the given SCB iff the current debug le... |
megaraid_mbox_dpc(9) | NAME megaraid_mbox_dpc - the tasklet to complete the commands from completed list
SYNOPSIS void megaraid_mbox_dpc (unsigned long devp );
ARGUMENTS devp pointer to HBA soft state
DESCRIPTION Pick up the commands from the completed list and send back to the owners. This is a reentrant function and does not ass... |
megaraid_mbox_enum_raid_scsi(9) | NAME megaraid_mbox_enum_raid_scsi - enumerate the RAID and SCSI channels
SYNOPSIS void megaraid_mbox_enum_raid_scsi (adapter_t *adapter );
ARGUMENTS adapter soft state for the controller
DESCRIPTION Enumerate the RAID and SCSI channels for ROMB platforms so that channels can be exported as regular SCSI channels.... |
megaraid_mbox_extended_cdb(9) | NAME megaraid_mbox_extended_cdb - check for support for extended CDBs
SYNOPSIS int megaraid_mbox_extended_cdb (adapter_t *adapter );
ARGUMENTS adapter soft state for the controller
DESCRIPTION This routine check whether the controller in question supports extended ( > 10 bytes ) CDBs.
SEE ALSO Kernel file .... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.