Lines Matching refs:cmd_len
254 size_t cmd_len, resp_len, resp_data_len; in occ_getsram() local
265 cmd_len = 5; in occ_getsram()
271 cmd_len = 6; in occ_getsram()
278 cmd[0] = cpu_to_be32(cmd_len); in occ_getsram()
287 rc = sbefifo_submit(occ->sbefifo, cmd, cmd_len, resp, &resp_len); in occ_getsram()
319 size_t cmd_len, buf_len, resp_len, resp_data_len; in occ_putsram() local
324 cmd_len = (occ->version == occ_p10) ? 6 : 5; in occ_putsram()
331 cmd_len += data_len >> 2; in occ_putsram()
332 buf_len = max(cmd_len, resp_len); in occ_putsram()
341 buf[0] = cpu_to_be32(cmd_len); in occ_putsram()
361 rc = sbefifo_submit(occ->sbefifo, buf, cmd_len, buf, &resp_len); in occ_putsram()
399 size_t cmd_len, resp_len, resp_data_len; in occ_trigger_attn() local
408 cmd_len = 7; in occ_trigger_attn()
414 cmd_len = 8; in occ_trigger_attn()
421 buf[0] = cpu_to_be32(cmd_len); /* Chip-op length in words */ in occ_trigger_attn()
427 rc = sbefifo_submit(occ->sbefifo, buf, cmd_len, buf, &resp_len); in occ_trigger_attn()