/openbmc/linux/drivers/net/ipa/ |
H A D | ipa.h | 79 struct ipa { struct 81 enum ipa_version version; argument 86 struct ipa_smp2p *smp2p; argument 87 struct ipa_power *power; argument 95 struct ipa_interrupt *interrupt; argument 107 const struct ipa_mem *mem; argument 129 struct ipa_endpoint endpoint[IPA_ENDPOINT_MAX]; argument 131 struct ipa_endpoint *name_map[IPA_ENDPOINT_COUNT]; argument 135 atomic_t modem_state; /* enum ipa_modem_state */ argument 137 struct ipa_qmi qmi; argument [all …]
|
H A D | ipa_main.c | 112 int ipa_setup(struct ipa *ipa) in ipa_setup() 184 static void ipa_teardown(struct ipa *ipa) in ipa_teardown() 218 static void ipa_hardware_config_tx(struct ipa *ipa) in ipa_hardware_config_tx() 266 static void ipa_hardware_config_comp(struct ipa *ipa) in ipa_hardware_config_comp() 368 static void ipa_qtime_config(struct ipa *ipa) in ipa_qtime_config() 457 static void ipa_idle_indication_cfg(struct ipa *ipa, in ipa_idle_indication_cfg() 484 static void ipa_hardware_dcd_config(struct ipa *ipa) in ipa_hardware_dcd_config() 519 static void ipa_hardware_deconfig(struct ipa *ipa) in ipa_hardware_deconfig() 586 static void ipa_deconfig(struct ipa *ipa) in ipa_deconfig() 807 struct ipa *ipa; in ipa_probe() local [all …]
|
H A D | ipa_table.c | 164 bool ipa_filtered_valid(struct ipa *ipa, u64 filtered) in ipa_filtered_valid() 268 static int ipa_filter_reset(struct ipa *ipa, bool modem) in ipa_filter_reset() 291 static int ipa_route_reset(struct ipa *ipa, bool modem) in ipa_route_reset() 328 void ipa_table_reset(struct ipa *ipa, bool modem) in ipa_table_reset() 348 int ipa_table_hash_flush(struct ipa *ipa) in ipa_table_hash_flush() 453 int ipa_table_setup(struct ipa *ipa) in ipa_table_setup() 496 struct ipa *ipa = endpoint->ipa; in ipa_filter_tuple_zero() local 594 void ipa_table_config(struct ipa *ipa) in ipa_table_config() 605 bool ipa_table_mem_valid(struct ipa *ipa, bool filter) in ipa_table_mem_valid() 714 int ipa_table_init(struct ipa *ipa) in ipa_table_init() [all …]
|
H A D | ipa_mem.c | 47 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_mem_zero_region_add() local 75 int ipa_mem_setup(struct ipa *ipa) in ipa_mem_setup() 125 static bool ipa_mem_id_valid(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_id_valid() 291 static bool ipa_mem_size_valid(struct ipa *ipa) in ipa_mem_size_valid() 318 int ipa_mem_config(struct ipa *ipa) in ipa_mem_config() 394 void ipa_mem_deconfig(struct ipa *ipa) in ipa_mem_deconfig() 414 int ipa_mem_zero_modem(struct ipa *ipa) in ipa_mem_zero_modem() 486 static void ipa_imem_exit(struct ipa *ipa) in ipa_imem_exit() 528 static int ipa_smem_init(struct ipa *ipa, u32 item, size_t size) in ipa_smem_init() 595 static void ipa_smem_exit(struct ipa *ipa) in ipa_smem_exit() [all …]
|
H A D | ipa_power.c | 115 static int ipa_power_enable(struct ipa *ipa) in ipa_power_enable() 135 static void ipa_power_disable(struct ipa *ipa) in ipa_power_disable() 146 struct ipa *ipa = dev_get_drvdata(dev); in ipa_runtime_suspend() local 162 struct ipa *ipa = dev_get_drvdata(dev); in ipa_runtime_resume() local 180 struct ipa *ipa = dev_get_drvdata(dev); in ipa_suspend() local 200 struct ipa *ipa = dev_get_drvdata(dev); in ipa_resume() local 217 u32 ipa_core_clock_rate(struct ipa *ipa) in ipa_core_clock_rate() 259 void ipa_power_modem_queue_stop(struct ipa *ipa) in ipa_power_modem_queue_stop() 279 void ipa_power_modem_queue_wake(struct ipa *ipa) in ipa_power_modem_queue_wake() 338 int ipa_power_setup(struct ipa *ipa) in ipa_power_setup() [all …]
|
H A D | ipa_modem.c | 45 struct ipa *ipa; member 53 struct ipa *ipa = priv->ipa; in ipa_open() local 89 struct ipa *ipa = priv->ipa; in ipa_stop() local 123 struct ipa *ipa = priv->ipa; in ipa_start_xmit() local 237 struct ipa *ipa = priv->ipa; in ipa_modem_suspend() local 272 struct ipa *ipa = priv->ipa; in ipa_modem_resume() local 284 int ipa_modem_start(struct ipa *ipa) in ipa_modem_start() 332 int ipa_modem_stop(struct ipa *ipa) in ipa_modem_stop() 371 static void ipa_modem_crashed(struct ipa *ipa) in ipa_modem_crashed() 452 int ipa_modem_config(struct ipa *ipa) in ipa_modem_config() [all …]
|
H A D | ipa_interrupt.c | 41 struct ipa *ipa; member 49 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_process() local 86 struct ipa *ipa = interrupt->ipa; in ipa_isr_thread() local 132 static void ipa_interrupt_enabled_update(struct ipa *ipa) in ipa_interrupt_enabled_update() 140 void ipa_interrupt_enable(struct ipa *ipa, enum ipa_irq_id ipa_irq) in ipa_interrupt_enable() 148 void ipa_interrupt_disable(struct ipa *ipa, enum ipa_irq_id ipa_irq) in ipa_interrupt_disable() 155 void ipa_interrupt_irq_disable(struct ipa *ipa) in ipa_interrupt_irq_disable() 160 void ipa_interrupt_irq_enable(struct ipa *ipa) in ipa_interrupt_irq_enable() 169 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_suspend_control() local 211 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_suspend_clear_all() local [all …]
|
H A D | ipa_endpoint.c | 449 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_ctrl() local 494 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_aggr_active() local 511 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_force_close() local 532 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_suspend_aggr() local 646 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_cfg() local 683 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_nat() local 785 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_hdr() local 830 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_hdr_ext() local 881 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_hdr_metadata_mask() local 901 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_mode() local [all …]
|
H A D | ipa_sysfs.c | 14 static const char *ipa_version_string(struct ipa *ipa) in ipa_version_string() 49 struct ipa *ipa = dev_get_drvdata(dev); in version_show() local 65 static const char *ipa_offload_string(struct ipa *ipa) in ipa_offload_string() 73 struct ipa *ipa = dev_get_drvdata(dev); in rx_offload_show() local 83 struct ipa *ipa = dev_get_drvdata(dev); in tx_offload_show() local 104 struct ipa *ipa = dev_get_drvdata(kobj_to_dev(kobj)); in ipa_endpoint_id_is_visible() local 121 struct ipa *ipa = dev_get_drvdata(dev); in endpoint_id_attr_show() local
|
H A D | ipa_uc.c | 118 static struct ipa_uc_mem_area *ipa_uc_shared(struct ipa *ipa) in ipa_uc_shared() 127 static void ipa_uc_event_handler(struct ipa *ipa) in ipa_uc_event_handler() 141 static void ipa_uc_response_hdlr(struct ipa *ipa) in ipa_uc_response_hdlr() 173 void ipa_uc_interrupt_handler(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_interrupt_handler() 183 void ipa_uc_config(struct ipa *ipa) in ipa_uc_config() 192 void ipa_uc_deconfig(struct ipa *ipa) in ipa_uc_deconfig() 209 void ipa_uc_power(struct ipa *ipa) in ipa_uc_power() 231 static void send_uc_command(struct ipa *ipa, u32 command, u32 command_param) in send_uc_command() 252 void ipa_uc_panic_notifier(struct ipa *ipa) in ipa_uc_panic_notifier()
|
H A D | ipa_qmi.c | 86 struct ipa *ipa = container_of(ipa_qmi, struct ipa, qmi); in ipa_server_init_complete() local 128 struct ipa *ipa; in ipa_qmi_ready() local 186 struct ipa *ipa; in ipa_server_indication_register() local 215 struct ipa *ipa; in ipa_server_driver_init_complete() local 286 struct ipa *ipa = container_of(ipa_qmi, struct ipa, qmi); in init_modem_driver_req() local 413 struct ipa *ipa; in ipa_client_init_driver_work() local 472 int ipa_qmi_setup(struct ipa *ipa) in ipa_qmi_setup() 528 void ipa_qmi_teardown(struct ipa *ipa) in ipa_qmi_teardown()
|
H A D | ipa_cmd.c | 205 static bool ipa_cmd_header_init_local_valid(struct ipa *ipa) in ipa_cmd_header_init_local_valid() 288 static bool ipa_cmd_register_write_valid(struct ipa *ipa) in ipa_cmd_register_write_valid() 348 ipa_cmd_payload_alloc(struct ipa *ipa, dma_addr_t *addr) in ipa_cmd_payload_alloc() 365 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_table_init_add() local 403 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_hdr_init_local_add() local 432 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_register_write_add() local 489 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_ip_packet_init_add() local 514 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_dma_shared_mem_add() local 554 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_ip_tag_status_add() local 616 void ipa_cmd_pipeline_clear_wait(struct ipa *ipa) in ipa_cmd_pipeline_clear_wait() [all …]
|
H A D | ipa_reg.c | 13 static bool ipa_reg_id_valid(struct ipa *ipa, enum ipa_reg_id reg_id) in ipa_reg_id_valid() 101 const struct reg *ipa_reg(struct ipa *ipa, enum ipa_reg_id reg_id) in ipa_reg() 133 int ipa_reg_init(struct ipa *ipa) in ipa_reg_init() 164 void ipa_reg_exit(struct ipa *ipa) in ipa_reg_exit()
|
H A D | ipa_resource.c | 29 static bool ipa_resource_limits_valid(struct ipa *ipa, in ipa_resource_limits_valid() 72 ipa_resource_config_common(struct ipa *ipa, u32 resource_type, in ipa_resource_config_common() 89 static void ipa_resource_config_src(struct ipa *ipa, u32 resource_type, in ipa_resource_config_src() 126 static void ipa_resource_config_dst(struct ipa *ipa, u32 resource_type, in ipa_resource_config_dst() 164 int ipa_resource_config(struct ipa *ipa, const struct ipa_resource_data *data) in ipa_resource_config()
|
H A D | ipa_gsi.c | 17 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_gsi_trans_complete() local 24 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_gsi_trans_release() local 32 struct ipa *ipa = container_of(gsi, struct ipa, gsi); in ipa_gsi_channel_tx_queued() local 43 struct ipa *ipa = container_of(gsi, struct ipa, gsi); in ipa_gsi_channel_tx_completed() local
|
H A D | ipa_smp2p.c | 61 struct ipa *ipa; member 209 static void ipa_smp2p_power_release(struct ipa *ipa) in ipa_smp2p_power_release() 222 int ipa_smp2p_init(struct ipa *ipa, bool modem_init) in ipa_smp2p_init() 297 void ipa_smp2p_exit(struct ipa *ipa) in ipa_smp2p_exit() 312 void ipa_smp2p_irq_disable_setup(struct ipa *ipa) in ipa_smp2p_irq_disable_setup() 330 void ipa_smp2p_notify_reset(struct ipa *ipa) in ipa_smp2p_notify_reset()
|
H A D | ipa_table.h | 26 static inline bool ipa_table_hash_support(struct ipa *ipa) in ipa_table_hash_support()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | tlb.c | 82 phys_addr_t ipa, int level) in __kvm_tlb_flush_vmid_ipa() 134 phys_addr_t ipa, int level) in __kvm_tlb_flush_vmid_ipa_nsh()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | pvtime.c | 80 u64 ipa; in kvm_arm_pvtime_set_attr() local 111 u64 ipa; in kvm_arm_pvtime_get_attr() local
|
/openbmc/linux/arch/arm64/kvm/hyp/vhe/ |
H A D | tlb.c | 83 phys_addr_t ipa, int level) in __kvm_tlb_flush_vmid_ipa() 115 phys_addr_t ipa, int level) in __kvm_tlb_flush_vmid_ipa_nsh()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | stage2_pgtable.h | 23 #define stage2_pgtable_levels(ipa) ARM64_HW_PGTABLE_LEVELS((ipa) - 4) argument
|
/openbmc/linux/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 460 #define insert(version, mem, ipa, ipb, ipc, ipd, cidr) \ argument 472 #define test(version, mem, ipa, ipb, ipc, ipd) do { \ argument 478 #define test_negative(version, mem, ipa, ipb, ipc, ipd) do { \ argument
|
/openbmc/qemu/target/arm/ |
H A D | kvm_arm.h | 271 static inline void kvm_arm_pvtime_init(ARMCPU *cpu, uint64_t ipa) in kvm_arm_pvtime_init()
|
/openbmc/linux/include/net/ |
H A D | vxlan.h | 450 static inline bool vxlan_addr_any(const union vxlan_addr *ipa) in vxlan_addr_any() 458 static inline bool vxlan_addr_multicast(const union vxlan_addr *ipa) in vxlan_addr_multicast() 468 static inline bool vxlan_addr_any(const union vxlan_addr *ipa) in vxlan_addr_any() 473 static inline bool vxlan_addr_multicast(const union vxlan_addr *ipa) in vxlan_addr_multicast()
|
/openbmc/qemu/hw/arm/ |
H A D | smmu-common.c | 260 void smmu_iotlb_inv_ipa(SMMUState *s, int vmid, dma_addr_t ipa, uint8_t tg, in smmu_iotlb_inv_ipa() 566 dma_addr_t ipa, IOMMUAccessFlags perm, in smmu_ptw_64_s2() 714 dma_addr_t ipa; in smmu_ptw() local
|