Searched refs:reg_n_offset (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/ipa/ |
H A D | gsi.c | 405 val = ioread32(gsi->virt + reg_n_offset(reg, evt_ring_id)); in gsi_evt_ring_state() 520 val = ioread32(virt + reg_n_offset(reg, channel_id)); in gsi_channel_state() 758 iowrite32(0, gsi->virt + reg_n_offset(reg, evt_ring_id)); in gsi_evt_ring_program() 761 iowrite32(0, gsi->virt + reg_n_offset(reg, evt_ring_id)); in gsi_evt_ring_program() 764 iowrite32(0, gsi->virt + reg_n_offset(reg, evt_ring_id)); in gsi_evt_ring_program() 768 iowrite32(0, gsi->virt + reg_n_offset(reg, evt_ring_id)); in gsi_evt_ring_program() 771 iowrite32(0, gsi->virt + reg_n_offset(reg, evt_ring_id)); in gsi_evt_ring_program() 846 iowrite32(val, gsi->virt + reg_n_offset(reg, channel_id)); in gsi_channel_program() 852 iowrite32(val, gsi->virt + reg_n_offset(reg, channel_id)); in gsi_channel_program() 918 offset = reg_n_offset(reg, channel_id); in gsi_channel_program() [all …]
|
H A D | ipa_endpoint.c | 463 offset = reg_n_offset(reg, endpoint->endpoint_id); 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() 625 offset = reg_n_offset(reg, endpoint_id); in ipa_endpoint_modem_exception_reset_all() 677 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, endpoint_id)); in ipa_endpoint_init_cfg() 693 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, endpoint_id)); in ipa_endpoint_init_nat() 823 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, endpoint_id)); in ipa_endpoint_init_hdr() 875 iowrite32(val, ipa->reg_virt + reg_n_offset(reg, endpoint_id)); in ipa_endpoint_init_hdr_ext() 890 offset = reg_n_offset(reg, endpoint_id); in ipa_endpoint_init_hdr_metadata_mask() 921 offset = reg_n_offset(reg, endpoint->endpoint_id); in ipa_endpoint_init_mode() [all …]
|
H A D | ipa_interrupt.c | 183 offset = reg_n_offset(reg, unit); 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()
|
H A D | ipa_table.c | 504 offset = reg_n_offset(reg, endpoint_id); in ipa_filter_tuple_zero() 512 offset = reg_n_offset(reg, endpoint_id); in ipa_filter_tuple_zero() 562 offset = reg_n_offset(reg, route_id); in ipa_route_tuple_zero() 571 offset = reg_n_offset(reg, route_id); in ipa_route_tuple_zero()
|
H A D | reg.h | 129 static inline u32 reg_n_offset(const struct reg *reg, u32 n) in reg_n_offset() function
|
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_cmd.c | 317 offset = reg_n_offset(reg, IPA_ENDPOINT_COUNT - 1); in ipa_cmd_register_write_valid()
|