Searched defs:first (Results 76 - 100 of 205) sorted by relevance

123456789

/drivers/atm/
H A Dzatm.c182 struct rx_buffer_head *first; local
210 first = NULL;
225 if (!first) first = head;
241 if (first) {
244 zout(virt_to_bus(first),CER);
/drivers/block/drbd/
H A Ddrbd_actlog.c256 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); local
257 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9);
259 D_ASSERT(device, (unsigned)(last - first) <= 1);
263 if (first != last)
266 return _al_get(device, first, true);
273 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); local
274 unsigned last = i->size == 0 ? first : (i->sector + (i->size >> 9) - 1) >> (AL_EXTENT_SHIFT-9);
278 D_ASSERT(device, first <= last);
281 for (enr = first; enr <= last; enr++) {
343 unsigned first local
402 unsigned first = i->sector >> (AL_EXTENT_SHIFT-9); local
[all...]
/drivers/cdrom/
H A Dgdrom.c112 unsigned int first, last; member in struct:gdromtoc
165 /* Wait to get busy first */
351 fentry = get_entry_track(gd.toc->first);
353 /* Find the first data track */
362 if ((track > 100) || (track < get_entry_track(gd.toc->first))) {
/drivers/dma/
H A Dat_hdmac.c175 * @first: address of first descriptor of the chain
181 static void atc_desc_chain(struct at_desc **first, struct at_desc **prev, argument
184 if (!(*first)) {
185 *first = desc;
191 &(*first)->tx_list);
199 * @first: first descriptor in the list we want to begin with
203 static void atc_dostart(struct at_dma_chan *atchan, struct at_desc *first) argument
229 channel_writel(atchan, DSCR, first
476 struct at_desc *first = atc_first_active(atchan); local
600 struct at_desc *first = NULL; local
690 struct at_desc *first = NULL; local
907 struct at_desc *first = NULL; local
[all...]
H A Dfsldma.c769 struct fsl_desc_sw *first = NULL, *prev = NULL, *new; local
795 if (!first)
796 first = new;
809 list_add_tail(&new->node, &first->tx_list);
818 return &first->async_tx;
821 if (!first)
824 fsldma_free_desc_list_reverse(chan, &first->tx_list);
833 struct fsl_desc_sw *first = NULL, *prev = NULL, *new = NULL; local
878 if (!first)
879 first
[all...]
H A Dintel_mid_dma.c241 * @first: first descriptor of series
247 struct intel_mid_dma_desc *first)
260 iowrite32(first->sar, midc->ch_regs + SAR);
261 iowrite32(first->dar, midc->ch_regs + DAR);
262 iowrite32(first->lli_phys, midc->ch_regs + LLP);
263 iowrite32(first->cfg_hi, midc->ch_regs + CFG_HIGH);
264 iowrite32(first->cfg_lo, midc->ch_regs + CFG_LOW);
265 iowrite32(first->ctl_lo, midc->ch_regs + CTL_LOW);
266 iowrite32(first
246 midc_dostart(struct intel_mid_dma_chan *midc, struct intel_mid_dma_desc *first) argument
[all...]
H A Dtxx9dmac.c335 struct txx9dmac_desc *first)
341 first->txd.cookie, first); local
371 channel64_write_CHAR(dc, first->txd.phys);
392 channel32_writel(dc, CHAR, first->txd.phys);
394 channel32_writel(dc, CHAR, first->txd.phys);
722 struct txx9dmac_desc *first; local
735 prev = first = NULL;
757 txx9dmac_desc_put(dc, first);
782 if (!first) {
334 txx9dmac_dostart(struct txx9dmac_chan *dc, struct txx9dmac_desc *first) argument
818 struct txx9dmac_desc *first; local
[all...]
/drivers/dma/dw/
H A Dcore.c217 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) argument
243 dwc->residue = first->total_len;
244 dwc->tx_node_active = &first->tx_list;
246 /* Submit first block */
247 dwc_do_single_block(dwc, first);
254 channel_writel(dwc, LLP, first->txd.phys);
367 * We are inside first active descriptor.
419 /* Check first descriptors addr */
425 /* Check first descriptors llp */
682 struct dw_desc *first; local
764 struct dw_desc *first; local
[all...]
/drivers/dma/ioat/
H A Ddma.c236 struct ioat_desc_sw *first; local
246 first = to_ioat_desc(desc->tx_list.next);
250 chain_tail->hw->next = first->txd.phys;
253 dump_desc_dbg(ioat, first);
413 /* Before freeing channel resources first check
848 /* Start copy, using first DMA channel */
/drivers/gpu/drm/i915/
H A Di915_gpu_error.c114 /* If this is first printf in this window, adjust it so that
145 /* Seek the first printf which is hits start position */
174 /* Seek the first printf which is hits start position */
708 struct drm_i915_error_buffer * const first = err; local
724 return err - first;
/drivers/i2c/busses/
H A Di2c-xiic.c586 int first = 1; local
597 while ((fifo_space >= 2) && (first || (i2c->nmsgs > 1))) {
598 if (!first) {
603 first = 0;
/drivers/iommu/
H A Domap-iommu.c505 static void flush_iopgd_range(u32 *first, u32 *last) argument
510 : : "r" (first));
511 first += L1_CACHE_BYTES / sizeof(*first);
512 } while (first <= last);
515 static void flush_iopte_range(u32 *first, u32 *last) argument
520 : : "r" (first));
521 first += L1_CACHE_BYTES / sizeof(*first);
522 } while (first <
[all...]
/drivers/macintosh/
H A Dwindfarm_pm72.c130 static bool first = true; local
147 * The first time around, initialize the array with the first
150 if (first) {
158 first = false;
505 /* first time initialize things */
584 /* first time initialize things */
/drivers/media/pci/ttpci/
H A Dav7110_hw.c234 /* FIXME: Why does Nexus CA require 2x iwdebi for first init? */
982 static int OSDSetPalette(struct av7110 *av7110, u32 __user * colors, u8 first, u8 last) argument
985 int length = last - first + 1;
1004 first, last);
/drivers/media/pci/zoran/
H A Dzoran_driver.c292 * I don't understand why many other drivers first allocate them with
754 /* Start the jpeg codec when the first frame is queued */
1151 "%s: %s - frame buffer has to be set first\n",
2265 /* Start the jpeg codec when the first frame is queued */
2856 int first, last; local
2885 first = offset / fh->buffers.buffer_size;
2886 last = first - 1 + size / fh->buffers.buffer_size;
2888 size % fh->buffers.buffer_size != 0 || first < 0 ||
2889 last < 0 || first >= fh->buffers.num_buffers ||
2902 for (i = first;
[all...]
/drivers/media/platform/omap3isp/
H A Disp.c303 * The first argument is NULL in order to avoid circular
734 struct media_entity *first = entity; local
749 media_entity_graph_walk_start(&graph, first);
751 while ((first = media_entity_graph_walk_next(&graph))
752 && first != entity)
753 if (media_entity_type(first) != MEDIA_ENT_T_DEVNODE)
754 isp_pipeline_pm_power_one(first, -change);
966 * We need to stop all the modules after CCDC first or they'll
1569 * Initializes the clocks for the first acquire.
1571 * Increment the reference count on the ISP. If the first referenc
1799 unsigned int first; local
[all...]
/drivers/media/platform/vivid/
H A Dvivid-tpg.c986 unsigned first = 0; local
1006 first = 1;
1018 for (line = first; line < 16; line += step) { \
1335 * Replace the first half of the top line of a 50 Hz frame
/drivers/media/usb/uvc/
H A Duvc_ctrl.c396 unsigned int first = mapping->offset / 8; local
397 __s8 rel = (__s8)data[first];
401 return (rel == 0) ? 0 : (rel > 0 ? data[first+1]
402 : -data[first+1]);
404 return -data[first+1];
409 return data[first+1];
416 unsigned int first = mapping->offset / 8; local
418 data[first] = value == 0 ? 0 : (value > 0) ? 1 : 0xff;
419 data[first+1] = min_t(int, abs(value), 0xff);
2110 * first us
[all...]
/drivers/misc/sgi-xp/
H A Dxpc_uv.c957 head->first = NULL;
967 struct xpc_fifo_entry_uv *first; local
970 first = head->first;
971 if (head->first != NULL) {
972 head->first = first->next;
973 if (head->first == NULL)
979 first->next = NULL;
982 return first;
[all...]
/drivers/net/ethernet/atheros/alx/
H A Dmain.c983 static int alx_tx_csum(struct sk_buff *skb, struct alx_txd *first) argument
995 first->word1 |= cpu_to_le32((cso >> 1) << TPD_CXSUMSTART_SHIFT);
996 first->word1 |= cpu_to_le32((css >> 1) << TPD_CXSUMOFFSET_SHIFT);
997 first->word1 |= cpu_to_le32(1 << TPD_CXSUM_EN_SHIFT);
1071 struct alx_txd *first; local
1079 first = &txq->tpd[txq->write_idx];
1080 memset(first, 0, sizeof(*first));
1082 if (alx_tx_csum(skb, first))
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c47 * fm10k_init_module is the first routine called when the driver is
304 /* prefetch first cache line of first page */
772 struct fm10k_tx_buffer *first)
774 struct sk_buff *skb = first->skb;
797 first->tx_flags |= FM10K_TX_FLAGS_CSUM;
800 first->gso_segs = skb_shinfo(skb)->gso_segs;
801 first->bytecount += (first->gso_segs - 1) * hdrlen;
818 struct fm10k_tx_buffer *first)
771 fm10k_tso(struct fm10k_ring *tx_ring, struct fm10k_tx_buffer *first) argument
817 fm10k_tx_csum(struct fm10k_ring *tx_ring, struct fm10k_tx_buffer *first) argument
956 fm10k_tx_map(struct fm10k_ring *tx_ring, struct fm10k_tx_buffer *first) argument
1083 struct fm10k_tx_buffer *first; local
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_fcoe.c117 /* the first byte of the last dword is EOF */
131 * first.
919 /* only the first buffer may have none-zero offset */
1273 * @first: first buffer info buffer to use
1282 struct i40e_tx_buffer *first,
1314 return i40e_tx_map(tx_ring, skb, first, tx_flags, hdr_len,
1366 struct i40e_tx_buffer *first; local
1383 /* record the location of the first descriptor for this packet */
1384 first
1280 i40e_fcoe_tx_map(struct i40e_ring *tx_ring, struct sk_buff *skb, struct i40e_tx_buffer *first, u32 tx_flags, u8 hdr_len, u8 eof) argument
[all...]
/drivers/net/ethernet/intel/i40evf/
H A Di40e_txrx.c1351 * @first: first buffer info buffer to use
1358 struct i40e_tx_buffer *first, u32 tx_flags,
1383 first->bytecount = skb->len - hdr_len + (gso_segs * hdr_len);
1384 first->gso_segs = gso_segs;
1385 first->skb = skb;
1386 first->tx_flags = tx_flags;
1391 tx_bi = first;
1448 (first <= &tx_ring->tx_bi[i]) &&
1449 (first >
1357 i40e_tx_map(struct i40e_ring *tx_ring, struct sk_buff *skb, struct i40e_tx_buffer *first, u32 tx_flags, const u8 hdr_len, u32 td_cmd, u32 td_offset) argument
1587 struct i40e_tx_buffer *first; local
[all...]
/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c622 /* Applies for first msdu in chain, before altering it. */
638 /* This function only applies for first msdu in an msdu chain */
912 struct sk_buff *first; local
928 first = skb;
941 if (skb == first) {
/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c792 /* get first packet to find out which ep the packets will go into */
1637 struct htc_packet *packet, *tmp_pkt, *first; local
1644 first = list_first_entry(pkt_queue, struct htc_packet, list);
1646 if (first->endpoint >= ENDPOINT_MAX) {
1652 __func__, first->endpoint, get_queue_depth(pkt_queue),
1653 first->buf_len);
1655 ep = &target->endpoint[first->endpoint];

Completed in 726 milliseconds

123456789