/drivers/atm/ |
H A D | eni.c | 54 * - should allocate UBR channel first 728 int first; local 731 first = 1; 735 if (first) { 747 first = 0;
|
H A D | suni.c | 310 int first; local 313 first = !sunis; 327 if (first) {
|
H A D | zatm.c | 182 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/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/base/ |
H A D | devres.c | 408 struct list_head *first, struct list_head *end, 417 cur = first; 427 /* clear color of group markers in the first pass */ 432 if (&node->entry == first) 433 first = first->next; 448 cur = first; 476 static int release_nodes(struct device *dev, struct list_head *first, 484 cnt = remove_nodes(dev, first, end, &todo); 658 struct list_head *first local 407 remove_nodes(struct device *dev, struct list_head *first, struct list_head *end, struct list_head *todo) argument [all...] |
/drivers/block/drbd/ |
H A D | drbd_actlog.c | 256 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/block/ |
H A D | nvme-core.c | 578 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 D | rbd.c | 307 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/bus/ |
H A D | brcmstb_gisb.c | 202 int i, first, last; local 242 first = ffs(gdev->valid_mask) - 1; 245 for (i = first; i < last; i++) {
|
/drivers/cdrom/ |
H A D | gdrom.c | 112 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/crypto/ccp/ |
H A D | ccp-crypto.h | 155 unsigned int first; member in struct:ccp_sha_req_ctx
|
/drivers/crypto/ |
H A D | talitos.c | 663 unsigned int first; member in struct:talitos_ahash_req_ctx 1377 /* first DWORD empty */ 1566 /* first DWORD empty */ 1570 if (!req_ctx->first || req_ctx->swinit) { 1578 /* Indicate next op is not the first. */ 1579 req_ctx->first = 0; 1660 req_ctx->first = 1; /* first indicates h/w must init its context */ 1768 if (req_ctx->first && !req_ctx->swinit) 1772 * A first o [all...] |
/drivers/dma/ |
H A D | at_hdmac.c | 175 * @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 D | ep93xx_dma.c | 155 * @queue holds pending transactions. These are linked through the first 157 * the first and chained descriptors are flattened into a single list. 249 * We copy the callback parameters from the first descriptor 251 * callback without having to find out the first descriptor in 297 * If txd.cookie is set it means that we are back in the first 981 struct ep93xx_dma_desc *desc, *first; local 984 first = NULL; 998 if (!first) 999 first = desc; 1001 list_add_tail(&desc->node, &first 1030 struct ep93xx_dma_desc *desc, *first; local 1110 struct ep93xx_dma_desc *desc, *first; local [all...] |
H A D | fsldma.c | 769 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 D | intel_mid_dma.c | 241 * @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 D | mmp_pdma.c | 101 struct mmp_pdma_desc_sw *cyclic_first; /* first desc_sw if channel 447 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new; local 481 if (!first) 482 first = new; 502 list_add_tail(&new->node, &first->tx_list); 505 first->async_tx.flags = flags; /* client is in control of this ack */ 506 first->async_tx.cookie = -EBUSY; 514 return &first->async_tx; 517 if (first) 518 mmp_pdma_free_desc_list(chan, &first 528 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new = NULL; local 607 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new; local [all...] |
H A D | mpc512x_dma.c | 268 struct mpc_dma_desc *first = NULL; local 293 if (!first) 294 first = mdesc; 310 /* Send first descriptor in chain into hardware */ 311 memcpy_toio(&mdma->tcd[cid], first->tcd, sizeof(struct mpc_dma_tcd)); 313 if (first != prev) 319 } else if (first->will_access_peripheral) {
|
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);
|
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 | txx9dmac.c | 335 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 D | core.c | 217 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 D | dma.c | 236 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/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/fmc/ |
H A D | fmc-sdb.c | 261 uint64_t last, first; local 263 /* FIXME: what if the first interconnect is not at zero? */ 282 first = __be64_to_cpu(c->addr_first); 284 *sz = (typeof(*sz))(last + 1 - first); 285 return first + tree->baseaddr;
|