Lines Matching refs:cmds

175 			       u32 *cmds, u32 size_in_bytes, u32 resv_space)  in guc_ct_buffer_init()  argument
180 ctb->cmds = cmds; in guc_ct_buffer_init()
265 u32 *cmds; in intel_guc_ct_init() local
286 cmds = blob + 2 * CTB_DESC_SIZE; in intel_guc_ct_init()
290 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, in intel_guc_ct_init()
293 guc_ct_buffer_init(&ct->ctbs.send, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()
297 cmds = blob + 2 * CTB_DESC_SIZE + CTB_H2G_BUFFER_SIZE; in intel_guc_ct_init()
301 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, in intel_guc_ct_init()
304 guc_ct_buffer_init(&ct->ctbs.recv, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()
333 u32 base, desc, cmds, size; in intel_guc_ct_enable() local
357 cmds = base + ptrdiff(ct->ctbs.recv.cmds, blob); in intel_guc_ct_enable()
359 err = ct_register_buffer(ct, false, desc, cmds, size); in intel_guc_ct_enable()
364 cmds = base + ptrdiff(ct->ctbs.send.cmds, blob); in intel_guc_ct_enable()
366 err = ct_register_buffer(ct, true, desc, cmds, size); in intel_guc_ct_enable()
442 u32 *cmds = ctb->cmds; in ct_write() local
483 cmds[tail] = header; in ct_write()
486 cmds[tail] = hxg; in ct_write()
490 cmds[tail] = action[i]; in ct_write()
893 u32 *cmds = ctb->cmds; in ct_read() local
949 header = cmds[head]; in ct_read()
958 size - head : available - 1), &cmds[head], in ct_read()
960 available - 1 - size + head : 0), &cmds[0]); in ct_read()
970 size - head : available - 1), &cmds[head], in ct_read()
972 available - 1 - size + head : 0), &cmds[0]); in ct_read()
979 (*msg)->msg[i] = cmds[head]; in ct_read()