Home
last modified time | relevance | path

Searched refs:IoAdapter (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/drivers/isdn/hardware/eicon/
Ds_4bri.c47 static void qBri_cpu_trapped(PISDN_ADAPTER IoAdapter) { in qBri_cpu_trapped() argument
52 int factor = (IoAdapter->tasks == 1) ? 1 : 2; in qBri_cpu_trapped()
58 base = DIVA_OS_MEM_ATTACH_CONTROL(IoAdapter); in qBri_cpu_trapped()
59 offset = IoAdapter->ControllerNumber * (IoAdapter->MemorySize >> factor); in qBri_cpu_trapped()
65 dump_trap_frame(IoAdapter, &base[0x90]); in qBri_cpu_trapped()
66 IoAdapter->trapped = 1; in qBri_cpu_trapped()
73 regs[0] &= IoAdapter->MemorySize - 1; in qBri_cpu_trapped()
76 && (regs[0] < offset + (IoAdapter->MemorySize >> factor) - 1)) in qBri_cpu_trapped()
79 DIVA_OS_MEM_DETACH_CONTROL(IoAdapter, base); in qBri_cpu_trapped()
83 size = offset + (IoAdapter->MemorySize >> factor) - regs[0]; in qBri_cpu_trapped()
[all …]
Ds_pri.c49 static void pri_cpu_trapped(PISDN_ADAPTER IoAdapter) { in pri_cpu_trapped() argument
57 base = DIVA_OS_MEM_ATTACH_ADDRESS(IoAdapter); in pri_cpu_trapped()
61 dump_trap_frame(IoAdapter, &base[0x90]); in pri_cpu_trapped()
62 IoAdapter->trapped = 1; in pri_cpu_trapped()
68 regs[0] &= IoAdapter->MemorySize - 1; in pri_cpu_trapped()
69 if ((regs[0] < IoAdapter->MemorySize - 1)) in pri_cpu_trapped()
72 DIVA_OS_MEM_DETACH_ADDRESS(IoAdapter, base); in pri_cpu_trapped()
75 size = IoAdapter->MemorySize - regs[0]; in pri_cpu_trapped()
80 xlogDesc.cnt = READ_WORD(&base[regs[1] & (IoAdapter->MemorySize - 1)]); in pri_cpu_trapped()
81 xlogDesc.out = READ_WORD(&base[regs[2] & (IoAdapter->MemorySize - 1)]); in pri_cpu_trapped()
[all …]
Ds_bri.c43 static void bri_cpu_trapped(PISDN_ADAPTER IoAdapter) { in bri_cpu_trapped() argument
54 Port = DIVA_OS_MEM_ATTACH_PORT(IoAdapter); in bri_cpu_trapped()
55 addrHi = Port + ((IoAdapter->Properties.Bus == BUS_PCI) ? M_PCI_ADDRH : ADDRH); in bri_cpu_trapped()
66 dump_trap_frame(IoAdapter, &((byte *)Xlog)[0x90]); in bri_cpu_trapped()
67 IoAdapter->trapped = 1; in bri_cpu_trapped()
80 regs[0] &= IoAdapter->MemorySize - 1; in bri_cpu_trapped()
81 if ((regs[0] < IoAdapter->MemorySize - 1)) in bri_cpu_trapped()
83 size = IoAdapter->MemorySize - regs[0]; in bri_cpu_trapped()
92 dump_xlog_buffer(IoAdapter, &xlogDesc); in bri_cpu_trapped()
94 IoAdapter->trapped = 2; in bri_cpu_trapped()
[all …]
Dio.c87 dump_xlog_buffer(PISDN_ADAPTER IoAdapter, Xdesc *xlogDesc) in dump_xlog_buffer() argument
94 &IoAdapter->Name[0], (int)logCnt)) in dump_xlog_buffer()
95 DBG_FTL(("Microcode: %s", &IoAdapter->ProtocolIdString[0])) in dump_xlog_buffer()
118 &IoAdapter->Name[0])) in dump_xlog_buffer()
159 dump_trap_frame(PISDN_ADAPTER IoAdapter, byte __iomem *exceptionFrame) in dump_trap_frame() argument
165 &IoAdapter->Name[0])) in dump_trap_frame()
166 DBG_FTL(("Microcode: %s", &IoAdapter->ProtocolIdString[0])) in dump_trap_frame()
203 void request(PISDN_ADAPTER IoAdapter, ENTITY *e) in request() argument
220 if (!IoAdapter->dma_map) { in request()
225 diva_os_enter_spin_lock(&IoAdapter->data_spin_lock, &irql, "dma_op"); in request()
[all …]
Dos_bri.c24 extern void prepare_maestra_functions(PISDN_ADAPTER IoAdapter);
41 static int diva_bri_reset_adapter(PISDN_ADAPTER IoAdapter);
42 static int diva_bri_write_sdram_block(PISDN_ADAPTER IoAdapter,
45 static int diva_bri_start_adapter(PISDN_ADAPTER IoAdapter,
325 void diva_os_prepare_maestra_functions(PISDN_ADAPTER IoAdapter) in diva_os_prepare_maestra_functions() argument
516 static int diva_bri_reset_adapter(PISDN_ADAPTER IoAdapter) in diva_bri_reset_adapter() argument
522 if (!IoAdapter->port) { in diva_bri_reset_adapter()
525 if (IoAdapter->Initialized) { in diva_bri_reset_adapter()
527 IoAdapter->ANum)) return (-1); in diva_bri_reset_adapter()
529 (*(IoAdapter->rstFnc)) (IoAdapter); in diva_bri_reset_adapter()
[all …]
Dos_pri.c36 extern void prepare_pri_functions(PISDN_ADAPTER IoAdapter);
37 extern void prepare_pri2_functions(PISDN_ADAPTER IoAdapter);
333 static int diva_pri_reset_adapter(PISDN_ADAPTER IoAdapter) in diva_pri_reset_adapter() argument
338 if (!IoAdapter->Address || !IoAdapter->reset) { in diva_pri_reset_adapter()
341 if (IoAdapter->Initialized) { in diva_pri_reset_adapter()
343 IoAdapter->ANum)) in diva_pri_reset_adapter()
347 boot = (struct mp_load __iomem *) DIVA_OS_MEM_ATTACH_ADDRESS(IoAdapter); in diva_pri_reset_adapter()
349 DIVA_OS_MEM_DETACH_ADDRESS(IoAdapter, boot); in diva_pri_reset_adapter()
351 IoAdapter->rstFnc(IoAdapter); in diva_pri_reset_adapter()
355 boot = (struct mp_load __iomem *) DIVA_OS_MEM_ATTACH_ADDRESS(IoAdapter); in diva_pri_reset_adapter()
[all …]
Dos_4bri.c27 extern void prepare_qBri_functions(PISDN_ADAPTER IoAdapter);
28 extern void prepare_qBri2_functions(PISDN_ADAPTER IoAdapter);
32 extern int qBri_FPGA_download(PISDN_ADAPTER IoAdapter);
33 extern void start_qBri_hardware(PISDN_ADAPTER IoAdapter);
68 static int diva_4bri_reset_adapter(PISDN_ADAPTER IoAdapter);
69 static int diva_4bri_write_sdram_block(PISDN_ADAPTER IoAdapter,
73 static int diva_4bri_start_adapter(PISDN_ADAPTER IoAdapter,
75 static int check_qBri_interrupt(PISDN_ADAPTER IoAdapter);
832 void diva_os_set_qBri_functions(PISDN_ADAPTER IoAdapter) in diva_os_set_qBri_functions() argument
836 void diva_os_set_qBri2_functions(PISDN_ADAPTER IoAdapter) in diva_os_set_qBri2_functions() argument
[all …]
Ddivasproc.c38 extern void diva_get_vserial_number(PISDN_ADAPTER IoAdapter, char *buf);
149 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in grp_opt_proc_write() local
157 IoAdapter->capi_cfg.cfg_1 &= in grp_opt_proc_write()
161 IoAdapter->capi_cfg.cfg_1 |= in grp_opt_proc_write()
176 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in d_l1_down_proc_write() local
184 IoAdapter->capi_cfg.cfg_1 &= in d_l1_down_proc_write()
188 IoAdapter->capi_cfg.cfg_1 |= in d_l1_down_proc_write()
202 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in d_l1_down_proc_show() local
205 (IoAdapter->capi_cfg. in d_l1_down_proc_show()
228 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in grp_opt_proc_show() local
[all …]
Ddsrv_pri.h36 void diva_os_prepare_pri_functions(PISDN_ADAPTER IoAdapter);
37 void diva_os_prepare_pri2_functions(PISDN_ADAPTER IoAdapter);
Dhelpers.h32 void diva_configure_protocol(PISDN_ADAPTER IoAdapter);
46 void *xdiLoadArchive(PISDN_ADAPTER IoAdapter, dword *FileLength, unsigned long MaxLoadSize);
Ddsrv4bri.h38 void diva_os_set_qBri_functions(PISDN_ADAPTER IoAdapter);
39 void diva_os_set_qBri2_functions(PISDN_ADAPTER IoAdapter);
Ddivasfunc.c49 void diva_get_vserial_number(PISDN_ADAPTER IoAdapter, char *buf) in diva_get_vserial_number() argument
53 if ((contr = ((IoAdapter->serialNo & 0xff000000) >> 24))) { in diva_get_vserial_number()
55 IoAdapter->serialNo & 0x00ffffff, contr + 1); in diva_get_vserial_number()
57 sprintf(buf, "%d", IoAdapter->serialNo); in diva_get_vserial_number()
Dio.h273 void bri_in_buffer(PISDN_ADAPTER IoAdapter, dword Pos,
275 int bri_out_buffer(PISDN_ADAPTER IoAdapter, dword Pos,
305 extern void dump_trap_frame(PISDN_ADAPTER IoAdapter, byte __iomem *exception);
306 extern void dump_xlog_buffer(PISDN_ADAPTER IoAdapter, Xdesc *xlogDesc);
Ddsrv_bri.h36 void diva_os_prepare_maestra_functions(PISDN_ADAPTER IoAdapter);
Ddi.c603 PISDN_ADAPTER IoAdapter = (PISDN_ADAPTER)a->io; in isdn_ind() local
608 (struct _diva_dma_map_entry *)IoAdapter->dma_map, in isdn_ind()
625 IoAdapter->RBuffer.length = min(MLength, (word)270); in isdn_ind()
626 if (IoAdapter->RBuffer.length != MLength) { in isdn_ind()
631 memcpy(IoAdapter->RBuffer.P, cma, IoAdapter->RBuffer.length); in isdn_ind()
632 this->RBuffer = (DBUFFER *)&IoAdapter->RBuffer; in isdn_ind()
Ddivasmain.c61 extern void diva_get_vserial_number(PISDN_ADAPTER IoAdapter, char *buf);