Home
last modified time | relevance | path

Searched refs:ipc (Results 1 – 18 of 18) sorted by relevance

/drivers/net/wireless/quantenna/qtnfmac/
Dshm_ipc.c12 static bool qtnf_shm_ipc_has_new_data(struct qtnf_shm_ipc *ipc) in qtnf_shm_ipc_has_new_data() argument
14 const u32 flags = readl(&ipc->shm_region->headroom.hdr.flags); in qtnf_shm_ipc_has_new_data()
19 static void qtnf_shm_handle_new_data(struct qtnf_shm_ipc *ipc) in qtnf_shm_handle_new_data() argument
25 shm_reg_hdr = &ipc->shm_region->headroom.hdr; in qtnf_shm_handle_new_data()
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()
37 ipc->shm_region->data, size); in qtnf_shm_handle_new_data()
43 ipc->interrupt.fn(ipc->interrupt.arg); in qtnf_shm_handle_new_data()
48 struct qtnf_shm_ipc *ipc = container_of(work, struct qtnf_shm_ipc, in qtnf_shm_ipc_irq_work() local
51 while (qtnf_shm_ipc_has_new_data(ipc)) in qtnf_shm_ipc_irq_work()
[all …]
Dshm_ipc.h44 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()
/drivers/gpu/drm/i915/selftests/
Di915_sw_fence.c514 struct task_ipc *ipc = container_of(work, typeof(*ipc), work); in task_ipc() local
516 complete(&ipc->started); in task_ipc()
518 i915_sw_fence_wait(ipc->in); in task_ipc()
519 smp_store_mb(ipc->value, 1); in task_ipc()
520 i915_sw_fence_commit(ipc->out); 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()
[all …]
/drivers/firmware/imx/
Dimx-dsp.c25 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()
95 dsp_chan->ipc = dsp_ipc; in imx_dsp_probe()
Dmisc.c51 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()
Dimx-scu.c93 int imx_scu_get_handle(struct imx_sc_ipc **ipc) in imx_scu_get_handle() argument
98 *ipc = imx_sc_ipc_handle; in imx_scu_get_handle()
/drivers/hid/intel-ish-hid/
DMakefile15 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
/drivers/mailbox/
Dhi6220-mailbox.c76 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()
291 mbox->ipc = devm_ioremap_resource(dev, res); in hi6220_mbox_probe()
292 if (IS_ERR(mbox->ipc)) { in hi6220_mbox_probe()
294 return PTR_ERR(mbox->ipc); in hi6220_mbox_probe()
327 writel(0x0, ACK_INT_MSK_REG(mbox->ipc)); in hi6220_mbox_probe()
[all …]
DMakefile16 obj-$(CONFIG_PL320_MBOX) += pl320-ipc.o
42 obj-$(CONFIG_QCOM_APCS_IPC) += qcom-apcs-ipc-mailbox.o
/drivers/tty/serial/
Dsunsab.h32 u8 ipc; /* Interrupt Port Configuration */ member
68 u8 ipc; member
104 u8 ipc; member
Dsunsab.c989 writeb(SAB82532_IPC_IC_ACT_LOW, &up->regs->w.ipc); in sunsab_init_one()
/drivers/nvmem/
Dimx-ocotp-scu.c48 static int imx_sc_misc_otp_fuse_read(struct imx_sc_ipc *ipc, u32 word, in imx_sc_misc_otp_fuse_read() argument
62 ret = imx_scu_call_rpc(ipc, &msg, true); in imx_sc_misc_otp_fuse_read()
/drivers/net/vmxnet3/
Dvmxnet3_defs.h270 u32 ipc:1; /* IP Checksum Correct */ member
280 u32 ipc:1; /* IP Checksum Correct */ member
303 u32 ipc:1; /* IP Checksum Correct */ member
313 u32 ipc:1; /* IP Checksum Correct */ member
/drivers/media/platform/sti/delta/
DMakefile3 st-delta-y := delta-v4l2.o delta-mem.o delta-ipc.o delta-debug.o
/drivers/android/
DKconfig29 which can be mounted per-ipc namespace allowing to run multiple
/drivers/clk/imx/
Dclk-scu.c278 static int sc_pm_clock_enable(struct imx_sc_ipc *ipc, u16 resource, in sc_pm_clock_enable() argument
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c3141 bool onoff, rf, ipc, vs, hs, de; in _dispc_mgr_set_lcd_timings() local
3188 ipc = false; in _dispc_mgr_set_lcd_timings()
3191 ipc = true; in _dispc_mgr_set_lcd_timings()
3214 FLD_VAL(ipc, 14, 14) | in _dispc_mgr_set_lcd_timings()
3234 val = (rf << 0) | (ipc << 3) | (onoff << 6); in _dispc_mgr_set_lcd_timings()
/drivers/gpu/drm/omapdrm/dss/
Ddispc.c3126 bool onoff, rf, ipc, vs, hs, de; in _dispc_mgr_set_lcd_timings() local
3154 ipc = false; in _dispc_mgr_set_lcd_timings()
3156 ipc = true; in _dispc_mgr_set_lcd_timings()
3169 FLD_VAL(ipc, 14, 14) | in _dispc_mgr_set_lcd_timings()
3189 val = (rf << 0) | (ipc << 3) | (onoff << 6); in _dispc_mgr_set_lcd_timings()