Searched refs:reg_virt (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_interrupt.c | 63 iowrite32(mask, ipa->reg_virt + offset); in ipa_interrupt_process() 77 iowrite32(mask, ipa->reg_virt + offset); in ipa_interrupt_process() 106 pending = ioread32(ipa->reg_virt + offset); in ipa_isr_thread() 115 pending = ioread32(ipa->reg_virt + offset); in ipa_isr_thread() 123 iowrite32(pending, ipa->reg_virt + reg_offset(reg)); in ipa_isr_thread() 136 iowrite32(ipa->interrupt->enabled, ipa->reg_virt + reg_offset(reg)); in ipa_interrupt_enabled_update() 184 val = ioread32(ipa->reg_virt + offset); in ipa_interrupt_suspend_control() 191 iowrite32(val, ipa->reg_virt + offset); in ipa_interrupt_suspend_control() 221 val = ioread32(ipa->reg_virt + reg_n_offset(reg, unit)); in ipa_interrupt_suspend_clear_all() 228 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, unit)); in ipa_interrupt_suspend_clear_all() [all …]
|
H A D | ipa_main.c | 215 iowrite32(val, ipa->reg_virt + reg_offset(reg)); in ipa_hardware_config_bcr() 232 val = ioread32(ipa->reg_virt + offset); in ipa_hardware_config_tx() 236 iowrite32(val, ipa->reg_virt + offset); in ipa_hardware_config_tx() 262 iowrite32(val, ipa->reg_virt + reg_offset(reg)); in ipa_hardware_config_clkon() 279 val = ioread32(ipa->reg_virt + offset); in ipa_hardware_config_comp() 294 iowrite32(val, ipa->reg_virt + offset); in ipa_hardware_config_comp() 318 iowrite32(val, ipa->reg_virt + reg_offset(reg)); in ipa_hardware_config_qsb() 376 iowrite32(0, ipa->reg_virt + reg_offset(reg)); in ipa_qtime_config() 407 iowrite32(val, ipa->reg_virt + offset); in ipa_qtime_config() 412 iowrite32(val, ipa->reg_virt + offset); in ipa_qtime_config() [all …]
|
H A D | ipa_reg.c | 154 ipa->reg_virt = ioremap(res->start, resource_size(res)); in ipa_reg_init() 155 if (!ipa->reg_virt) { in ipa_reg_init() 166 iounmap(ipa->reg_virt); in ipa_reg_exit()
|
H A D | ipa_endpoint.c | 464 val = ioread32(ipa->reg_virt + offset); in ipa_endpoint_init_ctrl() 474 iowrite32(val, ipa->reg_virt + offset); in ipa_endpoint_init_ctrl() 502 val = ioread32(ipa->reg_virt + reg_n_offset(reg, unit)); in ipa_endpoint_aggr_active() 518 iowrite32(mask, ipa->reg_virt + reg_n_offset(reg, unit)); in ipa_endpoint_force_close() 677 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, endpoint_id)); in ipa_endpoint_init_cfg() 896 iowrite32(val, ipa->reg_virt + offset); in ipa_endpoint_init_hdr_metadata_mask() 922 iowrite32(val, ipa->reg_virt + offset); in ipa_endpoint_init_mode() 1135 iowrite32(val, ipa->reg_virt + offset); in ipa_endpoint_init_hol_block_en() 1139 iowrite32(val, ipa->reg_virt + offset); in ipa_endpoint_init_hol_block_en() 1649 iowrite32(val, ipa->reg_virt + reg_offset(reg)); in ipa_endpoint_default_route_set() [all …]
|
H A D | ipa_table.c | 505 val = ioread32(endpoint->ipa->reg_virt + offset); in ipa_filter_tuple_zero() 518 iowrite32(val, endpoint->ipa->reg_virt + offset); in ipa_filter_tuple_zero() 564 val = ioread32(ipa->reg_virt + offset); in ipa_route_tuple_zero() 577 iowrite32(val, ipa->reg_virt + offset); in ipa_route_tuple_zero()
|
H A D | ipa.h | 99 void __iomem *reg_virt; member
|
H A D | ipa_uc.c | 248 iowrite32(val, ipa->reg_virt + reg_offset(reg)); in send_uc_command()
|
H A D | ipa_resource.c | 86 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, resource_type)); in ipa_resource_config_common()
|
H A D | ipa_mem.c | 119 iowrite32(val, ipa->reg_virt + reg_offset(reg)); in ipa_mem_setup() 331 val = ioread32(ipa->reg_virt + reg_offset(reg)); in ipa_mem_config()
|