Searched refs:first (Results 51 - 75 of 215) sorted by relevance

123456789

/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c152 * Only the first packet added to the arpq should kick off
202 * Only the first packet added to the arpq should kick off
242 for (p = &d->l2tab[hash].first; *p; p = &(*p)->next)
333 for (e = d->l2tab[hash].first; e; e = e->next)
346 e->next = d->l2tab[hash].first;
347 d->l2tab[hash].first = e;
406 for (e = d->l2tab[hash].first; e; e = e->next)
H A Dl2t.h55 * first element in its chain through its first pointer.
65 struct l2t_entry *first; /* start of hash chain */ member in struct:l2t_entry
/drivers/s390/cio/
H A Ddevice_pgid.c240 struct pgid *first = NULL; local
256 if (!first) {
257 first = pgid;
260 if (pgid_cmp(pgid, first) != 0)
263 if (!first)
264 first = &channel_subsystems[0]->global_pgid;
265 *p = first;
/drivers/iommu/
H A Domap-iommu.c470 static void flush_iopgd_range(u32 *first, u32 *last) argument
475 : : "r" (first));
476 first += L1_CACHE_BYTES / sizeof(*first);
477 } while (first <= last);
480 static void flush_iopte_range(u32 *first, u32 *last) argument
485 : : "r" (first));
486 first += L1_CACHE_BYTES / sizeof(*first);
487 } while (first <
[all...]
/drivers/pci/hotplug/
H A Dcpci_hotplug_core.c222 cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last) argument
238 for (i = first; i <= last; ++i) {
654 static int first = 1; local
668 status = init_slots(first);
669 if (first)
670 first = 0;
/drivers/media/video/
H A Dv4l2-event.c36 idx += sev->first;
60 kev->sev->first = sev_pos(kev->sev, 1);
132 sev->first = sev_pos(sev, 1);
H A Dvideobuf2-dma-sg.c115 unsigned long first, last; local
127 first = (vaddr & PAGE_MASK) >> PAGE_SHIFT;
129 buf->sg_desc.num_pages = last - first + 1;
/drivers/mtd/chips/
H A Dcfi_util.c173 int i, first; local
184 we skip to the first erase region which starts after the
202 first = i;
222 i=first;
/drivers/net/
H A Dvirtio_net.c382 struct page *first, *list = NULL; local
388 first = get_a_page(vi, gfp);
389 if (!first) {
394 sg_set_buf(&vi->rx_sg[i], page_address(first), PAGE_SIZE);
397 first->private = (unsigned long)list;
398 list = first;
401 first = get_a_page(vi, gfp);
402 if (!first) {
406 p = page_address(first);
416 /* chain first i
[all...]
/drivers/gpu/drm/savage/
H A Dsavage_bci.c420 unsigned int first = dev_priv->first_dma_page; local
427 if (first == cur &&
436 DRM_DEBUG("first=%u, cur=%u, first->flushed=%u, cur->used=%u, "
438 first, cur, dev_priv->dma_pages[first].flushed,
456 (first * SAVAGE_DMA_PAGE_SIZE +
457 dev_priv->dma_pages[first].flushed) * 4;
458 len = (cur - first) * SAVAGE_DMA_PAGE_SIZE +
459 dev_priv->dma_pages[cur].used - dev_priv->dma_pages[first]
[all...]
H A Dsavage_drv.h41 * 2.0 The first real DRM
458 #define BCI_SET_REGISTERS( first, n ) \
461 ((uint32_t)(first) & 0xffff))
462 #define DMA_SET_REGISTERS( first, n ) \
465 ((uint32_t)(first) & 0xffff))
/drivers/infiniband/hw/qib/
H A Dqib_qsfp.c106 /* Some QSFP's fail first try. Retry as experiment */
249 * <first> to <next-1> and returns the 8lsbs of the sum, or <0 for errors
251 static int qsfp_cks(struct qib_pportdata *ppd, int first, int next) argument
258 while (first < next) {
259 ret = qsfp_read(ppd, first, &bval, 1);
263 ++first;
/drivers/media/dvb/frontends/
H A Dl64781.c38 unsigned int first:1; member in struct:l64781_state
475 /* delay a bit after first init attempt */
476 if (state->first) {
477 state->first = 0;
518 state->first = 1;
/drivers/pcmcia/
H A Dpxa2xx_trizeps4.c165 .first = 0,
H A Dpxa2xx_vpac270.c96 .first = 0,
H A Dsa1111_lubbock.c205 .first = 0,
H A Dsa11xx_base.c219 int first, int nr)
237 skt->nr = first + i;
218 sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops, int first, int nr) argument
/drivers/macintosh/
H A Dtherm_pm72.c859 /* If first loop, fill the history table */
860 if (state->first) {
870 state->first = 0;
1157 state->first = 1;
1264 /* If first loop, fill the history table */
1265 if (state->first) {
1273 state->first = 0;
1373 state->first = 1;
1439 /* If first loop, fill the history table */
1440 if (state->first) {
[all...]
/drivers/auxdisplay/
H A Dcfag12864b.c67 * If high, the first ks0108 controller receives commands/data.
121 static void cfag12864b_setcontrollers(unsigned char first, argument
124 if (first)
334 /* ks0108_init() must be called first */
/drivers/i2c/busses/
H A Di2c-eg20t.c393 * @first: specifies whether first message or not.
394 * 1 for first message otherwise 0.
397 struct i2c_msg *msgs, u32 last, u32 first)
419 if (first) {
427 if (first)
454 if (first)
549 * @first: specifies whether first message or not.
552 u32 last, u32 first)
396 pch_i2c_writebytes(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, u32 last, u32 first) argument
551 pch_i2c_readbytes(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, u32 last, u32 first) argument
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c227 /* only the first buffer may have none-zero offset */
451 * @first: first tx_buffer structure containing skb, tx_flags, and protocol
459 struct ixgbe_tx_buffer *first,
462 struct sk_buff *skb = first->skb;
500 /* the first byte of the last dword is EOF */
539 first->gso_segs = DIV_ROUND_UP(skb->len - *hdr_len,
541 first->bytecount += (first->gso_segs - 1) * *hdr_len;
542 first
458 ixgbe_fso(struct ixgbe_ring *tx_ring, struct ixgbe_tx_buffer *first, u8 *hdr_len) argument
[all...]
/drivers/staging/comedi/drivers/
H A Ddt9812.c651 /* 2 load low byte of DAC value first */
669 /* 2 load low byte of DAC value first */
830 struct slot_dt9812 *first = NULL; local
834 if (!first && !dt9812[i].usb && dt9812[i].serial == 0)
835 first = &dt9812[i];
841 best = first;
1084 struct slot_dt9812 *first = NULL; local
1087 if (!first && !dt9812[i].comedi) {
1089 first = &dt9812[i];
1099 best = first;
[all...]
/drivers/staging/ozwpan/
H A Dozpd.c595 struct list_head *first = 0; local
608 if (first == 0)
609 first = e;
614 if (first) {
621 while (first) {
622 f = container_of(first, struct oz_tx_frame, link);
623 first = first->next;
/drivers/staging/usbip/userspace/
H A DREADME110 driver. To export this device, we first mark the device as
/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c85 * neighbors to be on the same hash chain. We keep v4 entries in the first
292 for (p = &d->l2tab[e->hash].first; *p; p = &(*p)->next)
382 for (e = d->l2tab[hash].first; e; e = e->next)
404 e->next = d->l2tab[hash].first;
405 d->l2tab[hash].first = e;
449 for (e = d->l2tab[hash].first; e; e = e->next)

Completed in 570 milliseconds

123456789