commands
for (i = 0; commands[i].cc_name != NULL; ++i)
if (strcmp(*argv, commands[i].cc_name) == 0)
if (commands[i].cc_name == NULL) {
for (i = 0; commands[i].cc_name != NULL; ++i)
if (strncmp(*argv, commands[i].cc_name,
if (commands[i].cc_name == NULL)
exit((*commands[i].cc_handler)(commands[i].cc_name, argc, argv));
const struct changer_command commands[] = {
struct commands *comp;
struct command commands[] = {
for (cmdp = commands; cmdp->cmd_name != NULL; cmdp++)
union dmub_rb_cmd *commands,
const uint8_t ddc_line = commands[0].fused_io.request.u.aux.ddc_line;
struct dmub_rb_cmd_fused_io *first = &commands[0].fused_io;
const bool result = dm_execute_dmub_cmd_list(ctx, count, commands, DM_DMUB_WAIT_TYPE_WAIT_WITH_REPLY)
union dmub_rb_cmd *commands,
const bool result = execute_fused_io(dev, link->ctx, commands, count, timeout_us);
union dmub_rb_cmd *commands,
union dmub_rb_cmd *commands,
return amdgpu_dm_execute_fused_io(dev, link, commands, count, timeout_us);
union dmub_rb_cmd commands[3] = { 0 };
const bool converted = op_i2c_convert(&commands[0], write, FUSED_REQUEST_WRITE, ddc_line, over_aux)
&& op_i2c_convert(&commands[1], poll, FUSED_REQUEST_POLL, ddc_line, over_aux)
&& op_i2c_convert(&commands[2], read, FUSED_REQUEST_READ, ddc_line, over_aux);
const bool result = atomic_write_poll_read(link, commands, poll_timeout_us, poll_mask_msb);
memcpy(read->data, commands[0].fused_io.request.buffer, read->size);
union dmub_rb_cmd commands[3] = { 0 };
const bool converted = op_aux_convert(&commands[0], write, FUSED_REQUEST_WRITE, ddc_line)
&& op_aux_convert(&commands[1], poll, FUSED_REQUEST_POLL, ddc_line)
&& op_aux_convert(&commands[2], read, FUSED_REQUEST_READ, ddc_line);
const bool result = atomic_write_poll_read(link, commands, poll_timeout_us, poll_mask_msb);
memcpy(read->data, commands[0].fused_io.request.buffer, read->size);
union dmub_rb_cmd commands[3],
commands[1].fused_io.request.poll_mask_msb = poll_mask_msb;
commands[1].fused_io.request.timeout_us = poll_timeout_us;
struct dmub_rb_cmd_fused_io *io = &commands[i].fused_io;
io->header.payload_bytes = sizeof(commands[i].fused_io) - sizeof(io->header);
if (!dm_helpers_execute_fused_io(link->ctx, link, commands, count, timeout_us))
return commands[0].fused_io.request.status == FUSED_REQUEST_STATUS_SUCCESS;
union dmub_rb_cmd *commands,
uint64_t commands;
uint64_t commands;
void commands(void);
commands();
void commands(void);
commands();
commands();
Lst_Every(&gn->commands, Targ_PrintCmd);
if (OP_NOP(gn->type) && Lst_IsEmpty(&gn->commands)) {
!Lst_IsEmpty(&DEFAULT->commands)) {
if ((cgn->type & OP_USE) || Lst_IsEmpty(&pgn->commands)) {
Lst_Concat(&pgn->commands, &cgn->commands);
job->next_cmd = Lst_First(&node->commands);
LIST commands; /* Creation commands */
Lst_AtEnd(&gn->commands, cmd);
for (ln = Lst_First(&targets->a[0]->commands); ln != NULL;
if (Lst_IsEmpty(&gn->commands) && Lst_IsEmpty(&gn->children))
Lst_IsEmpty(&gn->commands))) {
Lst_Every(&t->commands, Targ_PrintCmd);
if (!Lst_IsEmpty(&gn->commands)) {
Lst_Destroy(&gn->commands, NOFREE);
Lst_Init(&gn->commands);
if (Lst_IsEmpty(&gn->commands) && Lst_IsEmpty(&gn->children))
Lst_Init(&gn->commands);
if (Lst_IsEmpty(&gn->commands))
Lst_Concat(&gn->commands, &extra->commands);
for (i = 0; commands[i].type != RULE_NONE; i++) {
if (strncmp(commands[i].lopt, command, len) == 0)
return commands[i].type;
if (len == 1 && commands[i].sopt == *command)
return commands[i].type;
} commands[] = {
struct cmd_parse_commands *commands;
struct cmd_parse_commands *commands;
%type <commands> argument_statements statements statement
%type <commands> commands condition condition1
ps->commands = $1;
| commands
$$.commands = $3;
$$.commands = cmd_parse_new_commands();
$$.commands = $3;
$$.commands = $4.commands;
$$.commands = cmd_parse_new_commands();
commands : command
| commands ';'
| commands ';' condition1
| commands ';' command
condition1 : if_open commands if_close
| if_open commands if_else commands if_close
| if_open commands elif1 if_close
| if_open commands elif1 if_else commands if_close
elif1 : if_elif commands
$$.commands = $2;
$$.commands = cmd_parse_new_commands();
| if_elif commands elif1
$$.commands = $2;
$$.commands = $3.commands;
$$.commands = cmd_parse_new_commands();
struct cmd_parse_commands *commands;
$$->commands = $2;
cmd_parse_free_commands(arg->commands);
ps->commands = NULL;
if (ps->commands == NULL)
return (ps->commands);
cmd_parse_log_commands(arg->commands, s);
struct cmd_parse_commands *commands;
cmd_parse_build_commands(arg->commands, pi, pr);
commands = parse_conf(conf, repd, reportid, ignore);
for (cmd = commands; cmd; cmd = cmd->next) {
freecommands(commands);
commands = cmds;
struct command *commands;
for (cmdp = commands; cmdp->cmd_name != NULL; cmdp++)
struct command commands[] = {
for (i = 0; i < nitems(commands); ++i)
if (commands[i].filter_phase == s->filter_phase) {
if (!commands[i].check(s, filter_param))
commands[i].proceed(s, filter_param);
for (i = 0; commands[i].code != -1; i++)
if (!strcasecmp(line, commands[i].cmd)) {
cmd = commands[i].code;
for (i = 0; i < nitems(commands); ++i)
if (commands[i].filter_phase == s->filter_phase) {
commands[i].proceed(s, param);
} commands[] = {