Home
last modified time | relevance | path

Searched refs:iicbus_request_bus (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/iicbus/
H A Diic.c288 error = iicbus_request_bus(parent, priv->sc->sc_dev, in iicuio()
406 error = iicbus_request_bus(parent, iicdev, in iicrdwr()
479 error = iicbus_request_bus(parent, iicdev, in iicioctl()
509 error = iicbus_request_bus(parent, iicdev, in iicioctl()
H A Diichid.c534 if (iicbus_request_bus(parent, sc->dev, IIC_WAIT) != 0) in iichid_sampling_task()
594 if (iicbus_request_bus(parent, sc->dev, IIC_DONTWAIT) != 0) in iichid_intr()
637 error = iicbus_request_bus(parent, sc->dev, how_request); in iichid_set_power_state()
779 error = iicbus_request_bus(parent, sc->dev, IIC_WAIT); in iichid_sysctl_sampling_rate_handler()
923 error = iicbus_request_bus(parent, sc->dev, IIC_WAIT); in iichid_read()
1208 iicbus_request_bus(device_get_parent(dev), dev, IIC_WAIT); in iichid_attach()
H A Diiconf.h124 extern int iicbus_request_bus(device_t, device_t, int);
H A Diiconf.c135 iicbus_request_bus(device_t bus, device_t dev, int how) in iicbus_request_bus() function
453 error = iicbus_request_bus(bus, dev, how); in iicbus_transfer_excl()
H A Diicsmb.c260 error = iicbus_request_bus(parent, dev, how); in iicsmb_callback()
454 error = iicbus_request_bus(parent, dev, IIC_WAIT | IIC_RECURSIVE); in iicsmb_bread()
H A Dif_ic.c227 if ((error = iicbus_request_bus(parent, icdev, in icioctl()
H A Dacpi_iicbus.c185 error = iicbus_request_bus(parent, dev, IIC_WAIT); in acpi_iicbus_bread()
/freebsd/sys/dev/iicbus/rtc/
H A Disl12xx.c244 if ((err = iicbus_request_bus(sc->busdev, sc->dev, IIC_WAIT)) == 0) { in isl12xx_gettime()
320 if ((err = iicbus_request_bus(sc->busdev, sc->dev, IIC_WAIT)) != 0) in isl12xx_settime()
H A Drtc8583.c224 if ((err = iicbus_request_bus(sc->busdev, sc->dev, IIC_WAIT)) != 0) in rtc8583_gettime()
268 if ((err = iicbus_request_bus(sc->busdev, sc->dev, IIC_WAIT)) != 0) in rtc8583_settime()
H A Dnxprtc.c756 if ((err = iicbus_request_bus(sc->busdev, sc->dev, IIC_WAIT)) == 0) { in nxprtc_gettime()
826 if ((err = iicbus_request_bus(sc->busdev, sc->dev, IIC_WAIT)) != 0) in nxprtc_settime()
/freebsd/sys/dev/iicbus/mux/
H A Diicmux.c69 * bus and device. If missing, someone bypassed iicbus_request_bus() in iicmux_callback()
110 if ((err = iicbus_request_bus(sc->busdev, dev, rd->flags)) != 0) in iicmux_callback()
/freebsd/sys/dev/etherswitch/rtl8366/
H A Drtl8366rb.c388 err = iicbus_request_bus(iicbus, dev, IIC_WAIT); in smi_probe()
445 r = iicbus_request_bus(device_get_parent(sc->dev), sc->dev, \ in smi_acquire()
/freebsd/sys/dev/cyapa/
H A Dcyapa.c1268 error = iicbus_request_bus(bus, sc->dev, IIC_WAIT); in cyapa_poll_thread()
1649 error = iicbus_request_bus(bus, sc->dev, IIC_WAIT); in cyapa_set_power_mode()
/freebsd/sys/dev/hdmi/
H A Ddwc_hdmi.c686 result = iicbus_request_bus(i2c_dev, sc->sc_dev, IIC_INTRWAIT); in hdmi_edid_read()