Home
last modified time | relevance | path

Searched refs:devcaps (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_devcaps.c79 (i, dev_priv->devcaps[i]); in vmw_fill_compat_cap()
91 vmw->devcaps = vzalloc(sizeof(uint32_t) * SVGA3D_DEVCAP_MAX); in vmw_devcaps_create()
92 if (!vmw->devcaps) in vmw_devcaps_create()
96 vmw->devcaps[i] = vmw_read(vmw, SVGA_REG_DEV_CAP); in vmw_devcaps_create()
104 vfree(vmw->devcaps); in vmw_devcaps_destroy()
105 vmw->devcaps = NULL; in vmw_devcaps_destroy()
131 memcpy(dst, vmw->devcaps, dst_size); in vmw_devcaps_copy()
Dvmwgfx_devcaps.h46 return vmw->devcaps[devcap]; in vmw_devcap_get()
Dvmwgfx_drv.h659 uint32 *devcaps; member
/drivers/net/ethernet/intel/ice/
Dice_devlink.c1269 void *devcaps; in ice_devlink_devcaps_snapshot() local
1272 devcaps = vzalloc(ICE_AQ_MAX_BUF_LEN); in ice_devlink_devcaps_snapshot()
1273 if (!devcaps) in ice_devlink_devcaps_snapshot()
1276 status = ice_aq_list_caps(hw, devcaps, ICE_AQ_MAX_BUF_LEN, NULL, in ice_devlink_devcaps_snapshot()
1282 vfree(devcaps); in ice_devlink_devcaps_snapshot()
1286 *data = (u8 *)devcaps; in ice_devlink_devcaps_snapshot()