Home
last modified time | relevance | path

Searched refs:state (Results 1 – 6 of 6) sorted by relevance

/samples/mic/mpssd/
Dmicctrl26 echo -e $1 state: "`cat $f/state`" shutdown_status: "`cat $f/shutdown_status`"
47 echo reset > $f/state
71 echo "boot" > $f/state
92 echo shutdown > $f/state
Dmpssd.c1316 char *state; in reset() local
1317 state = readsysfs(mic->name, "state"); in reset()
1318 if (!state) in reset()
1321 mic->name, __func__, __LINE__, state); in reset()
1323 if (!strcmp(state, "ready")) { in reset()
1324 free(state); in reset()
1327 free(state); in reset()
1354 char *state = NULL; in get_mic_state() local
1357 while (!state) { in get_mic_state()
1358 state = readsysfs(mic->name, "state"); in get_mic_state()
[all …]
/samples/bpf/
Dcpustat_kern.c86 u32 state; member
136 *cstate = ctx->state; in bpf_prog1()
163 if (ctx->state != (u32)-1) { in bpf_prog1()
236 *pstate = ctx->state; in bpf_prog2()
/samples/uhid/
Duhid-example.c393 struct termios state; in main() local
395 ret = tcgetattr(STDIN_FILENO, &state); in main()
399 state.c_lflag &= ~ICANON; in main()
400 state.c_cc[VMIN] = 1; in main()
401 ret = tcsetattr(STDIN_FILENO, TCSANOW, &state); in main()
/samples/livepatch/
Dlivepatch-callbacks-demo.c102 module_state[obj->mod->state]); in callback_info()
/samples/v4l/
Dv4l2-pci-skeleton.c230 enum vb2_buffer_state state) in return_all_buffers() argument
237 vb2_buffer_done(&buf->vb.vb2_buf, state); in return_all_buffers()