Searched refs:portio (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/uio/
H A Duio.c130 #define to_portio(portio) container_of(portio, struct uio_portio, kobj)
185 struct uio_portio *portio = to_portio(kobj); portio_release() local
186 kfree(portio); portio_release()
192 struct uio_portio *portio = to_portio(kobj); portio_type_show() local
193 struct uio_port *port = portio->port; portio_type_show()
264 struct uio_portio *portio; uio_dev_add_attributes() local
297 idev->portio_dir = kobject_create_and_add("portio", uio_dev_add_attributes()
302 portio = kzalloc(sizeof(*portio), GFP_KERNEL); uio_dev_add_attributes()
303 if (!portio) uio_dev_add_attributes()
305 kobject_init(&portio->kobj, &portio_attr_type); uio_dev_add_attributes()
306 portio->port = port; uio_dev_add_attributes()
307 port->portio = portio; uio_dev_add_attributes()
308 ret = kobject_add(&portio->kobj, idev->portio_dir, uio_dev_add_attributes()
312 ret = kobject_uevent(&portio->kobj, KOBJ_ADD); uio_dev_add_attributes()
324 portio = port->portio; uio_dev_add_attributes()
325 kobject_put(&portio->kobj); uio_dev_add_attributes()
359 kobject_put(&port->portio->kobj); uio_dev_del_attributes()
/linux-4.4.14/include/linux/
H A Duio_driver.h54 * @portio: for use by the UIO core only.
61 struct uio_portio *portio; member in struct:uio_port

Completed in 112 milliseconds