/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
nouveau_nvkm_subdev_therm_fannil.c | 29 #include "priv.h" 46 struct nvkm_fan *priv; local in function:nvkm_fannil_create 48 priv = kzalloc(sizeof(*priv), GFP_KERNEL); 49 therm->fan = priv; 50 if (!priv) 53 priv->type = "none / external"; 54 priv->get = nvkm_fannil_get; 55 priv->set = nvkm_fannil_set;
|
/src/sys/arch/evbarm/stand/boot2440/ |
s3csdi.h | 36 int s3csd_bus_clock(void *priv, int freq); 37 void s3csd_exec_cmd(void *priv, struct sdmmc_command *cmd); 38 int s3csd_host_ocr(void *priv); 39 int s3csd_bus_power(void *priv, int); 40 int s3csd_bus_width(void *priv, int); 41 int s3csd_get_max_bus_clock(void *priv);
|
/src/sys/external/bsd/drm/dist/bsd-core/ |
drm_fops.c | 45 struct drm_file *priv; local in function:drm_find_file_by_proc 49 TAILQ_FOREACH(priv, &dev->files, link) { 50 if (priv->pid == pid && priv->uid == uid) 51 return priv; 62 struct drm_file *priv; local in function:drm_open_helper 72 priv = drm_find_file_by_proc(dev, p); 73 if (!priv) { 74 priv = malloc(sizeof(*priv), DRM_MEM_FILES, M_NOWAIT | M_ZERO) 114 struct drm_file *priv; local in function:drm_open_helper [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_shadowof.c | 28 #include "priv.h" 37 struct priv { struct 45 struct priv *priv = data; local in function:of_read 46 if (offset < priv->size) { 47 length = min_t(u32, length, priv->size - offset); 48 memcpy_fromio(bios->data + offset, priv->data + offset, length); 57 struct priv *priv = data; local in function:of_size 58 return priv->size 67 struct priv *priv; local in function:of_init [all...] |
nouveau_nvkm_subdev_bios_shadowpci.c | 28 #include "priv.h" 36 struct priv { struct 45 struct priv *priv = data; local in function:pcirom_read 46 if (offset + length <= priv->size) { 47 memcpy_fromio(bios->data + offset, priv->rom + offset, length); 56 struct priv *priv = data; local in function:pcirom_fini 57 pci_unmap_rom(priv->pdev, priv->rom) 66 struct priv *priv = NULL; local in function:pcirom_init 105 struct priv *priv; local in function:platform_init [all...] |
nouveau_nvkm_subdev_bios_shadowramin.c | 28 #include "priv.h" 30 struct priv { struct 51 struct priv *priv = data; local in function:pramin_fini 52 if (priv) { 53 struct nvkm_device *device = priv->bios->subdev.device; 54 nvkm_wr32(device, 0x001700, priv->bar0); 55 kfree(priv); 64 struct priv *priv = NULL local in function:pramin_init [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_nv50_fence.c | 43 struct nv10_fence_priv *priv = chan->drm->fence; local in function:nv50_fence_context_new 45 struct ttm_mem_reg *reg = &priv->bo->bo.mem; 75 struct nv10_fence_priv *priv; local in function:nv50_fence_create 78 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL); 79 if (!priv) 82 priv->base.dtor = nv10_fence_destroy; 83 priv->base.resume = nv17_fence_resume; 84 priv->base.context_new = nv50_fence_context_new; 85 priv->base.context_del = nv10_fence_context_del [all...] |
nouveau_nv10_fence.c | 90 struct nv10_fence_priv *priv = drm->fence; local in function:nv10_fence_destroy 91 nouveau_bo_unmap(priv->bo); 92 if (priv->bo) 93 nouveau_bo_unpin(priv->bo); 94 nouveau_bo_ref(NULL, &priv->bo); 96 spin_lock_destroy(&priv->lock); 97 kfree(priv); 103 struct nv10_fence_priv *priv; local in function:nv10_fence_create 105 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL) [all...] |
nouveau_nv84_fence.c | 97 struct nv84_fence_priv *priv = chan->drm->fence; local in function:nv84_fence_read 98 return nouveau_bo_rd32(priv->bo, chan->chid * 16/4); 104 struct nv84_fence_priv *priv = chan->drm->fence; local in function:nv84_fence_context_del 107 nouveau_bo_wr32(priv->bo, chan->chid * 16 / 4, fctx->base.sequence); 108 mutex_lock(&priv->mutex); 110 mutex_unlock(&priv->mutex); 119 struct nv84_fence_priv *priv = chan->drm->fence; local in function:nv84_fence_context_new 135 mutex_lock(&priv->mutex); 136 ret = nouveau_vma_new(priv->bo, chan->vmm, &fctx->vma); 137 mutex_unlock(&priv->mutex) 147 struct nv84_fence_priv *priv = drm->fence; local in function:nv84_fence_suspend 162 struct nv84_fence_priv *priv = drm->fence; local in function:nv84_fence_resume 176 struct nv84_fence_priv *priv = drm->fence; local in function:nv84_fence_destroy 189 struct nv84_fence_priv *priv; local in function:nv84_fence_create [all...] |
nouveau_nv17_fence.c | 43 struct nv10_fence_priv *priv = chan->drm->fence; local in function:nv17_fence_sync 51 spin_lock(&priv->lock); 52 value = priv->sequence; 53 priv->sequence += 2; 54 spin_unlock(&priv->lock); 82 struct nv10_fence_priv *priv = chan->drm->fence; local in function:nv17_fence_context_new 84 struct ttm_mem_reg *reg = &priv->bo->bo.mem; 114 struct nv10_fence_priv *priv = drm->fence; local in function:nv17_fence_resume 116 nouveau_bo_wr32(priv->bo, 0, priv->sequence) 122 struct nv10_fence_priv *priv; local in function:nv17_fence_create [all...] |
nouveau_nv04_fence.c | 100 struct nv04_fence_priv *priv = drm->fence; local in function:nv04_fence_destroy 102 kfree(priv); 108 struct nv04_fence_priv *priv; local in function:nv04_fence_create 110 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL); 111 if (!priv) 114 priv->base.dtor = nv04_fence_destroy; 115 priv->base.context_new = nv04_fence_context_new; 116 priv->base.context_del = nv04_fence_context_del;
|
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/ |
amdgpu_vega12_smumgr.c | 48 struct vega12_smumgr *priv = local in function:vega12_copy_table_from_smc 54 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, 56 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, 60 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr)) == 0, 64 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)) == 0, 76 memcpy(table, priv->smu_tables.entry[table_id].table, 77 priv->smu_tables.entry[table_id].size); 90 struct vega12_smumgr *priv = local in function:vega12_copy_table_to_smc 96 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, 98 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0 196 struct vega12_smumgr *priv = local in function:vega12_set_tools_address 212 struct vega12_smumgr *priv; local in function:vega12_smu_init 347 struct vega12_smumgr *priv = local in function:vega12_smu_fini [all...] |
amdgpu_vega10_smumgr.c | 46 struct vega10_smumgr *priv = hwmgr->smu_backend; local in function:vega10_copy_table_from_smc 51 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, 53 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, 57 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr)); 60 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)); 63 priv->smu_tables.entry[table_id].table_id); 68 memcpy(table, priv->smu_tables.entry[table_id].table, 69 priv->smu_tables.entry[table_id].size); 77 struct vega10_smumgr *priv = hwmgr->smu_backend; local in function:vega10_copy_table_to_smc 88 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0 155 struct vega10_smumgr *priv = hwmgr->smu_backend; local in function:vega10_set_tools_address 200 struct vega10_smumgr *priv; local in function:vega10_smu_init 324 struct vega10_smumgr *priv = hwmgr->smu_backend; local in function:vega10_smu_fini [all...] |
amdgpu_vega20_smumgr.c | 169 struct vega20_smumgr *priv = local in function:vega20_copy_table_from_smc 176 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, 178 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, 183 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr))) == 0, 188 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr))) == 0, 199 memcpy(table, priv->smu_tables.entry[table_id].table, 200 priv->smu_tables.entry[table_id].size); 213 struct vega20_smumgr *priv = local in function:vega20_copy_table_to_smc 220 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, 222 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0 251 struct vega20_smumgr *priv = local in function:vega20_set_activity_monitor_coeff 282 struct vega20_smumgr *priv = local in function:vega20_get_activity_monitor_coeff 372 struct vega20_smumgr *priv = local in function:vega20_set_tools_address 391 struct vega20_smumgr *priv = local in function:vega20_set_pptable_driver_address 411 struct vega20_smumgr *priv; local in function:vega20_smu_init 543 struct vega20_smumgr *priv = local in function:vega20_smu_fini [all...] |
amdgpu_smu10_smumgr.c | 124 struct smu10_smumgr *priv = local in function:smu10_copy_table_from_smc 130 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, 132 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, 136 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr)); 139 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)); 142 priv->smu_tables.entry[table_id].table_id); 147 memcpy(table, (uint8_t *)priv->smu_tables.entry[table_id].table, 148 priv->smu_tables.entry[table_id].size); 156 struct smu10_smumgr *priv = local in function:smu10_copy_table_to_smc 162 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0 204 struct smu10_smumgr *priv = local in function:smu10_smu_fini 241 struct smu10_smumgr *priv; local in function:smu10_smu_init [all...] |
/src/sys/dev/fdt/ |
syscon.h | 33 void *priv; member in struct:syscon 42 (_syscon)->lock((_syscon)->priv) 45 (_syscon)->unlock((_syscon)->priv) 48 (_syscon)->read_4((_syscon)->priv, (_reg)) 51 (_syscon)->write_4((_syscon)->priv, (_reg), (_val))
|
/src/sys/external/bsd/drm2/dist/drm/i2c/ |
ch7006_drv.c | 41 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_set_config 43 priv->params = *(struct ch7006_encoder_params *)params; 48 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_destroy 50 drm_property_destroy(encoder->dev, priv->scale_property); 52 kfree(priv); 61 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_dpms 62 struct ch7006_state *state = &priv->state; 66 if (mode == priv->last_dpms) 68 priv->last_dpms = mode; 78 struct ch7006_priv *priv = to_ch7006_priv(encoder) local in function:ch7006_encoder_save 88 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_restore 99 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_mode_fixup 123 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_mode_set 186 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_detect 233 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_get_modes 254 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_create_resources 292 struct ch7006_priv *priv = to_ch7006_priv(encoder); local in function:ch7006_encoder_set_property 447 struct ch7006_priv *priv; local in function:ch7006_encoder_init [all...] |
sil164_drv.c | 217 struct sil164_priv *priv = to_sil164_priv(encoder); local in function:sil164_encoder_set_config 219 priv->config = *(struct sil164_encoder_params *)params; 225 struct sil164_priv *priv = to_sil164_priv(encoder); local in function:sil164_encoder_dpms 231 if (priv->duallink_slave) 232 sil164_set_power_state(priv->duallink_slave, duallink); 238 struct sil164_priv *priv = to_sil164_priv(encoder); local in function:sil164_encoder_save 241 priv->saved_state); 243 if (priv->duallink_slave) 244 sil164_save_state(priv->duallink_slave, 245 priv->saved_slave_state) 251 struct sil164_priv *priv = to_sil164_priv(encoder); local in function:sil164_encoder_restore 265 struct sil164_priv *priv = to_sil164_priv(encoder); local in function:sil164_encoder_mode_valid 282 struct sil164_priv *priv = to_sil164_priv(encoder); local in function:sil164_encoder_mode_set 333 struct sil164_priv *priv = to_sil164_priv(encoder); local in function:sil164_encoder_destroy 409 struct sil164_priv *priv; local in function:sil164_encoder_init [all...] |
/src/sys/fs/udf/ |
udf_strat_sequential.c | 70 #define PRIV(ump) ((struct strat_private *) ump->strategy_private) 146 struct strat_private *priv = PRIV(ump); local in function:udf_create_logvol_dscr_seq 150 *dscrptr = pool_get(&priv->desc_pool, PR_WAITOK); 162 struct strat_private *priv = PRIV(ump); local in function:udf_free_logvol_dscr_seq 164 pool_put(&priv->desc_pool, dscr); 175 struct strat_private *priv = PRIV(ump); local in function:udf_read_logvol_dscr_seq 191 *dscrptr = pool_get(&priv->desc_pool, PR_WAITOK) 265 struct strat_private *priv = PRIV(ump); local in function:udf_queuebuf_seq 298 struct strat_private *priv = PRIV(ump); local in function:udf_sync_caches_seq 481 struct strat_private *priv = PRIV(ump); local in function:udf_doshedule 567 struct strat_private *priv = PRIV(ump); local in function:udf_discstrat_thread 611 struct strat_private *priv = PRIV(ump); local in function:udf_discstrat_init_seq 690 struct strat_private *priv = PRIV(ump); local in function:udf_discstrat_finish_seq [all...] |
udf_strat_rmw.c | 70 #define PRIV(ump) ((struct strat_private *) (ump)->strategy_private) 154 struct strat_private *priv = PRIV(eccline->ump); local in function:udf_lock_eccline 157 KASSERT(mutex_owned(&priv->discstrat_mutex)); 159 waslocked = mutex_owned(&priv->discstrat_mutex); 161 mutex_enter(&priv->discstrat_mutex); 171 ret = cv_timedwait(&priv->discstrat_cv, &priv->discstrat_mutex, 185 mutex_exit(&priv->discstrat_mutex); 193 struct strat_private *priv = PRIV(eccline->ump) local in function:udf_unlock_eccline 214 struct strat_private *priv = PRIV(eccline->ump); local in function:udf_dispose_eccline 241 struct strat_private *priv = PRIV(eccline->ump); local in function:udf_push_eccline 370 struct strat_private *priv = PRIV(ump); local in function:udf_geteccline 489 struct strat_private *priv = PRIV(eccline->ump); local in function:udf_puteccline 613 struct strat_private *priv; local in function:udf_read_nodedscr_rmw 774 struct strat_private *priv = PRIV(ump); local in function:udf_queuebuf_rmw 1107 struct strat_private *priv = PRIV(ump); local in function:udf_issue_eccline 1200 struct strat_private *priv = PRIV(ump); local in function:udf_discstrat_thread 1399 struct strat_private *priv = PRIV(ump); local in function:udf_discstrat_init_rmw 1477 struct strat_private *priv = PRIV(ump); local in function:udf_discstrat_finish_rmw [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/ |
driver.h | 17 const char *dbg, void **priv); 18 void (*fini)(void *priv); 19 int (*suspend)(void *priv); 20 int (*resume)(void *priv); 21 int (*ioctl)(void *priv, bool super, void *data, u32 size, void **hack); 23 int (*map)(void *priv, bus_space_tag_t tag, u64 handle, u32 size, 25 void (*unmap)(void *priv, bus_space_tag_t tag, 29 void __iomem *(*map)(void *priv, u64 handle, u32 size); 30 void (*unmap)(void *priv, void __iomem *ptr, u32 size);
|
if500d.h | 19 __u8 priv; member in struct:nv50_vmm_map_v0
|
if900d.h | 20 __u8 priv; member in struct:gf100_vmm_map_v0
|
ifb00d.h | 26 __u8 priv; member in struct:gm200_vmm_map_v0
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
mock_dmabuf.h | 21 return buf->priv;
|