Searched refs:init_list (Results 1 – 4 of 4) sorted by relevance
24 static struct rt5677_init_reg init_list[] = { variable126 for (i = 0; i < ARRAY_SIZE(init_list); i++) { in rt5677_reg_init()127 ret = rt5677_i2c_write(priv, init_list[i].reg, init_list[i].val); in rt5677_reg_init()
215 GArray *init_list; /**< List of initialized registers */ member
1647 c->inst.init_list = g_array_new(FALSE, FALSE, sizeof(HexValue)); in gen_inst() 1664 /* If init_list is NULL arguments have already been initialized */ in gen_inst_init_args() 1665 if (!c->inst.init_list) { in gen_inst_init_args() 1669 for (unsigned i = 0; i < c->inst.init_list->len; i++) { in gen_inst_init_args() 1670 val = &g_array_index(c->inst.init_list, HexValue, i); in gen_inst_init_args() 1680 g_array_free(c->inst.init_list, TRUE); in gen_inst_init_args() 1681 c->inst.init_list = NULL; in gen_inst_init_args() 2130 if (c->inst.init_list) { in free_instruction() 2131 g_array_free(c->inst.init_list, TRUE); in free_instruction()
241 g_array_append_val(c->inst.init_list, $1);