/linux-master/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | shm_ipc.c | 12 static bool qtnf_shm_ipc_has_new_data(struct qtnf_shm_ipc *ipc) argument 14 const u32 flags = readl(&ipc->shm_region->headroom.hdr.flags); 19 static void qtnf_shm_handle_new_data(struct qtnf_shm_ipc *ipc) argument 25 shm_reg_hdr = &ipc->shm_region->headroom.hdr; 35 ipc->rx_packet_count++; 36 ipc->rx_callback.fn(ipc->rx_callback.arg, 37 ipc->shm_region->data, size); 43 ipc->interrupt.fn(ipc 48 struct qtnf_shm_ipc *ipc = container_of(work, struct qtnf_shm_ipc, local 55 qtnf_shm_ipc_irq_inbound_handler(struct qtnf_shm_ipc *ipc) argument 65 qtnf_shm_ipc_irq_outbound_handler(struct qtnf_shm_ipc *ipc) argument 80 qtnf_shm_ipc_init(struct qtnf_shm_ipc *ipc, enum qtnf_shm_ipc_direction direction, struct qtnf_shm_ipc_region __iomem *shm_region, struct workqueue_struct *workqueue, const struct qtnf_shm_ipc_int *interrupt, const struct qtnf_shm_ipc_rx_callback *rx_callback) argument 118 qtnf_shm_ipc_free(struct qtnf_shm_ipc *ipc) argument 123 qtnf_shm_ipc_send(struct qtnf_shm_ipc *ipc, const u8 *buf, size_t size) argument [all...] |
H 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) argument 62 ipc->irq_handler(ipc);
|
/linux-master/include/linux/firmware/imx/ |
H A D | dsp.h | 18 struct imx_dsp_ipc *ipc; member in struct:imx_dsp_chan 26 void (*handle_reply)(struct imx_dsp_ipc *ipc); 27 void (*handle_request)(struct imx_dsp_ipc *ipc); 38 static inline void imx_dsp_set_data(struct imx_dsp_ipc *ipc, void *data) argument 40 ipc->private_data = data; 43 static inline void *imx_dsp_get_data(struct imx_dsp_ipc *ipc) argument 45 return ipc->private_data; 52 struct mbox_chan *imx_dsp_request_channel(struct imx_dsp_ipc *ipc, int idx); 53 void imx_dsp_free_channel(struct imx_dsp_ipc *ipc, int idx); 57 static inline int imx_dsp_ring_doorbell(struct imx_dsp_ipc *ipc, argument 63 imx_dsp_request_channel(struct imx_dsp_ipc *ipc, int idx) argument 68 imx_dsp_free_channel(struct imx_dsp_ipc *ipc, int idx) argument [all...] |
H A D | ipc.h | 42 * @param[in] ipc IPC handle 49 int imx_scu_call_rpc(struct imx_sc_ipc *ipc, void *msg, bool have_resp); 52 * This function gets the default ipc handle used by SCU 54 * @param[out] ipc sc ipc handle 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, argument 66 static inline int imx_scu_get_handle(struct imx_sc_ipc **ipc) argument
|
/linux-master/sound/soc/intel/common/ |
H A D | sst-ipc.c | 24 #include "sst-ipc.h" 32 static struct ipc_message *msg_get_empty(struct sst_generic_ipc *ipc) argument 36 if (!list_empty(&ipc->empty_list)) { 37 msg = list_first_entry(&ipc->empty_list, struct ipc_message, 45 static int tx_wait_done(struct sst_generic_ipc *ipc, argument 55 spin_lock_irqsave(&ipc->dsp->spinlock, flags); 57 if (ipc->ops.shim_dbg != NULL) 58 ipc->ops.shim_dbg(ipc, "message timeout"); 73 list_add_tail(&msg->list, &ipc 78 ipc_tx_message(struct sst_generic_ipc *ipc, struct sst_ipc_message request, struct sst_ipc_message *reply, int wait) argument 115 msg_empty_list_init(struct sst_generic_ipc *ipc) argument 154 struct sst_generic_ipc *ipc = local 180 sst_ipc_tx_message_wait(struct sst_generic_ipc *ipc, struct sst_ipc_message request, struct sst_ipc_message *reply) argument 204 sst_ipc_tx_message_nowait(struct sst_generic_ipc *ipc, struct sst_ipc_message request) argument 211 sst_ipc_tx_message_nopm(struct sst_generic_ipc *ipc, struct sst_ipc_message request, struct sst_ipc_message *reply) argument 218 sst_ipc_reply_find_msg(struct sst_generic_ipc *ipc, u64 header) argument 245 sst_ipc_tx_msg_reply_complete(struct sst_generic_ipc *ipc, struct ipc_message *msg) argument 257 sst_ipc_init(struct sst_generic_ipc *ipc) argument 275 sst_ipc_fini(struct sst_generic_ipc *ipc) argument [all...] |
H 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-master/drivers/platform/x86/siemens/ |
H A D | Makefile | 7 obj-$(CONFIG_SIEMENS_SIMATIC_IPC) += simatic-ipc.o 8 obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT) += simatic-ipc-batt.o 9 obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_APOLLOLAKE) += simatic-ipc-batt-apollolake.o 10 obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_ELKHARTLAKE) += simatic-ipc-batt-elkhartlake.o 11 obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_F7188X) += simatic-ipc-batt-f7188x.o
|
/linux-master/sound/soc/sof/ |
H A D | ipc.c | 33 * Note: higher level sdev->ipc->tx_mutex must be held to make sure that 39 struct snd_sof_ipc *ipc = sdev->ipc; local 43 if (ipc->disable_ipc_tx || sdev->fw_state != SOF_FW_BOOT_COMPLETE) 53 msg = &ipc->msg; 75 int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, argument 78 if (msg_bytes > ipc->max_payload_size || 79 reply_bytes > ipc->max_payload_size) 82 return ipc->ops->tx_msg(ipc 88 sof_ipc_set_get_data(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, bool set) argument 100 sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, void *reply_data, size_t reply_bytes) argument 149 struct snd_sof_ipc *ipc; local 222 struct snd_sof_ipc *ipc = sdev->ipc; local [all...] |
H A D | trace.c | 26 if (sdev->ipc->ops->fw_tracing->free) 27 sdev->ipc->ops->fw_tracing->free(sdev); 35 if (sdev->ipc->ops->fw_tracing->fw_crashed) 36 sdev->ipc->ops->fw_tracing->fw_crashed(sdev); 44 sdev->ipc->ops->fw_tracing->suspend(sdev, pm_state); 52 return sdev->ipc->ops->fw_tracing->resume(sdev);
|
H A D | Makefile | 3 snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\ 4 control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o\ 28 snd-sof-ipc-flood-test-objs := sof-client-ipc-flood-test.o 29 snd-sof-ipc-msg-injector-objs := sof-client-ipc-msg-injector.o 30 snd-sof-ipc-kernel-injector-objs := sof-client-ipc-kernel-injector.o 52 obj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST) += snd-sof-ipc-flood-test.o 53 obj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR) += snd-sof-ipc [all...] |
/linux-master/sound/soc/intel/catpt/ |
H A D | ipc.c | 16 void catpt_ipc_init(struct catpt_ipc *ipc, struct device *dev) argument 18 ipc->dev = dev; 19 ipc->ready = false; 20 ipc->default_timeout = CATPT_IPC_TIMEOUT_MS; 21 init_completion(&ipc->done_completion); 22 init_completion(&ipc->busy_completion); 23 spin_lock_init(&ipc->lock); 24 mutex_init(&ipc->mutex); 27 static int catpt_ipc_arm(struct catpt_ipc *ipc, struct catpt_fw_ready *config) argument 34 ipc 44 catpt_ipc_msg_init(struct catpt_ipc *ipc, struct catpt_ipc_msg *reply) argument 69 struct catpt_ipc *ipc = &cdev->ipc; local 89 struct catpt_ipc *ipc = &cdev->ipc; local 128 struct catpt_ipc *ipc = &cdev->ipc; local 185 struct catpt_ipc *ipc = &cdev->ipc; local 198 struct catpt_ipc *ipc = &cdev->ipc; local [all...] |
H A D | Makefile | 1 snd-soc-catpt-objs := device.o dsp.o loader.o ipc.o messages.o pcm.o sysfs.o
|
/linux-master/drivers/leds/simple/ |
H A D | Makefile | 2 obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC) += simatic-ipc-leds.o 3 obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC_APOLLOLAKE) += simatic-ipc-leds-gpio-core.o simatic-ipc-leds-gpio-apollolake.o 4 obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC_F7188X) += simatic-ipc-leds-gpio-core.o simatic-ipc-leds-gpio-f7188x.o 5 obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC_ELKHARTLAKE) += simatic-ipc-leds-gpio-core.o simatic-ipc-leds-gpio-elkhartlake.o
|
/linux-master/include/linux/firmware/mediatek/ |
H A D | mtk-adsp-ipc.h | 28 void (*handle_reply)(struct mtk_adsp_ipc *ipc); 29 void (*handle_request)(struct mtk_adsp_ipc *ipc); 33 struct mtk_adsp_ipc *ipc; member in struct:mtk_adsp_chan 47 static inline void mtk_adsp_ipc_set_data(struct mtk_adsp_ipc *ipc, void *data) argument 49 ipc->private_data = data; 52 static inline void *mtk_adsp_ipc_get_data(struct mtk_adsp_ipc *ipc) argument 54 return ipc->private_data; 57 int mtk_adsp_ipc_send(struct mtk_adsp_ipc *ipc, unsigned int idx, uint32_t op);
|
/linux-master/sound/soc/intel/avs/ |
H A D | ipc.c | 23 struct avs_ipc *ipc = adev->ipc; local 27 if (ipc->in_d0ix == enable) 34 atomic_inc(&ipc->d0ix_disable_depth); 36 ipc->in_d0ix = false; 40 ipc->in_d0ix = enable; 46 if (atomic_read(&adev->ipc->d0ix_disable_depth)) 49 mod_delayed_work(system_power_efficient_wq, &adev->ipc->d0ix_work, 55 struct avs_ipc *ipc = container_of(work, struct avs_ipc, d0ix_work.work); local 57 avs_dsp_set_d0ix(to_avs_dev(ipc 62 struct avs_ipc *ipc = adev->ipc; local 74 struct avs_ipc *ipc = adev->ipc; local 87 struct avs_ipc *ipc = adev->ipc; local 153 struct avs_ipc *ipc = container_of(work, struct avs_ipc, recovery_work); local 160 struct avs_ipc *ipc = adev->ipc; local 185 struct avs_ipc *ipc = adev->ipc; local 285 struct avs_ipc *ipc = adev->ipc; local 306 struct avs_ipc *ipc = adev->ipc; local 352 avs_ipc_is_busy(struct avs_ipc *ipc) argument 362 avs_ipc_wait_busy_completion(struct avs_ipc *ipc, int timeout) argument 403 avs_ipc_msg_init(struct avs_ipc *ipc, struct avs_ipc_msg *reply) argument 435 struct avs_ipc *ipc = adev->ipc; local 542 struct avs_ipc *ipc = adev->ipc; local 599 avs_ipc_init(struct avs_ipc *ipc, struct device *dev) argument 618 avs_ipc_block(struct avs_ipc *ipc) argument [all...] |
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_ipc.c | 22 struct ivpu_ipc_hdr ipc; member in struct:ivpu_ipc_tx_buf 59 struct ivpu_ipc_info *ipc = vdev->ipc; local 61 ivpu_bo_free(ipc->mem_rx); 62 ivpu_bo_free(ipc->mem_tx); 69 struct ivpu_ipc_info *ipc = vdev->ipc; local 74 tx_buf_vpu_addr = gen_pool_alloc(ipc->mm_tx, sizeof(*tx_buf)); 81 tx_buf = ivpu_to_cpu_addr(ipc->mem_tx, tx_buf_vpu_addr); 83 gen_pool_free(ipc 124 struct ivpu_ipc_info *ipc = vdev->ipc; local 139 struct ivpu_ipc_info *ipc = vdev->ipc; local 179 struct ivpu_ipc_info *ipc = vdev->ipc; local 198 struct ivpu_ipc_info *ipc = vdev->ipc; local 216 struct ivpu_ipc_info *ipc = vdev->ipc; local 383 struct ivpu_ipc_info *ipc = vdev->ipc; local 451 struct ivpu_ipc_info *ipc = vdev->ipc; local 471 struct ivpu_ipc_info *ipc = vdev->ipc; local 521 struct ivpu_ipc_info *ipc = vdev->ipc; local 533 struct ivpu_ipc_info *ipc = vdev->ipc; local 542 struct ivpu_ipc_info *ipc = vdev->ipc; local 569 struct ivpu_ipc_info *ipc = vdev->ipc; local [all...] |
/linux-master/tools/perf/tests/shell/ |
H A D | stat+shadow_stat.sh | 19 while read num evt _ ipc rest 39 if [ "$ipc" != "$res" ]; then 41 diff=`echo $ipc $res $THRESHOLD | \ 45 echo "IPC is different: $res != $ipc ($num / $cyc)" 58 while read cpu num evt _ ipc rest 81 if [ "$ipc" != "$res" ]; then 83 diff=`echo $ipc $res $THRESHOLD | \ 87 echo "IPC is different: $res != $ipc ($num / $cyc)"
|
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-sst-ipc.c | 3 * skl-sst-ipc.c - Intel skl IPC Support 13 #include "skl-sst-ipc.h" 296 static void skl_ipc_tx_msg(struct sst_generic_ipc *ipc, struct ipc_message *msg) argument 301 sst_dsp_outbox_write(ipc->dsp, msg->tx.data, msg->tx.size); 302 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCIE, 304 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCI, 325 static struct ipc_message *skl_ipc_reply_get_msg(struct sst_generic_ipc *ipc, argument 331 if (list_empty(&ipc->rx_list)) { 332 dev_err(ipc->dev, "ipc 345 skl_ipc_process_notification(struct sst_generic_ipc *ipc, struct skl_ipc_header header) argument 405 skl_ipc_set_reply_error_code(struct sst_generic_ipc *ipc, u32 reply) argument 433 skl_ipc_process_reply(struct sst_generic_ipc *ipc, struct skl_ipc_header header) argument 493 struct sst_generic_ipc *ipc = &skl->ipc; local 601 struct sst_generic_ipc *ipc; local 622 skl_ipc_free(struct sst_generic_ipc *ipc) argument 635 skl_ipc_create_pipeline(struct sst_generic_ipc *ipc, u16 ppl_mem_size, u8 ppl_type, u8 instance_id, u8 lp_mode) argument 663 skl_ipc_delete_pipeline(struct sst_generic_ipc *ipc, u8 instance_id) argument 686 skl_ipc_set_pipeline_state(struct sst_generic_ipc *ipc, u8 instance_id, enum skl_ipc_pipeline_state state) argument 711 skl_ipc_save_pipeline(struct sst_generic_ipc *ipc, u8 instance_id, int dma_id) argument 736 skl_ipc_restore_pipeline(struct sst_generic_ipc *ipc, u8 instance_id) argument 759 skl_ipc_set_dx(struct sst_generic_ipc *ipc, u8 instance_id, u16 module_id, struct skl_ipc_dxstate_info *dx) argument 788 skl_ipc_init_instance(struct sst_generic_ipc *ipc, struct skl_ipc_init_instance_msg *msg, void *param_data) argument 829 skl_ipc_bind_unbind(struct sst_generic_ipc *ipc, struct skl_ipc_bind_unbind_msg *msg) argument 867 skl_ipc_load_modules(struct sst_generic_ipc *ipc, u8 module_cnt, void *data) argument 891 skl_ipc_unload_modules(struct sst_generic_ipc *ipc, u8 module_cnt, void *data) argument 915 skl_ipc_set_large_config(struct sst_generic_ipc *ipc, struct skl_ipc_large_config_msg *msg, u32 *param) argument 971 skl_ipc_get_large_config(struct sst_generic_ipc *ipc, struct skl_ipc_large_config_msg *msg, u32 **payload, size_t *bytes) argument 1017 skl_sst_ipc_load_library(struct sst_generic_ipc *ipc, u8 dma_id, u8 table_id, bool wait) argument 1043 skl_ipc_set_d0ix(struct sst_generic_ipc *ipc, struct skl_ipc_d0ix_msg *msg) argument [all...] |
H A D | skl-sst-ipc.h | 12 #include "../common/sst-ipc.h" 110 int skl_ipc_create_pipeline(struct sst_generic_ipc *ipc, 113 int skl_ipc_delete_pipeline(struct sst_generic_ipc *ipc, u8 instance_id); 115 int skl_ipc_set_pipeline_state(struct sst_generic_ipc *ipc, 118 int skl_ipc_save_pipeline(struct sst_generic_ipc *ipc, 121 int skl_ipc_restore_pipeline(struct sst_generic_ipc *ipc, u8 instance_id); 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, [all...] |
/linux-master/include/linux/firmware/imx/svc/ |
H A D | rm.h | 61 bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource); 62 int imx_sc_rm_get_resource_owner(struct imx_sc_ipc *ipc, u16 resource, u8 *pt); 65 imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) argument 69 static inline int imx_sc_rm_get_resource_owner(struct imx_sc_ipc *ipc, u16 resource, u8 *pt) argument
|
H 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, argument 65 static inline int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, argument 71 static inline int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, argument
|
/linux-master/drivers/hid/intel-ish-hid/ |
H 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-master/drivers/firmware/ |
H A D | mtk-adsp-ipc.c | 7 #include <linux/firmware/mediatek/mtk-adsp-ipc.h> 17 * mtk_adsp_ipc_send - send ipc cmd to MTK ADSP 19 * @ipc: ADSP IPC handle 26 int mtk_adsp_ipc_send(struct mtk_adsp_ipc *ipc, unsigned int idx, uint32_t msg) argument 34 adsp_chan = &ipc->chans[idx]; 59 chan->ipc->ops->handle_reply(chan->ipc); 62 chan->ipc->ops->handle_request(chan->ipc); 94 adsp_chan->ipc [all...] |
/linux-master/net/qrtr/ |
H A D | af_qrtr.c | 161 static void qrtr_port_put(struct qrtr_sock *ipc); 440 struct qrtr_sock *ipc; local 530 ipc = qrtr_port_lookup(cb->dst_port); 531 if (!ipc) 534 if (sock_queue_rcv_skb(&ipc->sk, skb)) { 535 qrtr_port_put(ipc); 539 qrtr_port_put(ipc); 669 struct qrtr_sock *ipc; local 675 ipc = xa_load(&qrtr_ports, port); 676 if (ipc) 684 qrtr_port_put(struct qrtr_sock *ipc) argument 690 qrtr_port_remove(struct qrtr_sock *ipc) argument 734 qrtr_port_assign(struct qrtr_sock *ipc, int *port) argument 762 struct qrtr_sock *ipc; local 782 struct qrtr_sock *ipc = qrtr_sk(sock->sk); local 830 struct qrtr_sock *ipc = qrtr_sk(sock->sk); local 852 struct qrtr_sock *ipc; local 906 struct qrtr_sock *ipc = qrtr_sk(sock->sk); local 1091 struct qrtr_sock *ipc = qrtr_sk(sock->sk); local 1121 struct qrtr_sock *ipc = qrtr_sk(sock->sk); local 1148 struct qrtr_sock *ipc = qrtr_sk(sock->sk); local 1208 struct qrtr_sock *ipc; local 1263 struct qrtr_sock *ipc; local [all...] |
/linux-master/drivers/firmware/imx/ |
H A D | rm.c | 19 * @param[in] ipc IPC handle 24 bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) argument 41 imx_scu_call_rpc(ipc, &msg, true); 62 * @param[in] ipc IPC handle 68 int imx_sc_rm_get_resource_owner(struct imx_sc_ipc *ipc, u16 resource, u8 *pt) argument 81 ret = imx_scu_call_rpc(ipc, &msg, true);
|