/drivers/pcmcia/ |
H A D | sa1111_lubbock.c | 205 .first = 0,
|
H A D | sa11xx_base.c | 216 int first, int nr) 234 skt->nr = first + i; 215 sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops, int first, int nr) argument
|
/drivers/gpu/drm/savage/ |
H A D | savage_bci.c | 420 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...] |
/drivers/macintosh/ |
H A D | therm_pm72.c | 859 /* 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/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 2836 struct ixgbevf_tx_buffer *first, 2839 struct sk_buff *skb = first->skb; 2866 first->tx_flags |= IXGBE_TX_FLAGS_TSO | 2875 first->tx_flags |= IXGBE_TX_FLAGS_TSO | 2885 first->gso_segs = skb_shinfo(skb)->gso_segs; 2886 first->bytecount += (first->gso_segs - 1) * *hdr_len; 2896 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; 2905 struct ixgbevf_tx_buffer *first) 2907 struct sk_buff *skb = first 2835 ixgbevf_tso(struct ixgbevf_ring *tx_ring, struct ixgbevf_tx_buffer *first, u8 *hdr_len) argument 2904 ixgbevf_tx_csum(struct ixgbevf_ring *tx_ring, struct ixgbevf_tx_buffer *first) argument 3012 ixgbevf_tx_map(struct ixgbevf_ring *tx_ring, struct ixgbevf_tx_buffer *first, const u8 hdr_len) argument 3168 struct ixgbevf_tx_buffer *first; local [all...] |
/drivers/auxdisplay/ |
H A D | cfag12864b.c | 67 * 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/dma/sh/ |
H A D | shdma-base.c | 65 /* Find the first not transferred descriptor */ 268 * services would have to provide their own filters, which first would check 472 * @first: if NULL, set to the current descriptor and cookie set to -EBUSY 480 struct shdma_desc **first, enum dma_transfer_direction direction) 499 if (!*first) { 502 *first = new; 542 struct shdma_desc *first = NULL, *new = NULL /* compiler... */; local 556 * first descriptor is what user is dealing with in all API calls, its 557 * cookie is at first set to -EBUSY, at tx-submit to a positive 560 * the last chunk, if not equal to the first, ha 478 shdma_add_desc(struct shdma_chan *schan, unsigned long flags, dma_addr_t *dst, dma_addr_t *src, size_t *len, struct shdma_desc **first, enum dma_transfer_direction direction) argument [all...] |
/drivers/i2c/busses/ |
H A D | i2c-eg20t.c | 372 * @first: specifies whether first message or not. 373 * 1 for first message otherwise 0. 376 struct i2c_msg *msgs, u32 last, u32 first) 398 if (first) { 406 if (first) 418 if (first) 490 * @first: specifies whether first message or not. 493 u32 last, u32 first) 375 pch_i2c_writebytes(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, u32 last, u32 first) argument 492 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 D | ixgbe_fcoe.c | 231 /* only the first buffer may have none-zero offset */ 456 * @first: first tx_buffer structure containing skb, tx_flags, and protocol 464 struct ixgbe_tx_buffer *first, 467 struct sk_buff *skb = first->skb; 505 /* the first byte of the last dword is EOF */ 544 first->gso_segs = DIV_ROUND_UP(skb->len - *hdr_len, 546 first->bytecount += (first->gso_segs - 1) * *hdr_len; 547 first 463 ixgbe_fso(struct ixgbe_ring *tx_ring, struct ixgbe_tx_buffer *first, u8 *hdr_len) argument [all...] |
H A D | ixgbe_main.c | 1695 * ixgbe_dma_sync_frag - perform DMA sync for first frag of SKB 1699 * This function provides a basic DMA sync up for the first fragment of an 1700 * skb. The reason for doing this is that the first fragment cannot be 1903 /* prefetch first cache line of first page */ 1925 * Delay unmapping of the first packet. It carries the 3452 /* Map PF MAC address in RAR Entry 0 to first pool following VFs */ 3814 /* this function destroys the first RAR entry */ 4709 /* bring the link up in the watchdog, this could race with our first 4903 /* call carrier off first t 6555 ixgbe_tso(struct ixgbe_ring *tx_ring, struct ixgbe_tx_buffer *first, u8 *hdr_len) argument 6622 ixgbe_tx_csum(struct ixgbe_ring *tx_ring, struct ixgbe_tx_buffer *first) argument 6780 ixgbe_tx_map(struct ixgbe_ring *tx_ring, struct ixgbe_tx_buffer *first, const u8 hdr_len) argument 6923 ixgbe_atr(struct ixgbe_ring *ring, struct ixgbe_tx_buffer *first) argument 7059 struct ixgbe_tx_buffer *first; local [all...] |
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | ampdu.c | 506 session->max_ampdu_len = 0; /* determined from first MPDU */ 507 session->max_ampdu_frames = 0; /* determined from first MPDU */ 544 struct sk_buff *first; local 558 first = skb_peek(&session->skb_list); 559 if (p->priority != first->priority) 630 struct sk_buff *first, *last; local 658 first = skb_peek(&session->skb_list); 661 /* Need to fix up last MPDU first to adjust AMPDU length */ 682 /* Now fix up the first MPDU */ 683 tx_info = IEEE80211_SKB_CB(first); [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.c | 86 * neighbors to be on the same hash chain. We keep v4 entries in the first 293 for (p = &d->l2tab[e->hash].first; *p; p = &(*p)->next) 383 for (e = d->l2tab[hash].first; e; e = e->next) 407 e->next = d->l2tab[hash].first; 408 d->l2tab[hash].first = e; 486 for (e = d->l2tab[hash].first; e; e = e->next)
|
/drivers/dma/ |
H A D | pl330.c | 288 * first request and a request with new settings. 2360 struct dma_pl330_desc *desc = NULL, *first = NULL; local 2382 if (!first) 2387 while (!list_empty(&first->node)) { 2388 desc = list_entry(first->node.next, 2393 list_move_tail(&first->node, &pl330->desc_pool); 2422 if (!first) 2423 first = desc; 2425 list_add_tail(&desc->node, &first->node); 2489 struct dma_pl330_desc *first) 2488 __pl330_giveback_desc(struct pl330_dmac *pl330, struct dma_pl330_desc *first) argument 2515 struct dma_pl330_desc *first, *desc = NULL; local [all...] |
H A D | pch_dma.c | 589 struct pch_dma_desc *first = NULL; local 642 if (!first) { 643 first = desc; 646 list_add_tail(&desc->desc_node, &first->tx_list); 657 first->txd.cookie = -EBUSY; 660 return &first->txd; 664 pdc_desc_put(pd_chan, first);
|
/drivers/usb/host/ |
H A D | xhci-mem.c | 78 struct xhci_segment *first) 82 seg = first->next; 83 while (seg != first) { 88 xhci_segment_free(xhci, first); 129 struct xhci_segment *first, struct xhci_segment *last, 134 if (!ring || !first || !last) 138 xhci_link_segments(xhci, ring->enq_seg, first, ring->type); 319 struct xhci_segment **first, struct xhci_segment **last, 330 *first = prev; 336 prev = *first; 77 xhci_free_segments_for_ring(struct xhci_hcd *xhci, struct xhci_segment *first) argument 128 xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *ring, struct xhci_segment *first, struct xhci_segment *last, unsigned int num_segs) argument 318 xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, struct xhci_segment **first, struct xhci_segment **last, unsigned int num_segs, unsigned int cycle_state, enum xhci_ring_type type, gfp_t flags) argument 460 struct xhci_segment *first; local [all...] |
/drivers/scsi/ |
H A D | initio.c | 484 /* Calculate checksum first */ 770 struct scsi_ctrl_blk *first; local 773 first = host->first_pending; 774 while (first != NULL) { 775 if (first->opcode != ExecSCSI) 776 return first; 777 if (first->tagmsg == 0) { 778 if ((host->act_tags[first->target] == 0) && 779 !(host->targets[first->target].flags & TCF_BUSY)) 780 return first; [all...] |
/drivers/mtd/nand/gpmi-nand/ |
H A D | gpmi-nand.c | 387 /* first try to map the upper buffer directly */ 583 /* The main clock is stored in the first. */ 1054 * rely on the first byte of the auxiliary buffer to contain 1081 int first, last, marker_pos; local 1090 first = offs / size; 1096 * If this chunk is in the range of [first, last], 1102 if (last >= marker_pos && first <= marker_pos) { 1104 "page:%d, first:%d, last:%d, marker at:%d\n", 1105 page, first, last, marker_pos); 1111 if (first) { [all...] |
/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 502 memcpy(lay->in, ent->in->first.data, sizeof(lay->in)); 562 struct mlx5_inbox_hdr *hdr = (struct mlx5_inbox_hdr *)(in->first.data); 635 op = be16_to_cpu(((struct mlx5_inbox_hdr *)in->first.data)->opcode); 698 copy = min_t(int, size, sizeof(to->first.data)); 699 memcpy(to->first.data, from, copy); 730 copy = min_t(int, size, sizeof(from->first.data)); 731 memcpy(to, from->first.data, copy); 798 blen = size - min_t(int, sizeof(msg->first.data), size); 1112 memcpy(ent->out->first.data, ent->lay->out, sizeof(ent->lay->out));
|
/drivers/atm/ |
H A D | suni.c | 310 int first; local 313 first = !sunis; 327 if (first) {
|
/drivers/mtd/devices/ |
H A D | lart.c | 311 /* probe U2. U2/U3 returns the same data since the first 3 364 int i,first; local 376 * we skip to the first erase region which starts after the 392 first = i; 411 i = first; 443 /* first, we read bytes until we reach a dword boundary */ 521 /* first, we write a 0xFF.... padded byte until we reach a dword boundary */
|
/drivers/net/ |
H A D | virtio_net.c | 565 struct page *first, *list = NULL; local 573 first = get_a_page(rq, gfp); 574 if (!first) { 579 sg_set_buf(&rq->sg[i], page_address(first), PAGE_SIZE); 582 first->private = (unsigned long)list; 583 list = first; 586 first = get_a_page(rq, gfp); 587 if (!first) { 591 p = page_address(first); 601 /* chain first i [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_qdio.c | 38 static void zfcp_qdio_zero_sbals(struct qdio_buffer *sbal[], int first, int cnt) argument 42 for (i = first; i < first + cnt; i++) { 146 /* set chaining flag in first SBALE of current SBAL */ 158 /* start at first SBALE of new SBAL */ 249 * zfcp_qdio_send - set PCI flag in first SBALE and send req to QDIO 427 /* set index of first available SBALS / number of available SBALS */
|
/drivers/staging/speakup/ |
H A D | synth.c | 262 static int first = 1; local 264 if (first) 265 first = 0;
|
/drivers/tty/serial/ |
H A D | nwpserial.c | 340 static int first = 1; local 375 if (first) 377 first = 0;
|
/drivers/crypto/ccp/ |
H A D | ccp-crypto.h | 155 unsigned int first; member in struct:ccp_sha_req_ctx
|