/linux/sound/soc/intel/common/ |
A D | sst-ipc.c | 58 ipc->ops.shim_dbg(ipc, "message timeout"); in tx_wait_done() 125 ipc->msg[i].tx.data = kzalloc(ipc->tx_data_max_size, GFP_KERNEL); in msg_empty_list_init() 129 ipc->msg[i].rx.data = kzalloc(ipc->rx_data_max_size, GFP_KERNEL); in msg_empty_list_init() 136 list_add(&ipc->msg[i].list, &ipc->empty_list); in msg_empty_list_init() 147 kfree(ipc->msg); in msg_empty_list_init() 160 while (!list_empty(&ipc->tx_list) && !ipc->pending) { in ipc_tx_msgs() 165 if (ipc->ops.is_dsp_busy && ipc->ops.is_dsp_busy(ipc->dsp)) { in ipc_tx_msgs() 174 ipc->ops.tx_msg(ipc, msg); in ipc_tx_msgs() 191 if (ipc->ops.check_dsp_lp_on(ipc->dsp, true)) in sst_ipc_tx_message_wait() 197 if (ipc->ops.check_dsp_lp_on(ipc->dsp, false)) in sst_ipc_tx_message_wait() [all …]
|
A D | sst-ipc.h | 68 int sst_ipc_tx_message_wait(struct sst_generic_ipc *ipc, 71 int sst_ipc_tx_message_nowait(struct sst_generic_ipc *ipc, 74 int sst_ipc_tx_message_nopm(struct sst_generic_ipc *ipc, 77 struct ipc_message *sst_ipc_reply_find_msg(struct sst_generic_ipc *ipc, 80 void sst_ipc_tx_msg_reply_complete(struct sst_generic_ipc *ipc, 83 int sst_ipc_init(struct sst_generic_ipc *ipc); 84 void sst_ipc_fini(struct sst_generic_ipc *ipc);
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
A D | shm_ipc.c | 35 ipc->rx_packet_count++; in qtnf_shm_handle_new_data() 36 ipc->rx_callback.fn(ipc->rx_callback.arg, in qtnf_shm_handle_new_data() 43 ipc->interrupt.fn(ipc->interrupt.arg); in qtnf_shm_handle_new_data() 62 queue_work(ipc->workqueue, &ipc->irq_work); in qtnf_shm_ipc_irq_inbound_handler() 95 ipc->tx_packet_count = 0; in qtnf_shm_ipc_init() 96 ipc->rx_packet_count = 0; in qtnf_shm_ipc_init() 98 ipc->waiting_for_ack = 0; in qtnf_shm_ipc_init() 99 ipc->tx_timeout_count = 0; in qtnf_shm_ipc_init() 133 ipc->tx_packet_count++; in qtnf_shm_ipc_send() 149 ipc->interrupt.fn(ipc->interrupt.arg); in qtnf_shm_ipc_send() [all …]
|
A D | shm_ipc.h | 44 void (*irq_handler)(struct qtnf_shm_ipc *ipc); 51 int qtnf_shm_ipc_init(struct qtnf_shm_ipc *ipc, 57 void qtnf_shm_ipc_free(struct qtnf_shm_ipc *ipc); 58 int qtnf_shm_ipc_send(struct qtnf_shm_ipc *ipc, const u8 *buf, size_t size); 60 static inline void qtnf_shm_ipc_irq_handler(struct qtnf_shm_ipc *ipc) in qtnf_shm_ipc_irq_handler() argument 62 ipc->irq_handler(ipc); in qtnf_shm_ipc_irq_handler()
|
/linux/sound/soc/intel/catpt/ |
A D | ipc.c | 18 ipc->dev = dev; in catpt_ipc_init() 19 ipc->ready = false; in catpt_ipc_init() 35 if (!ipc->rx.data) in catpt_ipc_arm() 39 ipc->ready = true; in catpt_ipc_arm() 69 struct catpt_ipc *ipc = &cdev->ipc; in catpt_wait_msg_completion() local 89 struct catpt_ipc *ipc = &cdev->ipc; in catpt_dsp_do_send_msg() local 93 if (!ipc->ready) in catpt_dsp_do_send_msg() 128 struct catpt_ipc *ipc = &cdev->ipc; in catpt_dsp_send_msg_timeout() local 185 struct catpt_ipc *ipc = &cdev->ipc; in catpt_dsp_copy_rx() local 192 trace_catpt_ipc_payload(ipc->rx.data, ipc->rx.size); in catpt_dsp_copy_rx() [all …]
|
/linux/sound/soc/intel/skylake/ |
A D | skl-sst-ipc.c | 348 struct skl_dev *skl = container_of(ipc, struct skl_dev, ipc); in skl_ipc_process_notification() 417 ipc->dsp->fw_ops.get_fw_errcode(ipc->dsp)); in skl_ipc_set_reply_error_code() 424 ipc->dsp->fw_ops.get_fw_errcode(ipc->dsp)); in skl_ipc_set_reply_error_code() 428 ipc->dsp->fw_ops.get_fw_errcode(ipc->dsp)); in skl_ipc_set_reply_error_code() 439 struct skl_dev *skl = container_of(ipc, struct skl_dev, ipc); in skl_ipc_process_reply() 493 struct sst_generic_ipc *ipc = &skl->ipc; in skl_dsp_irq_thread_handler() local 604 ipc = &skl->ipc; in skl_ipc_init() 605 ipc->dsp = skl->dsp; in skl_ipc_init() 606 ipc->dev = dev; in skl_ipc_init() 632 sst_ipc_fini(ipc); in skl_ipc_free() [all …]
|
A D | skl-sst-ipc.h | 110 int skl_ipc_create_pipeline(struct sst_generic_ipc *ipc, 118 int skl_ipc_save_pipeline(struct sst_generic_ipc *ipc, 123 int skl_ipc_init_instance(struct sst_generic_ipc *ipc, 126 int skl_ipc_bind_unbind(struct sst_generic_ipc *ipc, 129 int skl_ipc_load_modules(struct sst_generic_ipc *ipc, 132 int skl_ipc_unload_modules(struct sst_generic_ipc *ipc, 135 int skl_ipc_set_dx(struct sst_generic_ipc *ipc, 138 int skl_ipc_set_large_config(struct sst_generic_ipc *ipc, 148 int skl_ipc_set_d0ix(struct sst_generic_ipc *ipc, 159 void skl_ipc_free(struct sst_generic_ipc *ipc); [all …]
|
A D | skl-ssp-clk.c | 77 union skl_clk_ctrl_ipc *ipc; in skl_fill_clk_ipc() local 83 ipc = &rcfg->dma_ctl_ipc; in skl_fill_clk_ipc() 93 ipc->sclk_fs.valid_bit_depth = in skl_fill_clk_ipc() 113 union skl_clk_ctrl_ipc *ipc; in skl_send_clk_dma_control() local 121 ipc = &rcfg->dma_ctl_ipc; in skl_send_clk_dma_control() 126 ipc->sclk_fs.hdr.type = in skl_send_clk_dma_control() 128 data = (u8 *)&ipc->sclk_fs; in skl_send_clk_dma_control() 133 ipc->mclk.mclk = 0; in skl_send_clk_dma_control() 135 ipc->mclk.mclk = 1; in skl_send_clk_dma_control() 137 ipc->mclk.keep_running = enable; in skl_send_clk_dma_control() [all …]
|
A D | cnl-sst.c | 316 struct sst_generic_ipc *ipc = &cnl->ipc; in cnl_dsp_irq_thread_handler() local 356 skl_ipc_process_reply(ipc, header); in cnl_dsp_irq_thread_handler() 377 schedule_work(&ipc->kwork); in cnl_dsp_irq_thread_handler() 410 struct sst_generic_ipc *ipc; in cnl_ipc_init() local 413 ipc = &cnl->ipc; in cnl_ipc_init() 414 ipc->dsp = cnl->dsp; in cnl_ipc_init() 415 ipc->dev = dev; in cnl_ipc_init() 417 ipc->tx_data_max_size = CNL_ADSP_W1_SZ; in cnl_ipc_init() 420 err = sst_ipc_init(ipc); in cnl_ipc_init() 428 ipc->ops.tx_msg = cnl_ipc_tx_msg; in cnl_ipc_init() [all …]
|
/linux/include/linux/firmware/imx/ |
A D | dsp.h | 18 struct imx_dsp_ipc *ipc; member 26 void (*handle_reply)(struct imx_dsp_ipc *ipc); 27 void (*handle_request)(struct imx_dsp_ipc *ipc); 40 if (!ipc) in imx_dsp_set_data() 43 ipc->private_data = data; in imx_dsp_set_data() 46 static inline void *imx_dsp_get_data(struct imx_dsp_ipc *ipc) in imx_dsp_get_data() argument 48 if (!ipc) in imx_dsp_get_data() 51 return ipc->private_data; in imx_dsp_get_data() 59 void imx_dsp_free_channel(struct imx_dsp_ipc *ipc, int idx); 63 static inline int imx_dsp_ring_doorbell(struct imx_dsp_ipc *ipc, in imx_dsp_ring_doorbell() argument [all …]
|
A D | ipc.h | 49 int imx_scu_call_rpc(struct imx_sc_ipc *ipc, void *msg, bool have_resp); 58 int imx_scu_get_handle(struct imx_sc_ipc **ipc); 60 static inline int imx_scu_call_rpc(struct imx_sc_ipc *ipc, void *msg, in imx_scu_call_rpc() argument 66 static inline int imx_scu_get_handle(struct imx_sc_ipc **ipc) in imx_scu_get_handle() argument
|
/linux/ipc/ |
A D | .built-in.a.cmd | 1 …ipc/built-in.a; /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/b…
|
A D | util.c | 791 struct kern_ipc_perm *ipc = NULL; in sysvipc_find_ipc() local 798 ipc = idr_find(&ids->ipcs_idr, pos); in sysvipc_find_ipc() 799 if (ipc != NULL) { in sysvipc_find_ipc() 801 ipc_lock_object(ipc); in sysvipc_find_ipc() 807 return ipc; in sysvipc_find_ipc() 814 struct kern_ipc_perm *ipc = it; in sysvipc_proc_next() local 817 if (ipc && ipc != SEQ_START_TOKEN) in sysvipc_proc_next() 818 ipc_unlock(ipc); in sysvipc_proc_next() 855 struct kern_ipc_perm *ipc = it; in sysvipc_proc_stop() local 861 if (ipc && ipc != SEQ_START_TOKEN) in sysvipc_proc_stop() [all …]
|
/linux/net/qrtr/ |
A D | af_qrtr.c | 522 if (!ipc) in qrtr_endpoint_post() 667 if (ipc) in qrtr_port_lookup() 671 return ipc; in qrtr_port_lookup() 677 sock_put(&ipc->sk); in qrtr_port_put() 847 if (!ipc || &ipc->sk == skb->sk) { /* do not send to self */ in qrtr_local_enqueue() 848 if (ipc) in qrtr_local_enqueue() 1101 ipc->peer = *addr; in qrtr_connect() 1126 qaddr = ipc->us; in qrtr_getname() 1170 *sq = ipc->us; in qrtr_ioctl() 1207 ipc = qrtr_sk(sk); in qrtr_release() [all …]
|
/linux/sound/soc/sof/ |
A D | ipc.c | 290 if (ipc->disable_ipc_tx) in sof_ipc_tx_message_unlocked() 300 msg = &ipc->msg; in sof_ipc_tx_message_unlocked() 926 msg = &sdev->ipc->msg; in sof_ipc_init_msg_memory() 940 struct snd_sof_ipc *ipc; in snd_sof_ipc_init() local 943 ipc = devm_kzalloc(sdev->dev, sizeof(*ipc), GFP_KERNEL); in snd_sof_ipc_init() 944 if (!ipc) in snd_sof_ipc_init() 948 ipc->sdev = sdev; in snd_sof_ipc_init() 949 msg = &ipc->msg; in snd_sof_ipc_init() 956 return ipc; in snd_sof_ipc_init() 962 struct snd_sof_ipc *ipc = sdev->ipc; in snd_sof_ipc_free() local [all …]
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_sw_fence.c | 514 struct task_ipc *ipc = container_of(work, typeof(*ipc), work); in task_ipc() local 516 complete(&ipc->started); in task_ipc() 525 struct task_ipc ipc; in test_ipc() local 529 ipc.in = alloc_fence(); in test_ipc() 530 if (!ipc.in) in test_ipc() 532 ipc.out = alloc_fence(); in test_ipc() 533 if (!ipc.out) { in test_ipc() 541 ipc.value = 0; in test_ipc() 561 flush_work(&ipc.work); in test_ipc() 563 free_fence(ipc.out); in test_ipc() [all …]
|
/linux/include/linux/firmware/imx/svc/ |
A D | misc.h | 50 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource, 53 int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, u32 resource, 56 int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, 59 static inline int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, in imx_sc_misc_set_control() argument 65 static inline int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, in imx_sc_misc_get_control() argument 71 static inline int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_pm_cpu_start() argument
|
/linux/tools/perf/tests/shell/ |
A D | stat+shadow_stat.sh | 17 while read num evt hash ipc rest 37 if [ "$ipc" != "$res" ]; then 38 echo "IPC is different: $res != $ipc ($num / $cyc)" 48 while read cpu num evt hash ipc rest 71 if [ "$ipc" != "$res" ]; then 72 echo "IPC is different for $cpu: $res != $ipc ($num / $cyc)"
|
/linux/drivers/hid/intel-ish-hid/ |
A D | Makefile | 15 obj-$(CONFIG_INTEL_ISH_HID) += intel-ish-ipc.o 16 intel-ish-ipc-objs := ipc/ipc.o 17 intel-ish-ipc-objs += ipc/pci-ish.o
|
/linux/drivers/firmware/imx/ |
A D | imx-dsp.c | 25 int imx_dsp_ring_doorbell(struct imx_dsp_ipc *ipc, unsigned int idx) in imx_dsp_ring_doorbell() argument 33 dsp_chan = &ipc->chans[idx]; in imx_dsp_ring_doorbell() 56 chan->ipc->ops->handle_reply(chan->ipc); in imx_dsp_handle_rx() 58 chan->ipc->ops->handle_request(chan->ipc); in imx_dsp_handle_rx() 59 imx_dsp_ring_doorbell(chan->ipc, 1); in imx_dsp_handle_rx() 114 dsp_chan->ipc = dsp_ipc; in imx_dsp_setup_channels()
|
A D | misc.c | 51 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_misc_set_control() argument 66 return imx_scu_call_rpc(ipc, &msg, true); in imx_sc_misc_set_control() 81 int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_misc_get_control() argument 97 ret = imx_scu_call_rpc(ipc, &msg, true); in imx_sc_misc_get_control() 119 int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_pm_cpu_start() argument 135 return imx_scu_call_rpc(ipc, &msg, true); in imx_sc_pm_cpu_start()
|
/linux/net/ipv4/ |
A D | raw.c | 566 kfree(ipc.opt); in raw_sendmsg() 569 if (ipc.opt) in raw_sendmsg() 573 saddr = ipc.addr; in raw_sendmsg() 574 ipc.addr = daddr; in raw_sendmsg() 576 if (!ipc.opt) { in raw_sendmsg() 589 if (ipc.opt) { in raw_sendmsg() 607 if (!ipc.oif || netif_index_is_l3_master(sock_net(sk), ipc.oif)) in raw_sendmsg() 611 } else if (!ipc.oif) { in raw_sendmsg() 627 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, in raw_sendmsg() 664 if (!ipc.addr) in raw_sendmsg() [all …]
|
A D | ping.c | 731 kfree(ipc.opt); in ping_v4_sendmsg() 734 if (ipc.opt) in ping_v4_sendmsg() 737 if (!ipc.opt) { in ping_v4_sendmsg() 750 saddr = ipc.addr; in ping_v4_sendmsg() 753 if (ipc.opt && ipc.opt->opt.srr) { in ping_v4_sendmsg() 763 (ipc.opt && ipc.opt->opt.is_strictroute)) { in ping_v4_sendmsg() 768 if (!ipc.oif || netif_index_is_l3_master(sock_net(sk), ipc.oif)) in ping_v4_sendmsg() 772 } else if (!ipc.oif) in ping_v4_sendmsg() 775 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, in ping_v4_sendmsg() 802 if (!ipc.addr) in ping_v4_sendmsg() [all …]
|
/linux/drivers/mailbox/ |
A D | hi6220-mailbox.c | 76 void __iomem *ipc; member 144 writel(BIT(mchan->dst_irq), DST_INT_RAW_REG(mbox->ipc)); in hi6220_mbox_send_data() 156 state = readl(ACK_INT_STAT_REG(mbox->ipc)); in hi6220_mbox_interrupt() 186 writel(BIT(mchan->ack_irq), ACK_INT_CLR_REG(mbox->ipc)); in hi6220_mbox_interrupt() 201 writel(BIT(mchan->ack_irq), ACK_INT_ENA_REG(mbox->ipc)); in hi6220_mbox_startup() 211 writel(BIT(mchan->ack_irq), ACK_INT_DIS_REG(mbox->ipc)); in hi6220_mbox_shutdown() 289 mbox->ipc = devm_platform_ioremap_resource(pdev, 0); in hi6220_mbox_probe() 290 if (IS_ERR(mbox->ipc)) { in hi6220_mbox_probe() 292 return PTR_ERR(mbox->ipc); in hi6220_mbox_probe() 324 writel(0x0, ACK_INT_MSK_REG(mbox->ipc)); in hi6220_mbox_probe() [all …]
|
/linux/arch/s390/kernel/ |
A D | jump_label.c | 36 unsigned char *ipc = (unsigned char *)jump_entry_code(entry); in jump_label_bug() local 40 pr_emerg("Jump label code mismatch at %pS [%px]\n", ipc, ipc); in jump_label_bug() 41 pr_emerg("Found: %6ph\n", ipc); in jump_label_bug()
|