Searched refs:ih_devfd (Results 1 – 6 of 6) sorted by relevance
36 (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()
86 int fd = openat(hdl->ih_devfd, mpath + 1, O_RDONLY); in i2c_mux_discover_step()
53 int ih_devfd; member
357 port->port_fd = openat(hdl->ih_devfd, port->port_minor + 1, O_RDWR); in i2c_port_init()
235 ctrl->ctrl_fd = openat(hdl->ih_devfd, ctrl->ctrl_minor + 1, O_RDWR); in i2c_ctrl_init()
663 int fd = openat(hdl->ih_devfd, info->dinfo_minor + 1, O_RDONLY); in i2c_device_info_snap()