Home
last modified time | relevance | path

Searched refs:dpmbase (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/drivers/net/wan/
Dcycx_drv.c154 unsigned long dpmbase = hw->dpmbase; in cycx_setup() local
164 if (!hw->dpmbase) { in cycx_setup()
168 } else if (!get_option_index(cyc2x_dpmbase_options, hw->dpmbase)) { in cycx_setup()
170 modname, dpmbase); in cycx_setup()
174 hw->dpmbase = (u32)ioremap(dpmbase, CYCX_WINDOWSIZE); in cycx_setup()
177 if (!detect_cyc2x(hw->dpmbase)) { in cycx_setup()
179 "address 0x%lX!\n", modname, dpmbase); in cycx_setup()
184 modname, dpmbase); in cycx_setup()
198 iounmap((u32 *)hw->dpmbase); in cycx_down()
207 cyc2x_writeb(0, hw->dpmbase); in cycx_inten()
[all …]
Dsdladrv.c464 if (hw->dpmbase == 0) { in sdla_setup()
474 virt_to_phys(hw->dpmbase))) { in sdla_setup()
477 modname, virt_to_phys(hw->dpmbase)); in sdla_setup()
483 modname, virt_to_phys(hw->dpmbase)); in sdla_setup()
488 modname, virt_to_phys(hw->dpmbase)); in sdla_setup()
495 if (virt_to_phys(hw->dpmbase) >= 0xE0000){ in sdla_setup()
498 modname, virt_to_phys(hw->dpmbase)); in sdla_setup()
506 hw->memory = test_memregion((void*)hw->dpmbase, in sdla_setup()
606 iounmap((void *)hw->dpmbase); in sdla_down()
984 peek_by_4 ((unsigned long)hw->dpmbase + addr, buf, len); in sdla_peek()
[all …]
Dsdla_ft1.c153 card->mbox = (void *) card->hw.dpmbase; in wpft1_init()
155 card->mbox = (void *) card->hw.dpmbase + PRI_BASE_ADDR_MB_STRUCT; in wpft1_init()
235 card->u.c.flags = (void *)(card->hw.dpmbase + in wpft1_init()
239 card->u.c.flags = (void *)(card->hw.dpmbase + in wpft1_init()
Dwanpipe_multppp.c265 card->mbox = (void *) card->hw.dpmbase; in wsppp_init()
267 card->mbox = (void *) card->hw.dpmbase + in wsppp_init()
274 card->mbox = (void *) card->hw.dpmbase + PRI_BASE_ADDR_MB_STRUCT; in wsppp_init()
276 card->mbox = (void *) card->hw.dpmbase + SEC_BASE_ADDR_MB_STRUCT; in wsppp_init()
411 card->u.c.flags = (void *)(card->hw.dpmbase + in wsppp_init()
415 card->u.c.flags = (void *)(card->hw.dpmbase + in wsppp_init()
2211 tx_config = (CHDLC_TX_STATUS_EL_CFG_STRUCT *)(card->hw.dpmbase + in init_chdlc_tx_rx_buff()
2214 rx_config = (CHDLC_RX_STATUS_EL_CFG_STRUCT *)(card->hw.dpmbase + in init_chdlc_tx_rx_buff()
2219 card->u.c.txbuf_base = (void *)(card->hw.dpmbase + in init_chdlc_tx_rx_buff()
2226 card->u.c.rxbuf_base = (void *)(card->hw.dpmbase + in init_chdlc_tx_rx_buff()
[all …]
Dsdlamain.c471 card->hw.dpmbase = phys_to_virt(conf->maddr); in setup()
473 card->hw.dpmbase = (void *)conf->maddr; in setup()
533 wandev->maddr = (unsigned long)card->hw.dpmbase; in setup()
1019 (u8 *)card->hw.dpmbase + pos, len)){ in ioctl_dump()
1026 (void*)(card->hw.dpmbase + pos), len); in ioctl_dump()
1040 (u8 *)card->hw.dpmbase + dump.offset, dump.length)){ in ioctl_dump()
1045 (void*)(card->hw.dpmbase + dump.offset), dump.length); in ioctl_dump()
Dsdla_fr.c519 card->mbox = (void*)(card->hw.dpmbase + in wpf_init()
521 card->flags = (void*)(card->hw.dpmbase + in wpf_init()
667 buf_info = (void*)(card->hw.dpmbase + FR_MB_VECTOR + in wpf_init()
670 card->rxmb = (void*)(buf_info->rse_next + card->hw.dpmbase); in wpf_init()
673 (void*)(buf_info->rse_base + card->hw.dpmbase); in wpf_init()
678 card->hw.dpmbase); in wpf_init()
680 buf_info = (void*)(card->hw.dpmbase + FR508_RXBC_OFFS); in wpf_init()
683 FR_MB_VECTOR + card->hw.dpmbase); in wpf_init()
687 FR_MB_VECTOR + card->hw.dpmbase); in wpf_init()
692 FR_MB_VECTOR + card->hw.dpmbase); in wpf_init()
[all …]
Dcycx_main.c226 card->hw.dpmbase = conf->maddr; in setup()
239 wandev->maddr = card->hw.dpmbase; in setup()
Dsdla_chdlc.c388 card->mbox = (void *) card->hw.dpmbase; in wpc_init()
390 card->mbox = (void *) card->hw.dpmbase + in wpc_init()
397 card->mbox = (void *) card->hw.dpmbase + PRI_BASE_ADDR_MB_STRUCT; in wpc_init()
399 card->mbox = (void *) card->hw.dpmbase + SEC_BASE_ADDR_MB_STRUCT; in wpc_init()
536 card->u.c.flags = (void *)(card->hw.dpmbase + in wpc_init()
540 card->u.c.flags = (void *)(card->hw.dpmbase + in wpc_init()
3322 tx_config = (CHDLC_TX_STATUS_EL_CFG_STRUCT *)(card->hw.dpmbase + in init_chdlc_tx_rx_buff()
3325 rx_config = (CHDLC_RX_STATUS_EL_CFG_STRUCT *)(card->hw.dpmbase + in init_chdlc_tx_rx_buff()
3330 card->u.c.txbuf_base = (void *)(card->hw.dpmbase + in init_chdlc_tx_rx_buff()
3337 card->u.c.rxbuf_base = (void *)(card->hw.dpmbase + in init_chdlc_tx_rx_buff()
[all …]
Dsdla_ppp.c377 card->mbox =(void*)(card->hw.dpmbase + PPP508_MB_OFFS); in wpp_init()
378 card->flags=(void*)(card->hw.dpmbase + PPP508_FLG_OFFS); in wpp_init()
382 card->mbox =(void*)(card->hw.dpmbase + PPP514_MB_OFFS); in wpp_init()
383 card->flags=(void*)(card->hw.dpmbase + PPP514_FLG_OFFS); in wpp_init()
2992 info = (void*)(card->hw.dpmbase + PPP514_BUF_OFFS); in init_ppp_tx_rx_buff()
2994 card->u.p.txbuf_base = (void*)(card->hw.dpmbase + in init_ppp_tx_rx_buff()
3000 card->u.p.rxbuf_base = (void*)(card->hw.dpmbase + in init_ppp_tx_rx_buff()
3008 info = (void*)(card->hw.dpmbase + PPP508_BUF_OFFS); in init_ppp_tx_rx_buff()
3010 card->u.p.txbuf_base = (void*)(card->hw.dpmbase + in init_ppp_tx_rx_buff()
3016 card->u.p.rxbuf_base = (void*)(card->hw.dpmbase + in init_ppp_tx_rx_buff()
Dsdla_x25.c561 card->mbox = (void*)(card->hw.dpmbase + X25_MBOX_OFFS); in wpx_init()
562 card->rxmb = (void*)(card->hw.dpmbase + X25_RXMBOX_OFFS); in wpx_init()
563 card->flags = (void*)(card->hw.dpmbase + X25_STATUS_OFFS); in wpx_init()
766 (card->hw.dpmbase + X25_MB_VECTOR+ X25_MISC_HDLC_BITS); in wpx_init()
769 (volatile unsigned char *)(card->hw.dpmbase + X25_MISC_HDLC_BITS); in wpx_init()
Dcycx_x25.c215 card->mbox = card->hw.dpmbase + X25_MBOX_OFFS; in cyx_init()
/linux-2.4.37.9/include/linux/
Dcycx_drv.h50 u32 dpmbase; /* dual-port memory base */ member
Dsdladrv.h59 void * dpmbase; /* dual-port memory base */ member