Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libi2c/common/
H A Dlibi2c.c36 (void) close(hdl->ih_devfd); in i2c_fini()
50 hdl->ih_devfd = open("/devices", O_RDONLY | O_DIRECTORY); in i2c_init()
51 if (hdl->ih_devfd < 0) { in i2c_init()
H A Dlibi2c_mux.c86 int fd = openat(hdl->ih_devfd, mpath + 1, O_RDONLY); in i2c_mux_discover_step()
H A Dlibi2c_impl.h53 int ih_devfd; member
H A Dlibi2c_port.c357 port->port_fd = openat(hdl->ih_devfd, port->port_minor + 1, O_RDWR); in i2c_port_init()
H A Dlibi2c_ctrl.c235 ctrl->ctrl_fd = openat(hdl->ih_devfd, ctrl->ctrl_minor + 1, O_RDWR); in i2c_ctrl_init()
H A Dlibi2c_device.c663 int fd = openat(hdl->ih_devfd, info->dinfo_minor + 1, O_RDONLY); in i2c_device_info_snap()