/freebsd-11.0-release/sys/modules/mdio/ |
H A D | Makefile | 1 # $FreeBSD: releng/11.0/sys/modules/mdio/Makefile 292738 2015-12-26 02:31:39Z adrian $ 3 .PATH: ${.CURDIR}/../../dev/mdio 5 KMOD= mdio 6 SRCS= mdio.c
|
/freebsd-11.0-release/sbin/mdconfig/ |
H A D | mdconfig.c | 57 static struct md_ioctl mdio; variable in typeref:struct:md_ioctl 103 bzero(&mdio, sizeof(mdio)); 104 mdio.md_file = malloc(PATH_MAX); 105 if (mdio.md_file == NULL) 108 bzero(mdio.md_file, PATH_MAX); 126 mdio.md_options |= MD_AUTOUNIT; 133 mdio.md_options |= MD_AUTOUNIT; 140 mdio.md_options |= MD_AUTOUNIT; 150 mdio [all...] |
/freebsd-11.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-spi4000.c | 189 mdio_single_command_t mdio; local 191 mdio.u32 = 0; 192 mdio.s.mdi_command = 1; 193 mdio.s.op_code = 1; 194 mdio.s.phy_address = port; 195 mdio.s.reg_address = location; 205 __cvmx_spi4000_write(interface, 0x0680, mdio.u32); 220 mdio_single_command_t mdio; local 222 mdio.u32 = 0; 223 mdio [all...] |
/freebsd-11.0-release/sys/dev/md/ |
H A D | md.c | 1249 mdcreate_malloc(struct md_s *sc, struct md_ioctl *mdio) argument 1256 if (mdio->md_options & ~(MD_AUTOUNIT | MD_COMPRESS | MD_RESERVE)) 1258 if (mdio->md_sectorsize != 0 && !powerof2(mdio->md_sectorsize)) 1261 if (mdio->md_options & MD_RESERVE) 1262 mdio->md_options &= ~MD_COMPRESS; 1263 if (mdio->md_fwsectors != 0) 1264 sc->fwsectors = mdio->md_fwsectors; 1265 if (mdio->md_fwheads != 0) 1266 sc->fwheads = mdio 1332 mdcreate_vnode(struct md_s *sc, struct md_ioctl *mdio, struct thread *td) argument 1449 mdresize(struct md_s *sc, struct md_ioctl *mdio) argument 1508 mdcreate_swap(struct md_s *sc, struct md_ioctl *mdio, struct thread *td) argument 1552 mdcreate_null(struct md_s *sc, struct md_ioctl *mdio, struct thread *td) argument 1568 struct md_ioctl *mdio; local [all...] |
/freebsd-11.0-release/sys/dev/mdio/ |
H A D | mdio.c | 26 * $FreeBSD: releng/11.0/sys/dev/mdio/mdio.c 292750 2015-12-26 17:22:02Z adrian $ 34 #include <dev/mdio/mdio.h> 130 "mdio", 137 MODULE_VERSION(mdio, 1);
|
/freebsd-11.0-release/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_8216.c | 53 #include <dev/mdio/mdio.h>
|
H A D | arswitch_8226.c | 53 #include <dev/mdio/mdio.h>
|
H A D | arswitch_7240.c | 53 #include <dev/mdio/mdio.h>
|
H A D | arswitch_8316.c | 53 #include <dev/mdio/mdio.h>
|
H A D | arswitch_9340.c | 53 #include <dev/mdio/mdio.h>
|
H A D | arswitch_phy.c | 51 #include <dev/mdio/mdio.h>
|
H A D | arswitch_reg.c | 52 #include <dev/mdio/mdio.h>
|
H A D | arswitch.c | 55 #include <dev/mdio/mdio.h> 899 DRIVER_MODULE(arswitch, mdio, arswitch_driver, arswitch_devclass, 0, 0); 901 DRIVER_MODULE(mdio, arswitch, mdio_driver, mdio_devclass, 0, 0);
|
/freebsd-11.0-release/sys/dev/etherswitch/ |
H A D | miiproxy.c | 58 device_t mdio; member in struct:miiproxy_softc 243 sc->mdio = device_get_parent(rendezvous->target.device); 246 sc->mdio = NULL; 285 if (sc->mdio != NULL) 286 return (MDIO_READREG(sc->mdio, phy, reg)); 295 if (sc->mdio != NULL) 296 return (MDIO_WRITEREG(sc->mdio, phy, reg, val)); 378 device_get_unit(dev), "mdio", &name) != 0) { 380 printf("mii_attach_proxy: not attaching, no mdio" 398 device_printf(miiproxy, "attached to target %s\n", device_get_nameunit(sc->mdio)); [all...] |
/freebsd-11.0-release/sys/kern/ |
H A D | vfs_mountroot.c | 542 struct md_ioctl *mdio; local 553 mdio = malloc(sizeof(*mdio) + len + 1, M_TEMP, M_WAITOK | M_ZERO); 554 path = (void *)(mdio + 1); 570 mdio->md_version = MDIOVERSION; 571 mdio->md_type = MD_VNODE; 574 mdio->md_unit = root_mount_mddev; 576 error = kern_ioctl(td, fd, MDIOCDETACH, (void *)mdio); 582 mdio->md_file = (void *)(mdio [all...] |
/freebsd-11.0-release/tests/sys/aio/ |
H A D | aio_test.c | 585 struct md_ioctl mdio; local 594 bzero(&mdio, sizeof(mdio)); 595 mdio.md_version = MDIOVERSION; 596 mdio.md_unit = ama->ama_unit; 597 if (ioctl(ama->ama_mdctl_fd, MDIOCDETACH, &mdio) == -1) { 623 struct md_ioctl mdio; local 631 bzero(&mdio, sizeof(mdio)); 632 mdio [all...] |
/freebsd-11.0-release/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_diskstorage_tbl.c | 343 struct md_ioctl mdio; local 368 memset(&mdio, 0, sizeof(mdio)); 369 mdio.md_version = MDIOVERSION; 370 mdio.md_unit = unit; 372 if (ioctl(md_fd, MDIOCQUERY, &mdio) < 0) { 378 if ((mdio.md_options & MD_READONLY) == MD_READONLY)
|
/freebsd-11.0-release/sys/dev/vnic/ |
H A D | thunder_bgx_fdt.c | 262 phandle_t phy, mdio; local 312 mdio = OF_parent(phy); 314 OF_device_from_xref(OF_xref_from_node(mdio));
|
/freebsd-11.0-release/sys/dev/beri/virtio/ |
H A D | virtio_block.c | 101 struct md_ioctl *mdio; member in struct:beri_vtblk_softc 245 sc->mdio->md_file, td); 392 cfg->capacity = htobe64(sc->mdio->md_mediasize / DEV_BSIZE); 450 sc->mdio = (struct md_ioctl *)addr;
|
/freebsd-11.0-release/sys/dev/bhnd/cores/pcie2/ |
H A D | bhnd_pcie2.c | 52 #include <dev/mdio/mdio.h>
|
/freebsd-11.0-release/sys/dev/etherswitch/ip17x/ |
H A D | ip17x.c | 54 #include <dev/mdio/mdio.h> 605 DRIVER_MODULE(ip17x, mdio, ip17x_driver, ip17x_devclass, 0, 0); 607 DRIVER_MODULE(mdio, ip17x, mdio_driver, mdio_devclass, 0, 0);
|
/freebsd-11.0-release/sys/dev/etherswitch/ukswitch/ |
H A D | ukswitch.c | 53 #include <dev/mdio/mdio.h> 566 DRIVER_MODULE(ukswitch, mdio, ukswitch_driver, ukswitch_devclass, 0, 0); 568 DRIVER_MODULE(mdio, ukswitch, mdio_driver, mdio_devclass, 0, 0);
|
/freebsd-11.0-release/sys/mips/nlm/dev/net/ |
H A D | sgmii.c | 39 #include <mips/nlm/hal/mdio.h>
|
/freebsd-11.0-release/sys/dev/etherswitch/mtkswitch/ |
H A D | mtkswitch.c | 53 #include <dev/mdio/mdio.h> 663 DRIVER_MODULE(mdio, mtkswitch, mdio_driver, mdio_devclass, 0, 0);
|
/freebsd-11.0-release/sys/dev/bhnd/cores/pci/ |
H A D | bhnd_pci.c | 52 #include <dev/mdio/mdio.h>
|