Home
last modified time | relevance | path

Searched refs:stm32_rstline (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/rstctrl/
H A Dstm32_rstctrl.c15 static SLIST_HEAD(, stm32_rstline) stm32_rst_list =
18 static struct stm32_rstline *find_rstctrl_device(unsigned int control_id) in find_rstctrl_device()
20 struct stm32_rstline *stm32_rstline = NULL; in find_rstctrl_device() local
22 SLIST_FOREACH(stm32_rstline, &stm32_rst_list, link) in find_rstctrl_device()
23 if (stm32_rstline->id == control_id) in find_rstctrl_device()
26 return stm32_rstline; in find_rstctrl_device()
30 stm32_rstline *find_or_allocate_rstline(unsigned int binding_id, in find_or_allocate_rstline()
33 struct stm32_rstline *stm32_rstline = find_rstctrl_device(binding_id); in find_or_allocate_rstline() local
35 if (stm32_rstline) in find_or_allocate_rstline()
36 return stm32_rstline; in find_or_allocate_rstline()
[all …]
H A Dstm32_rstctrl.h46 struct stm32_rstline { struct
50 SLIST_ENTRY(stm32_rstline) link; argument
53 struct stm32_rstline *to_stm32_rstline(struct rstctrl *rstctrl);