Lines Matching refs:start
196 u32 *start; /* From get_free_pages */
323 * Returns buf->start==NULL if no memory
345 buf->start = dma_alloc_coherent(&pci->dev,
347 if (buf->start != NULL) { /* Success */
352 buf->ptr = buf->start;
354 (&((unsigned char *) buf->start)[size]);
355 memset(buf->start, 0, size);
365 return ((unsigned long) buf->end) - ((unsigned long) buf->start);
371 if (buf->start != NULL) {
373 buf->start, buf->dmaaddr);
374 buf->start = buf->end = buf->ptr = NULL;
822 return (lanai->aal0buf.start == NULL) ? -ENOMEM : 0;
882 /* start with both clock and data high */
886 /* send start bit */
1138 ((unsigned long) lvcc->tx.buf.start);
1139 r -= 16; /* Leave "bubble" - if start==end it looks empty */
1166 (unsigned char *) lvcc->tx.buf.start;
1169 "start,ptr,end=%p,%p,%p\n", pos, lvcc->vci,
1170 lvcc->tx.buf.start, lvcc->tx.buf.ptr, lvcc->tx.buf.end);
1174 "start,ptr,end=%p,%p,%p\n", pos, lvcc->vci,
1175 lvcc->tx.buf.start, lvcc->tx.buf.ptr, lvcc->tx.buf.end);
1181 lvcc->tx.buf.ptr = lvcc->tx.buf.start;
1193 lvcc->tx.buf.ptr = lvcc->tx.buf.start;
1207 memcpy(lvcc->tx.buf.start, src + n - m, m);
1208 e = ((unsigned char *) lvcc->tx.buf.start) + m;
1225 memset(lvcc->tx.buf.start, 0, m);
1226 e = ((unsigned char *) lvcc->tx.buf.start) + m;
1236 (unsigned char *) lvcc->tx.buf.start;
1238 "lanai_endtx: bad ptr (%d), vci=%d, start,ptr,end=%p,%p,%p\n",
1239 ptr, lvcc->vci, lvcc->tx.buf.start, lvcc->tx.buf.ptr,
1264 * Before we tall the card to start work we need to be sure 100% of
1371 memcpy(dest + n - m, lvcc->rx.buf.start, m);
1382 u32 *end = &lvcc->rx.buf.start[endptr * 4];
1390 if ((x = &end[-2]) < lvcc->rx.buf.start)
1487 if (unlikely(buf->start == NULL))
1582 if (unlikely(lanai->service.start == NULL))
1585 lanai->service.start,
1673 ((unsigned long) lvcc->rx.buf.start)) + 47;
1691 lvcc->rx.buf.ptr = &lvcc->rx.buf.start[SERVICE_GET_END(s) * 4];
1713 const u32 *end = lanai->service.start + wreg;
1718 lanai->service.ptr = lanai->service.start;
2135 raw_base = lanai->pci->resource[0].start;