Home
last modified time | relevance | path

Searched refs:as (Results 1 – 25 of 3559) sorted by relevance

12345678910>>...143

/linux/drivers/spi/
H A Dspi-atmel.c318 static bool atmel_spi_is_v2(struct atmel_spi *as) in atmel_spi_is_v2() argument
320 return as->caps.is_spi2; in atmel_spi_is_v2()
329 static void atmel_spi_send_dummy(struct atmel_spi *as, struct spi_device *spi, int chip_select) in atmel_spi_send_dummy() argument
339 csr = spi_readl(as, CSR0 + 4 * chip_select); in atmel_spi_send_dummy()
341 spi_writel(as, CSR0 + 4 * chip_select, csr); in atmel_spi_send_dummy()
347 spi_readl(as, RDR); in atmel_spi_send_dummy()
348 while (spi_readl(as, SR) & SPI_BIT(RDRF)) { in atmel_spi_send_dummy()
349 spi_readl(as, RDR); in atmel_spi_send_dummy()
353 spi_writel(as, TDR, DUMMY_MSG); in atmel_spi_send_dummy()
355 readl_poll_timeout_atomic(as->regs + SPI_SR, status, in atmel_spi_send_dummy()
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A Dani.c223 ath5k_ani_raise_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as, in ath5k_ani_raise_immunity() argument
232 if (as->noise_imm_level < ATH5K_ANI_MAX_NOISE_IMM_LVL) { in ath5k_ani_raise_immunity()
233 ath5k_ani_set_noise_immunity_level(ah, as->noise_imm_level + 1); in ath5k_ani_raise_immunity()
239 as->spur_level < ah->ani_state.max_spur_level) { in ath5k_ani_raise_immunity()
240 ath5k_ani_set_spur_immunity_level(ah, as->spur_level + 1); in ath5k_ani_raise_immunity()
246 if (as->firstep_level < ATH5K_ANI_MAX_FIRSTEP_LVL) in ath5k_ani_raise_immunity()
247 ath5k_ani_set_firstep_level(ah, as->firstep_level + 1); in ath5k_ani_raise_immunity()
262 if (ofdm_trigger && as->ofdm_weak_sig) { in ath5k_ani_raise_immunity()
268 if (as->firstep_level < ATH5K_ANI_MAX_FIRSTEP_LVL) { in ath5k_ani_raise_immunity()
269 ath5k_ani_set_firstep_level(ah, as->firstep_level + 1); in ath5k_ani_raise_immunity()
[all …]
/linux/drivers/char/
H A Dapm-emulation.c181 struct apm_user *as; in queue_event() local
184 list_for_each_entry(as, &apm_user_list, list) { in queue_event()
185 if (as->reader) in queue_event()
186 queue_add_event(&as->queue, event); in queue_event()
194 struct apm_user *as = fp->private_data; in apm_read() local
201 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read()
204 wait_event_interruptible(apm_waitqueue, !queue_empty(&as->queue)); in apm_read()
206 while ((i >= sizeof(event)) && !queue_empty(&as->queue)) { in apm_read()
207 event = queue_get_event(&as->queue); in apm_read()
214 if (as->suspend_state == SUSPEND_PENDING && in apm_read()
[all …]
/linux/drivers/iommu/
H A Dtegra-smmu.c290 struct tegra_smmu_as *as; in tegra_smmu_domain_alloc_paging() local
292 as = kzalloc_obj(*as); in tegra_smmu_domain_alloc_paging()
293 if (!as) in tegra_smmu_domain_alloc_paging()
296 as->attr = SMMU_PD_READABLE | SMMU_PD_WRITABLE | SMMU_PD_NONSECURE; in tegra_smmu_domain_alloc_paging()
298 as->pd = iommu_alloc_pages_sz(GFP_KERNEL | __GFP_DMA, SMMU_SIZE_PD); in tegra_smmu_domain_alloc_paging()
299 if (!as->pd) { in tegra_smmu_domain_alloc_paging()
300 kfree(as); in tegra_smmu_domain_alloc_paging()
304 as->count = kcalloc(SMMU_NUM_PDE, sizeof(u32), GFP_KERNEL); in tegra_smmu_domain_alloc_paging()
305 if (!as->count) { in tegra_smmu_domain_alloc_paging()
306 iommu_free_pages(as->pd); in tegra_smmu_domain_alloc_paging()
[all …]
/linux/fs/afs/
H A Dsuper.c158 struct afs_super_info *as = AFS_FS_S(root->d_sb); in afs_show_devname() local
159 struct afs_volume *volume = as->volume; in afs_show_devname()
160 struct afs_cell *cell = as->cell; in afs_show_devname()
164 if (as->dyn_root) { in afs_show_devname()
192 struct afs_super_info *as = AFS_FS_S(root->d_sb); in afs_show_options() local
195 if (as->dyn_root) in afs_show_options()
197 switch (as->flock_mode) { in afs_show_options()
423 struct afs_super_info *as = AFS_FS_S(sb); in afs_test_super() local
425 return (as->net_ns == fc->net_ns && in afs_test_super()
426 as->volume && in afs_test_super()
[all …]
/linux/arch/x86/kernel/
H A Dapm_32.c1135 static int queue_empty(struct apm_user *as) in queue_empty() argument
1137 return as->event_head == as->event_tail; in queue_empty()
1140 static apm_event_t get_queued_event(struct apm_user *as) in get_queued_event() argument
1142 if (++as->event_tail >= APM_MAX_EVENTS) in get_queued_event()
1143 as->event_tail = 0; in get_queued_event()
1144 return as->events[as->event_tail]; in get_queued_event()
1149 struct apm_user *as; in queue_event() local
1154 for (as = user_list; as != NULL; as = as->next) { in queue_event()
1155 if ((as == sender) || (!as->reader)) in queue_event()
1157 if (++as->event_head >= APM_MAX_EVENTS) in queue_event()
[all …]
/linux/arch/xtensa/include/asm/
H A Dcacheasm.h64 .macro __loop_cache_range ar as at insn line_width
67 add \as, \as, \at
69 __loops \ar, \as, \at, \line_width
144 .macro ___flush_invalidate_dcache_range ar as at
147 __loop_cache_range \ar \as \at dhwbi XCHAL_DCACHE_LINEWIDTH
153 .macro ___flush_dcache_range ar as at
156 __loop_cache_range \ar \as \at dhwb XCHAL_DCACHE_LINEWIDTH
162 .macro ___invalidate_dcache_range ar as at
165 __loop_cache_range \ar \as \at dhi XCHAL_DCACHE_LINEWIDTH
171 .macro ___invalidate_icache_range ar as at
[all …]
H A Dasmmacro.h66 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond
70 addi \at, \as, (1 << \incr_log2) - 1
80 extui \at, \as, \incr_log2, \mask_log2
83 srli \at, \as, \incr_log2
94 add \at, \ar, \as
105 .macro __loopt ar, as, at, incr_log2
108 sub \at, \as, \ar
124 .macro __loop as
127 loop \as, 99f
138 .macro __endl ar, as
[all …]
/linux/drivers/usb/core/
H A Ddevio.c403 struct async *as; in alloc_async() local
405 as = kzalloc_obj(struct async); in alloc_async()
406 if (!as) in alloc_async()
408 as->urb = usb_alloc_urb(numisoframes, GFP_KERNEL); in alloc_async()
409 if (!as->urb) { in alloc_async()
410 kfree(as); in alloc_async()
413 return as; in alloc_async()
416 static void free_async(struct async *as) in free_async() argument
420 put_pid(as->pid); in free_async()
421 if (as->cred) in free_async()
[all …]
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c89 } as; member
321 } as; member
578 struct panthor_vm *vm = ptdev->mmu->as.slots[as_nr].vm; in panthor_mmu_as_disable()
581 lockdep_assert_held(&ptdev->mmu->as.slots_lock); in panthor_mmu_as_disable()
591 ret = as_send_cmd_and_wait(ptdev, vm->as.id, AS_COMMAND_UNLOCK); in panthor_mmu_as_disable()
615 static u32 panthor_mmu_as_fault_mask(struct panthor_device *ptdev, u32 as) in panthor_mmu_as_fault_mask() argument
617 return BIT(as); in panthor_mmu_as_fault_mask()
646 lockdep_assert_held(&ptdev->mmu->as.slots_lock); in panthor_vm_release_as_locked()
648 if (drm_WARN_ON(&ptdev->base, vm->as.id < 0)) in panthor_vm_release_as_locked()
651 ptdev->mmu->as.slots[vm->as.id].vm = NULL; in panthor_vm_release_as_locked()
[all …]
H A Dpanthor_regs.h155 #define MMU_AS(as) (MMU_BASE + ((as) << MMU_AS_SHIFT)) argument
157 #define AS_TRANSTAB(as) (MMU_AS(as) + 0x0) argument
158 #define AS_MEMATTR(as) (MMU_AS(as) + 0x8) argument
170 #define AS_LOCKADDR(as) (MMU_AS(as) + 0x10) argument
171 #define AS_COMMAND(as) (MMU_AS(as) + 0x18) argument
179 #define AS_FAULTSTATUS(as) (MMU_AS(as) + 0x1C) argument
185 #define AS_FAULTADDRESS(as) (MMU_AS(as) + 0x20) argument
186 #define AS_STATUS(as) (MMU_AS(as) + 0x28) argument
188 #define AS_TRANSCFG(as) (MMU_AS(as) + 0x30) argument
206 #define AS_FAULTEXTRA(as) (MMU_AS(as) + 0x38) argument
/linux/Documentation/arch/riscv/
H A Dhwprobe.rst27 Usermode can supply NULL for ``cpus`` and 0 for ``cpusetsize`` as a shortcut for
35 means to be the exact same as the value. For boolean-like keys, matching
37 exactly the same as the pair's value. Additionally, when ``cpus`` is an empty
49 as defined by the RISC-V privileged architecture specification.
51 * :c:macro:`RISCV_HWPROBE_KEY_MARCHID`: Contains the value of ``marchid``, as
54 * :c:macro:`RISCV_HWPROBE_KEY_MIMPID`: Contains the value of ``mimpid``, as
62 rv64ima, as defined by version 2.2 of the user ISA and version 1.10 of the
68 kernel-controlled mechanism such as the vDSO).
74 * :c:macro:`RISCV_HWPROBE_IMA_FD`: The F and D extensions are supported, as
78 * :c:macro:`RISCV_HWPROBE_IMA_C`: The C extension is supported, as defined
[all …]
/linux/sound/usb/
H A Dstream.c79 static void snd_usb_init_substream(struct snd_usb_stream *as, in snd_usb_init_substream() argument
84 struct snd_usb_substream *subs = &as->substream[stream]; in snd_usb_init_substream()
89 subs->stream = as; in snd_usb_init_substream()
91 subs->dev = as->chip->dev; in snd_usb_init_substream()
92 subs->txfr_quirk = !!(as->chip->quirk_flags & QUIRK_FLAG_ALIGN_TRANSFER); in snd_usb_init_substream()
93 subs->tx_length_quirk = !!(as->chip->quirk_flags & QUIRK_FLAG_TX_LENGTH); in snd_usb_init_substream()
98 snd_usb_set_pcm_ops(as->pcm, stream); in snd_usb_init_substream()
494 struct snd_usb_stream *as; in __snd_usb_add_audio_stream() local
499 list_for_each_entry(as, &chip->pcm_list, list) { in __snd_usb_add_audio_stream()
500 if (as->fmt_type != fp->fmt_type) in __snd_usb_add_audio_stream()
[all …]
/linux/arch/x86/include/asm/trace/
H A Dhyperv.h32 TP_PROTO(u64 as, int ret),
33 TP_ARGS(as, ret),
36 __field(u64, as)
39 TP_fast_assign(__entry->as = as;
42 TP_printk("address space %llx ret %d", __entry->as, __entry->ret)
46 TP_PROTO(u64 as, int ret),
47 TP_ARGS(as, ret),
50 __field(u64, as)
53 TP_fast_assign(__entry->as = as;
56 TP_printk("address space %llx ret %d", __entry->as, __entry->ret)
/linux/Documentation/pcmcia/
H A Ddriver-changes.rst7 * pcmcia_loop_config() and autoconfiguration (as of 2.6.36)
20 * pcmcia_request_configuration -> pcmcia_enable_device (as of 2.6.36)
22 as it mirrors pcmcia_disable_device(). Configuration settings are now
26 * pcmcia_request_window changes (as of 2.6.36)
33 * pcmcia_request_io changes (as of 2.6.36)
40 * No dev_info_t, no cs_types.h (as of 2.6.36)
42 in PCMCIA device drivers. Also, do not include pcmcia/cs_types.h, as
45 * No dev_node_t (as of 2.6.35)
48 * New IRQ request rules (as of 2.6.35)
57 * no cs_error / CS_CHECK / CONFIG_PCMCIA_DEBUG (as of 2.6.33)
[all …]
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c162 ret = mmu_hw_do_operation_locked(pfdev, mmu->as, iova, size, op); in mmu_hw_do_operation()
169 int as_nr = mmu->as; in panfrost_mmu_enable()
264 int as; in panfrost_mmu_as_get() local
268 as = mmu->as; in panfrost_mmu_as_get()
269 if (as >= 0) { in panfrost_mmu_as_get()
271 u32 mask = BIT(as) | BIT(16 + as); in panfrost_mmu_as_get()
296 as = ffz(pfdev->as_alloc_mask); in panfrost_mmu_as_get()
297 if (!(BIT(as) & pfdev->features.as_present)) { in panfrost_mmu_as_get()
305 as = -EBUSY; in panfrost_mmu_as_get()
310 as = lru_mmu->as; in panfrost_mmu_as_get()
[all …]
/linux/drivers/media/usb/gspca/
H A DKconfig16 To compile this driver as modules, choose M here: the
27 To compile this driver as a module, choose M here: the
36 To compile this driver as a module, choose M here: the
47 To compile this driver as a module, choose M here: the
57 To compile this driver as a module, choose M here: the
66 To compile this driver as a module, choose M here: the
75 To compile this driver as a module, choose M here: the
84 To compile this driver as a module, choose M here: the
94 To compile this driver as a module, choose M here: the
103 To compile this driver as a module, choose M here: the
[all …]
/linux/drivers/iio/trigger/
H A DKconfig14 timers as interrupt source.
16 To compile this driver as a module, choose M here: the
22 Provides support for using an interrupt of any type as an IIO
25 To compile this driver as a module, choose M here: the
33 This can be used as trigger source for STM32 internal ADC
36 To compile this driver as a module, choose M here: the
45 To compile this driver as a module, choose M here: the
52 An experimental trigger, used to allow sensors to be sampled as fast
53 as possible under the limitations of whatever else is going on.
57 To compile this driver as a module, choose M here: the
[all …]
/linux/tools/testing/selftests/futex/
H A DREADME11 primitives. These can be used as is in user applications or can serve as
13 directory or purely as header files under include/, I'm leaning toward the
23 o Tests should be as self contained as is practical so as to facilitate sharing
25 o The build system shall remain as simple as possible, avoiding any archive or
30 o External dependencies shall remain as minimal as possible. Currently gcc
47 # useful here. Using -v to toggle it them on and off, as with -c.
55 problem as we intend to write multiple tests which collide in this namespace.
62 kernel as defined in the Linux source Documentation/process/coding-style.rst.
/linux/drivers/md/dm-pcache/
H A Ddm_pcache.c94 static bool at_least_one_arg(struct dm_arg_set *as, char **error) in at_least_one_arg() argument
96 if (!as->argc) { in at_least_one_arg()
104 static int parse_cache_dev(struct dm_pcache *pcache, struct dm_arg_set *as, in parse_cache_dev() argument
109 if (!at_least_one_arg(as, error)) in parse_cache_dev()
111 ret = dm_get_device(pcache->ti, dm_shift_arg(as), in parse_cache_dev()
122 static int parse_backing_dev(struct dm_pcache *pcache, struct dm_arg_set *as, in parse_backing_dev() argument
127 if (!at_least_one_arg(as, error)) in parse_backing_dev()
130 ret = dm_get_device(pcache->ti, dm_shift_arg(as), in parse_backing_dev()
147 static int parse_cache_opts(struct dm_pcache *pcache, struct dm_arg_set *as, in parse_cache_opts() argument
159 if (!as->argc) in parse_cache_opts()
[all …]
/linux/Documentation/admin-guide/
H A Dufs.rst20 default value, supported as read-only
24 supported as read-write
28 supported as read-write
35 supported as read-write
39 supported as read-write
43 supported as read-only
47 supported as read-only
51 supported as read-only
55 supported as read-only
/linux/drivers/input/joystick/
H A DKconfig33 To compile this driver as a module, choose M here: the
43 To compile this driver as a module, choose M here: the
54 To compile this driver as a module, choose M here: the
65 To compile this driver as a module, choose M here: the
74 To compile this driver as a module, choose M here: the
84 To compile this driver as a module, choose M here: the
94 To compile this driver as a module, choose M here: the
104 To compile this driver as a module, choose M here: the
114 To compile this driver as a module, choose M here: the
124 To compile this driver as a module, choose M here: the
[all …]
/linux/drivers/pwm/
H A DKconfig8 in a rectangular pulse signal is used as a means to alter the
19 to configure as well as enable and disable them.
26 continue to work as expected.
46 low signal and so they can be used as GPIO. Say Y here to let each
56 To compile this driver as a module, choose M here: the module
73 To compile this driver as a module, choose M here: the module
85 To compile this driver as a module, choose M here: the module
94 To compile this driver as a module, choose M here: the module
104 To compile this driver as a module, choose M here: the module
116 To compile this driver as a module, choose M here: the module
[all …]
/linux/drivers/usb/serial/
H A DKconfig18 To compile this driver as a module, choose M here: the
28 converter port as the system console (the system console is the
34 (/dev/tty0) will still be used as the system console by default, but
35 you can alter that using a kernel command line option such as
42 port, /dev/ttyUSB0, as system console.
52 support" be compiled as a module for this driver to be used
76 To compile this driver as a module, choose M here: the module
84 To compile this driver as a module, choose M here: the module
93 To compile this driver as a module, choose M here: the
103 To compile this driver as a module, choose M here: the
[all …]
/linux/drivers/rtc/
H A DKconfig125 interfaces, which "udev" sets up as /dev/rtc0 through
129 can be accessed as /dev/rtc, which is a name
158 This driver can also be built as a module. If so, the module
172 This driver can also be built as a module. If so, the module
182 This driver can also be built as a module. If so, the module
192 This driver can also be built as a module. If so, the module
202 This driver can also be built as a module. If so, the module
212 This driver can also be built as a module. If so, the module
223 This driver can also be built as a module. If so, the module
233 This driver can also be built as a module. If so, the module
[all …]

12345678910>>...143