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;
823 return (lanai->aal0buf.start == NULL) ? -ENOMEM : 0;
883 /* start with both clock and data high */
887 /* send start bit */
1139 ((unsigned long) lvcc->tx.buf.start);
1140 r -= 16; /* Leave "bubble" - if start==end it looks empty */
1167 (unsigned char *) lvcc->tx.buf.start;
1170 "start,ptr,end=%p,%p,%p\n", pos, lvcc->vci,
1171 lvcc->tx.buf.start, lvcc->tx.buf.ptr, lvcc->tx.buf.end);
1175 "start,ptr,end=%p,%p,%p\n", pos, lvcc->vci,
1176 lvcc->tx.buf.start, lvcc->tx.buf.ptr, lvcc->tx.buf.end);
1182 lvcc->tx.buf.ptr = lvcc->tx.buf.start;
1194 lvcc->tx.buf.ptr = lvcc->tx.buf.start;
1208 memcpy(lvcc->tx.buf.start, src + n - m, m);
1209 e = ((unsigned char *) lvcc->tx.buf.start) + m;
1226 memset(lvcc->tx.buf.start, 0, m);
1227 e = ((unsigned char *) lvcc->tx.buf.start) + m;
1237 (unsigned char *) lvcc->tx.buf.start;
1239 "lanai_endtx: bad ptr (%d), vci=%d, start,ptr,end=%p,%p,%p\n",
1240 ptr, lvcc->vci, lvcc->tx.buf.start, lvcc->tx.buf.ptr,
1265 * Before we tall the card to start work we need to be sure 100% of
1372 memcpy(dest + n - m, lvcc->rx.buf.start, m);
1383 u32 *end = &lvcc->rx.buf.start[endptr * 4];
1391 if ((x = &end[-2]) < lvcc->rx.buf.start)
1488 if (unlikely(buf->start == NULL))
1583 if (unlikely(lanai->service.start == NULL))
1586 lanai->service.start,
1674 ((unsigned long) lvcc->rx.buf.start)) + 47;
1692 lvcc->rx.buf.ptr = &lvcc->rx.buf.start[SERVICE_GET_END(s) * 4];
1714 const u32 *end = lanai->service.start + wreg;
1719 lanai->service.ptr = lanai->service.start;
2136 raw_base = lanai->pci->resource[0].start;