Searched defs:first (Results 176 - 200 of 205) sorted by relevance

123456789

/drivers/usb/host/
H A Du132-hcd.c1610 int first = u132->hc_fminterval == 0; local
1614 if (first) {
/drivers/block/
H A Dnvme-core.c578 int first = 1; local
587 if (!first && BIOVEC_PHYS_MERGEABLE(&bvprv, &bvec)) {
590 if (!first && BIOVEC_NOT_VIRT_MERGEABLE(&bvprv, &bvec))
604 first = 0;
H A Drbd.c307 int result; /* first nonzero obj_request result */
1050 * reverse order, highest snapshot id first.
1323 * into the first bio in the source chain and continuing for the
1328 * refer to the first source bio and the offset into that bio where
1332 * chain that contains first un-cloned byte, and *offset will
1431 * the first ("doesn't exist") response arrives *after* the second
3916 !count ? "" : "\n", /* first? */
4761 * first found non-space character (if any). Returns the length of
4898 /* The first four tokens are required */
5518 struct rbd_device *first local
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_iba6120.c1015 /* do these first, they are most important */
1167 /* enable errors that are masked, at least this first time. */
1533 * handle errors and unusual events first, separate function
2410 * Non-error counters are first.
2411 * Start of "error" conters is indicated by a leading "E " on the first
3386 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; local
3396 first = dd->piobcnt2k;
3398 first = 0;
3401 buf = qib_getsendbuf_range(dd, pbufnum, first, last);
3587 /* Note that qpn_mask is set by qib_6120_config_ctxts() first */
[all...]
H A Dqib_iba7220.c1102 /* do these first, they are most important */
1462 /* enable errors that are masked, at least this first time. */
1631 /* first time through, set port guid */
1868 * Handle errors and unusual events first, separate function
2842 * "canonical" register layout of the first chips.
3021 * Non-error counters are first.
3022 * Start of "error" conters is indicated by a leading "E " on the first
3568 * Busy wait for this first part, it should be at most a
4195 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; local
4204 first
[all...]
H A Dqib_iba7322.c1502 /* If we are draining everything, block sends first */
1677 /* do these first, they are most important */
2237 /* enable errors that are masked, at least this first time. */
3029 * Handle errors and unusual events first, separate function
3120 /* handle "errors" of various kinds first, device ahead of port */
4824 /* handle non-counters and special cases first */
4881 * Non-error counters are first.
4882 * Start of "error" conters is indicated by a leading "E " on the first
5422 * Busy wait for this first part, it should be at most a
6755 u32 first, las local
[all...]
/drivers/iommu/
H A Dintel-iommu.c1256 /* Note: Only uses first TLB reg currently */
2063 /* If the next PTE would be the first in a new page, then we
2324 * clear it first
2437 bool first = true; local
2448 } else if (first) {
2450 first = false;
2548 * devices associated with RMRRs. The first is when evaluating a device for
/drivers/md/
H A Draid5.c25 * subtle (and I got it wrong the first time) so it deserves some
186 /* Find first data disk in a raid6 stripe */
190 /* ddf always start from first device */
470 struct list_head *first; local
474 first = (conf->inactive_list + hash)->next;
475 sh = list_entry(first, struct stripe_head, lru);
476 list_del_init(first);
829 * increment it first.
2343 /* Same a left_asymmetric, by first stripe is
2627 * toread/towrite point to the first i
5919 int first = 1; local
6418 int first = 0; local
[all...]
/drivers/media/i2c/
H A Ds5k5baf.c1440 enum selection_rect first,
1444 enum selection_rect i = first;
1446 *rects[first] = *v;
1452 *v = *rects[first];
1439 s5k5baf_set_rect_and_adjust(struct v4l2_rect **rects, enum selection_rect first, struct v4l2_rect *v) argument
/drivers/net/ethernet/calxeda/
H A Dxgmac.c1091 struct xgmac_dma_desc *desc, *first; local
1103 first = desc;
1134 if (desc != first)
1140 /* Set owner on first desc last to avoid race condition */
1142 desc_set_tx_owner(first, desc_flags | TXDESC_FIRST_SEG);
1169 desc = first;
/drivers/net/ethernet/intel/e1000/
H A De1000_main.c241 * e1000_init_module is the first routine called when the driver is
501 * it first, otherwise we can run into the situation when a work is
2282 /* load the first 14 addresses into the exact filters 1-14. Unicast
2325 * writing the odd offset first
2830 struct sk_buff *skb, unsigned int first,
2864 * The fix is to make sure that the first descriptor of a
2955 tx_ring->buffer_info[first].next_to_watch = i;
3117 unsigned int first, max_per_txd = E1000_MAX_DATA_PER_TXD; local
3238 first = tx_ring->next_to_use;
3259 count = e1000_tx_map(adapter, tx_ring, skb, first, max_per_tx
2828 e1000_tx_map(struct e1000_adapter *adapter, struct e1000_tx_ring *tx_ring, struct sk_buff *skb, unsigned int first, unsigned int max_per_txd, unsigned int nr_frags, unsigned int mss) argument
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c507 * value involves reading two 32 bit registers. The first read latches the
2969 * BEWARE: this seems to work but should be considered first if
5290 unsigned int first, unsigned int max_per_txd,
5365 tx_ring->buffer_info[first].next_to_watch = i;
5537 unsigned int first; local
5618 first = tx_ring->next_to_use;
5642 count = e1000_tx_map(tx_ring, skb, first, adapter->tx_fifo_limit,
5665 tx_ring->buffer_info[first].time_stamp = 0;
5666 tx_ring->next_to_use = first;
6255 * Disable ASPM in downstream component first an
5289 e1000_tx_map(struct e1000_ring *tx_ring, struct sk_buff *skb, unsigned int first, unsigned int max_per_txd, unsigned int nr_frags) argument
[all...]
/drivers/net/ethernet/natsemi/
H A Dns83820.c1824 /* write out the phy address: 5 bits, msb first */
1828 /* write out the register address, 5 bits, msb first */
1835 /* read in the register data, 16 bits msb first */
1857 /* write out the phy address: 5 bits, msb first */
1861 /* write out the register address, 5 bits, msb first */
1868 /* read in the register data, 16 bits msb first */
1878 static int first; local
1884 if (!first) {
1895 first = 1;
/drivers/net/ethernet/neterion/
H A Ds2io.c2647 /* Transfer ownership of first descriptor to adapter just before
8561 struct sk_buff *first = lro->parent; local
8564 first->len += tcp_len;
8565 first->data_len = lro->frags_len;
8567 if (skb_shinfo(first)->frag_list)
8570 skb_shinfo(first)->frag_list = skb;
8571 first->truesize += skb->truesize;
/drivers/net/ethernet/realtek/
H A D8139cp.c124 #define RX_FIFO_THRESH 5 /* Rx buffer level before first PCI xfer. */
168 OldTSD0 = 0x10, /* DMA address of first Tx desc (C mode) */
716 int first, int entry_last)
721 for (frag = 0; frag+first < entry_last; frag++) {
722 index = first+frag;
715 unwind_tx_frag_mapping(struct cp_private *cp, struct sk_buff *skb, int first, int entry_last) argument
/drivers/s390/block/
H A Ddasd_eckd.c1071 /* save first valid configuration data */
1232 } else /* first valid path is enough */
1334 * the first working path UID will be used as device UID
1847 /* Define extent for the first 3 tracks. */
1851 /* Locate record for the first 4 records on track 0. */
1867 /* Locate record for the first record on track 2. */
1934 /* first try without ERP, so we can later handle unformatted
2427 * retry after first requests were finished
2458 * first requests are finished
2514 /* first o
4148 struct ccw1 *first, *last, *fail, *from, *to; local
[all...]
/drivers/tty/vt/
H A Dvt.c117 int first; member in struct:con_driver
1320 * Select first alternate font, lets
2113 uint32_t first; member in struct:interval
2122 if (ucs < table[0].first || ucs > table[max].last)
2128 else if (ucs < table[mid].first)
2194 /* undraw cursor first */
2243 /* Single ASCII byte or first byte of a sequence received */
2551 /* undraw cursor first */
2962 con_driver->first = 0;
3078 static int do_bind_con_driver(const struct consw *csw, int first, in argument
3180 con_is_graphics(const struct consw *csw, int first, int last) argument
3197 do_unbind_con_driver(const struct consw *csw, int first, int last, int deflt) argument
3279 int i, more = 1, first = -1, last = -1, deflt = 0; local
3333 int i, more = 1, first = -1, last = -1, deflt = 0; local
3568 do_register_con_driver(const struct consw *csw, int first, int last) argument
3689 do_take_over_console(const struct consw *csw, int first, int last, int deflt) argument
[all...]
/drivers/video/fbdev/
H A Damifb.c215 the first pixel is output, so diwstrt_h = ddfstrt + 64 + 4 if you want
216 to display the first pixel on the line too. Increase diwstrt_h for
244 - chipset needs 4 pixels before the first pixel is output
246 - chipset needs also prefetch (table 2) to get first pixel data, so
2603 unsigned long first, last; local
2612 first = ~0UL >> dst_idx;
2621 first &= last;
2622 *dst = comp(*src, *dst, first);
2626 if (first) {
2627 *dst = comp(*src, *dst, first);
2743 unsigned long first, last; local
2895 unsigned long first, last; local
3035 unsigned long first, last; local
3091 unsigned long first, last; local
[all...]
/drivers/dma/
H A Dpl330.c288 * 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...]
/drivers/media/pci/ivtv/
H A Divtv-driver.h74 #define IVTV_ENCODER_SIZE 0x00800000 /* Total size is 0x01000000, but only first half is used */
76 #define IVTV_DECODER_SIZE 0x00800000 /* Total size is 0x01000000, but only first half is used */
260 #define IVTV_F_I_INITED 21 /* set after first open */
261 #define IVTV_F_I_FAILED 22 /* set if first open failed */
267 #define IVTV_F_I_EV_VSYNC_FIELD 30 /* VSYNC event field (0 = first, 1 = second field) */
301 unsigned long first; member in struct:ivtv_dma_page_info
328 /* These first four fields are always set, even if the stream
549 u32 start[2]; /* start of first VBI line in the odd/even fields */
587 The first byte is a dummy byte that's never used.
/drivers/net/ethernet/intel/igb/
H A Digb_main.c668 * igb_init_module is the first routine called when the driver is
721 * In order to avoid collision we start at the first free queue
869 /* configure q_vector to set itr on first interrupt */
913 /* Turn on MSI-X capability first, or our settings
1185 * @txr_idx: index of first Tx ring to allocate
1187 * @rxr_idx: index of first Rx ring to allocate
3441 /* Set the default pool for the PF's first queue */
4640 struct igb_tx_buffer *first,
4643 struct sk_buff *skb = first->skb;
4661 if (first
4639 igb_tso(struct igb_ring *tx_ring, struct igb_tx_buffer *first, u8 *hdr_len) argument
4704 igb_tx_csum(struct igb_ring *tx_ring, struct igb_tx_buffer *first) argument
4858 igb_tx_map(struct igb_ring *tx_ring, struct igb_tx_buffer *first, const u8 hdr_len) argument
4993 struct igb_tx_buffer *first; local
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c1695 * 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/iwlegacy/
H A D4965-mac.c1159 * Before first association, we assume all antennas are connected.
1160 * Just after first association, il4965_chain_noise_calibration()
1784 /* Set up first empty entry in queue's array of Tx/cmd buffers */
1817 * Use the first empty entry in this queue's command buffer array
1852 * first entry */
2104 * Find first available (lowest unused) Tx Queue, mark it "active".
2202 /* Place first TFD at idx corresponding to start sequence number.
2938 * (in Tx queue's circular buffer) of first TFD/frame in win */
4689 il4965_request_firmware(struct il_priv *il, bool first) argument
4694 if (first) {
[all...]
/drivers/scsi/
H A Dgdth.h429 u32 first; /* first SCSI disk */ member in struct:__anon5380
451 u8 first_chan; /* first channel number */
525 u32 first_entry; /* first entry number */
/drivers/tty/
H A Dsynclinkmp.c579 static void rx_free_frame_buffers(SLMP_INFO *info, unsigned int first, unsigned int last);
3859 /* copy resource information from first port to others */
4798 * and set the current buffer to the first buffer. This effectively
4809 * first index of 1st receive buffer of frame
4812 static void rx_free_frame_buffers(SLMP_INFO *info, unsigned int first, unsigned int last) argument
4818 info->rx_buf_list[first].status = 0xff;
4820 if (first == last) {
4823 write_reg16(info, RXDMA + EDA, info->rx_buf_list_ex[first].phys_entry);
4826 first++;
4827 if (first
[all...]

Completed in 1037 milliseconds

123456789