/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/mlx4/ |
H A D | mr.c | 185 struct mlx4_mtt *mtt) 190 mtt->order = -1; 191 mtt->page_shift = MLX4_ICM_PAGE_SHIFT; 194 mtt->page_shift = page_shift; 196 for (mtt->order = 0, i = MLX4_MTT_ENTRY_PER_SEG; i < npages; i <<= 1) 197 ++mtt->order; 199 mtt->first_seg = mlx4_alloc_mtt_range(dev, mtt->order); 200 if (mtt->first_seg == -1) 207 void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt) argument 184 mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, struct mlx4_mtt *mtt) argument 220 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt) argument 368 mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, int start_index, int npages, u64 *page_list) argument 416 mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, struct mlx4_buf *buf) argument [all...] |
H A D | cq.c | 132 int mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, argument 171 cq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT; 173 mtt_addr = mlx4_mtt_addr(dev, mtt);
|
H A D | qp.c | 68 int mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, argument 130 u64 mtt_addr = mlx4_mtt_addr(dev, mtt); 133 context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT;
|
H A D | srq.c | 105 int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, struct mlx4_mtt *mtt, argument 144 srq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT; 146 mtt_addr = mlx4_mtt_addr(dev, mtt);
|
H A D | eq.c | 392 err = mlx4_mtt_init(dev, npages, PAGE_SHIFT, &eq->mtt); 396 err = mlx4_write_mtt(dev, &eq->mtt, 0, npages, dma_list); 407 mtt_addr = mlx4_mtt_addr(dev, &eq->mtt); 425 mlx4_mtt_cleanup(dev, &eq->mtt); 475 mlx4_mtt_cleanup(dev, &eq->mtt);
|
H A D | mlx4.h | 148 struct mlx4_mtt mtt; member in struct:mlx4_eq
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_mr.c | 203 struct mthca_mtt *mtt; local 209 mtt = kmalloc(sizeof *mtt, GFP_KERNEL); 210 if (!mtt) 213 mtt->buddy = buddy; 214 mtt->order = 0; 216 ++mtt->order; 218 mtt->first_seg = mthca_alloc_mtt_range(dev, mtt->order, buddy); 219 if (mtt 232 mthca_free_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt) argument 246 __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument 314 mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument 328 mthca_arbel_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument 353 mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument [all...] |
H A D | mthca_provider.h | 77 struct mthca_mtt *mtt; member in struct:mthca_mr 83 struct mthca_mtt *mtt; member in struct:mthca_fmr
|
H A D | mthca_provider.c | 1042 mr->mtt = mthca_alloc_mtt(dev, n); 1043 if (IS_ERR(mr->mtt)) { 1044 err = PTR_ERR(mr->mtt); 1069 err = mthca_write_mtt(dev, mr->mtt, n, pages, i); 1079 err = mthca_write_mtt(dev, mr->mtt, n, pages, i); 1094 mthca_free_mtt(dev, mr->mtt);
|
H A D | mthca_dev.h | 470 void mthca_free_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt); 471 int mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mlx4/ |
H A D | device.h | 203 struct mlx4_mtt mtt; member in struct:mlx4_mr 301 struct mlx4_mtt *mtt); 302 void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt); 303 u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt); 309 int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, 311 int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, 314 int mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, 321 int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, struct mlx4_mtt *mtt,
|
H A D | qp.h | 280 int mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/ |
H A D | mr.c | 76 int mlx4_ib_umem_write_mtt(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, argument 94 len = sg_dma_len(&chunk->page_list[j]) >> mtt->page_shift; 104 err = mlx4_write_mtt(dev->dev, mtt, n, 115 err = mlx4_write_mtt(dev->dev, mtt, n, i, pages); 150 err = mlx4_ib_umem_write_mtt(dev, &mr->mmr.mtt, mr->umem);
|
H A D | srq.c | 125 ilog2(srq->umem->page_size), &srq->mtt); 129 err = mlx4_ib_umem_write_mtt(dev, &srq->mtt, srq->umem); 160 &srq->mtt); 164 err = mlx4_buf_write_mtt(dev->dev, &srq->mtt, &srq->buf); 175 err = mlx4_srq_alloc(dev->dev, to_mpd(pd)->pdn, &srq->mtt, 199 mlx4_mtt_cleanup(dev->dev, &srq->mtt); 249 mlx4_mtt_cleanup(dev->dev, &msrq->mtt);
|
H A D | mlx4_ib.h | 77 struct mlx4_mtt mtt; member in struct:mlx4_ib_cq_buf 121 struct mlx4_mtt mtt; member in struct:mlx4_ib_qp 143 struct mlx4_mtt mtt; member in struct:mlx4_ib_srq 233 int mlx4_ib_umem_write_mtt(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt,
|
H A D | cq.c | 132 ilog2(cq->umem->page_size), &cq->buf.mtt); 136 err = mlx4_ib_umem_write_mtt(dev, &cq->buf.mtt, cq->umem); 162 &cq->buf.mtt); 166 err = mlx4_buf_write_mtt(dev->dev, &cq->buf.mtt, &cq->buf.buf); 173 err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar, 194 mlx4_mtt_cleanup(dev->dev, &cq->buf.mtt); 219 mlx4_mtt_cleanup(dev->dev, &mcq->buf.mtt);
|
H A D | qp.c | 345 ilog2(qp->umem->page_size), &qp->mtt); 349 err = mlx4_ib_umem_write_mtt(dev, &qp->mtt, qp->umem); 380 &qp->mtt); 384 err = mlx4_buf_write_mtt(dev->dev, &qp->mtt, &qp->buf); 426 mlx4_mtt_cleanup(dev->dev, &qp->mtt); 510 mlx4_mtt_cleanup(dev->dev, &qp->mtt); 911 err = mlx4_qp_modify(dev->dev, &qp->mtt, to_mlx4_state(cur_state),
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/irda/ |
H A D | w83977af_ir.c | 500 int mtt; local 534 mtt = irda_get_mtt(skb); 536 if (mtt > 50) { 538 mtt /= 1000+1; 542 outb(mtt & 0xff, iobase+TMRL); 543 outb((mtt >> 8) & 0x0f, iobase+TMRH); 554 IRDA_DEBUG(4, "%s(%ld), mtt=%d\n", __FUNCTION__ , jiffies, mtt); 555 if (mtt) 556 udelay(mtt); [all...] |
H A D | donauboe.c | 141 /* mtt is handled by generating packets with bad CRCs, before the data */ 144 /* check the mtt works ok */ 633 /*Generate packet of about mtt us long */ 635 toshoboe_makemttpacket (struct toshoboe_cb *self, void *buf, int mtt) argument 639 xbofs = ((int) (mtt/100)) * (int) (self->speed); 640 xbofs=xbofs/80000; /*Eight bits per byte, and mtt is in us*/ 644 ": generated mtt of %d bytes for %d us at %d baud\n" 645 , xbofs,mtt,self->speed); 982 int mtt, len, ctl; local 1012 /* But not now. Wait after transmission if mtt no [all...] |
H A D | ali-ircc.c | 1438 int mtt, diff; local 1484 mtt = irda_get_mtt(skb); 1486 if (mtt) 1499 /* Check if the mtt is larger than the time we have 1502 if (mtt > diff) 1504 mtt -= diff; 1511 if (mtt > 500) 1514 mtt = (mtt+250) / 500; /* 4 discard, 5 get advanced, Let's round off */ 1516 IRDA_DEBUG(1, "%s(), ************** mtt [all...] |
H A D | nsc-ircc.c | 1419 int mtt, diff; local 1477 mtt = irda_get_mtt(skb); 1478 if (mtt) { 1485 /* Check if the mtt is larger than the time we have 1488 if (mtt > diff) { 1489 mtt -= diff; 1496 if (mtt > 125) { 1498 mtt = mtt / 125; 1502 outb(mtt [all...] |
H A D | irda-usb.c | 392 int res, mtt; local 494 mtt = irda_get_mtt(skb); 495 if (mtt) { 510 /* Check if the mtt is larger than the time we have 513 if (mtt > diff) { 514 mtt -= diff; 515 if (mtt > 1000) 516 mdelay(mtt/1000); 518 udelay(mtt);
|
H A D | sa1100_ir.c | 692 int mtt = irda_get_mtt(skb); local 712 if (mtt) 713 udelay(mtt);
|
H A D | pxaficp_ir.c | 484 unsigned long mtt = irda_get_mtt(skb); local 489 if (mtt) 490 while ((unsigned)(OSCR - si->last_oscr)/4 < mtt)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/irda/ |
H A D | irda_device.h | 143 __u16 mtt; /* Minimum turn around time */ member in struct:irda_skb_cb 148 __u16 xbofs_delay; /* Number of xbofs used for generating the mtt */ 255 return (cb->magic == LAP_MAGIC) ? cb->mtt : 10000;
|