Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A Da5xx_power.c331 unsigned int cmds_size; in a5xx_gpmu_ucode_init() local
357 cmds_size = data[0] - data[2] - 2; in a5xx_gpmu_ucode_init()
363 bosize = (cmds_size + (cmds_size / TYPE4_MAX_PAYLOAD) + 1) << 2; in a5xx_gpmu_ucode_init()
373 while (cmds_size > 0) { in a5xx_gpmu_ucode_init()
375 uint32_t _size = cmds_size > TYPE4_MAX_PAYLOAD ? in a5xx_gpmu_ucode_init()
376 TYPE4_MAX_PAYLOAD : cmds_size; in a5xx_gpmu_ucode_init()
385 cmds_size -= _size; in a5xx_gpmu_ucode_init()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c235 u32 cmds_size; in intel_guc_ct_init() local
260 cmds_size = CTB_H2G_BUFFER_SIZE; in intel_guc_ct_init()
263 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, in intel_guc_ct_init()
266 guc_ct_buffer_init(&ct->ctbs.send, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()
271 cmds_size = CTB_G2H_BUFFER_SIZE; in intel_guc_ct_init()
274 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, in intel_guc_ct_init()
277 guc_ct_buffer_init(&ct->ctbs.recv, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()