Lines Matching refs:cmd_len
258 size_t cmd_len, parsed_len, resp_data_len; in occ_getsram() local
271 cmd_len = 5; in occ_getsram()
277 cmd_len = 6; in occ_getsram()
284 cmd[0] = cpu_to_be32(cmd_len); in occ_getsram()
288 rc = sbefifo_submit(occ->sbefifo, cmd, cmd_len, resp, &resp_len); in occ_getsram()
319 size_t cmd_len, parsed_len, resp_data_len; in occ_putsram() local
325 cmd_len = (occ->version == occ_p10) ? 6 : 5; in occ_putsram()
326 cmd_len += data_len >> 2; in occ_putsram()
332 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()
396 size_t cmd_len, parsed_len, resp_data_len; in occ_trigger_attn() local
403 cmd_len = 7; in occ_trigger_attn()
409 cmd_len = 8; in occ_trigger_attn()
416 buf[0] = cpu_to_be32(cmd_len); /* Chip-op length in words */ in occ_trigger_attn()
422 rc = sbefifo_submit(occ->sbefifo, buf, cmd_len, buf, &resp_len); in occ_trigger_attn()