/Linux-v5.15/drivers/net/ipa/ |
D | ipa.h | 73 struct ipa { struct 75 enum ipa_version version; argument 80 struct ipa_smp2p *smp2p; argument 81 struct ipa_power *power; argument 86 struct ipa_interrupt *interrupt; argument 98 const struct ipa_mem *mem; argument 117 struct ipa_endpoint endpoint[IPA_ENDPOINT_MAX]; argument 118 struct ipa_endpoint *channel_map[GSI_CHANNEL_COUNT_MAX]; argument 119 struct ipa_endpoint *name_map[IPA_ENDPOINT_COUNT]; argument 123 atomic_t modem_state; /* enum ipa_modem_state */ argument [all …]
|
D | ipa_mem.c | 29 const struct ipa_mem *ipa_mem_find(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_find() 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() 122 static bool ipa_mem_id_valid(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_id_valid() 177 static bool ipa_mem_id_required(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_id_required() 206 static bool ipa_mem_valid_one(struct ipa *ipa, const struct ipa_mem *mem) in ipa_mem_valid_one() 242 static bool ipa_mem_valid(struct ipa *ipa, const struct ipa_mem_data *mem_data) in ipa_mem_valid() 281 static bool ipa_mem_size_valid(struct ipa *ipa) in ipa_mem_size_valid() 308 int ipa_mem_config(struct ipa *ipa) in ipa_mem_config() 389 void ipa_mem_deconfig(struct ipa *ipa) in ipa_mem_deconfig() [all …]
|
D | ipa_table.c | 151 ipa_table_valid_one(struct ipa *ipa, enum ipa_mem_id mem_id, bool route) in ipa_table_valid_one() 180 bool ipa_table_valid(struct ipa *ipa) in ipa_table_valid() 204 bool ipa_filter_map_valid(struct ipa *ipa, u32 filter_map) in ipa_filter_map_valid() 227 static dma_addr_t ipa_table_addr(struct ipa *ipa, bool filter_mask, u16 count) in ipa_table_addr() 245 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_table_reset_add() local 270 ipa_filter_reset_table(struct ipa *ipa, enum ipa_mem_id mem_id, bool modem) in ipa_filter_reset_table() 308 static int ipa_filter_reset(struct ipa *ipa, bool modem) in ipa_filter_reset() 332 static int ipa_route_reset(struct ipa *ipa, bool modem) in ipa_route_reset() 367 void ipa_table_reset(struct ipa *ipa, bool modem) in ipa_table_reset() 387 int ipa_table_hash_flush(struct ipa *ipa) in ipa_table_hash_flush() [all …]
|
D | ipa_modem.c | 43 struct ipa *ipa; member 51 struct ipa *ipa = priv->ipa; in ipa_open() local 87 struct ipa *ipa = priv->ipa; in ipa_stop() local 121 struct ipa *ipa = priv->ipa; in ipa_start_xmit() local 230 struct ipa *ipa = priv->ipa; in ipa_modem_suspend() local 265 struct ipa *ipa = priv->ipa; in ipa_modem_resume() local 277 int ipa_modem_start(struct ipa *ipa) in ipa_modem_start() 325 int ipa_modem_stop(struct ipa *ipa) in ipa_modem_stop() 367 static void ipa_modem_crashed(struct ipa *ipa) in ipa_modem_crashed() 411 struct ipa *ipa = container_of(nb, struct ipa, nb); in ipa_modem_notify() local [all …]
|
D | ipa_main.c | 94 int ipa_setup(struct ipa *ipa) in ipa_setup() 166 static void ipa_teardown(struct ipa *ipa) in ipa_teardown() 186 static void ipa_hardware_config_comp(struct ipa *ipa) in ipa_hardware_config_comp() 214 ipa_hardware_config_qsb(struct ipa *ipa, const struct ipa_data *data) in ipa_hardware_config_qsb() 278 static void ipa_qtime_config(struct ipa *ipa) in ipa_qtime_config() 308 static void ipa_idle_indication_cfg(struct ipa *ipa, in ipa_idle_indication_cfg() 332 static void ipa_hardware_dcd_config(struct ipa *ipa) in ipa_hardware_dcd_config() 338 static void ipa_hardware_dcd_deconfig(struct ipa *ipa) in ipa_hardware_dcd_deconfig() 349 static void ipa_hardware_config(struct ipa *ipa, const struct ipa_data *data) in ipa_hardware_config() 409 static void ipa_hardware_deconfig(struct ipa *ipa) in ipa_hardware_deconfig() [all …]
|
D | ipa_power.c | 155 static int ipa_interconnect_enable(struct ipa *ipa) in ipa_interconnect_enable() 186 static int ipa_interconnect_disable(struct ipa *ipa) in ipa_interconnect_disable() 213 static int ipa_power_enable(struct ipa *ipa) in ipa_power_enable() 231 static int ipa_power_disable(struct ipa *ipa) in ipa_power_disable() 240 struct ipa *ipa = dev_get_drvdata(dev); in ipa_runtime_suspend() local 254 struct ipa *ipa = dev_get_drvdata(dev); in ipa_runtime_resume() local 272 struct ipa *ipa = dev_get_drvdata(dev); in ipa_suspend() local 281 struct ipa *ipa = dev_get_drvdata(dev); in ipa_resume() local 292 u32 ipa_core_clock_rate(struct ipa *ipa) in ipa_core_clock_rate() 307 static void ipa_suspend_handler(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_suspend_handler() [all …]
|
D | ipa_sysfs.c | 14 static const char *ipa_version_string(struct ipa *ipa) in ipa_version_string() 47 struct ipa *ipa = dev_get_drvdata(dev); in version_show() local 63 static const char *ipa_offload_string(struct ipa *ipa) in ipa_offload_string() 71 struct ipa *ipa = dev_get_drvdata(dev); in rx_offload_show() local 81 struct ipa *ipa = dev_get_drvdata(dev); in tx_offload_show() local 100 ipa_endpoint_id_show(struct ipa *ipa, char *buf, enum ipa_endpoint_name name) in ipa_endpoint_id_show() 110 struct ipa *ipa = dev_get_drvdata(dev); in rx_endpoint_id_show() local 120 struct ipa *ipa = dev_get_drvdata(dev); in tx_endpoint_id_show() local
|
D | ipa_endpoint.c | 78 static bool ipa_endpoint_data_valid_one(struct ipa *ipa, u32 count, in ipa_endpoint_data_valid_one() 167 static bool ipa_endpoint_data_valid(struct ipa *ipa, u32 count, in ipa_endpoint_data_valid() 246 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_ctrl() local 287 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_aggr_active() local 302 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_force_close() local 320 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_suspend_aggr() local 359 void ipa_endpoint_modem_pause_all(struct ipa *ipa, bool enable) in ipa_endpoint_modem_pause_all() 382 int ipa_endpoint_modem_exception_reset_all(struct ipa *ipa) in ipa_endpoint_modem_exception_reset_all() 527 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_hdr() local 570 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_hdr_ext() local [all …]
|
D | ipa_interrupt.c | 39 struct ipa *ipa; member 55 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_process() local 81 struct ipa *ipa = interrupt->ipa; in ipa_isr_thread() local 129 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_suspend_control() local 166 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_suspend_clear_all() local 191 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_add() local 208 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_remove() local 222 struct ipa_interrupt *ipa_interrupt_config(struct ipa *ipa) in ipa_interrupt_config()
|
D | ipa_cmd.c | 175 bool ipa_cmd_table_valid(struct ipa *ipa, const struct ipa_mem *mem, bool route) in ipa_cmd_table_valid() 215 static bool ipa_cmd_header_valid(struct ipa *ipa) in ipa_cmd_header_valid() 274 static bool ipa_cmd_register_write_offset_valid(struct ipa *ipa, in ipa_cmd_register_write_offset_valid() 307 static bool ipa_cmd_register_write_valid(struct ipa *ipa) in ipa_cmd_register_write_valid() 337 bool ipa_cmd_data_valid(struct ipa *ipa) in ipa_cmd_data_valid() 388 ipa_cmd_payload_alloc(struct ipa *ipa, dma_addr_t *addr) in ipa_cmd_payload_alloc() 405 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_table_init_add() local 444 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_hdr_init_local_add() local 474 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_register_write_add() local 531 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_ip_packet_init_add() local [all …]
|
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 = container_of(ipa_qmi, struct ipa, qmi); 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 412 struct ipa *ipa; in ipa_client_init_driver_work() local 471 int ipa_qmi_setup(struct ipa *ipa) in ipa_qmi_setup() 527 void ipa_qmi_teardown(struct ipa *ipa) in ipa_qmi_teardown()
|
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 offset, in ipa_resource_config_common() 88 static void ipa_resource_config_src(struct ipa *ipa, u32 resource_type, in ipa_resource_config_src() 124 static void ipa_resource_config_dst(struct ipa *ipa, u32 resource_type, in ipa_resource_config_dst() 161 int ipa_resource_config(struct ipa *ipa, const struct ipa_resource_data *data) in ipa_resource_config()
|
D | ipa_uc.c | 117 static struct ipa_uc_mem_area *ipa_uc_shared(struct ipa *ipa) in ipa_uc_shared() 126 static void ipa_uc_event_handler(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_event_handler() 140 static void ipa_uc_response_hdlr(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_response_hdlr() 172 void ipa_uc_config(struct ipa *ipa) in ipa_uc_config() 181 void ipa_uc_deconfig(struct ipa *ipa) in ipa_uc_deconfig() 195 void ipa_uc_power(struct ipa *ipa) in ipa_uc_power() 217 static void send_uc_command(struct ipa *ipa, u32 command, u32 command_param) in send_uc_command() 237 void ipa_uc_panic_notifier(struct ipa *ipa) in ipa_uc_panic_notifier()
|
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
|
D | ipa_smp2p.c | 61 struct ipa *ipa; member 213 static void ipa_smp2p_power_release(struct ipa *ipa) in ipa_smp2p_power_release() 226 int ipa_smp2p_init(struct ipa *ipa, bool modem_init) in ipa_smp2p_init() 301 void ipa_smp2p_exit(struct ipa *ipa) in ipa_smp2p_exit() 316 void ipa_smp2p_disable(struct ipa *ipa) in ipa_smp2p_disable() 331 void ipa_smp2p_notify_reset(struct ipa *ipa) in ipa_smp2p_notify_reset()
|
D | ipa_reg.c | 12 int ipa_reg_init(struct ipa *ipa) in ipa_reg_init() 35 void ipa_reg_exit(struct ipa *ipa) in ipa_reg_exit()
|
D | ipa_table.h | 40 static inline bool ipa_table_hash_support(struct ipa *ipa) in ipa_table_hash_support()
|
D | ipa_endpoint.h | 61 struct ipa *ipa; member
|
/Linux-v5.15/arch/arm64/kvm/ |
D | pvtime.c | 80 u64 ipa; in kvm_arm_pvtime_set_attr() local 111 u64 ipa; in kvm_arm_pvtime_get_attr() local
|
/Linux-v5.15/drivers/net/wireguard/selftest/ |
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
|
/Linux-v5.15/arch/arm64/include/asm/ |
D | stage2_pgtable.h | 30 #define stage2_pgtable_levels(ipa) ARM64_HW_PGTABLE_LEVELS((ipa) - 4) argument
|
/Linux-v5.15/arch/arm64/kvm/hyp/nvhe/ |
D | tlb.c | 59 phys_addr_t ipa, int level) in __kvm_tlb_flush_vmid_ipa()
|
/Linux-v5.15/arch/arm64/kvm/hyp/vhe/ |
D | tlb.c | 83 phys_addr_t ipa, int level) in __kvm_tlb_flush_vmid_ipa()
|
/Linux-v5.15/include/net/ |
D | vxlan.h | 386 static inline bool vxlan_addr_any(const union vxlan_addr *ipa) in vxlan_addr_any() 394 static inline bool vxlan_addr_multicast(const union vxlan_addr *ipa) in vxlan_addr_multicast() 404 static inline bool vxlan_addr_any(const union vxlan_addr *ipa) in vxlan_addr_any() 409 static inline bool vxlan_addr_multicast(const union vxlan_addr *ipa) in vxlan_addr_multicast()
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | qcom-sdx55.dtsi | 313 ipa: ipa@1e40000 { label
|