Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
remote_node_context.c File Reference
#include <scsi/sas_ata.h>
#include "host.h"
#include "isci.h"
#include "remote_device.h"
#include "remote_node_context.h"
#include "scu_event_codes.h"
#include "scu_task_context.h"

Go to the source code of this file.

Macros

#define C(a)   (#a)
 

Functions

const charrnc_state_name (enum scis_sds_remote_node_context_states state)
 
bool sci_remote_node_context_is_ready (struct sci_remote_node_context *sci_rnc)
 
bool sci_remote_node_context_is_suspended (struct sci_remote_node_context *sci_rnc)
 
void sci_remote_node_context_construct (struct sci_remote_node_context *rnc, u16 remote_node_index)
 
enum sci_status sci_remote_node_context_event_handler (struct sci_remote_node_context *sci_rnc, u32 event_code)
 
enum sci_status sci_remote_node_context_destruct (struct sci_remote_node_context *sci_rnc, scics_sds_remote_node_context_callback cb_fn, void *cb_p)
 
enum sci_status sci_remote_node_context_suspend (struct sci_remote_node_context *sci_rnc, enum sci_remote_node_suspension_reasons suspend_reason, u32 suspend_type)
 
enum sci_status sci_remote_node_context_resume (struct sci_remote_node_context *sci_rnc, scics_sds_remote_node_context_callback cb_fn, void *cb_p)
 
enum sci_status sci_remote_node_context_start_io (struct sci_remote_node_context *sci_rnc, struct isci_request *ireq)
 
enum sci_status sci_remote_node_context_start_task (struct sci_remote_node_context *sci_rnc, struct isci_request *ireq, scics_sds_remote_node_context_callback cb_fn, void *cb_p)
 
int sci_remote_node_context_is_safe_to_abort (struct sci_remote_node_context *sci_rnc)
 

Macro Definition Documentation

#define C (   a)    (#a)

Definition at line 64 of file remote_node_context.c.

Function Documentation

const char* rnc_state_name ( enum scis_sds_remote_node_context_states  state)

Definition at line 65 of file remote_node_context.c.

void sci_remote_node_context_construct ( struct sci_remote_node_context rnc,
u16  remote_node_index 
)

Definition at line 414 of file remote_node_context.c.

enum sci_status sci_remote_node_context_destruct ( struct sci_remote_node_context sci_rnc,
scics_sds_remote_node_context_callback  cb_fn,
void cb_p 
)

Definition at line 528 of file remote_node_context.c.

enum sci_status sci_remote_node_context_event_handler ( struct sci_remote_node_context sci_rnc,
u32  event_code 
)

Definition at line 425 of file remote_node_context.c.

bool sci_remote_node_context_is_ready ( struct sci_remote_node_context sci_rnc)

: The state of the remote node context object to check.

This method will return true if the remote node context is in a READY state otherwise it will return false bool true if the remote node context is in the ready state. false if the remote node context is not in the ready state.

Definition at line 81 of file remote_node_context.c.

int sci_remote_node_context_is_safe_to_abort ( struct sci_remote_node_context sci_rnc)

Definition at line 787 of file remote_node_context.c.

bool sci_remote_node_context_is_suspended ( struct sci_remote_node_context sci_rnc)

Definition at line 93 of file remote_node_context.c.

enum sci_status sci_remote_node_context_resume ( struct sci_remote_node_context sci_rnc,
scics_sds_remote_node_context_callback  cb_fn,
void cb_p 
)

Definition at line 659 of file remote_node_context.c.

enum sci_status sci_remote_node_context_start_io ( struct sci_remote_node_context sci_rnc,
struct isci_request ireq 
)

Definition at line 748 of file remote_node_context.c.

enum sci_status sci_remote_node_context_start_task ( struct sci_remote_node_context sci_rnc,
struct isci_request ireq,
scics_sds_remote_node_context_callback  cb_fn,
void cb_p 
)

Definition at line 773 of file remote_node_context.c.

enum sci_status sci_remote_node_context_suspend ( struct sci_remote_node_context sci_rnc,
enum sci_remote_node_suspension_reasons  suspend_reason,
u32  suspend_type 
)

Definition at line 567 of file remote_node_context.c.