• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/

Lines Matching refs:lib_ptr

235 #define lib_ptr(ib, rt, type) 						\
455 *lib_ptr(ib, phys_addr[0], lp->type) = (dev->dev_addr[1] << 8) |
457 *lib_ptr(ib, phys_addr[1], lp->type) = (dev->dev_addr[3] << 8) |
459 *lib_ptr(ib, phys_addr[2], lp->type) = (dev->dev_addr[5] << 8) |
465 *lib_ptr(ib, rx_len, lp->type) = (LANCE_LOG_RX_BUFFERS << 13) |
467 *lib_ptr(ib, rx_ptr, lp->type) = leptr;
474 *lib_ptr(ib, tx_len, lp->type) = (LANCE_LOG_TX_BUFFERS << 13) |
476 *lib_ptr(ib, tx_ptr, lp->type) = leptr;
487 *lib_ptr(ib, btx_ring[i].tmd0, lp->type) = leptr;
488 *lib_ptr(ib, btx_ring[i].tmd1, lp->type) = (leptr >> 16) &
490 *lib_ptr(ib, btx_ring[i].length, lp->type) = 0xf000;
492 *lib_ptr(ib, btx_ring[i].misc, lp->type) = 0;
503 *lib_ptr(ib, brx_ring[i].rmd0, lp->type) = leptr;
504 *lib_ptr(ib, brx_ring[i].rmd1, lp->type) = ((leptr >> 16) &
507 *lib_ptr(ib, brx_ring[i].length, lp->type) = -RX_BUFF_SIZE |
509 *lib_ptr(ib, brx_ring[i].mblength, lp->type) = 0;
562 printk("%s", *lib_ptr(ib, brx_ring[i].rmd1,
566 printk("%s", *lib_ptr(ib, brx_ring[i].rmd1,
574 for (rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type);
576 rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type)) {
649 td = lib_ptr(ib, btx_ring[i], lp->type);
789 *lib_ptr(ib, mode, lp->type) = 0;
790 *lib_ptr(ib, filter[0], lp->type) = 0;
791 *lib_ptr(ib, filter[1], lp->type) = 0;
792 *lib_ptr(ib, filter[2], lp->type) = 0;
793 *lib_ptr(ib, filter[3], lp->type) = 0;
911 *lib_ptr(ib, btx_ring[entry].length, lp->type) = (-len);
912 *lib_ptr(ib, btx_ring[entry].misc, lp->type) = 0;
917 *lib_ptr(ib, btx_ring[entry].tmd1, lp->type) =
945 *lib_ptr(ib, filter[0], lp->type) = 0xffff;
946 *lib_ptr(ib, filter[1], lp->type) = 0xffff;
947 *lib_ptr(ib, filter[2], lp->type) = 0xffff;
948 *lib_ptr(ib, filter[3], lp->type) = 0xffff;
952 *lib_ptr(ib, filter[0], lp->type) = 0;
953 *lib_ptr(ib, filter[1], lp->type) = 0;
954 *lib_ptr(ib, filter[2], lp->type) = 0;
955 *lib_ptr(ib, filter[3], lp->type) = 0;
967 *lib_ptr(ib, filter[crc >> 4], lp->type) |= 1 << (crc & 0xf);
994 *lib_ptr(ib, mode, lp->type) |= LE_MO_PROM;
996 *lib_ptr(ib, mode, lp->type) &= ~LE_MO_PROM;