Searched refs:num_inst (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/mailbox/ |
D | mailbox-sti.c | 73 unsigned int num_inst; member 202 for (instance = 0; instance < pdata->num_inst; instance++) { in sti_mbox_thread_handler() 226 for (instance = 0; instance < pdata->num_inst; instance++) { in sti_mbox_irq_handler() 337 if (instance >= pdata->num_inst || channel >= pdata->num_chan) { in sti_mbox_xlate() 395 .num_inst = 4,
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | qat_crypto.c | 246 unsigned long num_inst, num_msg_sym, num_msg_asym; in qat_crypto_create_instances() local 257 if (kstrtoul(val, 0, &num_inst)) in qat_crypto_create_instances() 260 for (i = 0; i < num_inst; i++) { in qat_crypto_create_instances()
|
D | qat_hal.c | 1039 const int num_inst = ARRAY_SIZE(insts), code_off = 1; in qat_hal_wr_rel_reg() local 1070 return qat_hal_exec_micro_inst(handle, ae, ctx, insts, num_inst, in qat_hal_wr_rel_reg() 1071 code_off, num_inst * 0x5, NULL); in qat_hal_wr_rel_reg() 1239 const int num_inst = ARRAY_SIZE(micro_inst), code_off = 1; in qat_hal_put_rel_wr_xfer() local 1240 const unsigned short gprnum = 0, dly = num_inst * 0x5; in qat_hal_put_rel_wr_xfer() 1273 status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst, in qat_hal_put_rel_wr_xfer()
|
/Linux-v4.19/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 206 if (dev->num_inst > 0) { in s5p_mfc_watchdog_worker() 765 dev->num_inst++; /* It is guarded by mfc_mutex in vfd */ in s5p_mfc_open() 824 if (dev->num_inst == 1) { in s5p_mfc_open() 912 if (dev->num_inst == 1) in s5p_mfc_open() 917 if (dev->num_inst == 1) { in s5p_mfc_open() 931 dev->num_inst--; in s5p_mfc_open() 965 dev->num_inst--; in s5p_mfc_release() 966 if (dev->num_inst == 0) { in s5p_mfc_release() 1456 if (m_dev->num_inst == 0) in s5p_mfc_suspend() 1489 if (m_dev->num_inst == 0) in s5p_mfc_resume()
|
D | s5p_mfc_common.h | 314 int num_inst; member
|
/Linux-v4.19/drivers/media/platform/s5p-g2d/ |
D | g2d.h | 27 atomic_t num_inst; member
|
D | g2d.c | 622 atomic_set(&dev->num_inst, 0); in g2d_probe()
|
/Linux-v4.19/drivers/media/platform/ |
D | vim2m.c | 147 atomic_t num_inst; member 941 atomic_inc(&dev->num_inst); in vim2m_open() 966 atomic_dec(&dev->num_inst); in vim2m_release() 1011 atomic_set(&dev->num_inst, 0); in vim2m_probe()
|