Home
last modified time | relevance | path

Searched refs:smbus (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/sys/dev/ipmi/
H A Dipmi_ssif.c75 device_t smbus = sc->ipmi_ssif_smbus; in ssif_polled_request() local
81 if (smbus_request_bus(smbus, dev, SMB_WAIT) != 0) in ssif_polled_request()
100 error = smbus_error(smbus_bwrite(smbus, in ssif_polled_request()
115 error = smbus_error(smbus_bwrite(smbus, in ssif_polled_request()
133 error = smbus_error(smbus_bwrite(smbus, in ssif_polled_request()
160 error = smbus_error(smbus_bwrite(smbus, in ssif_polled_request()
174 smbus_release_bus(smbus, dev); in ssif_polled_request()
181 if (smbus_request_bus(smbus, dev, SMB_WAIT) != 0) in ssif_polled_request()
184 error = smbus_error(smbus_bread(smbus, in ssif_polled_request()
187 smbus_release_bus(smbus, dev); in ssif_polled_request()
[all …]
H A Dipmi_smbus.c40 #include <dev/smbus/smbconf.h>
41 #include <dev/smbus/smbus.h>
42 #include <dev/smbus/smb.h>
130 DRIVER_MODULE(ipmi_smbus, smbus, ipmi_smbus_driver, 0, 0);
131 MODULE_DEPEND(ipmi_smbus, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
H A Dipmivars.h96 device_t smbus; member
140 #define ipmi_ssif_smbus _iface.ssif.smbus
/freebsd/sys/dev/jedec_dimm/
H A Djedec_dimm.c54 device_t smbus; member
228 rc = smbus_writeb(sc->smbus, (JEDEC_DTI_PAGE | JEDEC_LSA_PAGE_SET1), in jedec_dimm_adjust_offset()
283 sc->smbus = device_get_parent(dev); in jedec_dimm_attach()
292 rc = smbus_readb(sc->smbus, sc->spd_addr, SPD_OFFSET_DRAM_TYPE, &byte); in jedec_dimm_attach()
363 rc = smbus_readb(sc->smbus, sc->spd_addr, tsod_present_offset, &byte); in jedec_dimm_attach()
520 rc = smbus_readb(sc->smbus, sc->spd_addr, bus_width_offset, in jedec_dimm_capacity()
527 rc = smbus_readb(sc->smbus, sc->spd_addr, dimm_ranks_offset, in jedec_dimm_capacity()
534 rc = smbus_readb(sc->smbus, sc->spd_addr, sdram_capacity_offset, in jedec_dimm_capacity()
542 rc = smbus_readb(sc->smbus, sc->spd_addr, sdram_width_offset, in jedec_dimm_capacity()
551 rc = smbus_readb(sc->smbus, sc->spd_addr, sdram_pkg_type_offset, in jedec_dimm_capacity()
[all …]
/freebsd/sys/modules/i2c/smbus/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/smbus
2 KMOD = smbus
4 smbconf.h smbconf.c smbus.h smbus.c
/freebsd/sys/dev/amdsmb/
H A Damdsmb.c110 device_t smbus; member
162 amdsmb_sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in amdsmb_attach()
163 if (!amdsmb_sc->smbus) { in amdsmb_attach()
215 device_printf(sc->smbus, "timeout waiting for IBF to clear\n"); in amdsmb_ec_wait_write()
229 device_printf(sc->smbus, "timeout waiting for OBF to set\n"); in amdsmb_ec_wait_read()
573 DRIVER_MODULE(smbus, amdsmb, smbus_driver, 0, 0);
576 MODULE_DEPEND(amdsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dstts751.txt8 - smbus-timeout-disable: when set, the smbus timeout function will be disabled
H A Djc42.txt38 - smbus-timeout-disable: When set, the smbus timeout function will be disabled.
H A Dmax6697.txt20 - smbus-timeout-disable
60 smbus-timeout-disable;
/freebsd/sys/dev/iicbus/
H A Diicsmb.c80 device_t smbus; member
155 sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in iicsmb_attach()
193 smbus_intr(sc->smbus, sc->devaddr, in iicsmb_intr()
230 smbus_intr(sc->smbus, sc->devaddr, 0, 0, SMB_EBUSERR); in iicsmb_intr()
474 DRIVER_MODULE(smbus, iicsmb, smbus_driver, 0, 0);
476 MODULE_DEPEND(iicsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
/freebsd/sys/dev/imcsmb/
H A Dimcsmb.c92 sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in imcsmb_attach()
93 if (sc->smbus == NULL) { in imcsmb_attach()
520 MODULE_DEPEND(imcsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
523 DRIVER_MODULE(smbus, imcsmb, smbus_driver, 0, 0);
H A Dimcsmb_var.h98 device_t smbus; /* The child smbusX interface */ member
/freebsd/sys/dev/nfsmb/
H A Dnfsmb.c116 device_t smbus; member
199 nfsmbsub_sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in nfsmbsub_attach()
200 if (nfsmbsub_sc->smbus == NULL) { in nfsmbsub_attach()
235 nfsmb_sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in nfsmb_attach()
236 if (!nfsmb_sc->smbus) { in nfsmb_attach()
641 DRIVER_MODULE(smbus, nfsmb, smbus_driver, 0, 0);
644 MODULE_DEPEND(nfsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
/freebsd/sys/dev/alpm/
H A Dalpm.c126 device_t smbus; member
221 alpm->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in alpm_attach()
222 if (alpm->smbus == NULL) { in alpm_attach()
655 DRIVER_MODULE(smbus, alpm, smbus_driver, 0, 0);
657 MODULE_DEPEND(alpm, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
/freebsd/sys/dev/amdpm/
H A Damdpm.c125 device_t smbus; member
217 amdpm_sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in amdpm_attach()
218 if (!amdpm_sc->smbus) { in amdpm_attach()
661 DRIVER_MODULE(smbus, amdpm, smbus_driver, 0, 0);
664 MODULE_DEPEND(amdpm, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
/freebsd/sys/kern/
H A DMake.tags.inc16 ${SYS}/dev/smbus/*.[ch] \
65 ${SYS}/dev/smbus \
/freebsd/sys/dev/intpm/
H A Dintpm.c52 device_t smbus; member
350 sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in intsmb_attach()
351 if (sc->smbus == NULL) { in intsmb_attach()
356 error = device_probe_and_attach(sc->smbus); in intsmb_attach()
919 DRIVER_MODULE(smbus, intsmb, smbus_driver, 0, 0);
920 MODULE_DEPEND(intsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
/freebsd/sys/modules/i2c/smb/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/smbus
/freebsd/sys/dev/smbus/
H A Dsmbus_if.m30 INTERFACE smbus;
44 # smbus callback
H A Dsmb.c40 #include <dev/smbus/smbconf.h>
41 #include <dev/smbus/smbus.h>
42 #include <dev/smbus/smb.h>
105 /* smbus interface */
418 DRIVER_MODULE(smb, smbus, smb_driver, 0, 0);
419 MODULE_DEPEND(smb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
H A Dsmbconf.h89 __BUS_ACCESSOR(smbus, var, SMBUS, ivar, type)
/freebsd/tools/kerneldoc/subsys/
H A DDoxyfile-dev_smbus12 INPUT = $(DOXYGEN_SRC_PATH)/dev/smbus/ \
/freebsd/sys/modules/i2c/
H A DMakefile27 smbus \
/freebsd/sys/dev/viapm/
H A Dviapm.c99 device_t smbus; member
374 viapm->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in viapm_pro_attach()
998 DRIVER_MODULE(smbus, viapropm, smbus_driver, 0, 0);
1003 MODULE_DEPEND(viapropm, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
/freebsd/etc/mtree/
H A DBSD.include.dist178 smbus

12