Home
last modified time | relevance | path

Searched refs:ipc (Results 1 – 22 of 22) 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/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/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()
114 dsp_chan->ipc = dsp_ipc; in imx_dsp_setup_channels()
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()
Drm.c24 bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) in imx_sc_rm_is_resource_owned() argument
41 imx_scu_call_rpc(ipc, &msg, true); in imx_sc_rm_is_resource_owned()
Dimx-scu.c94 int imx_scu_get_handle(struct imx_sc_ipc **ipc) in imx_scu_get_handle() argument
99 *ipc = imx_sc_ipc_handle; in imx_scu_get_handle()
/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 …]
DMakefile18 obj-$(CONFIG_PL320_MBOX) += pl320-ipc.o
46 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.c986 writeb(SAB82532_IPC_IC_ACT_LOW, &up->regs->w.ipc); in sunsab_init_one()
/drivers/net/wireguard/selftest/
Dallowedips.c460 #define insert(version, mem, ipa, ipb, ipc, ipd, cidr) \ argument
461 wg_allowedips_insert_v##version(&t, ip##version(ipa, ipb, ipc, ipd), \
472 #define test(version, mem, ipa, ipb, ipc, ipd) do { \ argument
474 ip##version(ipa, ipb, ipc, ipd)) == (mem); \
478 #define test_negative(version, mem, ipa, ipb, ipc, ipd) do { \ argument
480 ip##version(ipa, ipb, ipc, ipd)) != (mem); \
/drivers/net/vmxnet3/
Dvmxnet3_defs.h278 u32 ipc:1; /* IP Checksum Correct */ member
288 u32 ipc:1; /* IP Checksum Correct */ member
311 u32 ipc:1; /* IP Checksum Correct */ member
321 u32 ipc:1; /* IP Checksum Correct */ member
/drivers/nvmem/
Dimx-ocotp-scu.c109 static int imx_sc_misc_otp_fuse_read(struct imx_sc_ipc *ipc, u32 word, in imx_sc_misc_otp_fuse_read() argument
123 ret = imx_scu_call_rpc(ipc, &msg, true); in imx_sc_misc_otp_fuse_read()
/drivers/media/platform/sti/delta/
DMakefile3 st-delta-y := delta-v4l2.o delta-mem.o delta-ipc.o delta-debug.o
/drivers/usb/typec/mux/
Dintel_pmc_mux.c141 struct intel_scu_ipc_dev *ipc; member
187 ret = intel_scu_ipc_dev_command(port->pmc->ipc, PMC_USBC_CMD, 0, msg, in pmc_usb_command()
651 pmc->ipc = devm_intel_scu_ipc_dev_get(&pdev->dev); in pmc_usb_probe()
652 if (!pmc->ipc) in pmc_usb_probe()
/drivers/android/
DKconfig29 which can be mounted per-ipc namespace allowing to run multiple
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c3030 bool onoff, rf, ipc, vs, hs, de; in _dispc_mgr_set_lcd_timings() local
3077 ipc = false; in _dispc_mgr_set_lcd_timings()
3080 ipc = true; in _dispc_mgr_set_lcd_timings()
3103 FLD_VAL(ipc, 14, 14) | in _dispc_mgr_set_lcd_timings()
3123 val = (rf << 0) | (ipc << 3) | (onoff << 6); in _dispc_mgr_set_lcd_timings()
/drivers/clk/imx/
Dclk-scu.c375 static int sc_pm_clock_enable(struct imx_sc_ipc *ipc, u16 resource, in sc_pm_clock_enable() argument
/drivers/gpu/drm/tidss/
Dtidss_dispc.c967 bool align, onoff, rf, ieo, ipc, ihs, ivs; in dispc_vp_enable() local
1003 ipc = !!(tstate->bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE); in dispc_vp_enable()
1022 FLD_VAL(ipc, 14, 14) | in dispc_vp_enable()
/drivers/gpu/drm/omapdrm/dss/
Ddispc.c3147 bool onoff, rf, ipc, vs, hs, de; in _dispc_mgr_set_lcd_timings() local
3162 ipc = !!(vm->flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE); 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()