/freebsd-12-stable/sys/modules/i2c/smbus/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/dev/smbus 4 KMOD = smbus 6 smbconf.h smbconf.c smbus.h smbus.c
|
/freebsd-12-stable/sys/modules/i2c/smb/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/dev/smbus
|
/freebsd-12-stable/sys/modules/i2c/ |
H A D | Makefile | 25 smbus \
|
/freebsd-12-stable/sys/dev/ipmi/ |
H A D | ipmi_smbus.c | 42 #include <dev/smbus/smbconf.h> 43 #include <dev/smbus/smbus.h> 44 #include <dev/smbus/smb.h> 132 DRIVER_MODULE(ipmi_smbus, smbus, ipmi_smbus_driver, ipmi_devclass, 0, 0); 133 MODULE_DEPEND(ipmi_smbus, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
|
H A D | ipmi_ssif.c | 42 #include <dev/smbus/smbconf.h> 43 #include <dev/smbus/smb.h> 78 device_t smbus = sc->ipmi_ssif_smbus; local 84 if (smbus_request_bus(smbus, dev, SMB_WAIT) != 0) 103 error = smbus_error(smbus_bwrite(smbus, 118 error = smbus_error(smbus_bwrite(smbus, 136 error = smbus_error(smbus_bwrite(smbus, 163 error = smbus_error(smbus_bwrite(smbus, 177 smbus_release_bus(smbus, dev); 184 if (smbus_request_bus(smbus, de 381 ipmi_ssif_attach(struct ipmi_softc *sc, device_t smbus, int smbus_address) argument [all...] |
H A D | ipmivars.h | 87 device_t smbus; member in struct:ipmi_ssif 129 #define ipmi_ssif_smbus _iface.ssif.smbus
|
/freebsd-12-stable/sys/dev/imcsmb/ |
H A D | imcsmb_var.h | 52 #include <dev/smbus/smbconf.h> 100 device_t smbus; /* The child smbusX interface */ member in struct:imcsmb_softc
|
H A D | imcsmb.c | 51 #include <dev/smbus/smbconf.h> 74 * parent imcsmb_pci's registers that we will use. Create the smbus(4) device, 94 /* Create the smbus child */ 95 sc->smbus = device_add_child(dev, "smbus", -1); 96 if (sc->smbus == NULL) { 98 device_printf(dev, "Child smbus not added\n"); 103 /* Attach the smbus child. */ 105 device_printf(dev, "Failed to attach smbus: %d\n", rc); 534 /* smbus method [all...] |
H A D | imcsmb_reg.h | 52 #include <dev/smbus/smbconf.h>
|
H A D | imcsmb_pci.c | 49 #include <dev/smbus/smbconf.h> 83 * - "imcsmb" is an smbus(4)-compliant SMBus controller driver
|
/freebsd-12-stable/sys/dev/jedec_dimm/ |
H A D | jedec_dimm.c | 49 #include <dev/smbus/smbconf.h> 50 #include <dev/smbus/smbus.h> 56 device_t smbus; member in struct:jedec_dimm_softc 209 sc->smbus = device_get_parent(dev); 218 rc = smbus_readb(sc->smbus, sc->spd_addr, SPD_OFFSET_DRAM_TYPE, &byte); 284 rc = smbus_readb(sc->smbus, sc->spd_addr, tsod_present_offset, &byte); 448 rc = smbus_readb(sc->smbus, sc->spd_addr, bus_width_offset, 455 rc = smbus_readb(sc->smbus, sc->spd_addr, dimm_ranks_offset, 462 rc = smbus_readb(sc->smbus, s 842 device_t smbus; local [all...] |
/freebsd-12-stable/sys/dev/smbus/ |
H A D | smbconf.c | 40 #include <dev/smbus/smbconf.h> 41 #include <dev/smbus/smbus.h> 62 * Converts an smbus error to a unix error.
|
H A D | smbus.c | 41 #include <dev/smbus/smbconf.h> 42 #include <dev/smbus/smbus.h> 70 mtx_init(&sc->lock, device_get_nameunit(dev), "smbus", MTX_DEF); 241 "smbus", 248 MODULE_VERSION(smbus, SMBUS_MODVER);
|
H A D | smb.c | 40 #include <dev/smbus/smbconf.h> 41 #include <dev/smbus/smbus.h> 42 #include <dev/smbus/smb.h> 69 /* smbus interface */ 281 DRIVER_MODULE(smb, smbus, smb_driver, smb_devclass, 0, 0); 282 MODULE_DEPEND(smb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
|
H A D | smbconf.h | 39 /* Order constants for smbus children. */ 91 __BUS_ACCESSOR(smbus, var, SMBUS, ivar, type)
|
/freebsd-12-stable/sys/dev/bktr/ |
H A D | bktr_i2c.c | 70 #include <dev/smbus/smbconf.h> 74 * defined. This allows bktr owners to have smbus active for there 75 * motherboard and still use their bktr without smbus. 91 sc->smbus = device_add_child(dev, "smbus", -1); 94 if (!sc->iicbb || !sc->smbus) 114 if (sc->smbus && (error = device_delete_child(dev, sc->smbus))) 164 /* test each time if we already have/haven't the smbus 362 DRIVER_MODULE(smbus, bkt [all...] |
/freebsd-12-stable/sys/dev/nfsmb/ |
H A D | nfsmb.c | 45 #include <dev/smbus/smbconf.h> 119 device_t smbus; member in struct:nfsmb_softc 202 nfsmbsub_sc->smbus = device_add_child(dev, "smbus", -1); 203 if (nfsmbsub_sc->smbus == NULL) { 237 /* Allocate a new smbus device */ 238 nfsmb_sc->smbus = device_add_child(dev, "smbus", -1); 239 if (!nfsmb_sc->smbus) { 284 if (nfsmbsub_sc->smbus) { [all...] |
/freebsd-12-stable/sys/dev/iicbus/ |
H A D | iicsmb.c | 39 * smbus 62 #include <dev/smbus/smb.h> 63 #include <dev/smbus/smbconf.h> 82 device_t smbus; member in struct:iicsmb_softc 115 /* smbus interface */ 159 sc->smbus = device_add_child(dev, "smbus", -1); 161 /* probe and attach the smbus */ 197 /* call smbus intr handler */ 198 smbus_intr(sc->smbus, s [all...] |
/freebsd-12-stable/sys/dev/amdsmb/ |
H A D | amdsmb.c | 45 #include <dev/smbus/smbconf.h> 113 device_t smbus; member in struct:amdsmb_softc 164 /* Allocate a new smbus device */ 165 amdsmb_sc->smbus = device_add_child(dev, "smbus", -1); 166 if (!amdsmb_sc->smbus) { 181 if (amdsmb_sc->smbus) { 182 device_delete_child(dev, amdsmb_sc->smbus); 183 amdsmb_sc->smbus = NULL; 218 device_printf(sc->smbus, "timeou [all...] |
/freebsd-12-stable/sys/dev/alpm/ |
H A D | alpm.c | 49 #include <dev/smbus/smbconf.h> 129 device_t smbus; member in struct:alpm_softc 223 /* attach the smbus */ 224 alpm->smbus = device_add_child(dev, "smbus", -1); 225 if (alpm->smbus == NULL) { 239 if (alpm->smbus) { 240 device_delete_child(dev, alpm->smbus); 241 alpm->smbus = NULL; 638 /* smbus interfac [all...] |
/freebsd-12-stable/sys/dev/amdpm/ |
H A D | amdpm.c | 53 #include <dev/smbus/smbconf.h> 128 device_t smbus; member in struct:amdpm_softc 219 /* Allocate a new smbus device */ 220 amdpm_sc->smbus = device_add_child(dev, "smbus", -1); 221 if (!amdpm_sc->smbus) { 236 if (amdpm_sc->smbus) { 237 device_delete_child(dev, amdpm_sc->smbus); 238 amdpm_sc->smbus = NULL; 667 DRIVER_MODULE(smbus, amdp [all...] |
/freebsd-12-stable/sys/kern/ |
H A D | Make.tags.inc | 24 ${SYS}/dev/smbus/*.[ch] \ 83 ${SYS}/dev/smbus \
|
/freebsd-12-stable/sys/dev/intpm/ |
H A D | intpm.c | 39 #include <dev/smbus/smbconf.h> 55 device_t smbus; member in struct:intsmb_softc 208 if (sc->smbus) 209 device_delete_child(dev, sc->smbus); 332 sc->smbus = device_add_child(dev, "smbus", -1); 333 if (sc->smbus == NULL) { 334 device_printf(dev, "failed to add smbus child\n"); 338 error = device_probe_and_attach(sc->smbus); 340 device_printf(dev, "failed to probe+attach smbus chil [all...] |
/freebsd-12-stable/sys/dev/ichsmb/ |
H A D | ichsmb_pci.c | 64 #include <dev/smbus/smbconf.h> 266 MODULE_DEPEND(ichsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
|
/freebsd-12-stable/sys/dev/viapm/ |
H A D | viapm.c | 53 #include <dev/smbus/smbconf.h> 101 device_t smbus; member in struct:viapm_softc 381 viapm->smbus = device_add_child(dev, "smbus", -1); 383 /* probe and attach the smbus */ 472 if (viapm->smbus) { 473 device_delete_child(dev, viapm->smbus); 979 /* smbus interface */ 1011 DRIVER_MODULE(smbus, viapropm, smbus_driver, smbus_devclass, 0, 0); 1016 MODULE_DEPEND(viapropm, smbus, SMBUS_MINVE [all...] |