Home
last modified time | relevance | path

Searched refs:reg_virt (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ipa/
Dipa_interrupt.c62 iowrite32(mask, ipa->reg_virt + IPA_REG_IRQ_CLR_OFFSET); in ipa_interrupt_process()
72 iowrite32(mask, ipa->reg_virt + IPA_REG_IRQ_CLR_OFFSET); in ipa_interrupt_process()
86 mask = ioread32(ipa->reg_virt + IPA_REG_IRQ_STTS_OFFSET); in ipa_interrupt_process_all()
95 mask = ioread32(ipa->reg_virt + IPA_REG_IRQ_STTS_OFFSET); in ipa_interrupt_process_all()
120 mask = ioread32(ipa->reg_virt + IPA_REG_IRQ_STTS_OFFSET); in ipa_isr()
125 iowrite32(mask, ipa->reg_virt + IPA_REG_IRQ_CLR_OFFSET); in ipa_isr()
142 val = ioread32(ipa->reg_virt + IPA_REG_SUSPEND_IRQ_EN_OFFSET); in ipa_interrupt_suspend_control()
147 iowrite32(val, ipa->reg_virt + IPA_REG_SUSPEND_IRQ_EN_OFFSET); in ipa_interrupt_suspend_control()
170 val = ioread32(ipa->reg_virt + IPA_REG_IRQ_SUSPEND_INFO_OFFSET); in ipa_interrupt_suspend_clear_all()
171 iowrite32(val, ipa->reg_virt + IPA_REG_SUSPEND_IRQ_CLR_OFFSET); in ipa_interrupt_suspend_clear_all()
[all …]
Dipa_reg.c25 ipa->reg_virt = ioremap(res->start, resource_size(res)); in ipa_reg_init()
26 if (!ipa->reg_virt) { in ipa_reg_init()
37 iounmap(ipa->reg_virt); in ipa_reg_exit()
Dipa_main.c228 val = ioread32(ipa->reg_virt + IPA_REG_COMP_CFG_OFFSET); in ipa_hardware_config_comp()
241 iowrite32(val, ipa->reg_virt + IPA_REG_COMP_CFG_OFFSET); in ipa_hardware_config_comp()
255 iowrite32(val, ipa->reg_virt + IPA_REG_QSB_MAX_WRITES_OFFSET); in ipa_hardware_config_qsb()
269 iowrite32(val, ipa->reg_virt + IPA_REG_QSB_MAX_READS_OFFSET); in ipa_hardware_config_qsb()
285 iowrite32(val, ipa->reg_virt + offset); in ipa_idle_indication_cfg()
319 iowrite32(val, ipa->reg_virt + IPA_REG_BCR_OFFSET); in ipa_hardware_config()
325 iowrite32(val, ipa->reg_virt + IPA_REG_CLKON_CFG_OFFSET); in ipa_hardware_config()
328 val = ioread32(ipa->reg_virt + IPA_REG_TX_CFG_OFFSET); in ipa_hardware_config()
330 iowrite32(val, ipa->reg_virt + IPA_REG_TX_CFG_OFFSET); in ipa_hardware_config()
339 val = ioread32(ipa->reg_virt + IPA_REG_COUNTER_CFG_OFFSET); in ipa_hardware_config()
[all …]
Dipa_endpoint.c268 val = ioread32(ipa->reg_virt + offset); in ipa_endpoint_init_ctrl()
273 iowrite32(val, ipa->reg_virt + offset); in ipa_endpoint_init_ctrl()
299 val = ioread32(ipa->reg_virt + offset); in ipa_endpoint_aggr_active()
310 iowrite32(mask, ipa->reg_virt + IPA_REG_AGGR_FORCE_CLOSE_OFFSET); in ipa_endpoint_force_close()
461 iowrite32(val, endpoint->ipa->reg_virt + offset); in ipa_endpoint_init_cfg()
520 iowrite32(val, endpoint->ipa->reg_virt + offset); in ipa_endpoint_init_hdr()
548 iowrite32(val, endpoint->ipa->reg_virt + offset); in ipa_endpoint_init_hdr_ext()
567 iowrite32(val, endpoint->ipa->reg_virt + offset); in ipa_endpoint_init_hdr_metadata_mask()
591 iowrite32(val, endpoint->ipa->reg_virt + offset); in ipa_endpoint_init_mode()
642 iowrite32(val, endpoint->ipa->reg_virt + offset); in ipa_endpoint_init_aggr()
[all …]
Dipa_table.c522 val = ioread32(endpoint->ipa->reg_virt + offset); in ipa_filter_tuple_zero()
527 iowrite32(val, endpoint->ipa->reg_virt + offset); in ipa_filter_tuple_zero()
574 val = ioread32(ipa->reg_virt + offset); in ipa_route_tuple_zero()
579 iowrite32(val, ipa->reg_virt + offset); in ipa_route_tuple_zero()
Dipa.h100 void __iomem *reg_virt; member
Dipa_uc.c201 iowrite32(1, ipa->reg_virt + IPA_REG_IRQ_UC_OFFSET); in send_uc_command()
Dipa_mem.c93 ipa->reg_virt + IPA_REG_LOCAL_PKT_PROC_CNTXT_BASE_OFFSET); in ipa_mem_setup()
155 val = ioread32(ipa->reg_virt + IPA_REG_SHARED_MEM_SIZE_OFFSET); in ipa_mem_config()
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch210326 + void *reg_virt;
210904 + regulator->reg_virt = ioremap_nocache(regulator->reg_base, 0x1000);
210905 + val = readl(regulator->reg_virt);
210979 + val = readl(regulator->reg_virt);
210983 + writel(val, regulator->reg_virt);
210990 + unsigned int val = readl(regulator->reg_virt);
210994 + writel(val, regulator->reg_virt);
210999 + iounmap(regulator->reg_virt);
211532 + void *reg_virt;
212110 + regulator->reg_virt = ioremap_nocache(regulator->reg_base, 0x1000);
[all …]