Searched refs:portio (Results 1 – 2 of 2) sorted by relevance
143 #define to_portio(portio) container_of(portio, struct uio_portio, kobj) argument198 struct uio_portio *portio = to_portio(kobj); in portio_release() local199 kfree(portio); in portio_release()205 struct uio_portio *portio = to_portio(kobj); in portio_type_show() local206 struct uio_port *port = portio->port; in portio_type_show()273 struct uio_portio *portio; in uio_dev_add_attributes() local311 portio = kzalloc(sizeof(*portio), GFP_KERNEL); in uio_dev_add_attributes()312 if (!portio) in uio_dev_add_attributes()314 kobject_init(&portio->kobj, &portio_attr_type); in uio_dev_add_attributes()315 portio->port = port; in uio_dev_add_attributes()[all …]
61 struct uio_portio *portio; member