/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-atmel.c | 308 * This message can be anything as it should not be treated by any SPI device. 320 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, TD in atmel_spi_send_dummy() 385 cs_activate(struct atmel_spi *as, struct spi_device *spi) cs_activate() argument 457 cs_deactivate(struct atmel_spi *as, struct spi_device *spi) cs_deactivate() argument 497 atmel_spi_use_dma(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_use_dma() argument 507 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_can_dma() local 517 atmel_spi_dma_slave_config(struct atmel_spi *as, u8 bits_per_word) atmel_spi_dma_slave_config() argument 574 atmel_spi_configure_dma(struct spi_controller *host, struct atmel_spi *as) atmel_spi_configure_dma() argument 642 struct atmel_spi *as = spi_controller_get_devdata(host); dma_callback() local 658 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_next_xfer_single() local 690 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_next_xfer_fifo() local 760 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_next_xfer_pio() local 775 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_next_xfer_dma_submit() local 876 atmel_spi_set_xfer_speed(struct atmel_spi *as, struct spi_device *spi, struct spi_transfer *xfer) atmel_spi_set_xfer_speed() argument 931 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_pdc_next_xfer() local 997 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_dma_map_xfer() argument 1039 atmel_spi_disable_pdc_transfer(struct atmel_spi *as) atmel_spi_disable_pdc_transfer() argument 1045 atmel_spi_pump_single_data(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_pump_single_data() argument 1069 atmel_spi_pump_fifo_data(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_pump_fifo_data() argument 1109 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_pump_pio_data() argument 1124 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_pio_interrupt() local 1182 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_pdc_interrupt() local 1215 atmel_word_delay_csr(struct spi_device *spi, struct atmel_spi *as) atmel_word_delay_csr() argument 1233 initialize_native_cs_for_gpio(struct atmel_spi *as) initialize_native_cs_for_gpio() argument 1263 struct atmel_spi *as; atmel_spi_setup() local 1338 struct atmel_spi *as = spi_controller_get_devdata(spi->controller); atmel_spi_set_cs() local 1357 struct atmel_spi *as; atmel_spi_one_transfer() local 1481 atmel_get_version(struct atmel_spi *as) atmel_get_version() argument 1486 atmel_get_caps(struct atmel_spi *as) atmel_get_caps() argument 1498 atmel_spi_init(struct atmel_spi *as) atmel_spi_init() argument 1526 struct atmel_spi *as; atmel_spi_probe() local 1680 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_remove() local 1713 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_runtime_suspend() local 1724 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_runtime_resume() local 1750 struct atmel_spi *as = spi_controller_get_devdata(host); atmel_spi_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-atmel.c | 301 static bool atmel_spi_is_v2(struct atmel_spi *as) in atmel_spi_is_v2() argument 303 return as->caps.is_spi2; in atmel_spi_is_v2() 310 * transmitted") Not so! Workaround uses nCSx pins as GPIOs; or newer 313 * Even controller newer than ar91rm9200, using GPIOs can make sens as 324 static void cs_activate(struct atmel_spi *as, struct spi_device *spi) in cs_activate() argument 331 chip_select = as->native_cs_for_gpio; in cs_activate() 335 if (atmel_spi_is_v2(as)) { in cs_activate() 336 spi_writel(as, CSR0 + 4 * chip_select, asd->csr); in cs_activate() 338 * on CS1,2,3 needs SPI_CSR0.BITS config as SPI_CSR1,2,3.BITS in cs_activate() 340 spi_writel(as, CSR in cs_activate() 376 cs_deactivate(struct atmel_spi *as, struct spi_device *spi) cs_deactivate() argument 416 atmel_spi_use_dma(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_use_dma() argument 426 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_can_dma() local 436 atmel_spi_dma_slave_config(struct atmel_spi *as, struct dma_slave_config *slave_config, u8 bits_per_word) atmel_spi_dma_slave_config() argument 496 atmel_spi_configure_dma(struct spi_master *master, struct atmel_spi *as) atmel_spi_configure_dma() argument 569 struct atmel_spi *as = spi_master_get_devdata(master); dma_callback() local 585 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_next_xfer_single() local 617 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_next_xfer_fifo() local 687 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_next_xfer_pio() local 703 struct atmel_spi *as = spi_master_get_devdata(master); global() variable 788 atmel_spi_lock(as); global() variable 795 atmel_spi_lock(as); global() variable 811 atmel_spi_set_xfer_speed(struct atmel_spi *as, struct spi_device *spi, struct spi_transfer *xfer) atmel_spi_set_xfer_speed() argument 866 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_pdc_next_xfer() local 932 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_dma_map_xfer() argument 974 atmel_spi_disable_pdc_transfer(struct atmel_spi *as) atmel_spi_disable_pdc_transfer() argument 980 atmel_spi_pump_single_data(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_pump_single_data() argument 1004 atmel_spi_pump_fifo_data(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_pump_fifo_data() argument 1044 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer) atmel_spi_pump_pio_data() argument 1061 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_pio_interrupt() local 1119 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_pdc_interrupt() local 1152 atmel_word_delay_csr(struct spi_device *spi, struct atmel_spi *as) atmel_word_delay_csr() argument 1170 initialize_native_cs_for_gpio(struct atmel_spi *as) initialize_native_cs_for_gpio() argument 1200 struct atmel_spi *as; atmel_spi_setup() local 1275 struct atmel_spi *as = spi_master_get_devdata(spi->master); atmel_spi_set_cs() local 1294 struct atmel_spi *as; atmel_spi_one_transfer() local 1420 atmel_get_version(struct atmel_spi *as) atmel_get_version() argument 1425 atmel_get_caps(struct atmel_spi *as) atmel_get_caps() argument 1437 atmel_spi_init(struct atmel_spi *as) atmel_spi_init() argument 1465 struct atmel_spi *as; atmel_spi_probe() local 1623 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_remove() local 1659 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_runtime_suspend() local 1670 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_runtime_resume() local 1697 struct atmel_spi *as = spi_master_get_devdata(master); atmel_spi_resume() local [all...] |
/kernel/linux/linux-5.10/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, 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 in ath5k_ani_raise_immunity() 310 ath5k_ani_lower_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_ani_lower_immunity() argument 374 ath5k_hw_ani_get_listen_time(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_hw_ani_get_listen_time() argument 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 450 ath5k_ani_period_restart(struct ath5k_ani_state *as) ath5k_ani_period_restart() argument 477 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_calibration() local 541 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_mib_intr() local 579 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_phy_error_report() local [all...] |
/kernel/linux/linux-6.6/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, 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 in ath5k_ani_raise_immunity() 310 ath5k_ani_lower_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_ani_lower_immunity() argument 374 ath5k_hw_ani_get_listen_time(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_hw_ani_get_listen_time() argument 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 450 ath5k_ani_period_restart(struct ath5k_ani_state *as) ath5k_ani_period_restart() argument 477 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_calibration() local 541 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_mib_intr() local 579 struct ath5k_ani_state *as = &ah->ani_state; ath5k_ani_phy_error_report() local [all...] |
/kernel/linux/linux-5.10/drivers/char/ |
H A D | apm-emulation.c | 36 * One option can be changed at boot time as follows: 73 * The transitions are invoked as follows: 76 * 3: userspace thread issues the APM_IOC_SUSPEND ioctl (as ack) 192 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 in apm_read() 242 struct apm_user *as = fp->private_data; apm_poll() local 261 struct apm_user *as = filp->private_data; apm_ioctl() local 329 struct apm_user *as = filp->private_data; apm_release() local 355 struct apm_user *as; apm_open() local 513 struct apm_user *as; apm_suspend_notifier() local [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | apm-emulation.c | 36 * One option can be changed at boot time as follows: 73 * The transitions are invoked as follows: 76 * 3: userspace thread issues the APM_IOC_SUSPEND ioctl (as ack) 192 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 in apm_read() 242 struct apm_user *as = fp->private_data; apm_poll() local 261 struct apm_user *as = filp->private_data; apm_ioctl() local 329 struct apm_user *as = filp->private_data; apm_release() local 355 struct apm_user *as; apm_open() local 513 struct apm_user *as; apm_suspend_notifier() local [all...] |
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | tegra-smmu.c | 277 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 in tegra_smmu_domain_alloc() 321 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_domain_free() local 408 tegra_smmu_as_prepare(struct tegra_smmu *smmu, struct tegra_smmu_as *as) tegra_smmu_as_prepare() argument 461 tegra_smmu_as_unprepare(struct tegra_smmu *smmu, struct tegra_smmu_as *as) tegra_smmu_as_unprepare() argument 485 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_attach_dev() local 518 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_set_platform_dma() local 531 tegra_smmu_set_pde(struct tegra_smmu_as *as, unsigned long iova, u32 value) tegra_smmu_set_pde() argument 559 tegra_smmu_pte_lookup(struct tegra_smmu_as *as, unsigned long iova, dma_addr_t *dmap) tegra_smmu_pte_lookup() argument 577 as_get_pte(struct tegra_smmu_as *as, dma_addr_t iova, dma_addr_t *dmap, struct page *page) as_get_pte() argument 615 tegra_smmu_pte_get_use(struct tegra_smmu_as *as, unsigned long iova) tegra_smmu_pte_get_use() argument 622 tegra_smmu_pte_put_use(struct tegra_smmu_as *as, unsigned long iova) tegra_smmu_pte_put_use() argument 644 tegra_smmu_set_pte(struct tegra_smmu_as *as, unsigned long iova, u32 *pte, dma_addr_t pte_dma, u32 val) tegra_smmu_set_pte() argument 659 as_get_pde_page(struct tegra_smmu_as *as, unsigned long iova, gfp_t gfp, unsigned long *flags) as_get_pde_page() argument 703 struct tegra_smmu_as *as = to_smmu_as(domain); __tegra_smmu_map() local 739 struct tegra_smmu_as *as = to_smmu_as(domain); __tegra_smmu_unmap() local 756 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_map() local 770 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_unmap() local 783 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_iova_to_phys() local [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | tegra-smmu.c | 288 struct tegra_smmu_as *as; in tegra_smmu_domain_alloc() local 293 as = kzalloc(sizeof(*as), GFP_KERNEL); in tegra_smmu_domain_alloc() 294 if (!as) in tegra_smmu_domain_alloc() 297 as->attr = SMMU_PD_READABLE | SMMU_PD_WRITABLE | SMMU_PD_NONSECURE; in tegra_smmu_domain_alloc() 299 as->pd = alloc_page(GFP_KERNEL | __GFP_DMA | __GFP_ZERO); in tegra_smmu_domain_alloc() 300 if (!as->pd) { in tegra_smmu_domain_alloc() 301 kfree(as); in tegra_smmu_domain_alloc() 305 as->count = kcalloc(SMMU_NUM_PDE, sizeof(u32), GFP_KERNEL); in tegra_smmu_domain_alloc() 306 if (!as in tegra_smmu_domain_alloc() 332 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_domain_free() local 419 tegra_smmu_as_prepare(struct tegra_smmu *smmu, struct tegra_smmu_as *as) tegra_smmu_as_prepare() argument 463 tegra_smmu_as_unprepare(struct tegra_smmu *smmu, struct tegra_smmu_as *as) tegra_smmu_as_unprepare() argument 480 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_attach_dev() local 513 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_detach_dev() local 536 tegra_smmu_set_pde(struct tegra_smmu_as *as, unsigned long iova, u32 value) tegra_smmu_set_pde() argument 564 tegra_smmu_pte_lookup(struct tegra_smmu_as *as, unsigned long iova, dma_addr_t *dmap) tegra_smmu_pte_lookup() argument 582 as_get_pte(struct tegra_smmu_as *as, dma_addr_t iova, dma_addr_t *dmap, struct page *page) as_get_pte() argument 620 tegra_smmu_pte_get_use(struct tegra_smmu_as *as, unsigned long iova) tegra_smmu_pte_get_use() argument 627 tegra_smmu_pte_put_use(struct tegra_smmu_as *as, unsigned long iova) tegra_smmu_pte_put_use() argument 649 tegra_smmu_set_pte(struct tegra_smmu_as *as, unsigned long iova, u32 *pte, dma_addr_t pte_dma, u32 val) tegra_smmu_set_pte() argument 664 as_get_pde_page(struct tegra_smmu_as *as, unsigned long iova, gfp_t gfp, unsigned long *flags) as_get_pde_page() argument 708 struct tegra_smmu_as *as = to_smmu_as(domain); __tegra_smmu_map() local 744 struct tegra_smmu_as *as = to_smmu_as(domain); __tegra_smmu_unmap() local 761 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_map() local 775 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_unmap() local 788 struct tegra_smmu_as *as = to_smmu_as(domain); tegra_smmu_iova_to_phys() local [all...] |
/kernel/linux/linux-5.10/fs/afs/ |
H A D | super.c | 157 struct afs_super_info *as = AFS_FS_S(root->d_sb); in afs_show_devname() local 158 struct afs_volume *volume = as->volume; in afs_show_devname() 159 struct afs_cell *cell = as->cell; in afs_show_devname() 163 if (as->dyn_root) { in afs_show_devname() 191 struct afs_super_info *as = AFS_FS_S(root->d_sb); in afs_show_options() local 194 if (as->dyn_root) in afs_show_options() 198 switch (as->flock_mode) { in afs_show_options() 422 struct afs_super_info *as = AFS_FS_S(sb); in afs_test_super() local 424 return (as->net_ns == fc->net_ns && in afs_test_super() 425 as in afs_test_super() 433 struct afs_super_info *as = AFS_FS_S(sb); afs_dynroot_test_super() local 449 struct afs_super_info *as = AFS_FS_S(sb); afs_fill_super() local 508 struct afs_super_info *as; afs_alloc_sbi() local 525 afs_destroy_sbi(struct afs_super_info *as) afs_destroy_sbi() argument 538 struct afs_super_info *as = AFS_FS_S(sb); afs_kill_super() local 561 struct afs_super_info *as; afs_get_tree() local 753 struct afs_super_info *as = AFS_FS_S(dentry->d_sb); afs_statfs() local [all...] |
/kernel/linux/linux-6.6/fs/afs/ |
H A D | super.c | 158 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 in afs_test_super() 434 struct afs_super_info *as = AFS_FS_S(sb); afs_dynroot_test_super() local 450 struct afs_super_info *as = AFS_FS_S(sb); afs_fill_super() local 509 struct afs_super_info *as; afs_alloc_sbi() local 526 afs_destroy_sbi(struct afs_super_info *as) afs_destroy_sbi() argument 539 struct afs_super_info *as = AFS_FS_S(sb); afs_kill_super() local 562 struct afs_super_info *as; afs_get_tree() local 754 struct afs_super_info *as = AFS_FS_S(dentry->d_sb); afs_statfs() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
H A D | panfrost_regs.h | 284 #define MMU_AS(as) (0x2400 + ((as) << 6)) 286 #define AS_TRANSTAB_LO(as) (MMU_AS(as) + 0x00) /* (RW) Translation Table Base Address for address space n, low word */ 287 #define AS_TRANSTAB_HI(as) (MMU_AS(as) + 0x04) /* (RW) Translation Table Base Address for address space n, high word */ 288 #define AS_MEMATTR_LO(as) (MMU_AS(as) + 0x08) /* (RW) Memory attributes for address space n, low word. */ 289 #define AS_MEMATTR_HI(as) (MMU_AS(as) [all...] |
H A D | panfrost_mmu.c | 63 /* The size is encoded as ceil(log2) minus(1), which may be calculated in lock_region() 100 ret = mmu_hw_do_operation_locked(pfdev, mmu->as, iova, size, op); in mmu_hw_do_operation() 107 int as_nr = mmu->as; in panfrost_mmu_enable() 141 int as; in panfrost_mmu_as_get() local 145 as = mmu->as; in panfrost_mmu_as_get() 146 if (as >= 0) { in panfrost_mmu_as_get() 160 as = ffz(pfdev->as_alloc_mask); in panfrost_mmu_as_get() 161 if (!(BIT(as) & pfdev->features.as_present)) { in panfrost_mmu_as_get() 171 as in panfrost_mmu_as_get() 357 addr_to_mapping(struct panfrost_device *pfdev, int as, u64 addr) addr_to_mapping() argument 393 panfrost_mmu_map_fault_addr(struct panfrost_device *pfdev, int as, u64 addr) panfrost_mmu_map_fault_addr() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/ |
H A D | panfrost_regs.h | 288 #define MMU_AS(as) (MMU_BASE + ((as) << MMU_AS_SHIFT)) 290 #define AS_TRANSTAB_LO(as) (MMU_AS(as) + 0x00) /* (RW) Translation Table Base Address for address space n, low word */ 291 #define AS_TRANSTAB_HI(as) (MMU_AS(as) + 0x04) /* (RW) Translation Table Base Address for address space n, high word */ 292 #define AS_MEMATTR_LO(as) (MMU_AS(as) + 0x08) /* (RW) Memory attributes for address space n, low word. */ 293 #define AS_MEMATTR_HI(as) (MMU_AS(as) [all...] |
H A D | panfrost_mmu.c | 71 * The locked region is a naturally aligned power of 2 block encoded as in lock_region() 119 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 in panfrost_mmu_as_get() 403 addr_to_mapping(struct panfrost_device *pfdev, int as, u64 addr) addr_to_mapping() argument 439 panfrost_mmu_map_fault_addr(struct panfrost_device *pfdev, int as, u64 addr) panfrost_mmu_map_fault_addr() argument 686 u32 as = ffs(status | (status >> 16)) - 1; panfrost_mmu_irq_handler_thread() local [all...] |
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
H A D | cacheasm.h | 16 * Define cache functions as macros here so that they can be used 64 .macro __loop_cache_range ar as at insn line_width 67 add \as, \as, \at variable 69 __loops \ar, \as, \at, \line_width variable 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 a [all...] |
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! 38 * __endla ar, as, incr 40 * as scratch register used by __loops/__loopi macros or 46 * loop for given size as immediate 65 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond variable 69 addi \at, \as, (1 << \incr_log2) - 1 variable 79 extui \at, \as, \incr_log 104 .macro __loopt ar, as, at, incr_log2 global() variable 107 sub \\at, \\as, \\ar global() variable 139 bltu \\ar, \\as, 98b global() variable 148 .macro __endla ar, as, incr global() variable [all...] |
/kernel/linux/linux-6.6/arch/xtensa/include/asm/ |
H A D | cacheasm.h | 16 * Define cache functions as macros here so that they can be used 64 .macro __loop_cache_range ar as at insn line_width 67 add \as, \as, \at variable 69 __loops \ar, \as, \at, \line_width variable 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 a [all...] |
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | devio.c | 389 struct async *as; in alloc_async() local 391 as = kzalloc(sizeof(struct async), GFP_KERNEL); in alloc_async() 392 if (!as) in alloc_async() 394 as->urb = usb_alloc_urb(numisoframes, GFP_KERNEL); in alloc_async() 395 if (!as->urb) { in alloc_async() 396 kfree(as); in alloc_async() 399 return as; in alloc_async() 402 static void free_async(struct async *as) in free_async() argument 406 put_pid(as->pid); in free_async() 407 if (as in free_async() 426 async_newpending(struct async *as) async_newpending() argument 436 async_removepending(struct async *as) async_removepending() argument 449 struct async *as = NULL; async_getcompleted() local 464 struct async *as; async_getpending() local 576 struct async *as; global() variable 611 struct async *as = urb->context; async_completed() local 652 struct async *as; destroy_async() local 1083 struct async *as; usbdev_release() local 1607 struct async *as = NULL; proc_do_submiturb() local 1993 struct async *as; proc_unlinkurb() local 2025 processcompl(struct async *as, void __user * __user *arg) processcompl() argument 2066 struct async *as = NULL; reap_as() local 2088 struct async *as = reap_as(ps); proc_reapurb() local 2106 struct async *as; proc_reapurbnonblock() local 2196 processcompl_compat(struct async *as, void __user * __user *arg) processcompl_compat() argument 2233 struct async *as = reap_as(ps); proc_reapurb_compat() local 2251 struct async *as; proc_reapurbnonblock_compat() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | devio.c | 400 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 in free_async() 437 async_newpending(struct async *as) async_newpending() argument 447 async_removepending(struct async *as) async_removepending() argument 460 struct async *as = NULL; async_getcompleted() local 475 struct async *as; async_getpending() local 587 struct async *as; global() variable 622 struct async *as = urb->context; async_completed() local 663 struct async *as; destroy_async() local 1094 struct async *as; usbdev_release() local 1622 struct async *as = NULL; proc_do_submiturb() local 2008 struct async *as; proc_unlinkurb() local 2040 processcompl(struct async *as, void __user * __user *arg) processcompl() argument 2081 struct async *as = NULL; reap_as() local 2103 struct async *as = reap_as(ps); proc_reapurb() local 2121 struct async *as; proc_reapurbnonblock() local 2211 processcompl_compat(struct async *as, void __user * __user *arg) processcompl_compat() argument 2248 struct async *as = reap_as(ps); proc_reapurb_compat() local 2266 struct async *as; proc_reapurbnonblock_compat() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | apm_32.c | 85 * Fix segment limit setting it has always been wrong as 110 * 1.12: Remove CONFIG_SMP as the compiler will optimize 171 * Change name of kernel apm daemon (as it no longer idles) (sfr). 241 * Various options can be changed at boot time as follows: 279 * Define as 1 to make the driver always call the APM BIOS busy 280 * routine even if the clock was not reported as slowed by the 281 * idle routine. Otherwise, define as 0. 513 * this depends on CS referring to the same physical memory as DS so that 970 * the SMP call on CPU0 as some systems will only honour this call 1020 * source. The bat value returned give an estimate as 1158 queue_empty(struct apm_user *as) queue_empty() argument 1163 get_queued_event(struct apm_user *as) get_queued_event() argument 1172 struct apm_user *as; queue_event() local 1233 struct apm_user *as; suspend() local 1447 check_apm_user(struct apm_user *as, const char *func) check_apm_user() argument 1458 struct apm_user *as; do_read() local 1501 struct apm_user *as; do_poll() local 1514 struct apm_user *as; do_ioctl() local 1562 struct apm_user *as; do_release() local 1600 struct apm_user *as; do_open() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | apm_32.c | 85 * Fix segment limit setting it has always been wrong as 110 * 1.12: Remove CONFIG_SMP as the compiler will optimize 171 * Change name of kernel apm daemon (as it no longer idles) (sfr). 242 * Various options can be changed at boot time as follows: 280 * Define as 1 to make the driver always call the APM BIOS busy 281 * routine even if the clock was not reported as slowed by the 282 * idle routine. Otherwise, define as 0. 514 * this depends on CS referring to the same physical memory as DS so that 977 * the SMP call on CPU0 as some systems will only honour this call 1027 * source. The bat value returned give an estimate as 1165 queue_empty(struct apm_user *as) queue_empty() argument 1170 get_queued_event(struct apm_user *as) get_queued_event() argument 1179 struct apm_user *as; queue_event() local 1240 struct apm_user *as; suspend() local 1454 check_apm_user(struct apm_user *as, const char *func) check_apm_user() argument 1465 struct apm_user *as; do_read() local 1508 struct apm_user *as; do_poll() local 1521 struct apm_user *as; do_ioctl() local 1569 struct apm_user *as; do_release() local 1607 struct apm_user *as; do_open() local [all...] |
/kernel/linux/linux-5.10/arch/x86/include/asm/trace/ |
H A D | hyperv.h | 32 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 [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/trace/ |
H A D | hyperv.h | 32 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 [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | util_macros.h | 5 #define __find_closest(x, a, as, op) \ 7 typeof(as) __fc_i, __fc_as = (as) - 1; \ 23 * @as: Size of 'a'. 27 #define find_closest(x, a, as) __find_closest(x, a, as, <=) 34 * @as: Size of 'a'. 39 #define find_closest_descending(x, a, as) __find_closest(x, a, as, >=)
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | util_macros.h | 7 #define __find_closest(x, a, as, op) \ 9 typeof(as) __fc_i, __fc_as = (as) - 1; \ 25 * @as: Size of 'a'. 29 #define find_closest(x, a, as) __find_closest(x, a, as, <=) 36 * @as: Size of 'a'. 41 #define find_closest_descending(x, a, as) __find_closest(x, a, as, >=)
|