Home
last modified time | relevance | path

Searched refs:ipa (Results 1 – 25 of 95) sorted by relevance

1234

/linux/drivers/net/ipa/
A Dipa_main.c95 int ipa_setup(struct ipa *ipa) in ipa_setup() argument
167 static void ipa_teardown(struct ipa *ipa) in ipa_teardown() argument
187 static void ipa_hardware_config_comp(struct ipa *ipa) in ipa_hardware_config_comp() argument
279 static void ipa_qtime_config(struct ipa *ipa) in ipa_qtime_config() argument
309 static void ipa_idle_indication_cfg(struct ipa *ipa, in ipa_idle_indication_cfg() argument
410 static void ipa_hardware_deconfig(struct ipa *ipa) in ipa_hardware_deconfig() argument
433 ipa->interrupt = ipa_interrupt_config(ipa); in ipa_config()
477 static void ipa_deconfig(struct ipa *ipa) in ipa_deconfig() argument
669 struct ipa *ipa; in ipa_probe() local
700 ipa = kzalloc(sizeof(*ipa), GFP_KERNEL); in ipa_probe()
[all …]
A Dipa_mem.c47 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() argument
281 static bool ipa_mem_size_valid(struct ipa *ipa) in ipa_mem_size_valid() argument
308 int ipa_mem_config(struct ipa *ipa) in ipa_mem_config() argument
359 canary = ipa->mem_virt + ipa->mem_offset + ipa->mem[i].offset; in ipa_mem_config()
389 void ipa_mem_deconfig(struct ipa *ipa) in ipa_mem_deconfig() argument
393 dma_free_coherent(dev, ipa->zero_size, ipa->zero_virt, ipa->zero_addr); in ipa_mem_deconfig()
409 int ipa_mem_zero_modem(struct ipa *ipa) in ipa_mem_zero_modem() argument
480 static void ipa_imem_exit(struct ipa *ipa) in ipa_imem_exit() argument
588 static void ipa_smem_exit(struct ipa *ipa) in ipa_smem_exit() argument
[all …]
A Dipa_modem.c43 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() argument
301 priv->ipa = ipa; in ipa_modem_start()
325 int ipa_modem_stop(struct ipa *ipa) in ipa_modem_stop() argument
411 struct ipa *ipa = container_of(nb, struct ipa, nb); in ipa_modem_notify() local
[all …]
A Dipa_table.c180 bool ipa_table_valid(struct ipa *ipa) in ipa_table_valid() argument
245 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_table_reset_add() local
308 static int ipa_filter_reset(struct ipa *ipa, bool modem) in ipa_filter_reset() argument
332 static int ipa_route_reset(struct ipa *ipa, bool modem) in ipa_route_reset() argument
367 void ipa_table_reset(struct ipa *ipa, bool modem) in ipa_table_reset() argument
387 int ipa_table_hash_flush(struct ipa *ipa) in ipa_table_hash_flush() argument
417 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_table_init_add() local
450 int ipa_table_setup(struct ipa *ipa) in ipa_table_setup() argument
561 void ipa_table_config(struct ipa *ipa) in ipa_table_config() argument
607 int ipa_table_init(struct ipa *ipa) in ipa_table_init() argument
[all …]
A Dipa_power.c213 static int ipa_power_enable(struct ipa *ipa) in ipa_power_enable() argument
231 static int ipa_power_disable(struct ipa *ipa) in ipa_power_disable() argument
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() argument
344 void ipa_power_modem_queue_stop(struct ipa *ipa) in ipa_power_modem_queue_stop() argument
364 void ipa_power_modem_queue_wake(struct ipa *ipa) in ipa_power_modem_queue_wake() argument
385 int ipa_power_setup(struct ipa *ipa) in ipa_power_setup() argument
[all …]
A Dipa_endpoint.c246 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
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
852 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_hol_block_timer() local
912 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_init_rsrc_grp() local
983 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_status() local
1219 struct ipa *ipa = endpoint->ipa; in ipa_endpoint_status_tag() local
[all …]
A Dipa_uc.c117 static struct ipa_uc_mem_area *ipa_uc_shared(struct ipa *ipa) in ipa_uc_shared() argument
126 static void ipa_uc_event_handler(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_event_handler() argument
140 static void ipa_uc_response_hdlr(struct ipa *ipa, enum ipa_irq_id irq_id) in ipa_uc_response_hdlr() argument
172 void ipa_uc_config(struct ipa *ipa) in ipa_uc_config() argument
181 void ipa_uc_deconfig(struct ipa *ipa) in ipa_uc_deconfig() argument
187 if (!ipa->uc_powered) in ipa_uc_deconfig()
195 void ipa_uc_power(struct ipa *ipa) in ipa_uc_power() argument
206 dev = &ipa->pdev->dev; in ipa_uc_power()
217 static void send_uc_command(struct ipa *ipa, u32 command, u32 command_param) in send_uc_command() argument
237 void ipa_uc_panic_notifier(struct ipa *ipa) in ipa_uc_panic_notifier() argument
[all …]
A Dipa_interrupt.c39 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
89 dev = &ipa->pdev->dev; in ipa_isr_thread()
129 struct ipa *ipa = interrupt->ipa; in ipa_interrupt_suspend_control() local
134 WARN_ON(!(mask & ipa->available)); in ipa_interrupt_suspend_control()
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() argument
[all …]
A Dipa_endpoint.h19 struct ipa;
61 struct ipa *ipa; member
96 void ipa_endpoint_suspend(struct ipa *ipa);
97 void ipa_endpoint_resume(struct ipa *ipa);
99 void ipa_endpoint_setup(struct ipa *ipa);
100 void ipa_endpoint_teardown(struct ipa *ipa);
102 int ipa_endpoint_config(struct ipa *ipa);
103 void ipa_endpoint_deconfig(struct ipa *ipa);
106 void ipa_endpoint_default_route_clear(struct ipa *ipa);
108 u32 ipa_endpoint_init(struct ipa *ipa, u32 count,
[all …]
A Dipa_qmi.c86 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
148 ipa = container_of(ipa_qmi, struct ipa, qmi); in ipa_qmi_ready()
186 struct ipa *ipa; in ipa_server_indication_register() local
190 ipa = container_of(ipa_qmi, struct ipa, qmi); in ipa_server_indication_register()
215 struct ipa *ipa; in ipa_server_driver_init_complete() local
219 ipa = container_of(ipa_qmi, struct ipa, qmi); in ipa_server_driver_init_complete()
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() argument
[all …]
A Dipa_cmd.c215 static bool ipa_cmd_header_valid(struct ipa *ipa) in ipa_cmd_header_valid() argument
337 bool ipa_cmd_data_valid(struct ipa *ipa) in ipa_cmd_data_valid() argument
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
552 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_dma_shared_mem_add() local
595 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_ip_tag_status_add() local
614 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_transfer_add() local
630 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_cmd_pipeline_clear_add() local
[all …]
A Dipa_table.h11 struct ipa;
25 bool ipa_table_valid(struct ipa *ipa);
34 bool ipa_filter_map_valid(struct ipa *ipa, u32 filter_mask);
40 static inline bool ipa_table_hash_support(struct ipa *ipa) in ipa_table_hash_support() argument
42 return ipa->version != IPA_VERSION_4_2; in ipa_table_hash_support()
50 void ipa_table_reset(struct ipa *ipa, bool modem);
56 int ipa_table_hash_flush(struct ipa *ipa);
64 int ipa_table_setup(struct ipa *ipa);
72 void ipa_table_config(struct ipa *ipa);
78 int ipa_table_init(struct ipa *ipa);
[all …]
A Dipa_sysfs.c14 static const char *ipa_version_string(struct ipa *ipa) in ipa_version_string() argument
16 switch (ipa->version) { 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() argument
65 return ipa->version < IPA_VERSION_4_5 ? "MAPv4" : "MAPv5"; 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() argument
102 u32 endpoint_id = ipa->name_map[name]->endpoint_id; in ipa_endpoint_id_show()
110 struct ipa *ipa = dev_get_drvdata(dev); in rx_endpoint_id_show() local
[all …]
A Dipa_smp2p.c61 struct ipa *ipa; member
209 static void ipa_smp2p_power_release(struct ipa *ipa) in ipa_smp2p_power_release() argument
213 if (!ipa->smp2p->power_on) in ipa_smp2p_power_release()
222 int ipa_smp2p_init(struct ipa *ipa, bool modem_init) in ipa_smp2p_init() argument
250 smp2p->ipa = ipa; in ipa_smp2p_init()
262 ipa->smp2p = smp2p; in ipa_smp2p_init()
290 ipa->smp2p = NULL; in ipa_smp2p_init()
297 void ipa_smp2p_exit(struct ipa *ipa) in ipa_smp2p_exit() argument
307 ipa->smp2p = NULL; in ipa_smp2p_exit()
312 void ipa_smp2p_irq_disable_setup(struct ipa *ipa) in ipa_smp2p_irq_disable_setup() argument
[all …]
A Dipa_mem.h9 struct ipa;
92 const struct ipa_mem *ipa_mem_find(struct ipa *ipa, enum ipa_mem_id mem_id);
94 int ipa_mem_config(struct ipa *ipa);
95 void ipa_mem_deconfig(struct ipa *ipa);
97 int ipa_mem_setup(struct ipa *ipa); /* No ipa_mem_teardown() needed */
99 int ipa_mem_zero_modem(struct ipa *ipa);
101 int ipa_mem_init(struct ipa *ipa, const struct ipa_mem_data *mem_data);
102 void ipa_mem_exit(struct ipa *ipa);
A Dipa_gsi.c17 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_gsi_trans_complete() local
19 ipa_endpoint_trans_complete(ipa->channel_map[trans->channel_id], trans); in ipa_gsi_trans_complete()
24 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_gsi_trans_release() local
26 ipa_endpoint_trans_release(ipa->channel_map[trans->channel_id], trans); in ipa_gsi_trans_release()
32 struct ipa *ipa = container_of(gsi, struct ipa, gsi); in ipa_gsi_channel_tx_queued() local
35 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_queued()
43 struct ipa *ipa = container_of(gsi, struct ipa, gsi); in ipa_gsi_channel_tx_completed() local
46 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_completed()
A Dipa_modem.h9 struct ipa;
13 int ipa_modem_start(struct ipa *ipa);
14 int ipa_modem_stop(struct ipa *ipa);
21 int ipa_modem_init(struct ipa *ipa, bool modem_init);
22 void ipa_modem_exit(struct ipa *ipa);
24 int ipa_modem_config(struct ipa *ipa);
25 void ipa_modem_deconfig(struct ipa *ipa);
A Dipa_power.h11 struct ipa;
23 u32 ipa_core_clock_rate(struct ipa *ipa);
29 void ipa_power_modem_queue_stop(struct ipa *ipa);
35 void ipa_power_modem_queue_wake(struct ipa *ipa);
41 void ipa_power_modem_queue_active(struct ipa *ipa);
49 int ipa_power_setup(struct ipa *ipa);
55 void ipa_power_teardown(struct ipa *ipa);
A Dipa_resource.c29 static bool ipa_resource_limits_valid(struct ipa *ipa, in ipa_resource_limits_valid() argument
72 ipa_resource_config_common(struct ipa *ipa, u32 offset, in ipa_resource_config_common() argument
85 iowrite32(val, ipa->reg_virt + offset); in ipa_resource_config_common()
88 static void ipa_resource_config_src(struct ipa *ipa, u32 resource_type, in ipa_resource_config_src() argument
100 ipa_resource_config_common(ipa, offset, &resource->limits[0], ylimits); in ipa_resource_config_src()
107 ipa_resource_config_common(ipa, offset, &resource->limits[2], ylimits); in ipa_resource_config_src()
124 static void ipa_resource_config_dst(struct ipa *ipa, u32 resource_type, in ipa_resource_config_dst() argument
161 int ipa_resource_config(struct ipa *ipa, const struct ipa_resource_data *data) in ipa_resource_config() argument
165 if (!ipa_resource_limits_valid(ipa, data)) in ipa_resource_config()
169 ipa_resource_config_src(ipa, i, data); in ipa_resource_config()
[all …]
A Dipa_reg.c12 int ipa_reg_init(struct ipa *ipa) in ipa_reg_init() argument
14 struct device *dev = &ipa->pdev->dev; in ipa_reg_init()
18 res = platform_get_resource_byname(ipa->pdev, IORESOURCE_MEM, in ipa_reg_init()
25 ipa->reg_virt = ioremap(res->start, resource_size(res)); in ipa_reg_init()
26 if (!ipa->reg_virt) { in ipa_reg_init()
30 ipa->reg_addr = res->start; in ipa_reg_init()
35 void ipa_reg_exit(struct ipa *ipa) in ipa_reg_exit() argument
37 iounmap(ipa->reg_virt); in ipa_reg_exit()
A Dipa_uc.h9 struct ipa;
15 void ipa_uc_config(struct ipa *ipa);
21 void ipa_uc_deconfig(struct ipa *ipa);
35 void ipa_uc_power(struct ipa *ipa);
44 void ipa_uc_panic_notifier(struct ipa *ipa);
A Dipa_smp2p.h11 struct ipa;
21 int ipa_smp2p_init(struct ipa *ipa, bool modem_init);
27 void ipa_smp2p_exit(struct ipa *ipa);
35 void ipa_smp2p_irq_disable_setup(struct ipa *ipa);
45 void ipa_smp2p_notify_reset(struct ipa *ipa);
A Dipa_cmd.h15 struct ipa;
68 bool ipa_cmd_table_valid(struct ipa *ipa, const struct ipa_mem *mem,
77 bool ipa_cmd_data_valid(struct ipa *ipa);
164 void ipa_cmd_pipeline_clear_wait(struct ipa *ipa);
174 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count);
/linux/Documentation/devicetree/bindings/net/
A Dqcom,ipa.yaml47 - qcom,msm8998-ipa
48 - qcom,sc7180-ipa
49 - qcom,sc7280-ipa
50 - qcom,sdm845-ipa
51 - qcom,sdx55-ipa
52 - qcom,sm8350-ipa
62 - const: ipa-reg
63 - const: ipa-shared
85 - const: ipa
87 - const: ipa-clock-query
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-devices-platform-soc-ipa1 What: /sys/devices/platform/soc@X/XXXXXXX.ipa/
6 The /sys/devices/platform/soc@X/XXXXXXX.ipa/ directory
9 "soc@0/1e40000.ipa".
11 What: .../XXXXXXX.ipa/version
20 What: .../XXXXXXX.ipa/feature/
29 What: .../XXXXXXX.ipa/feature/rx_offload
34 The .../XXXXXXX.ipa/feature/rx_offload file contains a
39 What: .../XXXXXXX.ipa/feature/tx_offload
49 What: .../XXXXXXX.ipa/modem/
58 What: .../XXXXXXX.ipa/modem/rx_endpoint_id
[all …]

Completed in 48 milliseconds

1234