/drivers/mfd/ |
D | ab8500-debugfs.c | 118 u8 first; member 171 .first = 0x00, 175 .first = 0x42, 179 .first = 0x80, 188 .first = 0x00, 192 .first = 0x0F, 196 .first = 0x30, 200 .first = 0x32, 209 .first = 0x00, 213 .first = 0x03, [all …]
|
/drivers/video/fbdev/core/ |
D | sysfillrect.c | 28 unsigned long first, last; in bitfill_aligned() local 33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned() 39 first &= last; in bitfill_aligned() 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 45 if (first!= ~0UL) { in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 84 unsigned long first, last; in bitfill_unaligned() local 89 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned() 95 first &= last; in bitfill_unaligned() 96 *dst = comp(pat, *dst, first); in bitfill_unaligned() [all …]
|
D | syscopyarea.c | 31 unsigned long first, last; in bitcpy() local 35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitcpy() 43 first &= last; in bitcpy() 44 *dst = comp(*src, *dst, first); in bitcpy() 48 if (first != ~0UL) { in bitcpy() 49 *dst = comp(*src, *dst, first); in bitcpy() 86 first &= last; in bitcpy() 89 *dst = comp(*src << left, *dst, first); in bitcpy() 92 *dst = comp(*src >> right, *dst, first); in bitcpy() 98 first); in bitcpy() [all …]
|
D | cfbfillrect.c | 38 unsigned long first, last; in bitfill_aligned() local 43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned() 49 first &= last; in bitfill_aligned() 50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() 55 if (first!= ~0UL) { in bitfill_aligned() 56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() 95 unsigned long first, last; in bitfill_unaligned() local 100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned() 106 first &= last; in bitfill_unaligned() 107 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_unaligned() [all …]
|
D | cfbcopyarea.c | 50 unsigned long first, last; in bitcpy() local 63 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitcpy() 72 first &= last; in bitcpy() 73 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy() 78 if (first != ~0UL) { in bitcpy() 79 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy() 116 first &= last; in bitcpy() 132 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); in bitcpy() 157 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); in bitcpy() 216 unsigned long first, last; in bitcpy_rev() local [all …]
|
/drivers/net/ethernet/ibm/ |
D | ibmvnic.h | 189 u8 first; member 207 u8 first; member 234 u8 first; member 246 u8 first; member 254 u8 first; member 267 u8 first; member 283 u8 first; member 288 u8 first; member 303 u8 first; member 310 u8 first; member [all …]
|
/drivers/dma/ |
D | at_xdmac.c | 340 struct at_xdmac_desc *first) in at_xdmac_start_xfer() argument 345 dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, first); in at_xdmac_start_xfer() 351 first->active_xfer = true; in at_xdmac_start_xfer() 354 reg = AT_XDMAC_CNDA_NDA(first->tx_dma_desc.phys) in at_xdmac_start_xfer() 365 else if (first->lld.mbr_ubc & AT_XDMAC_MBR_UBC_NDV3) in at_xdmac_start_xfer() 375 at_xdmac_chan_write(atchan, AT_XDMAC_CC, first->lld.mbr_cfg); in at_xdmac_start_xfer() 639 struct at_xdmac_desc *first = NULL, *prev = NULL; in at_xdmac_prep_slave_sg() local 682 if (first) in at_xdmac_prep_slave_sg() 683 list_splice_init(&first->descs_list, &atchan->free_descs_list); in at_xdmac_prep_slave_sg() 714 if (!first) in at_xdmac_prep_slave_sg() [all …]
|
D | at_hdmac.c | 203 static void atc_desc_chain(struct at_desc **first, struct at_desc **prev, in atc_desc_chain() argument 206 if (!(*first)) { in atc_desc_chain() 207 *first = desc; in atc_desc_chain() 213 &(*first)->tx_list); in atc_desc_chain() 225 static void atc_dostart(struct at_dma_chan *atchan, struct at_desc *first) in atc_dostart() argument 251 channel_writel(atchan, DSCR, first->txd.phys); in atc_dostart() 252 channel_writel(atchan, SPIP, ATC_SPIP_HOLE(first->src_hole) | in atc_dostart() 253 ATC_SPIP_BOUNDARY(first->boundary)); in atc_dostart() 254 channel_writel(atchan, DPIP, ATC_DPIP_HOLE(first->dst_hole) | in atc_dostart() 255 ATC_DPIP_BOUNDARY(first->boundary)); in atc_dostart() [all …]
|
D | mmp_pdma.c | 448 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new; in mmp_pdma_prep_memcpy() local 482 if (!first) in mmp_pdma_prep_memcpy() 483 first = new; in mmp_pdma_prep_memcpy() 503 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_memcpy() 506 first->async_tx.flags = flags; /* client is in control of this ack */ in mmp_pdma_prep_memcpy() 507 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_memcpy() 515 return &first->async_tx; in mmp_pdma_prep_memcpy() 518 if (first) in mmp_pdma_prep_memcpy() 519 mmp_pdma_free_desc_list(chan, &first->tx_list); in mmp_pdma_prep_memcpy() 529 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new = NULL; in mmp_pdma_prep_slave_sg() local [all …]
|
D | ep93xx_dma.c | 988 struct ep93xx_dma_desc *desc, *first; in ep93xx_dma_prep_dma_memcpy() local 991 first = NULL; in ep93xx_dma_prep_dma_memcpy() 1005 if (!first) in ep93xx_dma_prep_dma_memcpy() 1006 first = desc; in ep93xx_dma_prep_dma_memcpy() 1008 list_add_tail(&desc->node, &first->tx_list); in ep93xx_dma_prep_dma_memcpy() 1011 first->txd.cookie = -EBUSY; in ep93xx_dma_prep_dma_memcpy() 1012 first->txd.flags = flags; in ep93xx_dma_prep_dma_memcpy() 1014 return &first->txd; in ep93xx_dma_prep_dma_memcpy() 1016 ep93xx_dma_desc_put(edmac, first); in ep93xx_dma_prep_dma_memcpy() 1037 struct ep93xx_dma_desc *desc, *first; in ep93xx_dma_prep_slave_sg() local [all …]
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_misc.h | 90 struct sym_quehead *first = list->flink; in sym_que_splice() local 92 if (first != list) { in sym_que_splice() 96 first->blink = head; in sym_que_splice() 97 head->flink = first; in sym_que_splice() 107 struct sym_quehead *first, *last; in sym_que_move() local 109 first = orig->flink; in sym_que_move() 110 if (first != orig) { in sym_que_move() 111 first->blink = dest; in sym_que_move() 112 dest->flink = first; in sym_que_move()
|
/drivers/crypto/marvell/ |
D | tdma.c | 54 writel_relaxed(dreq->chain.first->cur_dma, in mv_cesa_dma_step() 65 for (tdma = dreq->chain.first; tdma;) { in mv_cesa_dma_cleanup() 81 dreq->chain.first = NULL; in mv_cesa_dma_cleanup() 90 for (tdma = dreq->chain.first; tdma; tdma = tdma->next) { in mv_cesa_dma_prepare() 105 if (engine->chain.first == NULL && engine->chain.last == NULL) { in mv_cesa_tdma_chain() 106 engine->chain.first = dreq->chain.first; in mv_cesa_tdma_chain() 112 last->next = dreq->chain.first; in mv_cesa_tdma_chain() 122 !(dreq->chain.first->flags & CESA_TDMA_SET_STATE)) in mv_cesa_tdma_chain() 123 last->next_dma = dreq->chain.first->cur_dma; in mv_cesa_tdma_chain() 136 for (tdma = engine->chain.first; tdma; tdma = next) { in mv_cesa_tdma_process() [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_breadcrumbs.c | 177 bool first; in __intel_engine_add_wait() local 192 first = true; in __intel_engine_add_wait() 204 return first; in __intel_engine_add_wait() 218 first = false; in __intel_engine_add_wait() 228 first = false; in __intel_engine_add_wait() 235 GEM_BUG_ON(!first && !rcu_access_pointer(b->irq_seqno_bh)); in __intel_engine_add_wait() 240 GEM_BUG_ON(!next && !first); in __intel_engine_add_wait() 242 GEM_BUG_ON(first); in __intel_engine_add_wait() 268 if (first) { in __intel_engine_add_wait() 287 return first; in __intel_engine_add_wait() [all …]
|
/drivers/video/fbdev/ |
D | c2p_iplan2.c | 92 u32 dst_idx, first, last, w; in c2p_iplan2() local 98 first = 0xffffU >> dst_idx; in c2p_iplan2() 99 first |= first << 16; in c2p_iplan2() 108 first &= last; in c2p_iplan2() 113 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2() 125 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
|
D | c2p_planar.c | 94 u32 dst_idx, first, last, w; in c2p_planar() local 100 first = 0xffffffffU >> dst_idx; in c2p_planar() 108 first &= last; in c2p_planar() 114 first); in c2p_planar() 127 d.words, first); in c2p_planar()
|
/drivers/spi/ |
D | spi-bcm63xx.c | 234 static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, in bcm63xx_txrx_bufs() argument 241 struct spi_transfer *t = first; in bcm63xx_txrx_bufs() 261 if (t != first) in bcm63xx_txrx_bufs() 268 if (t == first) in bcm63xx_txrx_bufs() 316 t = first; in bcm63xx_txrx_bufs() 322 if (t != first || prepend_len == 0) in bcm63xx_txrx_bufs() 336 struct spi_transfer *t, *first = NULL; in bcm63xx_spi_transfer_one() local 349 if (!first) in bcm63xx_spi_transfer_one() 350 first = t; in bcm63xx_spi_transfer_one() 355 if (n_transfers == 2 && !first->rx_buf && !t->tx_buf && in bcm63xx_spi_transfer_one() [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_tx.c | 61 void qib_disarm_piobufs(struct qib_devdata *dd, unsigned first, unsigned cnt) in qib_disarm_piobufs() argument 67 last = first + cnt; in qib_disarm_piobufs() 69 for (i = first; i < last; i++) { in qib_disarm_piobufs() 286 u32 first, u32 last) in qib_getsendbuf_range() argument 297 nbufs = last - first + 1; /* number in range to check */ in qib_getsendbuf_range() 308 i = first; in qib_getsendbuf_range() 315 if (dd->last_pio >= first && dd->last_pio <= last) in qib_getsendbuf_range() 317 if (!first) in qib_getsendbuf_range() 322 i = !first ? dd->min_kernel_pio : first; in qib_getsendbuf_range() 329 if (!first && first != last) /* first == last on VL15, avoid */ in qib_getsendbuf_range()
|
/drivers/media/pci/ivtv/ |
D | ivtv-udma.c | 26 void ivtv_udma_get_page_info(struct ivtv_dma_page_info *dma_page, unsigned long first, unsigned lon… in ivtv_udma_get_page_info() argument 28 dma_page->uaddr = first & PAGE_MASK; in ivtv_udma_get_page_info() 29 dma_page->offset = first & ~PAGE_MASK; in ivtv_udma_get_page_info() 30 dma_page->tail = 1 + ((first+size-1) & ~PAGE_MASK); in ivtv_udma_get_page_info() 31 dma_page->first = (first & PAGE_MASK) >> PAGE_SHIFT; in ivtv_udma_get_page_info() 32 dma_page->last = ((first+size-1) & PAGE_MASK) >> PAGE_SHIFT; in ivtv_udma_get_page_info() 33 dma_page->page_count = dma_page->last - dma_page->first + 1; in ivtv_udma_get_page_info()
|
/drivers/soc/fsl/qbman/ |
D | dpaa_sys.h | 92 static inline u8 dpaa_cyc_diff(u8 ringsize, u8 first, u8 last) in dpaa_cyc_diff() argument 95 if (first <= last) in dpaa_cyc_diff() 96 return last - first; in dpaa_cyc_diff() 97 return ringsize + last - first; in dpaa_cyc_diff()
|
/drivers/hwtracing/stm/ |
D | policy.c | 96 unsigned int first, last; in stp_policy_node_masters_store() local 101 if (sscanf(p, "%u %u", &first, &last) != 2) in stp_policy_node_masters_store() 110 if (first > last || first < stm->data->sw_start || in stp_policy_node_masters_store() 117 policy_node->first_master = first; in stp_policy_node_masters_store() 143 unsigned int first, last; in stp_policy_node_channels_store() local 148 if (sscanf(p, "%u %u", &first, &last) != 2) in stp_policy_node_channels_store() 156 if (first > INT_MAX || last > INT_MAX || first > last || in stp_policy_node_channels_store() 163 policy_node->first_channel = first; in stp_policy_node_channels_store()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_defs.h | 85 #define T4VF_MOD_MAP(module, index, first, last) \ argument 87 T4VF_MOD_MAP_##module##_FIRST = (first), \ 89 T4VF_MOD_MAP_##module##_OFFSET = ((first)/4), \ 91 (T4VF_##module##_BASE_ADDR/4 + (first)/4), \
|
/drivers/irqchip/ |
D | irq-alpine-msi.c | 61 int first; in alpine_msix_allocate_sgi() local 65 first = bitmap_find_next_zero_area(priv->msi_map, priv->num_spis, 0, in alpine_msix_allocate_sgi() 67 if (first >= priv->num_spis) { in alpine_msix_allocate_sgi() 72 bitmap_set(priv->msi_map, first, num_req); in alpine_msix_allocate_sgi() 76 return priv->spi_first + first; in alpine_msix_allocate_sgi() 82 int first = sgi - priv->spi_first; in alpine_msix_free_sgi() local 86 bitmap_clear(priv->msi_map, first, num_req); in alpine_msix_free_sgi()
|
/drivers/mtd/tests/ |
D | torturetest.c | 388 int bytes, bits, pages, first; in report_corrupt() local 409 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt() 411 if (first < 0) in report_corrupt() 420 bytes, bits, first); in report_corrupt() 422 offset = first & ~0x7; in report_corrupt() 423 len = ((first + bytes) | 0x7) + 1 - offset; in report_corrupt() 468 int first = -1; in countdiffs() local 472 first = i; in countdiffs() 489 return first; in countdiffs()
|
/drivers/macintosh/ |
D | windfarm_pid.c | 30 st->first = 1; in wf_pid_init() 44 if (st->first) { in wf_pid_run() 49 st->first = 0; in wf_pid_run() 85 st->first = 1; in wf_cpu_pid_init() 99 if (st->first) { in wf_cpu_pid_run() 105 st->first = 0; in wf_cpu_pid_run()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 768 struct fm10k_tx_buffer *first) in fm10k_tso() argument 770 struct sk_buff *skb = first->skb; in fm10k_tso() 793 first->tx_flags |= FM10K_TX_FLAGS_CSUM; in fm10k_tso() 796 first->gso_segs = skb_shinfo(skb)->gso_segs; in fm10k_tso() 797 first->bytecount += (first->gso_segs - 1) * hdrlen; in fm10k_tso() 814 struct fm10k_tx_buffer *first) in fm10k_tx_csum() argument 816 struct sk_buff *skb = first->skb; in fm10k_tx_csum() 887 first->tx_flags |= FM10K_TX_FLAGS_CSUM; in fm10k_tx_csum() 956 struct fm10k_tx_buffer *first) in fm10k_tx_map() argument 958 struct sk_buff *skb = first->skb; in fm10k_tx_map() [all …]
|