Home
last modified time | relevance | path

Searched refs:devaddr (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fwdump.c267 mlx5_dbsf_to_core(const struct mlx5_tool_addr *devaddr, in mlx5_dbsf_to_core() argument
273 dev = pci_find_dbsf(devaddr->domain, devaddr->bus, devaddr->slot, in mlx5_dbsf_to_core()
274 devaddr->func); in mlx5_dbsf_to_core()
406 struct mlx5_tool_addr *devaddr; in mlx5_ctl_ioctl() local
421 devaddr = &fwg->devaddr; in mlx5_ctl_ioctl()
422 error = mlx5_dbsf_to_core(devaddr, &mdev); in mlx5_ctl_ioctl()
432 devaddr = (struct mlx5_tool_addr *)data; in mlx5_ctl_ioctl()
433 error = mlx5_dbsf_to_core(devaddr, &mdev); in mlx5_ctl_ioctl()
442 devaddr = (struct mlx5_tool_addr *)data; in mlx5_ctl_ioctl()
443 error = mlx5_dbsf_to_core(devaddr, &mdev); in mlx5_ctl_ioctl()
[all …]
/freebsd/sys/dev/mii/
H A Dmicphy.c118 ksz9031_read(struct mii_softc *sc, uint32_t devaddr, uint32_t reg) in ksz9031_read() argument
121 PHY_WRITE(sc, MII_KSZ9031_MMD_ACCESS_CTRL, devaddr); in ksz9031_read()
126 MII_KSZ9031_MMD_DATA_NOINC | devaddr); in ksz9031_read()
132 ksz9031_write(struct mii_softc *sc, uint32_t devaddr, uint32_t reg, in ksz9031_write() argument
137 PHY_WRITE(sc, MII_KSZ9031_MMD_ACCESS_CTRL, devaddr); in ksz9031_write()
142 MII_KSZ9031_MMD_DATA_NOINC | devaddr); in ksz9031_write()
/freebsd/sys/dev/mlx5/
H A Dmlx5io.h44 struct mlx5_tool_addr devaddr; member
51 struct mlx5_tool_addr devaddr; member
57 struct mlx5_tool_addr devaddr; member
/freebsd/sys/dev/bhnd/cores/pci/
H A Dbhnd_pci.c425 bhnd_pcie_mdio_read_ext(struct bhnd_pci_softc *sc, int phy, int devaddr, in bhnd_pcie_mdio_read_ext() argument
432 if (devaddr == MDIO_DEVADDR_NONE) in bhnd_pcie_mdio_read_ext()
448 cmd = BHND_PCIE_MDIODATA_ADDR(phy, BHND_PCIE_SD_ADDREXT) | devaddr; in bhnd_pcie_mdio_read_ext()
467 bhnd_pcie_mdio_write_ext(struct bhnd_pci_softc *sc, int phy, int devaddr, in bhnd_pcie_mdio_write_ext() argument
473 if (devaddr == MDIO_DEVADDR_NONE) in bhnd_pcie_mdio_write_ext()
489 cmd = BHND_PCIE_MDIODATA_ADDR(phy, BHND_PCIE_SD_ADDREXT) | devaddr; in bhnd_pcie_mdio_write_ext()
H A Dbhnd_pcivar.h61 int devaddr, int reg);
63 int devaddr, int reg, int val);
/freebsd/sys/dev/bhnd/cores/pcie2/
H A Dbhnd_pcie2_var.h61 int devaddr, int reg);
63 int phy, int devaddr, int reg, int val);
H A Dbhnd_pcie2.c244 bhnd_pcie2_mdio_read_ext(struct bhnd_pcie2_softc *sc, int phy, int devaddr, in bhnd_pcie2_mdio_read_ext() argument
252 bhnd_pcie2_mdio_write_ext(struct bhnd_pcie2_softc *sc, int phy, int devaddr, in bhnd_pcie2_mdio_write_ext() argument
/freebsd/usr.sbin/mlx5tool/
H A Dmlx5tool.c94 fdg.devaddr = *addr; in mlx5tool_save_dump()
168 memcpy(&fwup.devaddr, addr, sizeof(fwup.devaddr)); in mlx5tool_fw_update()
254 eeprom_info.devaddr = *addr; in mlx5tool_get_eeprom_info()
/freebsd/sys/dev/iicbus/
H A Diicsmb.c74 u_char devaddr; /* slave device address */ member
194 smbus_intr(sc->smbus, sc->devaddr, in iicsmb_intr()
203 sc->devaddr & 0xff); in iicsmb_intr()
207 sc->devaddr = (u_char)*buf; in iicsmb_intr()
231 smbus_intr(sc->smbus, sc->devaddr, 0, 0, SMB_EBUSERR); in iicsmb_intr()
/freebsd/sys/dev/smbus/
H A Dsmbconf.c46 smbus_intr(device_t bus, u_char devaddr, char low, char high, int error) in smbus_intr() argument
53 SMBUS_INTR(sc->owner, devaddr, low, high, error); in smbus_intr()
H A Dsmbus.h41 void smbus_generic_intr(device_t dev, u_char devaddr, char low, char high, int err);
H A Dsmbus.c93 smbus_generic_intr(device_t dev, u_char devaddr, char low, char high, int err) in smbus_generic_intr() argument
H A Dsmbus_if.m37 u_char devaddr;
/freebsd/sys/dev/etherswitch/e6000sw/
H A De6060sw.c956 int devaddr, regaddr; in e6060sw_readreg() local
958 devaddr = (addr >> 5) & 0x1f; in e6060sw_readreg()
961 return MDIO_READREG(device_get_parent(dev), devaddr, regaddr); in e6060sw_readreg()
969 int devaddr, regaddr; in e6060sw_writereg() local
971 devaddr = (addr >> 5) & 0x1f; in e6060sw_writereg()
974 return (MDIO_WRITEREG(device_get_parent(dev), devaddr, regaddr, value)); in e6060sw_writereg()
H A De6000sw.c675 e6000sw_read_xmdio(device_t dev, int phy, int devaddr, int devreg) argument
687 reg = devaddr & SMI_CMD_REG_ADDR_MASK;
714 e6000sw_write_xmdio(device_t dev, int phy, int devaddr, int devreg, int val) argument
726 reg = devaddr & SMI_CMD_REG_ADDR_MASK;
/freebsd/sys/dev/alc/
H A Dif_alc.c478 alc_miiext_readreg(struct alc_softc *sc, int devaddr, int reg) in alc_miiext_readreg() argument
484 EXT_MDIO_DEVADDR(devaddr)); in alc_miiext_readreg()
500 devaddr, reg); in alc_miiext_readreg()
508 alc_miiext_writereg(struct alc_softc *sc, int devaddr, int reg, int val) in alc_miiext_writereg() argument
514 EXT_MDIO_DEVADDR(devaddr)); in alc_miiext_writereg()
531 devaddr, reg); in alc_miiext_writereg()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c5277 char devid[NFSX_V4DEVICEID], *devaddr; in nfsrvd_getdevinfo() local
5312 notify, &devaddrlen, &devaddr); in nfsrvd_getdevinfo()
5317 nfsm_strtom(nd, devaddr, devaddrlen); in nfsrvd_getdevinfo()
H A Dnfs_nfsdstate.c7487 uint32_t *notify, int *devaddrlen, char **devaddr) in nfsrv_getdevinfo() argument
7515 *devaddr = ds->nfsdev_fileaddr; in nfsrv_getdevinfo()
7518 *devaddr = ds->nfsdev_flexaddr; in nfsrv_getdevinfo()