Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/crypto/qat/qat_common/
Dqat_crypto.c153 unsigned long num_inst, num_msg_sym, num_msg_asym; in qat_crypto_create_instances() local
165 if (kstrtoul(val, 0, &num_inst)) in qat_crypto_create_instances()
168 for (i = 0; i < num_inst; i++) { in qat_crypto_create_instances()
Dqat_hal.c991 const int num_inst = ARRAY_SIZE(insts), code_off = 1; in qat_hal_wr_rel_reg() local
1022 return qat_hal_exec_micro_inst(handle, ae, ctx, insts, num_inst, in qat_hal_wr_rel_reg()
1023 code_off, num_inst * 0x5, NULL); in qat_hal_wr_rel_reg()
1192 const int num_inst = ARRAY_SIZE(micro_inst), code_off = 1; in qat_hal_put_rel_wr_xfer() local
1193 const unsigned short gprnum = 0, dly = num_inst * 0x5; in qat_hal_put_rel_wr_xfer()
1226 status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst, in qat_hal_put_rel_wr_xfer()
/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c168 if (dev->num_inst > 0) { in s5p_mfc_watchdog_worker()
729 dev->num_inst++; /* It is guarded by mfc_mutex in vfd */ in s5p_mfc_open()
788 if (dev->num_inst == 1) { in s5p_mfc_open()
867 if (dev->num_inst == 1) in s5p_mfc_open()
872 if (dev->num_inst == 1) { in s5p_mfc_open()
886 dev->num_inst--; in s5p_mfc_open()
914 dev->num_inst--; in s5p_mfc_release()
915 if (dev->num_inst == 0) { in s5p_mfc_release()
1285 if (m_dev->num_inst == 0) in s5p_mfc_suspend()
1319 if (m_dev->num_inst == 0) in s5p_mfc_resume()
Ds5p_mfc_common.h310 int num_inst; member
/linux-4.1.27/drivers/media/platform/s5p-g2d/
Dg2d.h27 atomic_t num_inst; member
Dg2d.c633 atomic_set(&dev->num_inst, 0); in g2d_probe()
/linux-4.1.27/drivers/media/platform/
Dvim2m.c147 atomic_t num_inst; member
926 atomic_inc(&dev->num_inst); in vim2m_open()
951 atomic_dec(&dev->num_inst); in vim2m_release()
996 atomic_set(&dev->num_inst, 0); in vim2m_probe()