Home
last modified time | relevance | path

Searched refs:num_inst (Results 1 – 13 of 13) sorted by relevance

/drivers/mailbox/
Dmailbox-sti.c69 unsigned int num_inst; member
198 for (instance = 0; instance < pdata->num_inst; instance++) { in sti_mbox_thread_handler()
222 for (instance = 0; instance < pdata->num_inst; instance++) { in sti_mbox_irq_handler()
333 if (instance >= pdata->num_inst || channel >= pdata->num_chan) { in sti_mbox_xlate()
391 .num_inst = 4,
/drivers/crypto/intel/qat/qat_common/
Dqat_crypto.c133 unsigned long num_inst, num_msg_sym, num_msg_asym; in qat_crypto_create_instances() local
147 ret = kstrtoul(val, 0, &num_inst); in qat_crypto_create_instances()
151 for (i = 0; i < num_inst; i++) { in qat_crypto_create_instances()
Dqat_compression.c119 unsigned long num_inst, num_msg_dc; in qat_compression_create_instances() local
131 ret = kstrtoul(val, 10, &num_inst); in qat_compression_create_instances()
135 for (i = 0; i < num_inst; i++) { in qat_compression_create_instances()
Dqat_hal.c1183 const int num_inst = ARRAY_SIZE(insts), code_off = 1; in qat_hal_wr_rel_reg() local
1214 return qat_hal_exec_micro_inst(handle, ae, ctx, insts, num_inst, in qat_hal_wr_rel_reg()
1215 code_off, num_inst * 0x5, NULL); in qat_hal_wr_rel_reg()
1383 const int num_inst = ARRAY_SIZE(micro_inst), code_off = 1; in qat_hal_put_rel_wr_xfer() local
1384 const unsigned short gprnum = 0, dly = num_inst * 0x5; in qat_hal_put_rel_wr_xfer()
1421 status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst, in qat_hal_put_rel_wr_xfer()
/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc.c208 if (dev->num_inst > 0) { in s5p_mfc_watchdog_worker()
777 dev->num_inst++; /* It is guarded by mfc_mutex in vfd */ in s5p_mfc_open()
836 if (dev->num_inst == 1) { in s5p_mfc_open()
924 if (dev->num_inst == 1) in s5p_mfc_open()
929 if (dev->num_inst == 1) { in s5p_mfc_open()
943 dev->num_inst--; in s5p_mfc_open()
977 dev->num_inst--; in s5p_mfc_release()
978 if (dev->num_inst == 0) { in s5p_mfc_release()
1475 if (m_dev->num_inst == 0) in s5p_mfc_suspend()
1508 if (m_dev->num_inst == 0) in s5p_mfc_resume()
Ds5p_mfc_common.h314 int num_inst; member
/drivers/gpu/drm/amd/amdgpu/
Daqua_vanjaram.c32 #define XCP_INST_MASK(num_inst, xcp_id) \ argument
33 (num_inst ? GENMASK(num_inst - 1, 0) << (xcp_id * num_inst) : 0)
/drivers/media/platform/samsung/s5p-g2d/
Dg2d.h23 atomic_t num_inst; member
Dg2d.c635 atomic_set(&dev->num_inst, 0); in g2d_probe()
/drivers/media/platform/st/stm32/dma2d/
Ddma2d.h114 atomic_t num_inst; member
Ddma2d.c614 atomic_set(&dev->num_inst, 0); in dma2d_probe()
/drivers/media/test-drivers/
Dvim2m.c192 atomic_t num_inst; member
1224 atomic_inc(&dev->num_inst); in vim2m_open()
1249 atomic_dec(&dev->num_inst); in vim2m_release()
1310 atomic_set(&dev->num_inst, 0); in vim2m_probe()
/drivers/media/platform/nxp/
Dimx-pxp.c221 atomic_t num_inst; member
1705 atomic_inc(&dev->num_inst); in pxp_open()
1730 atomic_dec(&dev->num_inst); in pxp_release()
1843 atomic_set(&dev->num_inst, 0); in pxp_probe()