dpr 6749 drivers/net/ethernet/broadcom/tg3.c struct tg3_rx_prodring_set *dpr, dpr 6762 drivers/net/ethernet/broadcom/tg3.c dest_desc = &dpr->rx_std[dest_idx]; dpr 6763 drivers/net/ethernet/broadcom/tg3.c dest_map = &dpr->rx_std_buffers[dest_idx]; dpr 6770 drivers/net/ethernet/broadcom/tg3.c dest_desc = &dpr->rx_jmb[dest_idx].std; dpr 6771 drivers/net/ethernet/broadcom/tg3.c dest_map = &dpr->rx_jmb_buffers[dest_idx]; dpr 7048 drivers/net/ethernet/broadcom/tg3.c struct tg3_rx_prodring_set *dpr, dpr 7072 drivers/net/ethernet/broadcom/tg3.c tp->rx_std_ring_mask + 1 - dpr->rx_std_prod_idx); dpr 7075 drivers/net/ethernet/broadcom/tg3.c di = dpr->rx_std_prod_idx; dpr 7078 drivers/net/ethernet/broadcom/tg3.c if (dpr->rx_std_buffers[i].data) { dpr 7094 drivers/net/ethernet/broadcom/tg3.c memcpy(&dpr->rx_std_buffers[di], dpr 7101 drivers/net/ethernet/broadcom/tg3.c dbd = &dpr->rx_std[di]; dpr 7108 drivers/net/ethernet/broadcom/tg3.c dpr->rx_std_prod_idx = (dpr->rx_std_prod_idx + cpycnt) & dpr 7130 drivers/net/ethernet/broadcom/tg3.c tp->rx_jmb_ring_mask + 1 - dpr->rx_jmb_prod_idx); dpr 7133 drivers/net/ethernet/broadcom/tg3.c di = dpr->rx_jmb_prod_idx; dpr 7136 drivers/net/ethernet/broadcom/tg3.c if (dpr->rx_jmb_buffers[i].data) { dpr 7152 drivers/net/ethernet/broadcom/tg3.c memcpy(&dpr->rx_jmb_buffers[di], dpr 7159 drivers/net/ethernet/broadcom/tg3.c dbd = &dpr->rx_jmb[di].std; dpr 7166 drivers/net/ethernet/broadcom/tg3.c dpr->rx_jmb_prod_idx = (dpr->rx_jmb_prod_idx + cpycnt) & dpr 7195 drivers/net/ethernet/broadcom/tg3.c struct tg3_rx_prodring_set *dpr = &tp->napi[0].prodring; dpr 7197 drivers/net/ethernet/broadcom/tg3.c u32 std_prod_idx = dpr->rx_std_prod_idx; dpr 7198 drivers/net/ethernet/broadcom/tg3.c u32 jmb_prod_idx = dpr->rx_jmb_prod_idx; dpr 7202 drivers/net/ethernet/broadcom/tg3.c err |= tg3_rx_prodring_xfer(tp, dpr, dpr 7207 drivers/net/ethernet/broadcom/tg3.c if (std_prod_idx != dpr->rx_std_prod_idx) dpr 7209 drivers/net/ethernet/broadcom/tg3.c dpr->rx_std_prod_idx); dpr 7211 drivers/net/ethernet/broadcom/tg3.c if (jmb_prod_idx != dpr->rx_jmb_prod_idx) dpr 7213 drivers/net/ethernet/broadcom/tg3.c dpr->rx_jmb_prod_idx); dpr 38 drivers/staging/isdn/hysdn/boardergo.c tErgDpram *dpr; dpr 54 drivers/staging/isdn/hysdn/boardergo.c dpr = card->dpram; dpr 55 drivers/staging/isdn/hysdn/boardergo.c b = dpr->ToPcInt; /* clear for ergo */ dpr 56 drivers/staging/isdn/hysdn/boardergo.c b |= dpr->ToPcIntMetro; /* same for metro */ dpr 57 drivers/staging/isdn/hysdn/boardergo.c b |= dpr->ToHyInt; /* and for champ */ dpr 77 drivers/staging/isdn/hysdn/boardergo.c tErgDpram *dpr; dpr 84 drivers/staging/isdn/hysdn/boardergo.c dpr = card->dpram; /* point to DPRAM */ dpr 96 drivers/staging/isdn/hysdn/boardergo.c if (!dpr->ToHyFlag) { dpr 99 drivers/staging/isdn/hysdn/boardergo.c if (hysdn_sched_tx(card, dpr->ToHyBuf, &dpr->ToHySize, &dpr->ToHyChannel, dpr 101 drivers/staging/isdn/hysdn/boardergo.c dpr->ToHyFlag = 1; /* enable tx */ dpr 105 drivers/staging/isdn/hysdn/boardergo.c if (dpr->ToPcFlag) { dpr 108 drivers/staging/isdn/hysdn/boardergo.c if (hysdn_sched_rx(card, dpr->ToPcBuf, dpr->ToPcSize, dpr->ToPcChannel)) { dpr 109 drivers/staging/isdn/hysdn/boardergo.c dpr->ToPcFlag = 0; /* we worked the data */ dpr 114 drivers/staging/isdn/hysdn/boardergo.c dpr->ToHyInt = 1; dpr 115 drivers/staging/isdn/hysdn/boardergo.c dpr->ToPcInt = 1; /* interrupt to E1 for all cards */ dpr 185 drivers/staging/isdn/hysdn/boardergo.c tErgDpram *dpr = card->dpram; dpr 187 drivers/staging/isdn/hysdn/boardergo.c memset(dpr->TrapTable, 0, sizeof(dpr->TrapTable)); /* clear all Traps */ dpr 188 drivers/staging/isdn/hysdn/boardergo.c dpr->ToHyInt = 1; /* E1 INTR state forced */ dpr 190 drivers/staging/isdn/hysdn/boardergo.c memcpy(&dpr->ToHyBuf[ERG_TO_HY_BUF_SIZE - sizeof(TestText)], TestText, dpr 192 drivers/staging/isdn/hysdn/boardergo.c if (memcmp(&dpr->ToHyBuf[ERG_TO_HY_BUF_SIZE - sizeof(TestText)], TestText, dpr 196 drivers/staging/isdn/hysdn/boardergo.c memcpy(&dpr->ToPcBuf[ERG_TO_PC_BUF_SIZE - sizeof(TestText)], TestText, dpr 198 drivers/staging/isdn/hysdn/boardergo.c if (memcmp(&dpr->ToPcBuf[ERG_TO_PC_BUF_SIZE - sizeof(TestText)], TestText, dpr 324 drivers/staging/isdn/hysdn/boardergo.c tErgDpram *dpr = card->dpram; /* pointer to DPRAM structure */ dpr 335 drivers/staging/isdn/hysdn/boardergo.c if (dpr->ToPcFlag) { dpr 338 drivers/staging/isdn/hysdn/boardergo.c if ((dpr->ToPcChannel != CHAN_SYSTEM) || dpr 339 drivers/staging/isdn/hysdn/boardergo.c (dpr->ToPcSize < MIN_RDY_MSG_SIZE) || dpr 340 drivers/staging/isdn/hysdn/boardergo.c (dpr->ToPcSize > MAX_RDY_MSG_SIZE) || dpr 341 drivers/staging/isdn/hysdn/boardergo.c ((*(unsigned long *) dpr->ToPcBuf) != RDY_MAGIC)) dpr 345 drivers/staging/isdn/hysdn/boardergo.c msg_size = dpr->ToPcSize - RDY_MAGIC_SIZE; dpr 347 drivers/staging/isdn/hysdn/boardergo.c if (EvalSysrTokData(card, dpr->ToPcBuf + RDY_MAGIC_SIZE, msg_size)) dpr 361 drivers/staging/isdn/hysdn/boardergo.c dpr->ToPcFlag = 0; /* reset data indicator */ dpr 362 drivers/staging/isdn/hysdn/boardergo.c dpr->ToHyInt = 1; dpr 363 drivers/staging/isdn/hysdn/boardergo.c dpr->ToPcInt = 1; /* interrupt to E1 for all cards */