/linux-4.1.27/arch/unicore32/include/mach/ |
H A D | regs-ps2.h | 5 * the same as I8042_DATA_REG PS2_DATA 9 * the same as I8042_COMMAND_REG PS2_COMMAND 13 * the same as I8042_STATUS_REG PS2_STATUS
|
/linux-4.1.27/include/linux/ |
H A D | util_macros.h | 4 #define __find_closest(x, a, as, op) \ 6 typeof(as) __fc_i, __fc_as = (as) - 1; \ 22 * @as: Size of 'a'. 26 #define find_closest(x, a, as) __find_closest(x, a, as, <=) 33 * @as: Size of 'a'. 38 #define find_closest_descending(x, a, as) __find_closest(x, a, as, >=)
|
H A D | rfkill-regulator.h | 8 * it under the terms of the GNU General Public License version 2 as 17 * Use "vrfkill" as supply id when declaring the regulator consumer: 24 * .dev_name as done above, and use the same id when declaring the platform 45 enum rfkill_type type; /* the type as specified in rfkill.h */
|
H A D | leds-regulator.h | 7 * it under the terms of the GNU General Public License version 2 as 16 * Use "vled" as supply id when declaring the regulator consumer: 23 * .dev_name as done above, and use the same id when declaring the platform 42 char *name; /* LED name as expected by LED class */
|
H A D | mg_disk.h | 10 * it under the terms of the GNU General Public License version 2 as 26 /* use mflash as boot device */ 28 /* use mflash as storage device */ 30 /* same as MG_STORAGE_DEV, but bootloader already done reset sequence */
|
H A D | rculist.h | 71 * (such as holding appropriate locks) to avoid racing 72 * with another list-mutation primitive, such as list_add_rcu() 75 * the _rcu list-traversal primitives, such as 92 * (such as holding appropriate locks) to avoid racing 93 * with another list-mutation primitive, such as list_add_tail_rcu() 96 * the _rcu list-traversal primitives, such as 117 * (such as holding appropriate locks) to avoid racing 118 * with another list-mutation primitive, such as list_del_rcu() 121 * the _rcu list-traversal primitives, such as 148 * The caller must take whatever precautions are necessary (such as 150 * list-mutation primitive, such as hlist_add_head_rcu() or 153 * primitives, such as hlist_for_each_entry_rcu(). 193 * to modify the list as soon as sync() begins execution. 247 * primitives such as list_add_rcu() as long as it's guarded by rcu_read_lock(). 260 * conditions as the following snippet shows: 286 * primitives such as list_add_rcu() as long as it's guarded by rcu_read_lock(). 297 * @pos: the type * to use as a loop cursor. 302 * the _rcu list-mutation primitives such as list_add_rcu() 303 * as long as the traversal is guarded by rcu_read_lock(). 312 * @pos: the type * to use as a loop cursor. 336 * (such as holding appropriate locks) to avoid racing 337 * with another list-mutation primitive, such as hlist_add_head_rcu() 340 * the _rcu list-traversal primitives, such as 386 * (such as holding appropriate locks) to avoid racing 387 * with another list-mutation primitive, such as hlist_add_head_rcu() 390 * the _rcu list-traversal primitives, such as 417 * (such as holding appropriate locks) to avoid racing 418 * with another list-mutation primitive, such as hlist_add_head_rcu() 421 * the _rcu list-traversal primitives, such as 444 * (such as holding appropriate locks) to avoid racing 445 * with another list-mutation primitive, such as hlist_add_head_rcu() 448 * the _rcu list-traversal primitives, such as 469 * @pos: the type * to use as a loop cursor. 474 * the _rcu list-mutation primitives such as hlist_add_head_rcu() 475 * as long as the traversal is guarded by rcu_read_lock(). 486 * @pos: the type * to use as a loop cursor. 491 * the _rcu list-mutation primitives such as hlist_add_head_rcu() 492 * as long as the traversal is guarded by rcu_read_lock(). 494 * This is the same as hlist_for_each_entry_rcu() except that it does 506 * @pos: the type * to use as a loop cursor. 511 * the _rcu list-mutation primitives such as hlist_add_head_rcu() 512 * as long as the traversal is guarded by rcu_read_lock(). 523 * @pos: the type * to use as a loop cursor. 535 * @pos: the type * to use as a loop cursor. 547 * @pos: the type * to use as a loop cursor.
|
H A D | i2c-gpio.h | 7 * it under the terms of the GNU General Public License version 2 as 20 * @sda_is_open_drain: SDA is configured as open drain, i.e. the pin 23 * pin is configured as an output. 24 * @scl_is_open_drain: SCL is set up as open drain. Same requirements 25 * as for sda_is_open_drain apply.
|
H A D | rculist_nulls.h | 25 * The caller must take whatever precautions are necessary (such as 27 * list-mutation primitive, such as hlist_nulls_add_head_rcu() or 30 * primitives, such as hlist_nulls_for_each_entry_rcu(). 58 * (such as holding appropriate locks) to avoid racing 59 * with another list-mutation primitive, such as hlist_nulls_add_head_rcu() 62 * the _rcu list-traversal primitives, such as 81 * (such as holding appropriate locks) to avoid racing 82 * with another list-mutation primitive, such as hlist_nulls_add_head_rcu() 85 * the _rcu list-traversal primitives, such as 103 * @tpos: the type * to use as a loop cursor. 104 * @pos: the &struct hlist_nulls_node to use as a loop cursor. 109 * as this loop can be restarted [2]
|
H A D | dcookies.h | 24 * Register as a dcookie user. Returns %NULL on failure. 31 * Unregister as a dcookie user. This may invalidate 42 * Returns -EINVAL if no living task has registered as a
|
H A D | w1-gpio.h | 8 * as published by the Free Software Foundation. 16 * @is_open_drain: GPIO pin is configured as open drain
|
H A D | edma.h | 7 * modify it under the terms of the GNU General Public License as 10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
H A D | rculist_bl.h | 39 * The caller must take whatever precautions are necessary (such as 41 * list-mutation primitive, such as hlist_bl_add_head_rcu() or 44 * primitives, such as hlist_bl_for_each_entry_rcu(). 66 * (such as holding appropriate locks) to avoid racing 67 * with another list-mutation primitive, such as hlist_bl_add_head_rcu() 70 * the _rcu list-traversal primitives, such as 89 * (such as holding appropriate locks) to avoid racing 90 * with another list-mutation primitive, such as hlist_bl_add_head_rcu() 93 * the _rcu list-traversal primitives, such as 116 * @tpos: the type * to use as a loop cursor. 117 * @pos: the &struct hlist_bl_node to use as a loop cursor.
|
H A D | percpu-refcount.h | 21 * issuing the appropriate barriers, and then marks the ref as shutting down so 126 * branches as it can't assume that @ref->percpu_count is not NULL. 136 * used as a pointer. If the compiler generates a separate fetch __ref_is_percpu() 137 * when using it as a pointer, __PERCPU_REF_ATOMIC may be set in __ref_is_percpu() 150 * then we'd have to mask off DEAD separately as DEAD may be __ref_is_percpu() 168 * This function is safe to call as long as @ref is between init and exit. 190 * This function is safe to call as long as @ref is between init and exit. 204 * This function is safe to call as long as @ref is between init and exit. 238 * This function is safe to call as long as @ref is between init and exit. 267 * This function is safe to call as long as @ref is between init and exit. 290 * This function is safe to call as long as @ref is between init and exit. 303 * This function is safe to call as long as @ref is between init and exit 317 * This function is safe to call as long as @ref is between init and exit.
|
H A D | mvebu-pmsu.h | 7 * License version 2. This program is licensed "as is" without any
|
H A D | ppp_defs.h | 8 * version 2 as published by the Free Software Foundation.
|
H A D | smsc911x.h | 8 * as published by the Free Software Foundation; either version 2 55 * Enables software byte swap for fifo data. Should only be used as a 57 * routed data bus to older devices such as LAN9118. Newer devices such as
|
H A D | timeriomem-rng.h | 7 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-atmel.c | 7 * it under the terms of the GNU General Public License version 2 as 273 static bool atmel_spi_is_v2(struct atmel_spi *as) atmel_spi_is_v2() argument 275 return as->caps.is_spi2; atmel_spi_is_v2() 282 * transmitted") Not so! Workaround uses nCSx pins as GPIOs; or newer 285 * Since the CSAAT functionality is a bit weird on newer controllers as 298 static void cs_activate(struct atmel_spi *as, struct spi_device *spi) cs_activate() argument 304 if (atmel_spi_is_v2(as)) { cs_activate() 305 spi_writel(as, CSR0 + 4 * spi->chip_select, asd->csr); cs_activate() 307 * on CS1,2,3 needs SPI_CSR0.BITS config as SPI_CSR1,2,3.BITS cs_activate() 309 spi_writel(as, CSR0, asd->csr); cs_activate() 310 if (as->caps.has_wdrbt) { cs_activate() 311 spi_writel(as, MR, cs_activate() 317 spi_writel(as, MR, cs_activate() 323 mr = spi_readl(as, MR); cs_activate() 332 csr = spi_readl(as, CSR0 + 4 * i); cs_activate() 334 spi_writel(as, CSR0 + 4 * i, cs_activate() 338 mr = spi_readl(as, MR); cs_activate() 342 spi_writel(as, MR, mr); cs_activate() 350 static void cs_deactivate(struct atmel_spi *as, struct spi_device *spi) cs_deactivate() argument 359 mr = spi_readl(as, MR); cs_deactivate() 362 spi_writel(as, MR, mr); cs_deactivate() 369 if (atmel_spi_is_v2(as) || spi->chip_select != 0) cs_deactivate() 373 static void atmel_spi_lock(struct atmel_spi *as) __acquires(&as->lock) 375 spin_lock_irqsave(&as->lock, as->flags); 378 static void atmel_spi_unlock(struct atmel_spi *as) __releases(&as->lock) 380 spin_unlock_irqrestore(&as->lock, as->flags); 383 static inline bool atmel_spi_use_dma(struct atmel_spi *as, atmel_spi_use_dma() argument 386 return as->use_dma && xfer->len >= DMA_MIN_BYTES; atmel_spi_use_dma() 389 static int atmel_spi_dma_slave_config(struct atmel_spi *as, atmel_spi_dma_slave_config() argument 403 slave_config->dst_addr = (dma_addr_t)as->phybase + SPI_TDR; atmel_spi_dma_slave_config() 404 slave_config->src_addr = (dma_addr_t)as->phybase + SPI_RDR; atmel_spi_dma_slave_config() 410 if (dmaengine_slave_config(as->dma.chan_tx, slave_config)) { atmel_spi_dma_slave_config() 411 dev_err(&as->pdev->dev, atmel_spi_dma_slave_config() 417 if (dmaengine_slave_config(as->dma.chan_rx, slave_config)) { atmel_spi_dma_slave_config() 418 dev_err(&as->pdev->dev, atmel_spi_dma_slave_config() 426 static int atmel_spi_configure_dma(struct atmel_spi *as) atmel_spi_configure_dma() argument 429 struct device *dev = &as->pdev->dev; atmel_spi_configure_dma() 436 as->dma.chan_tx = dma_request_slave_channel_reason(dev, "tx"); atmel_spi_configure_dma() 437 if (IS_ERR(as->dma.chan_tx)) { atmel_spi_configure_dma() 438 err = PTR_ERR(as->dma.chan_tx); atmel_spi_configure_dma() 453 as->dma.chan_rx = dma_request_slave_channel(dev, "rx"); atmel_spi_configure_dma() 455 if (!as->dma.chan_rx) { atmel_spi_configure_dma() 462 err = atmel_spi_dma_slave_config(as, &slave_config, 8); atmel_spi_configure_dma() 466 dev_info(&as->pdev->dev, atmel_spi_configure_dma() 468 dma_chan_name(as->dma.chan_tx), atmel_spi_configure_dma() 469 dma_chan_name(as->dma.chan_rx)); atmel_spi_configure_dma() 472 if (as->dma.chan_rx) atmel_spi_configure_dma() 473 dma_release_channel(as->dma.chan_rx); atmel_spi_configure_dma() 474 if (!IS_ERR(as->dma.chan_tx)) atmel_spi_configure_dma() 475 dma_release_channel(as->dma.chan_tx); atmel_spi_configure_dma() 479 static void atmel_spi_stop_dma(struct atmel_spi *as) atmel_spi_stop_dma() argument 481 if (as->dma.chan_rx) atmel_spi_stop_dma() 482 dmaengine_terminate_all(as->dma.chan_rx); atmel_spi_stop_dma() 483 if (as->dma.chan_tx) atmel_spi_stop_dma() 484 dmaengine_terminate_all(as->dma.chan_tx); atmel_spi_stop_dma() 487 static void atmel_spi_release_dma(struct atmel_spi *as) atmel_spi_release_dma() argument 489 if (as->dma.chan_rx) atmel_spi_release_dma() 490 dma_release_channel(as->dma.chan_rx); atmel_spi_release_dma() 491 if (as->dma.chan_tx) atmel_spi_release_dma() 492 dma_release_channel(as->dma.chan_tx); atmel_spi_release_dma() 499 struct atmel_spi *as = spi_master_get_devdata(master); dma_callback() local 501 complete(&as->xfer_completion); dma_callback() 510 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_next_xfer_pio() local 511 unsigned long xfer_pos = xfer->len - as->current_remaining_bytes; atmel_spi_next_xfer_pio() 516 spi_readl(as, RDR); atmel_spi_next_xfer_pio() 517 while (spi_readl(as, SR) & SPI_BIT(RDRF)) { atmel_spi_next_xfer_pio() 518 spi_readl(as, RDR); atmel_spi_next_xfer_pio() 524 spi_writel(as, TDR, *(u16 *)(xfer->tx_buf + xfer_pos)); atmel_spi_next_xfer_pio() 526 spi_writel(as, TDR, *(u8 *)(xfer->tx_buf + xfer_pos)); atmel_spi_next_xfer_pio() 528 spi_writel(as, TDR, 0); atmel_spi_next_xfer_pio() 537 spi_writel(as, IER, SPI_BIT(RDRF) | SPI_BIT(OVRES)); atmel_spi_next_xfer_pio() 547 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_next_xfer_dma_submit() local 548 struct dma_chan *rxchan = as->dma.chan_rx; atmel_spi_next_xfer_dma_submit() 549 struct dma_chan *txchan = as->dma.chan_tx; atmel_spi_next_xfer_dma_submit() 563 atmel_spi_unlock(as); atmel_spi_next_xfer_dma_submit() 566 sg_init_table(&as->dma.sgrx, 1); atmel_spi_next_xfer_dma_submit() 568 as->dma.sgrx.dma_address = xfer->rx_dma + xfer->len - *plen; atmel_spi_next_xfer_dma_submit() 570 as->dma.sgrx.dma_address = as->buffer_dma; atmel_spi_next_xfer_dma_submit() 576 sg_init_table(&as->dma.sgtx, 1); atmel_spi_next_xfer_dma_submit() 578 as->dma.sgtx.dma_address = xfer->tx_dma + xfer->len - *plen; atmel_spi_next_xfer_dma_submit() 580 as->dma.sgtx.dma_address = as->buffer_dma; atmel_spi_next_xfer_dma_submit() 583 memset(as->buffer, 0, len); atmel_spi_next_xfer_dma_submit() 586 sg_dma_len(&as->dma.sgtx) = len; atmel_spi_next_xfer_dma_submit() 587 sg_dma_len(&as->dma.sgrx) = len; atmel_spi_next_xfer_dma_submit() 591 if (atmel_spi_dma_slave_config(as, &slave_config, 8)) atmel_spi_next_xfer_dma_submit() 595 rxdesc = dmaengine_prep_slave_sg(rxchan, &as->dma.sgrx, 1, atmel_spi_next_xfer_dma_submit() 601 txdesc = dmaengine_prep_slave_sg(txchan, &as->dma.sgtx, 1, atmel_spi_next_xfer_dma_submit() 613 spi_writel(as, IER, SPI_BIT(OVRES)); atmel_spi_next_xfer_dma_submit() 630 atmel_spi_lock(as); atmel_spi_next_xfer_dma_submit() 634 spi_writel(as, IDR, SPI_BIT(OVRES)); atmel_spi_next_xfer_dma_submit() 635 atmel_spi_stop_dma(as); atmel_spi_next_xfer_dma_submit() 637 atmel_spi_lock(as); atmel_spi_next_xfer_dma_submit() 647 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_next_xfer_data() local 654 *rx_dma = as->buffer_dma; atmel_spi_next_xfer_data() 662 *tx_dma = as->buffer_dma; atmel_spi_next_xfer_data() 665 memset(as->buffer, 0, len); atmel_spi_next_xfer_data() 666 dma_sync_single_for_device(&as->pdev->dev, atmel_spi_next_xfer_data() 667 as->buffer_dma, len, DMA_TO_DEVICE); atmel_spi_next_xfer_data() 673 static int atmel_spi_set_xfer_speed(struct atmel_spi *as, atmel_spi_set_xfer_speed() argument 681 bus_hz = clk_get_rate(as->clk); atmel_spi_set_xfer_speed() 682 if (!atmel_spi_is_v2(as)) atmel_spi_set_xfer_speed() 714 csr = spi_readl(as, CSR0 + 4 * spi->chip_select); atmel_spi_set_xfer_speed() 716 spi_writel(as, CSR0 + 4 * spi->chip_select, csr); atmel_spi_set_xfer_speed() 729 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_pdc_next_xfer() local 733 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); atmel_spi_pdc_next_xfer() 735 len = as->current_remaining_bytes; atmel_spi_pdc_next_xfer() 737 as->current_remaining_bytes -= len; atmel_spi_pdc_next_xfer() 739 spi_writel(as, RPR, rx_dma); atmel_spi_pdc_next_xfer() 740 spi_writel(as, TPR, tx_dma); atmel_spi_pdc_next_xfer() 744 spi_writel(as, RCR, len); atmel_spi_pdc_next_xfer() 745 spi_writel(as, TCR, len); atmel_spi_pdc_next_xfer() 753 if (as->current_remaining_bytes) { atmel_spi_pdc_next_xfer() 754 len = as->current_remaining_bytes; atmel_spi_pdc_next_xfer() 756 as->current_remaining_bytes -= len; atmel_spi_pdc_next_xfer() 758 spi_writel(as, RNPR, rx_dma); atmel_spi_pdc_next_xfer() 759 spi_writel(as, TNPR, tx_dma); atmel_spi_pdc_next_xfer() 763 spi_writel(as, RNCR, len); atmel_spi_pdc_next_xfer() 764 spi_writel(as, TNCR, len); atmel_spi_pdc_next_xfer() 783 spi_writel(as, IER, SPI_BIT(RXBUFF) | SPI_BIT(OVRES)); atmel_spi_pdc_next_xfer() 784 spi_writel(as, PTCR, SPI_BIT(TXTEN) | SPI_BIT(RXTEN)); atmel_spi_pdc_next_xfer() 788 * For DMA, tx_buf/tx_dma have the same relationship as rx_buf/rx_dma: 795 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_dma_map_xfer() argument 797 struct device *dev = &as->pdev->dev; atmel_spi_dma_map_xfer() 837 static void atmel_spi_disable_pdc_transfer(struct atmel_spi *as) atmel_spi_disable_pdc_transfer() argument 839 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); atmel_spi_disable_pdc_transfer() 848 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_pump_pio_data() argument 852 unsigned long xfer_pos = xfer->len - as->current_remaining_bytes; atmel_spi_pump_pio_data() 857 *rxp16 = spi_readl(as, RDR); atmel_spi_pump_pio_data() 860 *rxp = spi_readl(as, RDR); atmel_spi_pump_pio_data() 863 spi_readl(as, RDR); atmel_spi_pump_pio_data() 866 if (as->current_remaining_bytes > 2) atmel_spi_pump_pio_data() 867 as->current_remaining_bytes -= 2; atmel_spi_pump_pio_data() 869 as->current_remaining_bytes = 0; atmel_spi_pump_pio_data() 871 as->current_remaining_bytes--; atmel_spi_pump_pio_data() 884 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_pio_interrupt() local 889 imr = spi_readl(as, IMR); atmel_spi_pio_interrupt() 890 status = spi_readl(as, SR); atmel_spi_pio_interrupt() 895 spi_writel(as, IDR, SPI_BIT(OVRES)); atmel_spi_pio_interrupt() 907 as->done_status = -EIO; atmel_spi_pio_interrupt() 911 spi_readl(as, SR); atmel_spi_pio_interrupt() 913 complete(&as->xfer_completion); atmel_spi_pio_interrupt() 916 atmel_spi_lock(as); atmel_spi_pio_interrupt() 918 if (as->current_remaining_bytes) { atmel_spi_pio_interrupt() 920 xfer = as->current_transfer; atmel_spi_pio_interrupt() 921 atmel_spi_pump_pio_data(as, xfer); atmel_spi_pio_interrupt() 922 if (!as->current_remaining_bytes) atmel_spi_pio_interrupt() 923 spi_writel(as, IDR, pending); atmel_spi_pio_interrupt() 925 complete(&as->xfer_completion); atmel_spi_pio_interrupt() 928 atmel_spi_unlock(as); atmel_spi_pio_interrupt() 932 spi_writel(as, IDR, pending); atmel_spi_pio_interrupt() 942 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_pdc_interrupt() local 946 imr = spi_readl(as, IMR); atmel_spi_pdc_interrupt() 947 status = spi_readl(as, SR); atmel_spi_pdc_interrupt() 954 spi_writel(as, IDR, (SPI_BIT(RXBUFF) | SPI_BIT(ENDRX) atmel_spi_pdc_interrupt() 958 spi_readl(as, SR); atmel_spi_pdc_interrupt() 960 as->done_status = -EIO; atmel_spi_pdc_interrupt() 962 complete(&as->xfer_completion); atmel_spi_pdc_interrupt() 967 spi_writel(as, IDR, pending); atmel_spi_pdc_interrupt() 969 complete(&as->xfer_completion); atmel_spi_pdc_interrupt() 977 struct atmel_spi *as; atmel_spi_setup() local 984 as = spi_master_get_devdata(spi->master); atmel_spi_setup() 987 if (!atmel_spi_is_v2(as) atmel_spi_setup() 1009 /* chipselect must have been muxed as GPIO (e.g. in board setup) */ atmel_spi_setup() 1038 if (!atmel_spi_is_v2(as)) atmel_spi_setup() 1039 spi_writel(as, CSR0 + 4 * spi->chip_select, csr); atmel_spi_setup() 1048 struct atmel_spi *as; atmel_spi_one_transfer() local 1057 as = spi_master_get_devdata(master); atmel_spi_one_transfer() 1079 && (atmel_spi_use_dma(as, xfer) || as->use_pdc)) { atmel_spi_one_transfer() 1080 if (atmel_spi_dma_map_xfer(as, xfer) < 0) atmel_spi_one_transfer() 1084 atmel_spi_set_xfer_speed(as, msg->spi, xfer); atmel_spi_one_transfer() 1086 as->done_status = 0; atmel_spi_one_transfer() 1087 as->current_transfer = xfer; atmel_spi_one_transfer() 1088 as->current_remaining_bytes = xfer->len; atmel_spi_one_transfer() 1089 while (as->current_remaining_bytes) { atmel_spi_one_transfer() 1090 reinit_completion(&as->xfer_completion); atmel_spi_one_transfer() 1092 if (as->use_pdc) { atmel_spi_one_transfer() 1094 } else if (atmel_spi_use_dma(as, xfer)) { atmel_spi_one_transfer() 1095 len = as->current_remaining_bytes; atmel_spi_one_transfer() 1103 as->current_remaining_bytes -= len; atmel_spi_one_transfer() 1104 if (as->current_remaining_bytes < 0) atmel_spi_one_transfer() 1105 as->current_remaining_bytes = 0; atmel_spi_one_transfer() 1112 atmel_spi_unlock(as); atmel_spi_one_transfer() 1113 dma_timeout = wait_for_completion_timeout(&as->xfer_completion, atmel_spi_one_transfer() 1115 atmel_spi_lock(as); atmel_spi_one_transfer() 1118 as->done_status = -EIO; atmel_spi_one_transfer() 1121 if (as->done_status) atmel_spi_one_transfer() 1125 if (as->done_status) { atmel_spi_one_transfer() 1126 if (as->use_pdc) { atmel_spi_one_transfer() 1129 spi_readl(as, TCR), spi_readl(as, RCR)); atmel_spi_one_transfer() 1135 spi_writel(as, RNCR, 0); atmel_spi_one_transfer() 1136 spi_writel(as, TNCR, 0); atmel_spi_one_transfer() 1137 spi_writel(as, RCR, 0); atmel_spi_one_transfer() 1138 spi_writel(as, TCR, 0); atmel_spi_one_transfer() 1140 if (spi_readl(as, SR) & SPI_BIT(TXEMPTY)) atmel_spi_one_transfer() 1145 while (spi_readl(as, SR) & SPI_BIT(RDRF)) atmel_spi_one_transfer() 1146 spi_readl(as, RDR); atmel_spi_one_transfer() 1149 spi_readl(as, SR); atmel_spi_one_transfer() 1151 } else if (atmel_spi_use_dma(as, xfer)) { atmel_spi_one_transfer() 1152 atmel_spi_stop_dma(as); atmel_spi_one_transfer() 1156 && (atmel_spi_use_dma(as, xfer) || as->use_pdc)) atmel_spi_one_transfer() 1167 && (atmel_spi_use_dma(as, xfer) || as->use_pdc)) atmel_spi_one_transfer() 1176 as->keep_cs = true; atmel_spi_one_transfer() 1178 as->cs_active = !as->cs_active; atmel_spi_one_transfer() 1179 if (as->cs_active) atmel_spi_one_transfer() 1180 cs_activate(as, msg->spi); atmel_spi_one_transfer() 1182 cs_deactivate(as, msg->spi); atmel_spi_one_transfer() 1192 struct atmel_spi *as; atmel_spi_transfer_one_message() local 1197 as = spi_master_get_devdata(master); atmel_spi_transfer_one_message() 1202 atmel_spi_lock(as); atmel_spi_transfer_one_message() 1203 cs_activate(as, spi); atmel_spi_transfer_one_message() 1205 as->cs_active = true; atmel_spi_transfer_one_message() 1206 as->keep_cs = false; atmel_spi_transfer_one_message() 1217 if (as->use_pdc) atmel_spi_transfer_one_message() 1218 atmel_spi_disable_pdc_transfer(as); atmel_spi_transfer_one_message() 1229 if (!as->keep_cs) atmel_spi_transfer_one_message() 1230 cs_deactivate(as, msg->spi); atmel_spi_transfer_one_message() 1232 atmel_spi_unlock(as); atmel_spi_transfer_one_message() 1234 msg->status = as->done_status; atmel_spi_transfer_one_message() 1253 static inline unsigned int atmel_get_version(struct atmel_spi *as) atmel_get_version() argument 1255 return spi_readl(as, VERSION) & 0x00000fff; atmel_get_version() 1258 static void atmel_get_caps(struct atmel_spi *as) atmel_get_caps() argument 1262 version = atmel_get_version(as); atmel_get_caps() 1263 dev_info(&as->pdev->dev, "version: 0x%x\n", version); atmel_get_caps() 1265 as->caps.is_spi2 = version > 0x121; atmel_get_caps() 1266 as->caps.has_wdrbt = version >= 0x210; atmel_get_caps() 1267 as->caps.has_dma_support = version >= 0x212; atmel_get_caps() 1279 struct atmel_spi *as; atmel_spi_probe() local 1298 master = spi_alloc_master(&pdev->dev, sizeof(*as)); atmel_spi_probe() 1314 as = spi_master_get_devdata(master); atmel_spi_probe() 1320 as->buffer = dma_alloc_coherent(&pdev->dev, BUFFER_SIZE, atmel_spi_probe() 1321 &as->buffer_dma, GFP_KERNEL); atmel_spi_probe() 1322 if (!as->buffer) atmel_spi_probe() 1325 spin_lock_init(&as->lock); atmel_spi_probe() 1327 as->pdev = pdev; atmel_spi_probe() 1328 as->regs = devm_ioremap_resource(&pdev->dev, regs); atmel_spi_probe() 1329 if (IS_ERR(as->regs)) { atmel_spi_probe() 1330 ret = PTR_ERR(as->regs); atmel_spi_probe() 1333 as->phybase = regs->start; atmel_spi_probe() 1334 as->irq = irq; atmel_spi_probe() 1335 as->clk = clk; atmel_spi_probe() 1337 init_completion(&as->xfer_completion); atmel_spi_probe() 1339 atmel_get_caps(as); atmel_spi_probe() 1341 as->use_dma = false; atmel_spi_probe() 1342 as->use_pdc = false; atmel_spi_probe() 1343 if (as->caps.has_dma_support) { atmel_spi_probe() 1344 ret = atmel_spi_configure_dma(as); atmel_spi_probe() 1346 as->use_dma = true; atmel_spi_probe() 1350 as->use_pdc = true; atmel_spi_probe() 1353 if (as->caps.has_dma_support && !as->use_dma) atmel_spi_probe() 1356 if (as->use_pdc) { atmel_spi_probe() 1370 spi_writel(as, CR, SPI_BIT(SWRST)); atmel_spi_probe() 1371 spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */ atmel_spi_probe() 1372 if (as->caps.has_wdrbt) { atmel_spi_probe() 1373 spi_writel(as, MR, SPI_BIT(WDRBT) | SPI_BIT(MODFDIS) atmel_spi_probe() 1376 spi_writel(as, MR, SPI_BIT(MSTR) | SPI_BIT(MODFDIS)); atmel_spi_probe() 1379 if (as->use_pdc) atmel_spi_probe() 1380 spi_writel(as, PTCR, SPI_BIT(RXTDIS) | SPI_BIT(TXTDIS)); atmel_spi_probe() 1381 spi_writel(as, CR, SPI_BIT(SPIEN)); atmel_spi_probe() 1402 if (as->use_dma) atmel_spi_probe() 1403 atmel_spi_release_dma(as); atmel_spi_probe() 1405 spi_writel(as, CR, SPI_BIT(SWRST)); atmel_spi_probe() 1406 spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */ atmel_spi_probe() 1411 dma_free_coherent(&pdev->dev, BUFFER_SIZE, as->buffer, atmel_spi_probe() 1412 as->buffer_dma); atmel_spi_probe() 1421 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_remove() local 1426 spin_lock_irq(&as->lock); atmel_spi_remove() 1427 if (as->use_dma) { atmel_spi_remove() 1428 atmel_spi_stop_dma(as); atmel_spi_remove() 1429 atmel_spi_release_dma(as); atmel_spi_remove() 1432 spi_writel(as, CR, SPI_BIT(SWRST)); atmel_spi_remove() 1433 spi_writel(as, CR, SPI_BIT(SWRST)); /* AT91SAM9263 Rev B workaround */ atmel_spi_remove() 1434 spi_readl(as, SR); atmel_spi_remove() 1435 spin_unlock_irq(&as->lock); atmel_spi_remove() 1437 dma_free_coherent(&pdev->dev, BUFFER_SIZE, as->buffer, atmel_spi_remove() 1438 as->buffer_dma); atmel_spi_remove() 1440 clk_disable_unprepare(as->clk); atmel_spi_remove() 1452 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_runtime_suspend() local 1454 clk_disable_unprepare(as->clk); atmel_spi_runtime_suspend() 1463 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_runtime_resume() local 1467 return clk_prepare_enable(as->clk); atmel_spi_runtime_resume()
|
/linux-4.1.27/arch/sparc/math-emu/ |
H A D | Makefile | 5 # suppress all warnings - as math.c produces a lot!
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | shmparam.h | 4 /* same as asm-i386/ version.. */
|
H A D | ptrace.h | 7 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
|
/linux-4.1.27/arch/arm/mach-highbank/ |
H A D | Makefile | 3 plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
/linux-4.1.27/arch/xtensa/include/asm/ |
H A D | cacheasm.h | 16 * Define cache functions as macros here so that they can be used 48 .macro __loop_cache_range ar as at insn line_width 51 add \as, \as, \at variable 53 __loops \ar, \as, \at, \line_width variable 122 .macro ___flush_invalidate_dcache_range ar as at 124 __loop_cache_range \ar \as \at dhwbi XCHAL_DCACHE_LINEWIDTH 129 .macro ___flush_dcache_range ar as at 131 __loop_cache_range \ar \as \at dhwb XCHAL_DCACHE_LINEWIDTH 136 .macro ___invalidate_dcache_range ar as at 138 __loop_cache_range \ar \as \at dhi XCHAL_DCACHE_LINEWIDTH 143 .macro ___invalidate_icache_range ar as at 145 __loop_cache_range \ar \as \at ihi XCHAL_ICACHE_LINEWIDTH 151 .macro ___flush_invalidate_dcache_page ar as 153 __loop_cache_page \ar \as dhwbi XCHAL_DCACHE_LINEWIDTH 158 .macro ___flush_dcache_page ar as 160 __loop_cache_page \ar \as dhwb XCHAL_DCACHE_LINEWIDTH 165 .macro ___invalidate_dcache_page ar as 167 __loop_cache_page \ar \as dhi XCHAL_DCACHE_LINEWIDTH 172 .macro ___invalidate_icache_page ar as 174 __loop_cache_page \ar \as ihi XCHAL_ICACHE_LINEWIDTH
|
H A D | asmmacro.h | 26 * __loops ar, as, at, inc_log2[, mask_log2][, cond][, ncond] 28 * as register initialized with the size 35 * __loop as 36 * restart loop. 'as' register must not have been modified! 40 * as scratch register used by macro 45 * loop for given size as immediate 64 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond variable 68 addi \at, \as, (1 << \incr_log2) - 1 variable 78 extui \at, \as, \incr_log2, \mask_log2 81 srli \at, \as, \incr_log2 92 add \at, \ar, \as 103 .macro __loopt ar, as, at, incr_log2 variable 106 sub \at, \as, \ar variable 122 .macro __loop as 125 loop \as, 99f 136 .macro __endl ar, as 138 bltu \ar, \as, 98b variable 147 .macro __endla ar, as, incr variable 149 __endl \ar \as
|
H A D | mxregs.h | 15 * RER/WER at, as Read/write external register 17 * as: address 21 * 01pp 0...0d..d 16 bits (d) 'ored' as single IPI to processor p
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | dis.h | 12 #define OPERAND_GPR 0x1 /* Operand printed as %rx */ 13 #define OPERAND_FPR 0x2 /* Operand printed as %fx */ 14 #define OPERAND_AR 0x4 /* Operand printed as %ax */ 15 #define OPERAND_CR 0x8 /* Operand printed as %cx */ 16 #define OPERAND_VR 0x10 /* Operand printed as %vx */ 17 #define OPERAND_DISP 0x20 /* Operand printed as displacement */ 18 #define OPERAND_BASE 0x40 /* Operand printed as base register */ 19 #define OPERAND_INDEX 0x80 /* Operand printed as index register */ 20 #define OPERAND_PCREL 0x100 /* Operand printed as pc-relative symbol */ 21 #define OPERAND_SIGNED 0x200 /* Operand printed as signed value */ 22 #define OPERAND_LENGTH 0x400 /* Operand printed as length (+1) */
|
/linux-4.1.27/drivers/iommu/ |
H A D | tegra-smmu.c | 5 * it under the terms of the GNU General Public License version 2 as 237 struct tegra_smmu_as *as; tegra_smmu_domain_alloc() local 244 as = kzalloc(sizeof(*as), GFP_KERNEL); tegra_smmu_domain_alloc() 245 if (!as) tegra_smmu_domain_alloc() 248 as->attr = SMMU_PD_READABLE | SMMU_PD_WRITABLE | SMMU_PD_NONSECURE; tegra_smmu_domain_alloc() 250 as->pd = alloc_page(GFP_KERNEL | __GFP_DMA); tegra_smmu_domain_alloc() 251 if (!as->pd) { tegra_smmu_domain_alloc() 252 kfree(as); tegra_smmu_domain_alloc() 256 as->count = alloc_page(GFP_KERNEL); tegra_smmu_domain_alloc() 257 if (!as->count) { tegra_smmu_domain_alloc() 258 __free_page(as->pd); tegra_smmu_domain_alloc() 259 kfree(as); tegra_smmu_domain_alloc() 264 pd = page_address(as->pd); tegra_smmu_domain_alloc() 265 SetPageReserved(as->pd); tegra_smmu_domain_alloc() 271 pd = page_address(as->count); tegra_smmu_domain_alloc() 272 SetPageReserved(as->count); tegra_smmu_domain_alloc() 278 as->domain.geometry.aperture_start = 0; tegra_smmu_domain_alloc() 279 as->domain.geometry.aperture_end = 0xffffffff; tegra_smmu_domain_alloc() 280 as->domain.geometry.force_aperture = true; tegra_smmu_domain_alloc() 282 return &as->domain; tegra_smmu_domain_alloc() 287 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_domain_free() local 290 ClearPageReserved(as->pd); tegra_smmu_domain_free() 292 kfree(as); tegra_smmu_domain_free() 368 struct tegra_smmu_as *as) tegra_smmu_as_prepare() 373 if (as->use_count > 0) { tegra_smmu_as_prepare() 374 as->use_count++; tegra_smmu_as_prepare() 378 err = tegra_smmu_alloc_asid(smmu, &as->id); tegra_smmu_as_prepare() 382 smmu->soc->ops->flush_dcache(as->pd, 0, SMMU_SIZE_PD); tegra_smmu_as_prepare() 383 smmu_flush_ptc(smmu, as->pd, 0); tegra_smmu_as_prepare() 384 smmu_flush_tlb_asid(smmu, as->id); tegra_smmu_as_prepare() 386 smmu_writel(smmu, as->id & 0x7f, SMMU_PTB_ASID); tegra_smmu_as_prepare() 387 value = SMMU_PTB_DATA_VALUE(as->pd, as->attr); tegra_smmu_as_prepare() 391 as->smmu = smmu; tegra_smmu_as_prepare() 392 as->use_count++; tegra_smmu_as_prepare() 398 struct tegra_smmu_as *as) tegra_smmu_as_unprepare() 400 if (--as->use_count > 0) tegra_smmu_as_unprepare() 403 tegra_smmu_free_asid(smmu, as->id); tegra_smmu_as_unprepare() 404 as->smmu = NULL; tegra_smmu_as_unprepare() 411 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_attach_dev() local 428 err = tegra_smmu_as_prepare(smmu, as); tegra_smmu_attach_dev() 432 tegra_smmu_enable(smmu, swgroup, as->id); tegra_smmu_attach_dev() 444 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_detach_dev() local 446 struct tegra_smmu *smmu = as->smmu; tegra_smmu_detach_dev() 461 tegra_smmu_disable(smmu, swgroup, as->id); tegra_smmu_detach_dev() 462 tegra_smmu_as_unprepare(smmu, as); tegra_smmu_detach_dev() 467 static u32 *as_get_pte(struct tegra_smmu_as *as, dma_addr_t iova, as_get_pte() argument 470 u32 *pd = page_address(as->pd), *pt, *count; as_get_pte() 473 struct tegra_smmu *smmu = as->smmu; as_get_pte() 492 smmu->soc->ops->flush_dcache(as->pd, pde << 2, 4); as_get_pte() 493 smmu_flush_ptc(smmu, as->pd, pde << 2); as_get_pte() 494 smmu_flush_tlb_section(smmu, as->id, iova); as_get_pte() 504 count = page_address(as->count); as_get_pte() 511 static void as_put_pte(struct tegra_smmu_as *as, dma_addr_t iova) as_put_pte() argument 515 u32 *count = page_address(as->count); as_put_pte() 516 u32 *pd = page_address(as->pd), *pt; as_put_pte() 519 page = pfn_to_page(pd[pde] & as->smmu->pfn_mask); as_put_pte() 540 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_map() local 541 struct tegra_smmu *smmu = as->smmu; tegra_smmu_map() 546 pte = as_get_pte(as, iova, &page); tegra_smmu_map() 555 smmu_flush_tlb_group(smmu, as->id, iova); tegra_smmu_map() 564 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_unmap() local 565 struct tegra_smmu *smmu = as->smmu; tegra_smmu_unmap() 570 pte = as_get_pte(as, iova, &page); tegra_smmu_unmap() 575 as_put_pte(as, iova); tegra_smmu_unmap() 579 smmu_flush_tlb_group(smmu, as->id, iova); tegra_smmu_unmap() 588 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_iova_to_phys() local 593 pte = as_get_pte(as, iova, &page); tegra_smmu_iova_to_phys() 594 pfn = *pte & as->smmu->pfn_mask; tegra_smmu_iova_to_phys() 367 tegra_smmu_as_prepare(struct tegra_smmu *smmu, struct tegra_smmu_as *as) tegra_smmu_as_prepare() argument 397 tegra_smmu_as_unprepare(struct tegra_smmu *smmu, struct tegra_smmu_as *as) tegra_smmu_as_unprepare() argument
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | timex.h | 5 * it under the terms of the GNU General Public License version 2 as 13 * The value should be defined as accurate as possible or under certain 17 * the way this value is used we can get away with a wrong value as long 18 * as this value is: 25 * The obscure number 1193182 is the same as used by the original i8254
|
/linux-4.1.27/drivers/staging/iio/cdc/ |
H A D | ad7746.h | 23 bool exca_en; /* enables EXCA pin as the excitation output */ 24 bool exca_inv_en; /* enables /EXCA pin as the excitation output */ 25 bool excb_en; /* enables EXCB pin as the excitation output */ 26 bool excb_inv_en; /* enables /EXCB pin as the excitation output */
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | swab.h | 5 * that byte accesses appear as: 7 * and word accesses (data or instruction) appear as: 10 * When in big endian mode, byte accesses appear as: 12 * and word accesses (data or instruction) appear as:
|
H A D | idmap.h | 7 /* Tag a function as requiring to be executed via an identity mapping. */
|
/linux-4.1.27/arch/arm/include/uapi/asm/ |
H A D | byteorder.h | 5 * that byte accesses appear as: 7 * and word accesses (data or instruction) appear as: 10 * When in big endian mode, byte accesses appear as: 12 * and word accesses (data or instruction) appear as:
|
H A D | swab.h | 5 * that byte accesses appear as: 7 * and word accesses (data or instruction) appear as: 10 * When in big endian mode, byte accesses appear as: 12 * and word accesses (data or instruction) appear as:
|
/linux-4.1.27/arch/arm/mach-keystone/ |
H A D | Makefile | 3 plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
/linux-4.1.27/tools/build/feature/ |
H A D | test-libdw-dwarf-unwind.c | 8 * Passing '1' as arguments value. This code is never executed, main()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | ani.c | 29 * or reducing sensitivity as necessary. 51 * Also we regularly check the amount of errors and lower or raise immunity as 215 * @as: The &struct ath5k_ani_state 223 ath5k_ani_raise_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as, ath5k_ani_raise_immunity() argument 232 if (as->noise_imm_level < ATH5K_ANI_MAX_NOISE_IMM_LVL) { ath5k_ani_raise_immunity() 233 ath5k_ani_set_noise_immunity_level(ah, as->noise_imm_level + 1); ath5k_ani_raise_immunity() 239 as->spur_level < ah->ani_state.max_spur_level) { ath5k_ani_raise_immunity() 240 ath5k_ani_set_spur_immunity_level(ah, as->spur_level + 1); ath5k_ani_raise_immunity() 246 if (as->firstep_level < ATH5K_ANI_MAX_FIRSTEP_LVL) ath5k_ani_raise_immunity() 247 ath5k_ani_set_firstep_level(ah, as->firstep_level + 1); ath5k_ani_raise_immunity() 262 if (ofdm_trigger && as->ofdm_weak_sig) { ath5k_ani_raise_immunity() 267 /* as a last resort or CCK: raise firstep level */ ath5k_ani_raise_immunity() 268 if (as->firstep_level < ATH5K_ANI_MAX_FIRSTEP_LVL) { ath5k_ani_raise_immunity() 269 ath5k_ani_set_firstep_level(ah, as->firstep_level + 1); ath5k_ani_raise_immunity() 277 if (ofdm_trigger && !as->ofdm_weak_sig) ath5k_ani_raise_immunity() 279 if (as->firstep_level < ATH5K_ANI_MAX_FIRSTEP_LVL) ath5k_ani_raise_immunity() 280 ath5k_ani_set_firstep_level(ah, as->firstep_level + 1); ath5k_ani_raise_immunity() 287 if (ofdm_trigger && as->ofdm_weak_sig) ath5k_ani_raise_immunity() 289 if (as->firstep_level > 0) ath5k_ani_raise_immunity() 295 if (as->cck_weak_sig == true) { ath5k_ani_raise_immunity() 304 * @as: The &struct ath5k_ani_state 310 ath5k_ani_lower_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_ani_lower_immunity() argument 318 if (as->firstep_level > 0) { ath5k_ani_lower_immunity() 319 ath5k_ani_set_firstep_level(ah, as->firstep_level - 1); ath5k_ani_lower_immunity() 331 if (!as->ofdm_weak_sig) { ath5k_ani_lower_immunity() 336 if (as->firstep_level > 0) { ath5k_ani_lower_immunity() 338 as->firstep_level - 1); ath5k_ani_lower_immunity() 343 if (as->firstep_level > 0) { ath5k_ani_lower_immunity() 345 as->firstep_level - 1); ath5k_ani_lower_immunity() 352 if (as->spur_level > 0) { ath5k_ani_lower_immunity() 353 ath5k_ani_set_spur_immunity_level(ah, as->spur_level - 1); ath5k_ani_lower_immunity() 358 if (as->noise_imm_level > 0) { ath5k_ani_lower_immunity() 359 ath5k_ani_set_noise_immunity_level(ah, as->noise_imm_level - 1); ath5k_ani_lower_immunity() 367 * @as: The &struct ath5k_ani_state 374 ath5k_hw_ani_get_listen_time(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_hw_ani_get_listen_time() argument 382 memcpy(&as->last_cc, &common->cc_ani, sizeof(as->last_cc)); ath5k_hw_ani_get_listen_time() 395 * @as: The &struct ath5k_ani_state 397 * Clear the PHY error counters as soon as possible, since this might be called 407 struct ath5k_ani_state *as) ath5k_ani_save_and_clear_phy_errors() 433 as->ofdm_errors += ofdm_err; ath5k_ani_save_and_clear_phy_errors() 434 as->sum_ofdm_errors += ofdm_err; ath5k_ani_save_and_clear_phy_errors() 437 as->cck_errors += cck_err; ath5k_ani_save_and_clear_phy_errors() 438 as->sum_cck_errors += cck_err; ath5k_ani_save_and_clear_phy_errors() 445 * @as: The &struct ath5k_ani_state 450 ath5k_ani_period_restart(struct ath5k_ani_state *as) ath5k_ani_period_restart() argument 453 as->last_ofdm_errors = as->ofdm_errors; ath5k_ani_period_restart() 454 as->last_cck_errors = as->cck_errors; ath5k_ani_period_restart() 455 as->last_listen = as->listen_time; ath5k_ani_period_restart() 457 as->ofdm_errors = 0; ath5k_ani_period_restart() 458 as->cck_errors = 0; ath5k_ani_period_restart() 459 as->listen_time = 0; ath5k_ani_period_restart() 477 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_calibration() local 483 listen = ath5k_hw_ani_get_listen_time(ah, as); ath5k_ani_calibration() 484 as->listen_time += listen; ath5k_ani_calibration() 486 if (as->ani_mode != ATH5K_ANI_MODE_AUTO) ath5k_ani_calibration() 489 ath5k_ani_save_and_clear_phy_errors(ah, as); ath5k_ani_calibration() 491 ofdm_high = as->listen_time * ATH5K_ANI_OFDM_TRIG_HIGH / 1000; ath5k_ani_calibration() 492 cck_high = as->listen_time * ATH5K_ANI_CCK_TRIG_HIGH / 1000; ath5k_ani_calibration() 493 ofdm_low = as->listen_time * ATH5K_ANI_OFDM_TRIG_LOW / 1000; ath5k_ani_calibration() 494 cck_low = as->listen_time * ATH5K_ANI_CCK_TRIG_LOW / 1000; ath5k_ani_calibration() 497 "listen %d (now %d)", as->listen_time, listen); ath5k_ani_calibration() 500 as->ofdm_errors, ofdm_high, as->cck_errors, cck_high); ath5k_ani_calibration() 502 if (as->ofdm_errors > ofdm_high || as->cck_errors > cck_high) { ath5k_ani_calibration() 504 bool ofdm_flag = as->ofdm_errors > ofdm_high ? true : false; ath5k_ani_calibration() 505 ath5k_ani_raise_immunity(ah, as, ofdm_flag); ath5k_ani_calibration() 506 ath5k_ani_period_restart(as); ath5k_ani_calibration() 508 } else if (as->listen_time > 5 * ATH5K_ANI_LISTEN_PERIOD) { ath5k_ani_calibration() 513 as->ofdm_errors, ofdm_low, as->cck_errors, cck_low); ath5k_ani_calibration() 515 if (as->ofdm_errors <= ofdm_low && as->cck_errors <= cck_low) ath5k_ani_calibration() 516 ath5k_ani_lower_immunity(ah, as); ath5k_ani_calibration() 518 ath5k_ani_period_restart(as); ath5k_ani_calibration() 541 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_mib_intr() local 558 if (ath5k_ani_save_and_clear_phy_errors(ah, as) == 0) ath5k_ani_mib_intr() 561 if (as->ofdm_errors > ATH5K_ANI_OFDM_TRIG_HIGH || ath5k_ani_mib_intr() 562 as->cck_errors > ATH5K_ANI_CCK_TRIG_HIGH) ath5k_ani_mib_intr() 579 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_phy_error_report() local 582 as->ofdm_errors++; ath5k_ani_phy_error_report() 583 if (as->ofdm_errors > ATH5K_ANI_OFDM_TRIG_HIGH) ath5k_ani_phy_error_report() 586 as->cck_errors++; ath5k_ani_phy_error_report() 587 if (as->cck_errors > ATH5K_ANI_CCK_TRIG_HIGH) ath5k_ani_phy_error_report() 406 ath5k_ani_save_and_clear_phy_errors(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_ani_save_and_clear_phy_errors() argument
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
H A D | perf_event.h | 6 * as published by the Free Software Foundation; version 2 of the 14 * We use bit 63 of perf_event_attr.config as a flag to request EBB.
|
/linux-4.1.27/arch/microblaze/lib/ |
H A D | fastcopy.S | 44 /* move d to return register as value of function */ 107 andi r8, r6, 0xfffffffc /* as = s & ~3 */ 109 lwi r11, r8, 0 /* h = *(as + 0) */ 119 lwi r12, r8, 4 /* v = *(as + 4) */ 124 lwi r12, r8, 8 /* v = *(as + 8) */ 129 lwi r12, r8, 12 /* v = *(as + 12) */ 134 lwi r12, r8, 16 /* v = *(as + 16) */ 139 lwi r12, r8, 20 /* v = *(as + 20) */ 144 lwi r12, r8, 24 /* v = *(as + 24) */ 149 lwi r12, r8, 28 /* v = *(as + 28) */ 154 lwi r12, r8, 32 /* v = *(as + 32) */ 159 addi r8, r8, 32 /* as = as + 32 */ 168 lwi r12, r8, 4 /* v = *(as + 4) */ 173 lwi r12, r8, 8 /* v = *(as + 8) */ 178 lwi r12, r8, 12 /* v = *(as + 12) */ 183 lwi r12, r8, 16 /* v = *(as + 16) */ 188 lwi r12, r8, 20 /* v = *(as + 20) */ 193 lwi r12, r8, 24 /* v = *(as + 24) */ 198 lwi r12, r8, 28 /* v = *(as + 28) */ 203 lwi r12, r8, 32 /* v = *(as + 32) */ 208 addi r8, r8, 32 /* as = as + 32 */ 217 lwi r12, r8, 4 /* v = *(as + 4) */ 222 lwi r12, r8, 8 /* v = *(as + 8) */ 227 lwi r12, r8, 12 /* v = *(as + 12) */ 232 lwi r12, r8, 16 /* v = *(as + 16) */ 237 lwi r12, r8, 20 /* v = *(as + 20) */ 242 lwi r12, r8, 24 /* v = *(as + 24) */ 247 lwi r12, r8, 28 /* v = *(as + 28) */ 252 lwi r12, r8, 32 /* v = *(as + 32) */ 257 addi r8, r8, 32 /* as = as + 32 */ 285 andi r8, r6, 0xfffffffc /* as = s & ~3 */ 286 lwi r11, r8, 0 /* h = *(as + 0) */ 287 addi r8, r8, 4 /* as = as + 4 */ 297 lw r12, r8, r10 /* v = *(as + offset) */ 311 lw r12, r8, r10 /* v = *(as + offset) */ 325 lw r12, r8, r10 /* v = *(as + offset) */ 365 /* move d to return register as value of function */ 429 andi r8, r6, 0xfffffffc /* as = s & ~3 */ 431 lwi r11, r8, 0 /* h = *(as + 0) */ 441 addi r8, r8, -32 /* as = as - 32 */ 443 lwi r12, r8, 28 /* v = *(as + 28) */ 448 lwi r12, r8, 24 /* v = *(as + 24) */ 453 lwi r12, r8, 20 /* v = *(as + 20) */ 458 lwi r12, r8, 16 /* v = *(as + 16) */ 463 lwi r12, r8, 12 /* v = *(as + 12) */ 468 lwi r12, r8, 8 /* v = *(as + 8) */ 473 lwi r12, r8, 4 /* v = *(as + 4) */ 478 lwi r12, r8, 0 /* v = *(as + 0) */ 490 addi r8, r8, -32 /* as = as - 32 */ 492 lwi r12, r8, 28 /* v = *(as + 28) */ 497 lwi r12, r8, 24 /* v = *(as + 24) */ 502 lwi r12, r8, 20 /* v = *(as + 20) */ 507 lwi r12, r8, 16 /* v = *(as + 16) */ 512 lwi r12, r8, 12 /* v = *(as + 12) */ 517 lwi r12, r8, 8 /* v = *(as + 8) */ 522 lwi r12, r8, 4 /* v = *(as + 4) */ 527 lwi r12, r8, 0 /* v = *(as + 0) */ 539 addi r8, r8, -32 /* as = as - 32 */ 541 lwi r12, r8, 28 /* v = *(as + 28) */ 546 lwi r12, r8, 24 /* v = *(as + 24) */ 551 lwi r12, r8, 20 /* v = *(as + 20) */ 556 lwi r12, r8, 16 /* v = *(as + 16) */ 561 lwi r12, r8, 12 /* v = *(as + 12) */ 566 lwi r12, r8, 8 /* v = *(as + 8) */ 571 lwi r12, r8, 4 /* v = *(as + 4) */ 576 lwi r12, r8, 0 /* v = *(as + 0) */ 608 andi r8, r6, 0xfffffffc /* as = s & ~3 */ 609 lw r11, r8, r4 /* h = *(as + n) */ 620 lw r12, r8, r4 /* v = *(as + n) */ 633 lw r12, r8, r4 /* v = *(as + n) */ 646 lw r12, r8, r4 /* v = *(as + n) */
|
/linux-4.1.27/drivers/regulator/ |
H A D | dummy.h | 9 * modify it under the terms of the GNU General Public License as 14 * non-controllable regulators, as well as for allowing testing on
|
/linux-4.1.27/arch/unicore32/include/uapi/asm/ |
H A D | byteorder.h | 9 * it under the terms of the GNU General Public License version 2 as 13 * that byte accesses appear as: 15 * and word accesses (data or instruction) appear as:
|
H A D | unistd.h | 9 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/arch/avr32/lib/ |
H A D | io-readsw.S | 5 * it under the terms of the GNU General Public License version 2 as 11 * Bad alignment will cause a hardware exception, which is as 12 * good as anything. No need for us to check for proper alignment.
|
/linux-4.1.27/arch/x86/crypto/sha-mb/ |
H A D | Makefile | 5 avx2_supported := $(call as-instr,vpgatherdd %ymm0$(comma)(%eax$(comma)%ymm1\
|
/linux-4.1.27/arch/mips/include/asm/mach-generic/ |
H A D | kmalloc.h | 7 * Total overkill for most systems but need as a safe default.
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | serial-omap.h | 12 * it under the terms of the GNU General Public License as published by 27 * Use tty device name as ttyO, [O -> OMAP] 28 * in bootargs we specify as console=ttyO0 if uart1 29 * is used as console uart.
|
H A D | usb-mx2.h | 5 * it under the terms of the GNU General Public License as published by 19 /* Values below as used by hardware (HWMODE register) */ 28 enum mx21_usbh_xcvr otg_xcvr; /* tranceiver mode otg (as host) port */ 31 enable_otg_host:1, /* enable "OTG" port (as host) */
|
H A D | uio_dmem_genirq.h | 7 * modify it under the terms of the GNU General Public License as 10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
H A D | uio_pruss.h | 9 * modify it under the terms of the GNU General Public License as 12 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
H A D | bd6107.h | 5 * it under the terms of the GNU General Public License version 2 as
|
H A D | coda.h | 5 * it under the terms of the GNU General Public License as published by
|
H A D | cpuidle-exynos.h | 6 * it under the terms of the GNU General Public License version 2 as
|
H A D | dma-hsu.h | 7 * it under the terms of the GNU General Public License version 2 as
|
H A D | gpio_backlight.h | 5 * it under the terms of the GNU General Public License version 2 as
|
H A D | leds-kirkwood-ns2.h | 5 * License version 2. This program is licensed "as is" without any
|
H A D | leds-omap.h | 6 * it under the terms of the GNU General Public License version 2 as
|
H A D | lv5207lp.h | 5 * it under the terms of the GNU General Public License version 2 as
|
H A D | macb.h | 5 * it under the terms of the GNU General Public License version 2 as
|
H A D | mfd-mcp-sa11x0.h | 5 * it under the terms of the GNU General Public License version 2 as
|
H A D | mmc-mvsdio.h | 3 * License version 2. This program is licensed "as is" without any
|
H A D | mmp_audio.h | 7 * it under the terms of the GNU General Public License version 2 as
|
H A D | mmp_dma.h | 7 * it under the terms of the GNU General Public License version 2 as
|
H A D | omap_drm.h | 8 * under the terms of the GNU General Public License version 2 as published by 28 * detected devices. Remaining overlays are used as video planes. This 33 /* overlays to use as CRTCs: */ 37 /* overlays to use as video planes: */
|
H A D | sc18is602.h | 7 * it under the terms of the GNU General Public License version 2 as
|
H A D | sh_ipmmu.h | 6 * it under the terms of the GNU General Public License as published by
|
H A D | usb-ehci-orion.h | 3 * License version 2. This program is licensed "as is" without any
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | mmu.h | 7 * (e.g., as done in activate_mm() and init_new_context()).
|
/linux-4.1.27/arch/arm/mach-s3c64xx/ |
H A D | setup-ide.c | 9 * it under the terms of the GNU General Public License version 2 as 35 /* Set XhiDATA[15:0] pins as CF Data[15:0] */ s3c64xx_ide_setup_gpio() 38 /* Set XhiADDR[2:0] pins as CF ADDR[2:0] */ s3c64xx_ide_setup_gpio() 41 /* Set Xhi ctrl pins as CF ctrl pins(IORDY, IOWR, IORD, CE[0:1]) */ s3c64xx_ide_setup_gpio()
|
/linux-4.1.27/fs/efs/ |
H A D | file.c | 23 * i have no idea why this happens as often as it does efs_get_block() 47 * i have no idea why this happens as often as it does efs_bmap()
|
/linux-4.1.27/include/asm-generic/bitops/ |
H A D | builtin-fls.h | 8 * This is defined the same way as ffs.
|
/linux-4.1.27/arch/mips/include/asm/mach-loongson/ |
H A D | machine.h | 6 * under the terms of the GNU General Public License as published by the 20 /* use fuloong2f as the default machine of LEMOTE_MACH2F */
|
/linux-4.1.27/include/uapi/linux/ |
H A D | hdlc.h | 8 * as published by the Free Software Foundation. 19 #define HDLC_MAX_MRU 1600 /* as required for FR network */
|
H A D | eventpoll.h | 6 * it under the terms of the GNU General Public License as published by 30 * Request the handling of system wakeup events so as to prevent system suspends 48 * On x86-64 make the 64bit structure have the same alignment as the 51 * UML/x86_64 needs the same packing as x86_64
|
H A D | ncp_no.h | 4 /* these define the attribute byte as seen by NCP */
|
H A D | net_namespace.h | 6 * version 2, as published by the Free Software Foundation.
|
/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
H A D | reset.h | 14 * init_gpio_reset() - register GPIO as reset generator 16 * @output: set gpio as output instead of input during normal work
|
/linux-4.1.27/arch/arm/mach-bcm/ |
H A D | kona_l2_cache.h | 5 * modify it under the terms of the GNU General Public License as 8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
H A D | bcm63xx.c | 5 * modify it under the terms of the GNU General Public License as 8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
H A D | bcm_cygnus.c | 5 * modify it under the terms of the GNU General Public License as 8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
H A D | brcmstb.c | 5 * modify it under the terms of the GNU General Public License as 8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | current.h | 5 * it under the terms of the GNU General Public License version 2 as 9 * - Current macro is now implemented as "global register" r25
|
/linux-4.1.27/drivers/usb/core/ |
H A D | devio.c | 9 * it under the terms of the GNU General Public License as published by 276 struct async *as; alloc_async() local 278 as = kzalloc(sizeof(struct async), GFP_KERNEL); alloc_async() 279 if (!as) alloc_async() 281 as->urb = usb_alloc_urb(numisoframes, GFP_KERNEL); alloc_async() 282 if (!as->urb) { alloc_async() 283 kfree(as); alloc_async() 286 return as; alloc_async() 289 static void free_async(struct async *as) free_async() argument 293 put_pid(as->pid); free_async() 294 if (as->cred) free_async() 295 put_cred(as->cred); free_async() 296 for (i = 0; i < as->urb->num_sgs; i++) { free_async() 297 if (sg_page(&as->urb->sg[i])) free_async() 298 kfree(sg_virt(&as->urb->sg[i])); free_async() 300 kfree(as->urb->sg); free_async() 301 kfree(as->urb->transfer_buffer); free_async() 302 kfree(as->urb->setup_packet); free_async() 303 usb_free_urb(as->urb); free_async() 304 usbfs_decrease_memory_usage(as->mem_usage); free_async() 305 kfree(as); free_async() 308 static void async_newpending(struct async *as) async_newpending() argument 310 struct usb_dev_state *ps = as->ps; async_newpending() 314 list_add_tail(&as->asynclist, &ps->async_pending); async_newpending() 318 static void async_removepending(struct async *as) async_removepending() argument 320 struct usb_dev_state *ps = as->ps; async_removepending() 324 list_del_init(&as->asynclist); async_removepending() 331 struct async *as = NULL; async_getcompleted() local 335 as = list_entry(ps->async_completed.next, struct async, async_getcompleted() 337 list_del_init(&as->asynclist); async_getcompleted() 340 return as; async_getcompleted() 346 struct async *as; async_getpending() local 348 list_for_each_entry(as, &ps->async_pending, asynclist) async_getpending() 349 if (as->userurb == userurb) { async_getpending() 350 list_del_init(&as->asynclist); async_getpending() 351 return as; async_getpending() 456 struct async *as; variable in typeref:struct:async 463 list_for_each_entry(as, &ps->async_pending, asynclist) { 464 if (as->bulk_addr == bulk_addr) { 465 if (as->bulk_status != AS_CONTINUATION) 467 as->bulk_status = AS_UNLINK; 468 as->bulk_addr = 0; 475 list_for_each_entry(as, &ps->async_pending, asynclist) { 476 if (as->bulk_status == AS_UNLINK) { 477 as->bulk_status = 0; /* Only once */ 478 urb = as->urb; 491 struct async *as = urb->context; async_completed() local 492 struct usb_dev_state *ps = as->ps; async_completed() 500 list_move_tail(&as->asynclist, &ps->async_completed); async_completed() 501 as->status = urb->status; async_completed() 502 signr = as->signr; async_completed() 505 sinfo.si_signo = as->signr; async_completed() 506 sinfo.si_errno = as->status; async_completed() 508 sinfo.si_addr = as->userurb; async_completed() 509 pid = get_pid(as->pid); async_completed() 510 cred = get_cred(as->cred); async_completed() 511 secid = as->secid; async_completed() 514 snoop_urb(urb->dev, as->userurb, urb->pipe, urb->actual_length, async_completed() 515 as->status, COMPLETE, NULL, 0); async_completed() 519 if (as->status < 0 && as->bulk_addr && as->status != -ECONNRESET && async_completed() 520 as->status != -ENOENT) async_completed() 521 cancel_bulk_urbs(ps, as->bulk_addr); async_completed() 536 struct async *as; destroy_async() local 541 as = list_entry(list->next, struct async, asynclist); destroy_async() 542 list_del_init(&as->asynclist); destroy_async() 543 urb = as->urb; destroy_async() 729 * class specification, which we always want to allow as it is used check_ctrlrecip() 941 struct async *as; usbdev_release() local 960 as = async_getcompleted(ps); usbdev_release() 961 while (as) { usbdev_release() 962 free_async(as); usbdev_release() 963 as = async_getcompleted(ps); usbdev_release() 1271 /* SET_CONFIGURATION is often abused as a "cheap" driver reset, proc_setconfig() 1290 struct async *as = NULL; proc_do_submiturb() local 1433 as = alloc_async(number_of_packets); proc_do_submiturb() 1434 if (!as) { proc_do_submiturb() 1444 as->mem_usage = u; proc_do_submiturb() 1447 as->urb->sg = kmalloc(num_sgs * sizeof(struct scatterlist), proc_do_submiturb() 1449 if (!as->urb->sg) { proc_do_submiturb() 1453 as->urb->num_sgs = num_sgs; proc_do_submiturb() 1454 sg_init_table(as->urb->sg, as->urb->num_sgs); proc_do_submiturb() 1457 for (i = 0; i < as->urb->num_sgs; i++) { proc_do_submiturb() 1464 sg_set_buf(&as->urb->sg[i], buf, u); proc_do_submiturb() 1476 as->urb->transfer_buffer = kmalloc(uurb->buffer_length, proc_do_submiturb() 1478 if (!as->urb->transfer_buffer) { proc_do_submiturb() 1484 if (copy_from_user(as->urb->transfer_buffer, proc_do_submiturb() 1497 memset(as->urb->transfer_buffer, 0, proc_do_submiturb() 1501 as->urb->dev = ps->dev; proc_do_submiturb() 1502 as->urb->pipe = (uurb->type << 30) | proc_do_submiturb() 1521 as->urb->transfer_flags = u; proc_do_submiturb() 1523 as->urb->transfer_buffer_length = uurb->buffer_length; proc_do_submiturb() 1524 as->urb->setup_packet = (unsigned char *)dr; proc_do_submiturb() 1526 as->urb->start_frame = uurb->start_frame; proc_do_submiturb() 1527 as->urb->number_of_packets = number_of_packets; proc_do_submiturb() 1528 as->urb->stream_id = stream_id; proc_do_submiturb() 1531 as->urb->interval = 1 << min(15, ep->desc.bInterval - 1); proc_do_submiturb() 1533 as->urb->interval = ep->desc.bInterval; proc_do_submiturb() 1534 as->urb->context = as; proc_do_submiturb() 1535 as->urb->complete = async_completed; proc_do_submiturb() 1537 as->urb->iso_frame_desc[u].offset = totlen; proc_do_submiturb() 1538 as->urb->iso_frame_desc[u].length = isopkt[u].length; proc_do_submiturb() 1543 as->ps = ps; proc_do_submiturb() 1544 as->userurb = arg; proc_do_submiturb() 1546 as->userbuffer = uurb->buffer; proc_do_submiturb() 1548 as->userbuffer = NULL; proc_do_submiturb() 1549 as->signr = uurb->signr; proc_do_submiturb() 1550 as->ifnum = ifnum; proc_do_submiturb() 1551 as->pid = get_pid(task_pid(current)); proc_do_submiturb() 1552 as->cred = get_current_cred(); proc_do_submiturb() 1553 security_task_getsecid(current, &as->secid); proc_do_submiturb() 1554 snoop_urb(ps->dev, as->userurb, as->urb->pipe, proc_do_submiturb() 1555 as->urb->transfer_buffer_length, 0, SUBMIT, proc_do_submiturb() 1558 snoop_urb_data(as->urb, as->urb->transfer_buffer_length); proc_do_submiturb() 1560 async_newpending(as); proc_do_submiturb() 1569 as->bulk_addr = usb_endpoint_num(&ep->desc) | proc_do_submiturb() 1574 * the endpoint. Otherwise mark it as a continuation URB. proc_do_submiturb() 1577 as->bulk_status = AS_CONTINUATION; proc_do_submiturb() 1579 ps->disabled_bulk_eps &= ~(1 << as->bulk_addr); proc_do_submiturb() 1584 if (ps->disabled_bulk_eps & (1 << as->bulk_addr)) proc_do_submiturb() 1587 ret = usb_submit_urb(as->urb, GFP_ATOMIC); proc_do_submiturb() 1590 ret = usb_submit_urb(as->urb, GFP_KERNEL); proc_do_submiturb() 1596 snoop_urb(ps->dev, as->userurb, as->urb->pipe, proc_do_submiturb() 1598 async_removepending(as); proc_do_submiturb() 1606 if (as) proc_do_submiturb() 1607 free_async(as); proc_do_submiturb() 1626 struct async *as; proc_unlinkurb() local 1630 as = async_getpending(ps, arg); proc_unlinkurb() 1631 if (!as) { proc_unlinkurb() 1636 urb = as->urb; proc_unlinkurb() 1646 static int processcompl(struct async *as, void __user * __user *arg) processcompl() argument 1648 struct urb *urb = as->urb; processcompl() 1649 struct usbdevfs_urb __user *userurb = as->userurb; processcompl() 1650 void __user *addr = as->userurb; processcompl() 1653 if (as->userbuffer && urb->actual_length) { processcompl() 1654 if (copy_urb_data_to_user(as->userbuffer, urb)) processcompl() 1657 if (put_user(as->status, &userurb->status)) processcompl() 1686 struct async *as = NULL; reap_as() local 1692 as = async_getcompleted(ps); reap_as() 1693 if (as || !connected(ps)) reap_as() 1703 return as; reap_as() 1708 struct async *as = reap_as(ps); proc_reapurb() local 1709 if (as) { proc_reapurb() 1710 int retval = processcompl(as, (void __user * __user *)arg); proc_reapurb() 1711 free_async(as); proc_reapurb() 1722 struct async *as; proc_reapurbnonblock() local 1724 as = async_getcompleted(ps); proc_reapurbnonblock() 1725 if (as) { proc_reapurbnonblock() 1726 retval = processcompl(as, (void __user * __user *)arg); proc_reapurbnonblock() 1727 free_async(as); proc_reapurbnonblock() 1815 static int processcompl_compat(struct async *as, void __user * __user *arg) processcompl_compat() argument 1817 struct urb *urb = as->urb; processcompl_compat() 1818 struct usbdevfs_urb32 __user *userurb = as->userurb; processcompl_compat() 1819 void __user *addr = as->userurb; processcompl_compat() 1822 if (as->userbuffer && urb->actual_length) { processcompl_compat() 1823 if (copy_urb_data_to_user(as->userbuffer, urb)) processcompl_compat() 1826 if (put_user(as->status, &userurb->status)) processcompl_compat() 1851 struct async *as = reap_as(ps); proc_reapurb_compat() local 1852 if (as) { proc_reapurb_compat() 1853 int retval = processcompl_compat(as, (void __user * __user *)arg); proc_reapurb_compat() 1854 free_async(as); proc_reapurb_compat() 1865 struct async *as; proc_reapurbnonblock_compat() local 1867 as = async_getcompleted(ps); proc_reapurbnonblock_compat() 1868 if (as) { proc_reapurbnonblock_compat() 1869 retval = processcompl_compat(as, (void __user * __user *)arg); proc_reapurbnonblock_compat() 1870 free_async(as); proc_reapurbnonblock_compat() 2129 * NOTE: All requests here that have interface numbers as parameters
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
H A D | socket.h | 9 * same as OSF/1, as that's all that "normal" programs are 38 /* linux-specific, might as well be the same as on i386 */ 61 /* Security levels - as per NRL IPv6 - don't actually do anything */ 77 /* Instruct lower device to use last 4-bytes of skb data as FCS */
|
/linux-4.1.27/drivers/char/ |
H A D | apm-emulation.c | 42 * One option can be changed at boot time as follows: 79 * The transitions are invoked as follows: 82 * 3: userspace thread issues the APM_IOC_SUSPEND ioctl (as ack) 198 struct apm_user *as; queue_event() local 201 list_for_each_entry(as, &apm_user_list, list) { queue_event() 202 if (as->reader) queue_event() 203 queue_add_event(&as->queue, event); queue_event() 211 struct apm_user *as = fp->private_data; apm_read() local 218 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) apm_read() 221 wait_event_interruptible(apm_waitqueue, !queue_empty(&as->queue)); apm_read() 223 while ((i >= sizeof(event)) && !queue_empty(&as->queue)) { apm_read() 224 event = queue_get_event(&as->queue); apm_read() 231 if (as->suspend_state == SUSPEND_PENDING && apm_read() 233 as->suspend_state = SUSPEND_READ; apm_read() 248 struct apm_user *as = fp->private_data; apm_poll() local 251 return queue_empty(&as->queue) ? 0 : POLLIN | POLLRDNORM; apm_poll() 267 struct apm_user *as = filp->private_data; apm_ioctl() local 270 if (!as->suser || !as->writer) apm_ioctl() 277 as->suspend_result = -EINTR; apm_ioctl() 279 switch (as->suspend_state) { apm_ioctl() 284 * interpreted as an acknowledge. apm_ioctl() 286 as->suspend_state = SUSPEND_ACKED; apm_ioctl() 304 as->suspend_state != SUSPEND_ACKED)) apm_ioctl() 308 as->suspend_result = -ETIMEDOUT; apm_ioctl() 312 as->suspend_state = SUSPEND_WAIT; apm_ioctl() 320 as->suspend_result = pm_suspend(PM_SUSPEND_MEM); apm_ioctl() 324 err = as->suspend_result; apm_ioctl() 325 as->suspend_state = SUSPEND_NONE; apm_ioctl() 335 struct apm_user *as = filp->private_data; apm_release() local 340 list_del(&as->list); apm_release() 344 * We are now unhooked from the chain. As far as new apm_release() 348 if (as->suspend_state == SUSPEND_PENDING || apm_release() 349 as->suspend_state == SUSPEND_READ) apm_release() 355 kfree(as); apm_release() 361 struct apm_user *as; apm_open() local 363 as = kzalloc(sizeof(*as), GFP_KERNEL); apm_open() 364 if (as) { apm_open() 372 as->suser = capable(CAP_SYS_ADMIN); apm_open() 373 as->writer = (filp->f_mode & FMODE_WRITE) == FMODE_WRITE; apm_open() 374 as->reader = (filp->f_mode & FMODE_READ) == FMODE_READ; apm_open() 377 list_add(&as->list, &apm_user_list); apm_open() 380 filp->private_data = as; apm_open() 383 return as ? 0 : -ENOMEM; apm_open() 532 struct apm_user *as; apm_suspend_notifier() local 552 list_for_each_entry(as, &apm_user_list, list) { apm_suspend_notifier() 553 if (as->suspend_state != SUSPEND_WAIT && as->reader && apm_suspend_notifier() 554 as->writer && as->suser) { apm_suspend_notifier() 555 as->suspend_state = SUSPEND_PENDING; apm_suspend_notifier() 557 queue_add_event(&as->queue, apm_event); apm_suspend_notifier() 589 list_for_each_entry(as, &apm_user_list, list) { apm_suspend_notifier() 590 if (as->suspend_state == SUSPEND_PENDING || apm_suspend_notifier() 591 as->suspend_state == SUSPEND_READ) { apm_suspend_notifier() 592 as->suspend_state = SUSPEND_ACKTO; apm_suspend_notifier() 622 list_for_each_entry(as, &apm_user_list, list) { apm_suspend_notifier() 623 if (as->suspend_state == SUSPEND_ACKED) { apm_suspend_notifier() 630 as->suspend_result = 0; apm_suspend_notifier() 631 as->suspend_state = SUSPEND_DONE; apm_suspend_notifier()
|
/linux-4.1.27/arch/powerpc/lib/ |
H A D | vmx-helper.c | 3 * it under the terms of the GNU General Public License as published by 30 /* This acts as preempt_disable() as well and will make enter_vmx_usercopy() 32 * as they can call schedule and thus make us lose the VMX enter_vmx_usercopy() 67 * passed a pointer to the destination which we return as required by a
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | ctx_sw_asm.S | 5 * it under the terms of the GNU General Public License version 2 as 34 st.as sp, [r0, KSP_WORD_OFF] 36 /* Workaround for NR_CPUS=4k as ST.as can only take s9 offset */ 57 ld.as sp, [r1, (TASK_THREAD + THREAD_KSP)/4]
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-spi.h | 10 * it under the terms of the GNU General Public License, Version 2, as 87 * use as a SPI interface. 89 * can operate as a full duplex (both Tx and Rx data paths 90 * active) or as a halfplex (either the Tx data path is 105 * use as a SPI interface. 107 * can operate as a full duplex (both Tx and Rx data paths 108 * active) or as a halfplex (either the Tx data path is 174 * use as a SPI interface. 176 * can operate as a full duplex (both Tx and Rx data paths 177 * active) or as a halfplex (either the Tx data path is 190 * use as a SPI interface. 192 * can operate as a full duplex (both Tx and Rx data paths 193 * active) or as a halfplex (either the Tx data path is 207 * use as a SPI interface. 209 * can operate as a full duplex (both Tx and Rx data paths 210 * active) or as a halfplex (either the Tx data path is 224 * use as a SPI interface. 226 * can operate as a full duplex (both Tx and Rx data paths 227 * active) or as a halfplex (either the Tx data path is 241 * use as a SPI interface. 243 * can operate as a full duplex (both Tx and Rx data paths 244 * active) or as a halfplex (either the Tx data path is 258 * use as a SPI interface. 260 * can operate as a full duplex (both Tx and Rx data paths 261 * active) or as a halfplex (either the Tx data path is
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | arm_big_little.h | 11 * it under the terms of the GNU General Public License version 2 as 14 * This program is distributed "as is" WITHOUT ANY WARRANTY of any 30 * This must set opp table for cpu_dev in a similar way as done by
|
/linux-4.1.27/include/sound/ |
H A D | rt5677.h | 8 * it under the terms of the GNU General Public License version 2 as 34 /* jd1 can select 0 ~ 3 as OFF, GPIO1, GPIO2 and GPIO3 respectively */ 36 /* jd2 and jd3 can select 0 ~ 3 as
|
H A D | da9055.h | 11 * under the terms of the GNU General Public License as published by the 27 /* Selects which of the two MicBias pins acts as the bias source */
|
H A D | cs42l73.h | 7 * it under the terms of the GNU General Public License version 2 as
|
H A D | rt286.h | 7 * it under the terms of the GNU General Public License version 2 as
|
H A D | rt5651.h | 7 * it under the terms of the GNU General Public License version 2 as
|
H A D | uda1380.h | 7 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/include/linux/usb/ |
H A D | gpio_vbus.h | 9 * it under the terms of the GNU General Public License version 2 as 20 * @wakeup: configure gpio_vbus as a wake-up source 24 * value the GPIO detects as active. Some systems will use comparators.
|
/linux-4.1.27/arch/cris/include/uapi/asm/ |
H A D | socket.h | 4 /* almost the same as asm-i386/socket.h */ 35 /* Security levels - as per NRL IPv6 - don't actually do anything */ 72 /* Instruct lower device to use last 4-bytes of skb data as FCS */
|
/linux-4.1.27/arch/arm/mach-rpc/ |
H A D | ecard.h | 7 * it under the terms of the GNU General Public License version 2 as 13 * External expansion card header as read from the card 43 * Chunk directory entry as read from the card
|
/linux-4.1.27/arch/arm/plat-samsung/include/plat/ |
H A D | regs-usb-hsotg-phy.h | 11 * it under the terms of the GNU General Public License version 2 as 15 /* Note, this is a separate header file as some of the clock framework 16 * needs to touch this if the clk_48m is used as the USB OHCI or other
|
H A D | adc-core.h | 9 * it under the terms of the GNU General Public License version 2 as 16 /* These functions are only for use with the core support code, such as
|
H A D | ata-core.h | 9 * it under the terms of the GNU General Public License version 2 as 16 /* These functions are only for use with the core support code, such as
|
H A D | fb-core.h | 10 * it under the terms of the GNU General Public License version 2 as 17 * These functions are only for use with the core support code, such as
|
H A D | keypad-core.h | 10 * under the terms of the GNU General Public License as published by the 19 /* These function are only for use with the core support code, such as
|
H A D | nand-core.h | 9 * it under the terms of the GNU General Public License version 2 as 16 /* These functions are only for use with the core support code, such as
|
H A D | onenand-core.h | 11 * it under the terms of the GNU General Public License version 2 as 18 /* These functions are only for use with the core support code, such as
|
H A D | spi-core.h | 5 * it under the terms of the GNU General Public License version 2 as 12 /* These functions are only for use with the core support code, such as
|
/linux-4.1.27/drivers/staging/android/uapi/ |
H A D | ion_test.h | 7 * License version 2, as published by the Free Software Foundation, and 25 * @ptr: a pointer to an area at least as large as size 50 * DOC: ION_IOC_TEST_DMA_MAPPING - read or write memory from a handle as DMA 53 * used by unit tests to emulate a DMA engine as close as possible. Only
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-holtek-mouse.c | 10 * under the terms of the GNU General Public License as published by the Free 27 * - USB ID 04d9:a067, sold as Sharkoon Drakonia and Perixx MX-2000 28 * - USB ID 04d9:a04a, sold as Tracer Sniper TRM-503, NOVA Gaming Slider X200 30 * - USB ID 04d9:a081, sold as SHARKOON DarkGlider Gaming mouse 31 * - USB ID 04d9:a072, sold as LEETGION Hellion Gaming Mouse 32 * - USB ID 04d9:a0c2, sold as ETEKCITY Scroll T-140 Gaming Mouse
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_attr_sf.h | 6 * modify it under the terms of the GNU General Public License as 24 * Small attribute lists are packed as tightly as possible so as 29 * Entries are packed toward the top as tight as possible.
|
/linux-4.1.27/arch/mips/include/uapi/asm/ |
H A D | socket.h | 17 * This defines are ABI conformant as far as Linux supports these ... 46 /* linux-specific, might as well be the same as on i386 */ 54 /* Security levels - as per NRL IPv6 - don't actually do anything */ 88 /* Instruct lower device to use last 4-bytes of skb data as FCS */
|
/linux-4.1.27/sound/usb/ |
H A D | stream.c | 3 * it under the terms of the GNU General Public License as published by 82 static void snd_usb_init_substream(struct snd_usb_stream *as, snd_usb_init_substream() argument 86 struct snd_usb_substream *subs = &as->substream[stream]; snd_usb_init_substream() 91 subs->stream = as; snd_usb_init_substream() 93 subs->dev = as->chip->dev; snd_usb_init_substream() 94 subs->txfr_quirk = as->chip->txfr_quirk; snd_usb_init_substream() 98 snd_usb_set_pcm_ops(as->pcm, stream); snd_usb_init_substream() 324 struct snd_usb_stream *as; snd_usb_add_audio_stream() local 329 list_for_each_entry(as, &chip->pcm_list, list) { snd_usb_add_audio_stream() 330 if (as->fmt_type != fp->fmt_type) snd_usb_add_audio_stream() 332 subs = &as->substream[stream]; snd_usb_add_audio_stream() 341 list_for_each_entry(as, &chip->pcm_list, list) { snd_usb_add_audio_stream() 342 if (as->fmt_type != fp->fmt_type) snd_usb_add_audio_stream() 344 subs = &as->substream[stream]; snd_usb_add_audio_stream() 347 err = snd_pcm_new_stream(as->pcm, stream, 1); snd_usb_add_audio_stream() 350 snd_usb_init_substream(as, stream, fp); snd_usb_add_audio_stream() 351 return add_chmap(as->pcm, stream, subs); snd_usb_add_audio_stream() 355 as = kzalloc(sizeof(*as), GFP_KERNEL); snd_usb_add_audio_stream() 356 if (!as) snd_usb_add_audio_stream() 358 as->pcm_index = chip->pcm_devs; snd_usb_add_audio_stream() 359 as->chip = chip; snd_usb_add_audio_stream() 360 as->fmt_type = fp->fmt_type; snd_usb_add_audio_stream() 366 kfree(as); snd_usb_add_audio_stream() 369 as->pcm = pcm; snd_usb_add_audio_stream() 370 pcm->private_data = as; snd_usb_add_audio_stream() 378 snd_usb_init_substream(as, stream, fp); snd_usb_add_audio_stream() 380 list_add(&as->list, &chip->pcm_list); snd_usb_add_audio_stream() 383 snd_usb_proc_pcm_format_add(as); snd_usb_add_audio_stream() 385 return add_chmap(pcm, stream, &as->substream[stream]); snd_usb_add_audio_stream() 392 /* parsed with a v1 header here. that's ok as we only look at the parse_uac_endpoint_attributes() 541 struct uac1_as_header_descriptor *as = snd_usb_parse_audio_interface() local 545 if (!as) { snd_usb_parse_audio_interface() 552 if (as->bLength < sizeof(*as)) { snd_usb_parse_audio_interface() 559 format = le16_to_cpu(as->wFormatTag); /* remember the format value */ snd_usb_parse_audio_interface() 562 as->bTerminalLink); snd_usb_parse_audio_interface() 574 struct uac2_as_header_descriptor *as = snd_usb_parse_audio_interface() local 577 if (!as) { snd_usb_parse_audio_interface() 584 if (as->bLength < sizeof(*as)) { snd_usb_parse_audio_interface() 591 num_channels = as->bNrChannels; snd_usb_parse_audio_interface() 592 format = le32_to_cpu(as->bmFormats); snd_usb_parse_audio_interface() 593 chconfig = le32_to_cpu(as->bmChannelConfig); snd_usb_parse_audio_interface() 598 as->bTerminalLink); snd_usb_parse_audio_interface() 607 as->bTerminalLink); snd_usb_parse_audio_interface() 615 iface_no, altno, as->bTerminalLink); snd_usb_parse_audio_interface()
|
/linux-4.1.27/drivers/scsi/mpt3sas/mpi/ |
H A D | mpi2_type.h | 25 * * is defined to be a near pointer. MPI2_POINTER can be defined as 26 * a far pointer by defining * as "far *" before this header file is
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | switch_to.h | 7 * it under the terms of the GNU General Public License version 2 as 18 * `prev' will never be the same as `next'. schedule() itself
|
H A D | io.h | 9 * it under the terms of the GNU General Public License version 2 as 33 * ioremap takes a PCI memory address, as specified in 59 * We mimic x86 here by disallowing access to system RAM as well as
|
H A D | mmu.h | 9 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/media/ |
H A D | xilinx-vip.h | 11 * it under the terms of the GNU General Public License version 2 as 19 * Video format codes as defined in "AXI4-Stream Video IP and System Design
|
/linux-4.1.27/include/media/ |
H A D | adv7393.h | 12 * modify it under the terms of the GNU General Public License as 15 * This program is distributed .as is. WITHOUT ANY WARRANTY of any
|
H A D | videobuf2-vmalloc.h | 9 * it under the terms of the GNU General Public License as published by
|
H A D | mt9v011.h | 6 * it under the terms of the GNU General Public License version 2 as
|
H A D | mt9v022.h | 5 * it under the terms of the GNU General Public License version 2 as
|
H A D | rj54n1cb0c.h | 7 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/arch/powerpc/platforms/8xx/ |
H A D | mpc8xx.h | 3 * May need to be cleaned as the port goes on ... 8 * version 2. This program is licensed "as is" without any warranty of any
|
/linux-4.1.27/arch/sh/include/cpu-sh3/cpu/ |
H A D | dma-register.h | 7 * it under the terms of the GNU General Public License version 2 as 22 * with their respective values as they appear in the CHCR registers.
|
/linux-4.1.27/arch/nios2/include/asm/ |
H A D | pgtable-bits.h | 28 * as zero, but can be written as non-zero.
|
/linux-4.1.27/arch/openrisc/include/asm/ |
H A D | cache.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
H A D | cpuinfo.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
H A D | delay.h | 5 * others. All original copyrights apply as per the original source 12 * it under the terms of the GNU General Public License as published by
|
H A D | irq.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
H A D | irqflags.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
H A D | linkage.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
H A D | mmu.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
H A D | spinlock.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
H A D | timex.h | 5 * others. All original copyrights apply as per the original source 12 * it under the terms of the GNU General Public License as published by
|
/linux-4.1.27/arch/openrisc/include/uapi/asm/ |
H A D | param.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
H A D | unistd.h | 5 * others. All original copyrights apply as per the original source 14 * it under the terms of the GNU General Public License as published by
|
/linux-4.1.27/arch/openrisc/kernel/ |
H A D | prom.c | 5 * others. All original copyrights apply as per the original source 13 * as published by the Free Software Foundation; either version
|
H A D | sys_call_table.c | 5 * others. All original copyrights apply as per the original source 13 * as published by the Free Software Foundation; either version
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
H A D | ipcbuf.h | 6 * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the kernel. 8 * on 64-bit kernels as on 32-bit ones.
|
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/media/ |
H A D | xilinx-vip.h | 11 * it under the terms of the GNU General Public License version 2 as 19 * Video format codes as defined in "AXI4-Stream Video IP and System Design
|
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/media/ |
H A D | xilinx-vip.h | 11 * it under the terms of the GNU General Public License version 2 as 19 * Video format codes as defined in "AXI4-Stream Video IP and System Design
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
H A D | timex.h | 4 * resolution within a jiffie as well. 10 /* If you change anything here you must check time.c as well... */
|
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/media/ |
H A D | xilinx-vip.h | 11 * it under the terms of the GNU General Public License version 2 as 19 * Video format codes as defined in "AXI4-Stream Video IP and System Design
|
/linux-4.1.27/arch/arm/mach-s3c24xx/include/mach/ |
H A D | rtc-core.h | 7 * it under the terms of the GNU General Public License version 2 as 14 /* These functions are only for use with the core support code, such as
|
/linux-4.1.27/arch/arm/mach-davinci/include/mach/ |
H A D | cpufreq.h | 7 * modify it under the terms of the GNU General Public License as 10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
/linux-4.1.27/arch/arm/mach-ks8695/include/mach/ |
H A D | gpio-ks8695.h | 5 * it under the terms of the GNU General Public License version 2 as 32 * Configure GPIO pin as external interrupt source.
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | am33xx.h | 7 * modify it under the terms of the GNU General Public License as 10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | timex.h | 9 /* With only one or two oddballs, we use the RTC as the ticker, selecting 17 * Only the low 32 bits are available as a continuously counting entity.
|
/linux-4.1.27/arch/arm/boot/dts/include/dt-bindings/media/ |
H A D | xilinx-vip.h | 11 * it under the terms of the GNU General Public License version 2 as 19 * Video format codes as defined in "AXI4-Stream Video IP and System Design
|
/linux-4.1.27/net/dccp/ |
H A D | Makefile | 8 # CCID-2 is default (RFC 4340, p. 77) and has Ack Vectors as dependency 18 # build dccp_ipv6 as module whenever either IPv6 or DCCP is a module
|
/linux-4.1.27/include/asm-generic/ |
H A D | exec.h | 4 * but it serves more as a starting point for new ports. 11 * as published by the Free Software Foundation; either version
|
/linux-4.1.27/include/dt-bindings/media/ |
H A D | xilinx-vip.h | 11 * it under the terms of the GNU General Public License version 2 as 19 * Video format codes as defined in "AXI4-Stream Video IP and System Design
|
/linux-4.1.27/drivers/mailbox/ |
H A D | mailbox.h | 3 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/drivers/misc/vmw_vmci/ |
H A D | vmci_datagram.h | 7 * under the terms of the GNU General Public License as published by the 28 * datagram queues. It is allocated in non-paged memory, as the 31 * the datagram in the non-paged queue entry as this size is used 32 * while holding the same spinlock as above.
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | host.h | 8 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | fimc-is-i2c.h | 8 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_opr_v5.h | 11 * it under the terms of the GNU General Public License version 2 as 56 NEW_RC_BIT_RATE = 0x90, /* E, format as RC_BIT_RATE(0xC5A8) 58 NEW_RC_FRAME_RATE = 0x94, /* E, format as RC_FRAME_RATE(0xD0D0) 60 NEW_I_PERIOD = 0x98, /* E, format as I_FRM_CTRL(0xC504)
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | trace.c | 6 * as published by the Free Software Foundation; either version
|
/linux-4.1.27/drivers/staging/iio/resolver/ |
H A D | ad2s1210.h | 8 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
H A D | ipw.h | 7 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
H A D | armada_ioctlP.h | 5 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/drivers/firmware/ |
H A D | Makefile | 15 CFLAGS_qcom_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1)
|
/linux-4.1.27/arch/x86/oprofile/ |
H A D | op_counter.h | 15 /* Per-perfctr configuration as set via
|
/linux-4.1.27/arch/x86/platform/intel-mid/device_libs/ |
H A D | platform_bma023.c | 8 * as published by the Free Software Foundation; version 2
|
H A D | platform_ipc.h | 9 * as published by the Free Software Foundation; version 2
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | ftrace.h | 15 /* reloction of mcount call site is the same as the address */ ftrace_call_adjust()
|
/linux-4.1.27/arch/tile/mm/ |
H A D | migrate.h | 6 * as published by the Free Software Foundation, version 2. 25 * This function is used as a helper when setting up the initial 36 * This function supports migration as a "helper" as follows:
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | kbdleds.h | 5 * Some laptops take the 789uiojklm,. keys as number pad when NumLock is on.
|
/linux-4.1.27/drivers/block/zram/ |
H A D | zcomp_lz4.h | 6 * as published by the Free Software Foundation; either version
|
H A D | zcomp_lzo.h | 6 * as published by the Free Software Foundation; either version
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | unistd.h | 5 * it under the terms of the GNU General Public License as published by
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | ftrace.h | 15 /* reloction of mcount call site is the same as the address */ ftrace_call_adjust()
|
/linux-4.1.27/arch/mips/ath79/ |
H A D | dev-common.h | 8 * under the terms of the GNU General Public License version 2 as published
|
H A D | dev-usb.h | 8 * under the terms of the GNU General Public License version 2 as published
|
H A D | dev-wmac.h | 8 * under the terms of the GNU General Public License version 2 as published
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/clock/ |
H A D | maxim,max77686.h | 5 * it under the terms of the GNU General Public License version 2 as
|
H A D | maxim,max77802.h | 5 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/dma/ |
H A D | nbpfaxi.h | 6 * it under the terms of version 2 of the GNU General Public License as
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/gpio/ |
H A D | gpio.h | 4 * Most GPIO bindings include a flags cell as part of the GPIO specifier.
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/interrupt-controller/ |
H A D | irq.h | 4 * Most IRQ bindings include a flags cell as part of the IRQ specifier.
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/pwm/ |
H A D | pwm.h | 4 * Most PWM bindings can include a flags cell as part of the PWM specifier.
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/regulator/ |
H A D | maxim,max77802.h | 5 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/arch/mips/include/asm/mach-ath79/ |
H A D | ath79_spi_platform.h | 7 * under the terms of the GNU General Public License version 2 as published
|
/linux-4.1.27/arch/mips/include/asm/mach-lantiq/falcon/ |
H A D | irq.h | 3 * under the terms of the GNU General Public License version 2 as published
|
/linux-4.1.27/arch/mips/include/asm/mach-lantiq/ |
H A D | lantiq_platform.h | 3 * under the terms of the GNU General Public License version 2 as published
|
/linux-4.1.27/arch/mips/include/asm/mach-lantiq/xway/ |
H A D | irq.h | 3 * under the terms of the GNU General Public License version 2 as published
|
/linux-4.1.27/arch/mips/include/asm/mach-pistachio/ |
H A D | gpio.h | 8 * version 2, as published by the Free Software Foundation.
|
H A D | irq.h | 8 * version 2, as published by the Free Software Foundation.
|
/linux-4.1.27/drivers/usb/host/ |
H A D | xhci-mvebu.h | 7 * License version 2. This program is licensed "as is" without any
|
H A D | xhci-trace.c | 10 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | oti6858.h | 5 * it under the terms of the GNU General Public License as published by
|
/linux-4.1.27/include/net/ |
H A D | ethoc.h | 7 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/include/soc/tegra/ |
H A D | common.h | 5 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/include/linux/mtd/ |
H A D | pismo.h | 5 * it under the terms of the GNU General Public License as published by
|
H A D | sharpsl.h | 7 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/include/linux/power/ |
H A D | bq24190_charger.h | 5 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/include/linux/rtc/ |
H A D | ds1307.h | 4 * same license as the driver
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
H A D | xt_time.h | 20 /* treat timestart > timestop (e.g. 23:00-01:00) as single period */
|
/linux-4.1.27/arch/powerpc/platforms/82xx/ |
H A D | m82xx_pci.h | 7 * as published by the Free Software Foundation; either version
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
H A D | socrates_fpga_pic.h | 6 * it under the terms of the GNU General Public License version 2 as
|
/linux-4.1.27/arch/s390/kvm/ |
H A D | irq.h | 8 * as published by the Free Software Foundation.
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | freq.h | 7 * under the terms of the GNU General Public License as published by the
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | perf_event.h | 8 * it under the terms of the GNU General Public License version 2 as
|