Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/switch/
H A Dswitchtec.c85 struct switchtec_user *stuser; in stuser_create() local
87 stuser = kzalloc(sizeof(*stuser), GFP_KERNEL); in stuser_create()
88 if (!stuser) in stuser_create()
92 stuser->stdev = stdev; in stuser_create()
93 kref_init(&stuser->kref); in stuser_create()
94 INIT_LIST_HEAD(&stuser->list); in stuser_create()
95 init_waitqueue_head(&stuser->cmd_comp); in stuser_create()
96 stuser->event_cnt = atomic_read(&stdev->event_cnt); in stuser_create()
98 dev_dbg(&stdev->dev, "%s: %p\n", __func__, stuser); in stuser_create()
100 return stuser; in stuser_create()
[all …]