Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hpicmn.h
Go to the documentation of this file.
1 
21 struct hpi_adapter_obj;
22 
23 /* a function that takes an adapter obj and returns an int */
24 typedef int adapter_int_func(struct hpi_adapter_obj *pao);
25 
27  struct hpi_pci pci; /* PCI info - bus#,dev#,address etc */
28  u16 type; /* 0x6644 == ASI6644 etc */
30 
32 
35  void *priv;
36 };
37 
48 };
49 
50 struct hpi_adapter_obj *hpi_find_adapter(u16 adapter_index);
51 
53 
54 void hpi_delete_adapter(struct hpi_adapter_obj *pao);
55 
57  struct hpi_message *phm, struct hpi_response *phr);
59  number_of_controls, const u32 size_in_bytes, u8 *pDSP_control_buffer);
61 
63  struct hpi_message *phm, struct hpi_response *phr);
64 
65 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr);
66