/drivers/input/misc/ |
H A D | gpio_axis.c | 6 * License version 2, as published by the Free Software Foundation, and 61 static void gpio_event_update_axis(struct gpio_axis_state *as, int report) argument 63 struct gpio_event_axis_info *ai = as->info; 68 uint16_t old_pos = as->pos; 91 input_report_rel(as->input_devs->dev[ai->dev], 97 input_event(as->input_devs->dev[ai->dev], 100 input_sync(as->input_devs->dev[ai->dev]); 102 as->pos = pos; 107 struct gpio_axis_state *as = dev_id; local 108 gpio_event_update_axis(as, 119 struct gpio_axis_state *as; local [all...] |
/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | ctxgm107.c | 917 const u32 as = alpha * priv->ppc_tpc_nr[gpc][ppc]; local 924 mmio_wr32(info, o + 0xe4, as);
|
/drivers/md/ |
H A D | dm-flakey.c | 46 static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, argument 61 if (!as->argc) 64 r = dm_read_arg_group(_args, as, &argc, &ti->error); 69 arg_name = dm_shift_arg(as); 93 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); 101 arg_name = dm_shift_arg(as); 115 r = dm_read_arg(_args + 2, as, &fc->corrupt_bio_value, &ti->error); 123 r = dm_read_arg(_args + 3, as, &fc->corrupt_bio_flags, &ti->error); 165 struct dm_arg_set as; local 169 as [all...] |
H A D | dm-switch.c | 10 * mapping representation such as dm-stripe. 204 static int parse_path(struct dm_arg_set *as, struct dm_target *ti) argument 210 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), 217 if (kstrtoull(dm_shift_arg(as), 10, &start) || start != (sector_t)start) { 261 struct dm_arg_set as; local 265 as.argc = argc; 266 as.argv = argv; 268 r = dm_read_arg(_args, &as, &nr_paths, &ti->error); 272 r = dm_read_arg(_args + 1, &as, ®ion_size, &ti->error); 276 r = dm_read_arg_group(_args + 2, &as, [all...] |
H A D | dm-mpath.c | 478 static int parse_path_selector(struct dm_arg_set *as, struct priority_group *pg, argument 489 pst = dm_get_path_selector(dm_shift_arg(as)); 495 r = dm_read_arg_group(_args, as, &ps_argc, &ti->error); 501 r = pst->create(&pg->ps, ps_argc, as->argv); 509 dm_consume_args(as, ps_argc); 514 static struct pgpath *parse_path(struct dm_arg_set *as, struct path_selector *ps, argument 524 if (as->argc < 1) { 533 r = dm_get_device(ti, dm_shift_arg(as), dm_table_get_mode(ti->table), 595 r = ps->type->add_path(ps, &p->path, as->argc, as 608 parse_priority_group(struct dm_arg_set *as, struct multipath *m) argument 681 parse_hw_handler(struct dm_arg_set *as, struct multipath *m) argument 730 parse_features(struct dm_arg_set *as, struct multipath *m) argument 796 struct dm_arg_set as; local [all...] |
H A D | dm-crypt.c | 201 * encrypted with the bulk cipher using a salt as key. The salt 221 * version 3: the same as version 2 with additional IV seed 222 * (it uses 65 keys, last key is used as IV seed) 1072 * They must be separated as otherwise the final stages could be 1623 * If present (version 3), last key is used as IV seed. 1686 struct dm_arg_set as; local 1784 as.argc = argc; 1785 as.argv = argv; 1787 ret = dm_read_arg_group(_args, &as, &opt_params, &ti->error); 1791 opt_string = dm_shift_arg(&as); [all...] |
H A D | dm-table.c | 151 * highs, and targets are managed as dynamic arrays during a 289 * such as loop devices not yet bound to backing files. 342 * careful to leave things as they were if we fail to reopen the 803 const char *dm_shift_arg(struct dm_arg_set *as) argument 807 if (as->argc) { 808 as->argc--; 809 r = *as->argv; 810 as->argv++; 818 void dm_consume_args(struct dm_arg_set *as, unsigned num_args) argument 820 BUG_ON(as [all...] |
H A D | dm-cache-target.c | 274 * Cache features such as write-through. 295 * structure and the 'cache' member must be the first as it 799 * series as this is easier. 1903 static bool at_least_one_arg(struct dm_arg_set *as, char **error) argument 1905 if (!as->argc) { 1913 static int parse_metadata_dev(struct cache_args *ca, struct dm_arg_set *as, argument 1920 if (!at_least_one_arg(as, error)) 1923 r = dm_get_device(ca->ti, dm_shift_arg(as), FMODE_READ | FMODE_WRITE, 1938 static int parse_cache_dev(struct cache_args *ca, struct dm_arg_set *as, argument 1943 if (!at_least_one_arg(as, erro 1957 parse_origin_dev(struct cache_args *ca, struct dm_arg_set *as, char **error) argument 1981 parse_block_size(struct cache_args *ca, struct dm_arg_set *as, char **error) argument 2013 parse_features(struct cache_args *ca, struct dm_arg_set *as, char **error) argument 2052 parse_policy(struct cache_args *ca, struct dm_arg_set *as, char **error) argument 2080 struct dm_arg_set as; local [all...] |
H A D | dm-thin.c | 79 * device as it was after the last commit is untouched, ie. we're using 92 * one). This will contain the data as it was before the io that triggered 329 * A global list of pools that uses a struct mapped_device as a key. 647 * Same as cell_defer above, except it omits the original holder of the cell. 2346 static int parse_pool_features(struct dm_arg_set *as, struct pool_features *pf, argument 2360 if (!as->argc) 2363 r = dm_read_arg_group(_args, as, &argc, &ti->error); 2368 arg_name = dm_shift_arg(as); 2476 struct dm_arg_set as; local 2494 as [all...] |
/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, argument 232 if (as->noise_imm_level < ATH5K_ANI_MAX_NOISE_IMM_LVL) { 233 ath5k_ani_set_noise_immunity_level(ah, as->noise_imm_level + 1); 239 as->spur_level < ah->ani_state.max_spur_level) { 240 ath5k_ani_set_spur_immunity_level(ah, as->spur_level + 1); 246 if (as->firstep_level < ATH5K_ANI_MAX_FIRSTEP_LVL) 247 ath5k_ani_set_firstep_level(ah, as 310 ath5k_ani_lower_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as) argument 374 ath5k_hw_ani_get_listen_time(struct ath5k_hw *ah, struct ath5k_ani_state *as) argument 406 ath5k_ani_save_and_clear_phy_errors(struct ath5k_hw *ah, struct ath5k_ani_state *as) argument 450 ath5k_ani_period_restart(struct ath5k_ani_state *as) argument 477 struct ath5k_ani_state *as = &ah->ani_state; local 541 struct ath5k_ani_state *as = &ah->ani_state; local 579 struct ath5k_ani_state *as = &ah->ani_state; local [all...] |
H A D | debug.c | 5 * under the terms of the GNU General Public License as published by the 44 * GNU General Public License ("GPL") version 2 as published by the Free 669 struct ath5k_ani_state *as = &ah->ani_state; local 680 as->max_spur_level); 684 switch (as->ani_mode) { 706 as->noise_imm_level); 709 as->spur_level); 712 as->firstep_level); 715 as->ofdm_weak_sig ? "on" : "off"); 718 as [all...] |
/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; local 201 list_for_each_entry(as, &apm_user_list, list) { 202 if (as->reader) 203 queue_add_event(&as->queue, event); 211 struct apm_user *as = fp->private_data; local 218 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) 221 wait_event_interruptible(apm_waitqueue, !queue_empty(&as 248 struct apm_user *as = fp->private_data; local 267 struct apm_user *as = filp->private_data; local 335 struct apm_user *as = filp->private_data; local 361 struct apm_user *as; local 532 struct apm_user *as; local [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_fc.h | 174 * @refcount: Reference count to keep port open as long as it is in use 196 * @as: FC alias service 202 struct zfcp_fc_wka_port as; member in struct:zfcp_fc_wka_ports
|
/drivers/spi/ |
H A D | spi-atmel.c | 7 * it under the terms of the GNU General Public License version 2 as 264 static bool atmel_spi_is_v2(struct atmel_spi *as) argument 266 return as->caps.is_spi2; 273 * transmitted") Not so! Workaround uses nCSx pins as GPIOs; or newer 276 * Since the CSAAT functionality is a bit weird on newer controllers as 289 static void cs_activate(struct atmel_spi *as, struct spi_device *spi) argument 295 if (atmel_spi_is_v2(as)) { 296 spi_writel(as, CSR0 + 4 * spi->chip_select, asd->csr); 298 * on CS1,2,3 needs SPI_CSR0.BITS config as SPI_CSR1,2,3.BITS 300 spi_writel(as, CSR 341 cs_deactivate(struct atmel_spi *as, struct spi_device *spi) argument 374 atmel_spi_use_dma(struct atmel_spi *as, struct spi_transfer *xfer) argument 380 atmel_spi_dma_slave_config(struct atmel_spi *as, struct dma_slave_config *slave_config, u8 bits_per_word) argument 434 atmel_spi_configure_dma(struct atmel_spi *as) argument 482 atmel_spi_stop_dma(struct atmel_spi *as) argument 492 atmel_spi_release_dma(struct atmel_spi *as) argument 504 struct atmel_spi *as = spi_master_get_devdata(master); local 515 struct atmel_spi *as = spi_master_get_devdata(master); local 552 struct atmel_spi *as = spi_master_get_devdata(master); local 652 struct atmel_spi *as = spi_master_get_devdata(master); local 678 atmel_spi_set_xfer_speed(struct atmel_spi *as, struct spi_device *spi, struct spi_transfer *xfer) argument 734 struct atmel_spi *as = spi_master_get_devdata(master); local 800 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer) argument 842 atmel_spi_disable_pdc_transfer(struct atmel_spi *as) argument 853 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer) argument 889 struct atmel_spi *as = spi_master_get_devdata(master); local 947 struct atmel_spi *as = spi_master_get_devdata(master); local 982 struct atmel_spi *as; local 1053 struct atmel_spi *as; local 1199 struct atmel_spi *as; local 1260 atmel_get_version(struct atmel_spi *as) argument 1265 atmel_get_caps(struct atmel_spi *as) argument 1286 struct atmel_spi *as; local 1416 struct atmel_spi *as = spi_master_get_devdata(master); local 1442 struct atmel_spi *as = spi_master_get_devdata(master); local 1462 struct atmel_spi *as = spi_master_get_devdata(master); local [all...] |
/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; local 278 as = kzalloc(sizeof(struct async), GFP_KERNEL); 279 if (!as) 281 as->urb = usb_alloc_urb(numisoframes, GFP_KERNEL); 282 if (!as->urb) { 283 kfree(as); 286 return as; 289 static void free_async(struct async *as) argument 293 put_pid(as 308 async_newpending(struct async *as) argument 318 async_removepending(struct async *as) argument 331 struct async *as = NULL; local 346 struct async *as; local 456 struct async *as; variable in typeref:struct:async 491 struct async *as = urb->context; local 535 struct async *as; local 940 struct async *as; local 1289 struct async *as = NULL; local 1625 struct async *as; local 1645 processcompl(struct async *as, void __user * __user *arg) argument 1685 struct async *as = NULL; local 1707 struct async *as = reap_as(ps); local 1721 struct async *as; local 1813 processcompl_compat(struct async *as, void __user * __user *arg) argument 1849 struct async *as = reap_as(ps); local 1863 struct async *as; local [all...] |
/drivers/iommu/ |
H A D | tegra-smmu.c | 8 * version 2, as published by the Free Software Foundation. 267 struct smmu_as *as; member in struct:smmu_client 324 struct smmu_as as[0]; /* Run-time allocated array */ member in struct:smmu_device 389 struct smmu_as *as = c->as; local 390 u32 val, offs, mask = SMMU_ASID_ENABLE(as->asid); 391 struct smmu_device *smmu = as->smmu; 430 struct smmu_as *as = c->as; local 431 struct smmu_device *smmu = as 464 struct smmu_as *as = &smmu->as[i]; local 489 flush_ptc_and_tlb(struct smmu_device *smmu, struct smmu_as *as, dma_addr_t iova, unsigned long *pte, struct page *page, int is_pde) argument 508 free_ptbl(struct smmu_as *as, dma_addr_t iova) argument 525 free_pdir(struct smmu_as *as) argument 551 locate_pte(struct smmu_as *as, dma_addr_t iova, bool allocate, struct page **ptbl_page_p, unsigned int **count) argument 599 put_signature(struct smmu_as *as, dma_addr_t iova, unsigned long pfn) argument 615 put_signature(struct smmu_as *as, unsigned long addr, unsigned long pfn) argument 624 alloc_pdir(struct smmu_as *as) argument 686 __smmu_iommu_unmap(struct smmu_as *as, dma_addr_t iova) argument 706 __smmu_iommu_map_pfn(struct smmu_as *as, dma_addr_t iova, unsigned long pfn) argument 731 struct smmu_as *as = domain->priv; local 749 struct smmu_as *as = domain->priv; local 763 struct smmu_as *as = domain->priv; local 791 struct smmu_as *as = domain->priv; local 849 struct smmu_as *as = domain->priv; local 875 struct smmu_as *as; local 921 struct smmu_as *as = domain->priv; local 1214 struct smmu_as *as = &smmu->as[i]; local [all...] |
/drivers/scsi/ |
H A D | hpsa.c | 6 * it under the terms of the GNU General Public License as published by 741 * commands are submitted through the same register as normal 807 * During firmware flash, the heartbeat register may not update as frequently 808 * as it should. So we dial down lockup detection during firmware flash. and 1086 /* we compare everything except lun and target as these 1127 * In the case of a minor device attribute change, such as RAID level, just 1331 * as the SCSI mid-layer does not handle such devices well. 1391 * timeout as if the device was gone. 1876 * CMD_INVALID (e.g. driver bug) will get interpreted as a 2076 * to non-existent targets as invali 4577 struct scsi_cmnd *as; /* ptr to scsi cmd inside aborted command. */ local [all...] |