Lines Matching refs:esas2r_adapter
60 typedef int (*BUFFERED_IOCTL_CALLBACK)(struct esas2r_adapter *,
64 typedef void (*BUFFERED_IOCTL_DONE_CALLBACK)(struct esas2r_adapter *,
68 struct esas2r_adapter *a;
82 static void complete_fm_api_req(struct esas2r_adapter *a, in complete_fm_api_req()
92 struct esas2r_adapter *a = (struct esas2r_adapter *)sgc->adapter; in get_physaddr_fm_api()
101 struct esas2r_adapter *a = (struct esas2r_adapter *)sgc->adapter; in get_physaddr_fm_api_header()
109 static void do_fm_api(struct esas2r_adapter *a, struct esas2r_flash_img *fi) in do_fm_api()
181 static void complete_nvr_req(struct esas2r_adapter *a, in complete_nvr_req()
198 static void complete_buffered_ioctl_req(struct esas2r_adapter *a, in complete_buffered_ioctl_req()
207 struct esas2r_adapter *a = bi->a; in handle_buffered_ioctl()
293 static int smp_ioctl_callback(struct esas2r_adapter *a, in smp_ioctl_callback()
312 static u8 handle_smp_ioctl(struct esas2r_adapter *a, struct atto_ioctl_smp *si) in handle_smp_ioctl()
330 static void esas2r_csmi_ioctl_tunnel_comp_cb(struct esas2r_adapter *a, in esas2r_csmi_ioctl_tunnel_comp_cb()
341 static bool csmi_ioctl_tunnel(struct esas2r_adapter *a, in csmi_ioctl_tunnel()
390 static int csmi_ioctl_callback(struct esas2r_adapter *a, in csmi_ioctl_callback()
606 static void csmi_ioctl_done_callback(struct esas2r_adapter *a, in csmi_ioctl_done_callback()
646 static u8 handle_csmi_ioctl(struct esas2r_adapter *a, struct atto_csmi *ci) in handle_csmi_ioctl()
667 static bool hba_ioctl_tunnel(struct esas2r_adapter *a, in hba_ioctl_tunnel()
687 static void scsi_passthru_comp_cb(struct esas2r_adapter *a, in scsi_passthru_comp_cb()
744 static int hba_ioctl_callback(struct esas2r_adapter *a, in hba_ioctl_callback()
1203 static void hba_ioctl_done_callback(struct esas2r_adapter *a, in hba_ioctl_done_callback()
1229 u8 handle_hba_ioctl(struct esas2r_adapter *a, in handle_hba_ioctl()
1249 int esas2r_write_params(struct esas2r_adapter *a, struct esas2r_request *rq, in esas2r_write_params()
1276 struct esas2r_adapter *a; in esas2r_ioctl_handler()
1337 a = (struct esas2r_adapter *)hostdata; in esas2r_ioctl_handler()
1533 static void free_fw_buffers(struct esas2r_adapter *a) in free_fw_buffers()
1545 static int allocate_fw_buffers(struct esas2r_adapter *a, u32 length) in allocate_fw_buffers()
1565 int esas2r_read_fw(struct esas2r_adapter *a, char *buf, long off, int count) in esas2r_read_fw()
1656 int esas2r_write_fw(struct esas2r_adapter *a, const char *buf, long off, in esas2r_write_fw()
1806 static void vda_complete_req(struct esas2r_adapter *a, in vda_complete_req()
1816 struct esas2r_adapter *a = (struct esas2r_adapter *)sgc->adapter; in get_physaddr_vda()
1824 int esas2r_read_vda(struct esas2r_adapter *a, char *buf, long off, int count) in esas2r_read_vda()
1887 int esas2r_write_vda(struct esas2r_adapter *a, const char *buf, long off, in esas2r_write_vda()
1924 static void fs_api_complete_req(struct esas2r_adapter *a, in fs_api_complete_req()
1935 struct esas2r_adapter *a = (struct esas2r_adapter *)sgc->adapter; in get_physaddr_fs_api()
1946 int esas2r_read_fs(struct esas2r_adapter *a, char *buf, long off, int count) in esas2r_read_fs()
2025 int esas2r_write_fs(struct esas2r_adapter *a, const char *buf, long off, in esas2r_write_fs()