Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dkobject.rst66 struct uio_map {
71 如果你有一个uio_map结构体,找到其嵌入的kobject只是一个使用kobj成员的问题。
86 uio_map结构 **中** 的kobject结构体的指针kp可以被转换为一个指向 **包含** uio_map
89 struct uio_map *u_map = container_of(kp, struct uio_map, kobj);
94 struct uio_map {
99 #define to_map(map) container_of(map, struct uio_map, kobj)
103 struct uio_map *map = to_map(kobj);
/openbmc/linux/include/linux/
H A Duio_driver.h21 struct uio_map;
44 struct uio_map *map;
/openbmc/linux/Documentation/core-api/
H A Dkobject.rst71 struct uio_map {
76 If you have a struct uio_map structure, finding its embedded kobject is
93 embedded **within** a struct uio_map could be converted to a pointer to the
94 **containing** uio_map structure with::
96 struct uio_map *u_map = container_of(kp, struct uio_map, kobj);
102 struct uio_map {
107 #define to_map(map) container_of(map, struct uio_map, kobj)
112 struct uio_map *map = to_map(kobj);
/openbmc/linux/drivers/uio/
H A Duio.c42 struct uio_map { struct
46 #define to_map(map) container_of(map, struct uio_map, kobj) argument
97 struct uio_map *map = to_map(kobj); in map_release()
104 struct uio_map *map = to_map(kobj); in map_type_show()
291 struct uio_map *map; in uio_dev_add_attributes()