/linux-6.12.1/drivers/gpu/drm/amd/include/ |
D | amdgpu_reg_state.h | 133 static inline size_t amdgpu_reginst_size(uint16_t num_inst, size_t inst_size, in amdgpu_reginst_size() argument 136 return num_inst * in amdgpu_reginst_size()
|
/linux-6.12.1/drivers/mailbox/ |
D | mailbox-sti.c | 69 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,
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/ |
D | qat_crypto.c | 133 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()
|
D | qat_compression.c | 119 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()
|
D | qat_hal.c | 1187 const int num_inst = ARRAY_SIZE(insts), code_off = 1; in qat_hal_wr_rel_reg() local 1218 return qat_hal_exec_micro_inst(handle, ae, ctx, insts, num_inst, in qat_hal_wr_rel_reg() 1219 code_off, num_inst * 0x5, NULL); in qat_hal_wr_rel_reg() 1387 const int num_inst = ARRAY_SIZE(micro_inst), code_off = 1; in qat_hal_put_rel_wr_xfer() local 1388 const unsigned short gprnum = 0, dly = num_inst * 0x5; in qat_hal_put_rel_wr_xfer() 1425 status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst, in qat_hal_put_rel_wr_xfer()
|
/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc.c | 208 if (dev->num_inst > 0) { in s5p_mfc_watchdog_worker() 779 dev->num_inst++; /* It is guarded by mfc_mutex in vfd */ in s5p_mfc_open() 840 if (dev->num_inst == 1) { in s5p_mfc_open() 928 if (dev->num_inst == 1) in s5p_mfc_open() 933 if (dev->num_inst == 1) { in s5p_mfc_open() 947 dev->num_inst--; in s5p_mfc_open() 981 dev->num_inst--; in s5p_mfc_release() 982 if (dev->num_inst == 0) { in s5p_mfc_release() 1479 if (m_dev->num_inst == 0) in s5p_mfc_suspend() 1512 if (m_dev->num_inst == 0) in s5p_mfc_resume()
|
D | s5p_mfc_common.h | 316 int num_inst; member
|
/linux-6.12.1/drivers/media/platform/samsung/s5p-g2d/ |
D | g2d.h | 23 atomic_t num_inst; member
|
D | g2d.c | 635 atomic_set(&dev->num_inst, 0); in g2d_probe()
|
/linux-6.12.1/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d.h | 114 atomic_t num_inst; member
|
D | dma2d.c | 614 atomic_set(&dev->num_inst, 0); in dma2d_probe()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | aqua_vanjaram.c | 33 #define XCP_INST_MASK(num_inst, xcp_id) \ argument 34 (num_inst ? GENMASK(num_inst - 1, 0) << (xcp_id * num_inst) : 0)
|
D | gfx_v9_4_3.c | 4591 uint32_t num_xcc, reg, num_inst; in gfx_v9_4_3_ip_print() local 4612 num_inst = adev->gfx.mec.num_mec * adev->gfx.mec.num_pipe_per_mec * in gfx_v9_4_3_ip_print() 4623 xcc_offset = xcc_id * reg_count * num_inst; in gfx_v9_4_3_ip_print() 4650 uint32_t num_xcc, reg, num_inst; in gfx_v9_4_3_ip_dump() local 4673 num_inst = adev->gfx.mec.num_mec * adev->gfx.mec.num_pipe_per_mec * in gfx_v9_4_3_ip_dump() 4679 xcc_offset = xcc_id * reg_count * num_inst; in gfx_v9_4_3_ip_dump()
|
/linux-6.12.1/drivers/media/test-drivers/ |
D | vim2m.c | 192 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()
|
/linux-6.12.1/drivers/media/platform/nxp/ |
D | imx-pxp.c | 221 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()
|