Home
last modified time | relevance | path

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

12345678910>>...233

/openbmc/linux/drivers/spi/
H A Dspi-atmel.c320 static bool atmel_spi_is_v2(struct atmel_spi *as) in atmel_spi_is_v2() argument
322 return as->caps.is_spi2; in atmel_spi_is_v2()
331 static void atmel_spi_send_dummy(struct atmel_spi *as, struct spi_device *spi, int chip_select) in atmel_spi_send_dummy() argument
341 csr = spi_readl(as, CSR0 + 4 * chip_select); in atmel_spi_send_dummy()
343 spi_writel(as, CSR0 + 4 * chip_select, csr); in atmel_spi_send_dummy()
349 spi_readl(as, RDR); in atmel_spi_send_dummy()
350 while (spi_readl(as, SR) & SPI_BIT(RDRF)) { in atmel_spi_send_dummy()
351 spi_readl(as, RDR); in atmel_spi_send_dummy()
355 spi_writel(as, TDR, DUMMY_MSG); in atmel_spi_send_dummy()
357 readl_poll_timeout_atomic(as->regs + SPI_SR, status, in atmel_spi_send_dummy()
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/char/
H A Dapm-emulation.c192 struct apm_user *as; in queue_event() local
195 list_for_each_entry(as, &apm_user_list, list) { in queue_event()
196 if (as->reader) in queue_event()
197 queue_add_event(&as->queue, event); in queue_event()
205 struct apm_user *as = fp->private_data; in apm_read() local
212 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read()
215 wait_event_interruptible(apm_waitqueue, !queue_empty(&as->queue)); in apm_read()
217 while ((i >= sizeof(event)) && !queue_empty(&as->queue)) { in apm_read()
218 event = queue_get_event(&as->queue); in apm_read()
225 if (as->suspend_state == SUSPEND_PENDING && in apm_read()
[all …]
/openbmc/linux/drivers/iommu/
H A Dtegra-smmu.c277 struct tegra_smmu_as *as; in tegra_smmu_domain_alloc() local
282 as = kzalloc(sizeof(*as), GFP_KERNEL); in tegra_smmu_domain_alloc()
283 if (!as) in tegra_smmu_domain_alloc()
286 as->attr = SMMU_PD_READABLE | SMMU_PD_WRITABLE | SMMU_PD_NONSECURE; in tegra_smmu_domain_alloc()
288 as->pd = alloc_page(GFP_KERNEL | __GFP_DMA | __GFP_ZERO); in tegra_smmu_domain_alloc()
289 if (!as->pd) { in tegra_smmu_domain_alloc()
290 kfree(as); in tegra_smmu_domain_alloc()
294 as->count = kcalloc(SMMU_NUM_PDE, sizeof(u32), GFP_KERNEL); in tegra_smmu_domain_alloc()
295 if (!as->count) { in tegra_smmu_domain_alloc()
296 __free_page(as->pd); in tegra_smmu_domain_alloc()
[all …]
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_regs.h288 #define MMU_AS(as) (MMU_BASE + ((as) << MMU_AS_SHIFT)) argument
290 #define AS_TRANSTAB_LO(as) (MMU_AS(as) + 0x00) /* (RW) Translation Table Base Address for address … argument
291 #define AS_TRANSTAB_HI(as) (MMU_AS(as) + 0x04) /* (RW) Translation Table Base Address for address … argument
292 #define AS_MEMATTR_LO(as) (MMU_AS(as) + 0x08) /* (RW) Memory attributes for address space n, low w… argument
293 #define AS_MEMATTR_HI(as) (MMU_AS(as) + 0x0C) /* (RW) Memory attributes for address space n, high … argument
294 #define AS_LOCKADDR_LO(as) (MMU_AS(as) + 0x10) /* (RW) Lock region address for address space n, lo… argument
295 #define AS_LOCKADDR_HI(as) (MMU_AS(as) + 0x14) /* (RW) Lock region address for address space n, hi… argument
296 #define AS_COMMAND(as) (MMU_AS(as) + 0x18) /* (WO) MMU command register for address space n */ argument
297 #define AS_FAULTSTATUS(as) (MMU_AS(as) + 0x1C) /* (RO) MMU fault status register for address space… argument
298 #define AS_FAULTADDRESS_LO(as) (MMU_AS(as) + 0x20) /* (RO) Fault Address for address space n, low … argument
[all …]
H A Dpanfrost_mmu.c119 ret = mmu_hw_do_operation_locked(pfdev, mmu->as, iova, size, op); in mmu_hw_do_operation()
126 int as_nr = mmu->as; in panfrost_mmu_enable()
160 int as; in panfrost_mmu_as_get() local
164 as = mmu->as; in panfrost_mmu_as_get()
165 if (as >= 0) { in panfrost_mmu_as_get()
167 u32 mask = BIT(as) | BIT(16 + as); in panfrost_mmu_as_get()
192 as = ffz(pfdev->as_alloc_mask); in panfrost_mmu_as_get()
193 if (!(BIT(as) & pfdev->features.as_present)) { in panfrost_mmu_as_get()
203 as = lru_mmu->as; in panfrost_mmu_as_get()
205 WARN_ON(as < 0); in panfrost_mmu_as_get()
[all …]
/openbmc/qemu/include/sysemu/
H A Ddma.h43 AddressSpace *as; member
46 static inline void dma_barrier(AddressSpace *as, DMADirection dir) in dma_barrier() argument
72 static inline bool dma_memory_valid(AddressSpace *as, in dma_memory_valid() argument
76 return address_space_access_valid(as, addr, len, in dma_memory_valid()
81 static inline MemTxResult dma_memory_rw_relaxed(AddressSpace *as, in dma_memory_rw_relaxed() argument
87 return address_space_rw(as, addr, attrs, in dma_memory_rw_relaxed()
91 static inline MemTxResult dma_memory_read_relaxed(AddressSpace *as, in dma_memory_read_relaxed() argument
95 return dma_memory_rw_relaxed(as, addr, buf, len, in dma_memory_read_relaxed()
100 static inline MemTxResult dma_memory_write_relaxed(AddressSpace *as, in dma_memory_write_relaxed() argument
105 return dma_memory_rw_relaxed(as, addr, (void *)buf, len, in dma_memory_write_relaxed()
[all …]
/openbmc/qemu/audio/
H A Daudio_win_int.c15 struct audsettings *as) in waveformat_from_audio_settings() argument
19 wfx->nChannels = as->nchannels; in waveformat_from_audio_settings()
20 wfx->nSamplesPerSec = as->freq; in waveformat_from_audio_settings()
21 wfx->nAvgBytesPerSec = as->freq << (as->nchannels == 2); in waveformat_from_audio_settings()
22 wfx->nBlockAlign = 1 << (as->nchannels == 2); in waveformat_from_audio_settings()
25 switch (as->fmt) { in waveformat_from_audio_settings()
56 dolog("Internal logic error: Bad audio format %d\n", as->fmt); in waveformat_from_audio_settings()
64 struct audsettings *as) in waveformat_to_audio_settings() argument
70 as->freq = wfx->nSamplesPerSec; in waveformat_to_audio_settings()
74 as->nchannels = 1; in waveformat_to_audio_settings()
[all …]
/openbmc/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()
199 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 …]
/openbmc/linux/arch/x86/kernel/
H A Dapm_32.c1165 static int queue_empty(struct apm_user *as) in queue_empty() argument
1167 return as->event_head == as->event_tail; in queue_empty()
1170 static apm_event_t get_queued_event(struct apm_user *as) in get_queued_event() argument
1172 if (++as->event_tail >= APM_MAX_EVENTS) in get_queued_event()
1173 as->event_tail = 0; in get_queued_event()
1174 return as->events[as->event_tail]; in get_queued_event()
1179 struct apm_user *as; in queue_event() local
1184 for (as = user_list; as != NULL; as = as->next) { in queue_event()
1185 if ((as == sender) || (!as->reader)) in queue_event()
1187 if (++as->event_head >= APM_MAX_EVENTS) in queue_event()
[all …]
/openbmc/u-boot/arch/xtensa/include/asm/
H A Dasmmacro.h63 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond
65 addi \at, \as, (1 << \incr_log2) - 1
76 .macro __loopt ar, as, at, incr_log2
77 sub \at, \as, \ar
86 .macro __loop as
87 loop \as, 99f
91 .macro __endl ar, as
105 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond
107 extui \at, \as, \incr_log2, \mask_log2
110 srli \at, \as, \incr_log2
[all …]
H A Dcacheasm.h55 .macro __loop_cache_range ar as at insn line_width
58 add \as, \as, \at
60 __loops \ar, \as, \at, \line_width
138 .macro ___flush_invalidate_dcache_range ar as at
141 __loop_cache_range \ar \as \at dhwbi XCHAL_DCACHE_LINEWIDTH
147 .macro ___flush_dcache_range ar as at
150 __loop_cache_range \ar \as \at dhwb XCHAL_DCACHE_LINEWIDTH
156 .macro ___invalidate_dcache_range ar as at
159 __loop_cache_range \ar \as \at dhi XCHAL_DCACHE_LINEWIDTH
165 .macro ___invalidate_icache_range ar as at
[all …]
/openbmc/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 …]
/openbmc/qemu/target/i386/
H A Darch_memory_mapping.c19 static void walk_pte(MemoryMappingList *list, AddressSpace *as, in walk_pte() argument
30 pte = address_space_ldq(as, pte_addr, MEMTXATTRS_UNSPECIFIED, NULL); in walk_pte()
49 static void walk_pte2(MemoryMappingList *list, AddressSpace *as, in walk_pte2() argument
60 pte = address_space_ldl(as, pte_addr, MEMTXATTRS_UNSPECIFIED, NULL); in walk_pte2()
81 static void walk_pde(MemoryMappingList *list, AddressSpace *as, in walk_pde() argument
92 pde = address_space_ldq(as, pde_addr, MEMTXATTRS_UNSPECIFIED, NULL); in walk_pde()
113 walk_pte(list, as, pte_start_addr, a20_mask, line_addr); in walk_pde()
118 static void walk_pde2(MemoryMappingList *list, AddressSpace *as, in walk_pde2() argument
129 pde = address_space_ldl(as, pde_addr, MEMTXATTRS_UNSPECIFIED, NULL); in walk_pde2()
155 walk_pte2(list, as, pte_start_addr, a20_mask, line_addr); in walk_pde2()
[all …]
/openbmc/linux/drivers/usb/core/
H A Ddevio.c400 struct async *as; in alloc_async() local
402 as = kzalloc(sizeof(struct async), GFP_KERNEL); in alloc_async()
403 if (!as) in alloc_async()
405 as->urb = usb_alloc_urb(numisoframes, GFP_KERNEL); in alloc_async()
406 if (!as->urb) { in alloc_async()
407 kfree(as); in alloc_async()
410 return as; in alloc_async()
413 static void free_async(struct async *as) in free_async() argument
417 put_pid(as->pid); in free_async()
418 if (as->cred) in free_async()
[all …]
/openbmc/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)
/openbmc/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()
485 struct snd_usb_stream *as; in __snd_usb_add_audio_stream() local
490 list_for_each_entry(as, &chip->pcm_list, list) { in __snd_usb_add_audio_stream()
491 if (as->fmt_type != fp->fmt_type) in __snd_usb_add_audio_stream()
[all …]
/openbmc/qemu/hw/audio/
H A Dlm4549.c186 struct audsettings as; in lm4549_write() local
187 as.freq = value; in lm4549_write()
188 as.nchannels = 2; in lm4549_write()
189 as.fmt = AUDIO_FORMAT_S16; in lm4549_write()
190 as.endianness = 0; in lm4549_write()
198 &as in lm4549_write()
256 struct audsettings as; in lm4549_post_load() local
257 as.freq = freq; in lm4549_post_load()
258 as.nchannels = 2; in lm4549_post_load()
259 as.fmt = AUDIO_FORMAT_S16; in lm4549_post_load()
[all …]
/openbmc/u-boot/drivers/spi/
H A Datmel_spi.c40 struct atmel_spi_slave *as; in spi_setup_slave() local
86 as = spi_alloc_slave(struct atmel_spi_slave, bus, cs); in spi_setup_slave()
87 if (!as) in spi_setup_slave()
90 as->regs = regs; in spi_setup_slave()
91 as->mr = ATMEL_SPI_MR_MSTR | ATMEL_SPI_MR_MODFDIS in spi_setup_slave()
93 if (spi_has_wdrbt(as)) in spi_setup_slave()
94 as->mr |= ATMEL_SPI_MR_WDRBT; in spi_setup_slave()
96 spi_writel(as, CSR(cs), csrx); in spi_setup_slave()
98 return &as->slave; in spi_setup_slave()
103 struct atmel_spi_slave *as = to_atmel_spi(slave); in spi_free_slave() local
[all …]
/openbmc/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 …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dascii_string_test.cpp31 src::AsciiString as{entry}; in TEST() local
33 auto data = as.get(); in TEST()
41 as.flatten(stream); in TEST()
57 src::AsciiString as{entry}; in TEST() local
58 auto data = as.get(); in TEST()
73 src::AsciiString as{stream}; in TEST() local
75 auto data = as.get(); in TEST()
85 EXPECT_THROW(src::AsciiString as{stream}, std::out_of_range); in TEST()
94 src::AsciiString as{entry}; in TEST() local
95 auto data = as.get(); in TEST()
/openbmc/linux/drivers/hwmon/pmbus/
H A DKconfig12 This driver can also be built as a module. If so, the module will
27 This driver can also be built as a module. If so, the module will
36 This driver can also be built as a module. If so, the module will
47 This driver can also be built as a module. If so, the module will
57 This driver can also be built as a module. If so, the module will
66 This driver can also be built as a module. If so, the module will
75 This driver can also be built as a module. If so, the module will
84 This driver can also be built as a module. If so, the module will
94 This driver can also be built as a module. If so, the module
104 This driver can also be built as a module. If so, the module will
[all …]
/openbmc/linux/drivers/input/misc/
H A DKconfig20 Support the ONKEY of Marvell 88PM860x PMICs as an input device
23 To compile this driver as a module, choose M here: the module
30 Support the ONKEY of Marvell 88PM80x PMICs as an input device
33 To compile this driver as a module, choose M here: the module
43 To compile this driver as a module, choose M here: the module
53 To compile this driver as a module, choose M here: the
63 To compile this driver as a module, choose M here: the
73 To compile this driver as a module, choose M here: the
84 To compile this driver as a module, choose M here: the module
94 To compile this driver as a module, choose M here: the
[all …]
/openbmc/qemu/system/
H A Dmemory.c155 #define MEMORY_LISTENER_UPDATE_REGION(fr, as, dir, callback, _args...) \ argument
158 address_space_to_flatview(as)); \
159 MEMORY_LISTENER_CALL(as, callback, dir, &mrs, ##_args); \
712 AddressSpace *as; in memory_region_to_address_space() local
717 QTAILQ_FOREACH(as, &address_spaces, address_spaces_link) { in memory_region_to_address_space()
718 if (mr == as->root) { in memory_region_to_address_space()
719 return as; in memory_region_to_address_space()
906 static void address_space_add_del_ioeventfds(AddressSpace *as, in address_space_add_del_ioeventfds() argument
928 .fv = address_space_to_flatview(as), in address_space_add_del_ioeventfds()
932 MEMORY_LISTENER_CALL(as, eventfd_del, Forward, &section, in address_space_add_del_ioeventfds()
[all …]

12345678910>>...233