Home
last modified time | relevance | path

Searched refs:num_inst (Results 1 – 9 of 9) 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/qat/qat_common/
Dqat_crypto.c210 unsigned long num_inst, num_msg_sym, num_msg_asym; in qat_crypto_create_instances() local
220 if (kstrtoul(val, 0, &num_inst)) in qat_crypto_create_instances()
223 for (i = 0; i < num_inst; i++) { in qat_crypto_create_instances()
Dqat_hal.c999 const int num_inst = ARRAY_SIZE(insts), code_off = 1; in qat_hal_wr_rel_reg() local
1030 return qat_hal_exec_micro_inst(handle, ae, ctx, insts, num_inst, in qat_hal_wr_rel_reg()
1031 code_off, num_inst * 0x5, NULL); in qat_hal_wr_rel_reg()
1199 const int num_inst = ARRAY_SIZE(micro_inst), code_off = 1; in qat_hal_put_rel_wr_xfer() local
1200 const unsigned short gprnum = 0, dly = num_inst * 0x5; in qat_hal_put_rel_wr_xfer()
1237 status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst, in qat_hal_put_rel_wr_xfer()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c202 if (dev->num_inst > 0) { in s5p_mfc_watchdog_worker()
762 dev->num_inst++; /* It is guarded by mfc_mutex in vfd */ in s5p_mfc_open()
821 if (dev->num_inst == 1) { in s5p_mfc_open()
909 if (dev->num_inst == 1) in s5p_mfc_open()
914 if (dev->num_inst == 1) { in s5p_mfc_open()
928 dev->num_inst--; in s5p_mfc_open()
962 dev->num_inst--; in s5p_mfc_release()
963 if (dev->num_inst == 0) { in s5p_mfc_release()
1470 if (m_dev->num_inst == 0) in s5p_mfc_suspend()
1503 if (m_dev->num_inst == 0) in s5p_mfc_resume()
Ds5p_mfc_common.h310 int num_inst; member
/drivers/media/platform/s5p-g2d/
Dg2d.h23 atomic_t num_inst; member
Dg2d.c636 atomic_set(&dev->num_inst, 0); in g2d_probe()
/drivers/media/test-drivers/
Dvim2m.c197 atomic_t num_inst; member
1234 atomic_inc(&dev->num_inst); in vim2m_open()
1259 atomic_dec(&dev->num_inst); in vim2m_release()
1320 atomic_set(&dev->num_inst, 0); in vim2m_probe()
/drivers/media/platform/
Dimx-pxp.c195 atomic_t num_inst; member
1560 atomic_inc(&dev->num_inst); in pxp_open()
1585 atomic_dec(&dev->num_inst); in pxp_release()
1690 atomic_set(&dev->num_inst, 0); in pxp_probe()