Lines Matching refs:error
49 int error = ps_calloc(malloc_ops, 1, sizeof(**ret_chain), (void **) ret_chain);
50 if (error) {
54 error = list_init(&(*ret_chain)->pin_list);
55 if (error) {
57 return error;
72 int error = list_remove_all(&chain->pin_list);
73 if (error) {
74 return error;
77 error = list_destroy(&chain->pin_list);
78 if (error) {
79 return error;
94 int error = list_append(&chain->pin_list, (void *) gpio);
95 if (error) {
96 return error;
159 int error = list_foreach(&chain->pin_list, gpio_chain_io_callback, &cb_token);
160 if (error) {
161 return error;
178 int error = list_foreach(&chain->pin_list, gpio_chain_io_callback, &cb_token);
179 if (error) {
180 return error;