Home
last modified time | relevance | path

Searched refs:smp2p (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ipa/
H A Dipa_smp2p.c76 * @smp2p: SMP2P information
84 static void ipa_smp2p_notify(struct ipa_smp2p *smp2p) in ipa_smp2p_notify() argument
89 if (smp2p->notified) in ipa_smp2p_notify()
92 smp2p->clock_on = ipa_clock_get_additional(smp2p->ipa); in ipa_smp2p_notify()
95 mask = BIT(smp2p->enabled_bit); in ipa_smp2p_notify()
96 value = smp2p->clock_on ? mask : 0; in ipa_smp2p_notify()
97 qcom_smem_state_update_bits(smp2p->enabled_state, mask, value); in ipa_smp2p_notify()
100 mask = BIT(smp2p->valid_bit); in ipa_smp2p_notify()
102 qcom_smem_state_update_bits(smp2p in ipa_smp2p_notify()
110 struct ipa_smp2p *smp2p = dev_id; ipa_smp2p_modem_clk_query_isr() local
120 struct ipa_smp2p *smp2p; ipa_smp2p_panic_notifier() local
132 ipa_smp2p_panic_notifier_register(struct ipa_smp2p *smp2p) ipa_smp2p_panic_notifier_register() argument
142 ipa_smp2p_panic_notifier_unregister(struct ipa_smp2p *smp2p) ipa_smp2p_panic_notifier_unregister() argument
151 struct ipa_smp2p *smp2p = dev_id; ipa_smp2p_modem_setup_ready_isr() local
171 ipa_smp2p_irq_init(struct ipa_smp2p *smp2p, const char *name, irq_handler_t handler) ipa_smp2p_irq_init() argument
195 ipa_smp2p_irq_exit(struct ipa_smp2p *smp2p, u32 irq) ipa_smp2p_irq_exit() argument
216 struct ipa_smp2p *smp2p; ipa_smp2p_init() local
288 struct ipa_smp2p *smp2p = ipa->smp2p; ipa_smp2p_exit() local
303 struct ipa_smp2p *smp2p = ipa->smp2p; ipa_smp2p_disable() local
318 struct ipa_smp2p *smp2p = ipa->smp2p; ipa_smp2p_notify_reset() local
[all...]
H A Dipa.h47 * @smp2p: SMP2P information
90 struct ipa_smp2p *smp2p; member
/kernel/linux/linux-6.6/drivers/net/ipa/
H A Dipa_smp2p.c77 * @smp2p: SMP2P information
85 static void ipa_smp2p_notify(struct ipa_smp2p *smp2p) in ipa_smp2p_notify() argument
91 if (smp2p->notified) in ipa_smp2p_notify()
94 dev = &smp2p->ipa->pdev->dev; in ipa_smp2p_notify()
95 smp2p->power_on = pm_runtime_get_if_active(dev, true) > 0; in ipa_smp2p_notify()
98 mask = BIT(smp2p->enabled_bit); in ipa_smp2p_notify()
99 value = smp2p->power_on ? mask : 0; in ipa_smp2p_notify()
100 qcom_smem_state_update_bits(smp2p->enabled_state, mask, value); in ipa_smp2p_notify()
103 mask = BIT(smp2p->valid_bit); in ipa_smp2p_notify()
105 qcom_smem_state_update_bits(smp2p in ipa_smp2p_notify()
113 struct ipa_smp2p *smp2p = dev_id; ipa_smp2p_modem_clk_query_isr() local
123 struct ipa_smp2p *smp2p; ipa_smp2p_panic_notifier() local
135 ipa_smp2p_panic_notifier_register(struct ipa_smp2p *smp2p) ipa_smp2p_panic_notifier_register() argument
145 ipa_smp2p_panic_notifier_unregister(struct ipa_smp2p *smp2p) ipa_smp2p_panic_notifier_unregister() argument
154 struct ipa_smp2p *smp2p = dev_id; ipa_smp2p_modem_setup_ready_isr() local
182 ipa_smp2p_irq_init(struct ipa_smp2p *smp2p, const char *name, irq_handler_t handler) ipa_smp2p_irq_init() argument
203 ipa_smp2p_irq_exit(struct ipa_smp2p *smp2p, u32 irq) ipa_smp2p_irq_exit() argument
227 struct ipa_smp2p *smp2p; ipa_smp2p_init() local
299 struct ipa_smp2p *smp2p = ipa->smp2p; ipa_smp2p_exit() local
314 struct ipa_smp2p *smp2p = ipa->smp2p; ipa_smp2p_irq_disable_setup() local
332 struct ipa_smp2p *smp2p = ipa->smp2p; ipa_smp2p_notify_reset() local
[all...]
H A Dipa.h38 * @smp2p: SMP2P information
86 struct ipa_smp2p *smp2p; member
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dsmp2p.c83 * @smp2p: reference to the device driver context
96 struct qcom_smp2p *smp2p; member
163 static void qcom_smp2p_kick(struct qcom_smp2p *smp2p) in qcom_smp2p_kick() argument
168 if (smp2p->mbox_chan) { in qcom_smp2p_kick()
169 mbox_send_message(smp2p->mbox_chan, NULL); in qcom_smp2p_kick()
170 mbox_client_txdone(smp2p->mbox_chan, 0); in qcom_smp2p_kick()
172 regmap_write(smp2p->ipc_regmap, smp2p->ipc_offset, BIT(smp2p->ipc_bit)); in qcom_smp2p_kick()
176 static bool qcom_smp2p_check_ssr(struct qcom_smp2p *smp2p) in qcom_smp2p_check_ssr() argument
189 qcom_smp2p_do_ssr_ack(struct qcom_smp2p *smp2p) qcom_smp2p_do_ssr_ack() argument
204 qcom_smp2p_negotiate(struct qcom_smp2p *smp2p) qcom_smp2p_negotiate() argument
219 qcom_smp2p_notify_in(struct qcom_smp2p *smp2p) qcom_smp2p_notify_in() argument
282 struct qcom_smp2p *smp2p = data; qcom_smp2p_intr() local
380 qcom_smp2p_inbound_entry(struct qcom_smp2p *smp2p, struct smp2p_entry *entry, struct device_node *node) qcom_smp2p_inbound_entry() argument
417 qcom_smp2p_outbound_entry(struct qcom_smp2p *smp2p, struct smp2p_entry *entry, struct device_node *node) qcom_smp2p_outbound_entry() argument
442 qcom_smp2p_alloc_outbound_item(struct qcom_smp2p *smp2p) qcom_smp2p_alloc_outbound_item() argument
485 smp2p_parse_ipc(struct qcom_smp2p *smp2p) smp2p_parse_ipc() argument
523 struct qcom_smp2p *smp2p; qcom_smp2p_probe() local
665 struct qcom_smp2p *smp2p = platform_get_drvdata(pdev); qcom_smp2p_remove() local
[all...]
H A DMakefile23 obj-$(CONFIG_QCOM_SMP2P) += smp2p.o
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Dsmp2p.c79 * @smp2p: reference to the device driver context
92 struct qcom_smp2p *smp2p; member
151 static void qcom_smp2p_kick(struct qcom_smp2p *smp2p) in qcom_smp2p_kick() argument
156 if (smp2p->mbox_chan) { in qcom_smp2p_kick()
157 mbox_send_message(smp2p->mbox_chan, NULL); in qcom_smp2p_kick()
158 mbox_client_txdone(smp2p->mbox_chan, 0); in qcom_smp2p_kick()
160 regmap_write(smp2p->ipc_regmap, smp2p->ipc_offset, BIT(smp2p->ipc_bit)); in qcom_smp2p_kick()
167 * @data: smp2p drive
176 struct qcom_smp2p *smp2p = data; qcom_smp2p_intr() local
305 qcom_smp2p_inbound_entry(struct qcom_smp2p *smp2p, struct smp2p_entry *entry, struct device_node *node) qcom_smp2p_inbound_entry() argument
342 qcom_smp2p_outbound_entry(struct qcom_smp2p *smp2p, struct smp2p_entry *entry, struct device_node *node) qcom_smp2p_outbound_entry() argument
367 qcom_smp2p_alloc_outbound_item(struct qcom_smp2p *smp2p) qcom_smp2p_alloc_outbound_item() argument
409 smp2p_parse_ipc(struct qcom_smp2p *smp2p) smp2p_parse_ipc() argument
447 struct qcom_smp2p *smp2p; qcom_smp2p_probe() local
565 struct qcom_smp2p *smp2p = platform_get_drvdata(pdev); qcom_smp2p_remove() local
[all...]
H A DMakefile20 obj-$(CONFIG_QCOM_SMP2P) += smp2p.o

Completed in 4 milliseconds