Home
last modified time | relevance | path

Searched refs:cres (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c203 struct vmw_cmdbuf_res *cres; in vmw_cmdbuf_res_add() local
206 cres = kzalloc(sizeof(*cres), GFP_KERNEL); in vmw_cmdbuf_res_add()
207 if (unlikely(!cres)) in vmw_cmdbuf_res_add()
210 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add()
211 ret = drm_ht_insert_item(&man->resources, &cres->hash); in vmw_cmdbuf_res_add()
213 kfree(cres); in vmw_cmdbuf_res_add()
217 cres->state = VMW_CMDBUF_RES_ADD; in vmw_cmdbuf_res_add()
218 cres->res = vmw_resource_reference(res); in vmw_cmdbuf_res_add()
219 cres->man = man; in vmw_cmdbuf_res_add()
220 list_add_tail(&cres->head, list); in vmw_cmdbuf_res_add()
/drivers/mtd/nand/raw/
Dstm32_fmc2_nand.c1858 struct resource cres; in stm32_fmc2_nfc_probe() local
1878 ret = of_address_to_resource(nfc->cdev->of_node, 0, &cres); in stm32_fmc2_nfc_probe()
1882 nfc->io_phys_addr = cres.start; in stm32_fmc2_nfc_probe()