Searched refs:phy_id (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-10-stable/sys/mips/cavium/octe/
H A Dethernet-mdio.h37 int cvm_oct_mdio_read(struct ifnet *ifp, int phy_id, int location);
38 void cvm_oct_mdio_write(struct ifnet *ifp, int phy_id, int location, int val);
H A Dethernet-mv88e61xx.c79 cvm_oct_mv88e61xx_smi_read(struct ifnet *ifp, int phy_id, int location) argument
88 cvm_oct_mdio_write(ifp, priv->phy_id, MV88E61XX_SMI_REG_CMD,
90 MV88E61XX_SMI_CMD_READ | MV88E61XX_SMI_CMD_PHY(phy_id) |
97 return (cvm_oct_mdio_read(ifp, priv->phy_id, MV88E61XX_SMI_REG_DAT));
101 cvm_oct_mv88e61xx_smi_write(struct ifnet *ifp, int phy_id, int location, int val) argument
106 cvm_oct_mdio_write(ifp, priv->phy_id, MV88E61XX_SMI_REG_DAT, val);
107 cvm_oct_mdio_write(ifp, priv->phy_id, MV88E61XX_SMI_REG_CMD,
109 MV88E61XX_SMI_CMD_WRITE | MV88E61XX_SMI_CMD_PHY(phy_id) |
122 cmd = cvm_oct_mdio_read(ifp, priv->phy_id, MV88E61XX_SMI_REG_CMD);
H A Dethernet-mdio.c56 * @param phy_id The MII phy id
60 int cvm_oct_mdio_read(struct ifnet *ifp, int phy_id, int location) argument
68 smi_cmd.s.phy_adr = phy_id;
89 * @param phy_id The MII phy id
93 void cvm_oct_mdio_write(struct ifnet *ifp, int phy_id, int location, int val) argument
105 smi_cmd.s.phy_adr = phy_id;
126 priv->phy_id = cvmx_helper_board_get_mii_address(priv->port);
H A Dcavium-ethernet.h74 int phy_id; member in struct:__anon10392
H A Docte.c148 if (priv->phy_id != -1) {
152 BMSR_DEFCAPMASK, priv->phy_id, MII_OFFSET_ANY, 0);
158 device_printf(dev, "missing phy %u device %s\n", priv->phy_id, priv->phy_device);
234 KASSERT(phy == priv->phy_id,
235 ("read from phy %u but our phy is %u", phy, priv->phy_id));
257 KASSERT(phy == priv->phy_id,
258 ("write to phy %u but our phy is %u", phy, priv->phy_id));
H A Dethernet-common.c327 if (priv->phy_id == 16)
/freebsd-10-stable/sys/dev/isci/scil/
H A Dscic_sds_port_registers.h119 #define SCU_PCSPExCR_WRITE(port, phy_id, value) \
122 (port)->port_pe_configuration_register[phy_id], \
129 #define SCU_PCSPExCR_READ(port, phy_id) \
132 (port)->port_pe_configuration_register[phy_id] \
H A Dscic_sds_controller.c827 U32 phy_id; local
849 for (phy_id = 0; phy_id < SCI_MAX_PHYS; phy_id++)
853 this_controller, scu_afe_xcvr[phy_id].afe_channel_control, 0x00000157);
856 this_controller, scu_afe_xcvr[phy_id].afe_xcvr_control0, 0x38016d1a);
859 this_controller, scu_afe_xcvr[phy_id].afe_xcvr_control1, 0x01501014);
862 this_controller, scu_afe_xcvr[phy_id].afe_tx_control, 0x00000000);
865 this_controller, scu_afe_xcvr[phy_id].afe_tx_amp_control0, 0x000bdd08);
867 this_controller, scu_afe_xcvr[phy_id]
1031 U32 phy_id; local
[all...]
H A Dscif_sas_smp_io_request.h120 U8 phy_id,
H A Dscif_sas_smp_io_request.c400 * @param[in] phy_id The phy, whose route entry at route_index is to be configured.
409 U8 phy_id,
424 config_route_info.request.configure_route_information.phy_identifier = phy_id;
406 scif_sas_smp_request_construct_config_route_info( struct SCIF_SAS_CONTROLLER * fw_controller, struct SCIF_SAS_REMOTE_DEVICE * fw_device, U8 phy_id, U16 route_index, SCI_SAS_ADDRESS_T destination_sas_address, BOOL disable_expander_route_entry ) argument
/freebsd-10-stable/sys/contrib/octeon-sdk/
H A Dcvmx-mdio.h374 * @param phy_id The MII phy id
379 static inline int cvmx_mdio_read(int bus_id, int phy_id, int location) argument
391 rv = mdiobus_read(bus, phy_id, location);
405 smi_cmd.s.phy_adr = phy_id;
424 * @param phy_id The MII phy id
431 static inline int cvmx_mdio_write(int bus_id, int phy_id, int location, int val) argument
443 rv = mdiobus_write(bus, phy_id, location, (u16)val);
461 smi_cmd.s.phy_adr = phy_id;
480 * @param phy_id The MII phy id
487 static inline int cvmx_mdio_45_read(int bus_id, int phy_id, in argument
551 cvmx_mdio_45_write(int bus_id, int phy_id, int device, int location, int val) argument
[all...]
/freebsd-10-stable/sys/dev/firewire/
H A Dfwphyreg.h43 uint8_t phy_id:6, member in struct:phyreg_base
76 phy_id:6;
H A Dfirewire.h303 phy_id:6, member in struct:fw_self_id::__anon8673
320 phy_id:6, member in struct:fw_self_id::__anon8674
338 phy_id:6, member in struct:fw_self_id::__anon8675
365 phy_id:6, member in struct:fw_self_id::__anon8676
382 phy_id:6, member in struct:fw_self_id::__anon8677
396 phy_id:6, member in struct:fw_self_id::__anon8678
H A Dfirewire.c1303 s->p1.phy_id, s->p1.port3, s->p1.port4,
1308 s->p2.phy_id, s->p2.port11, s->p2.port12,
1312 s->p1.phy_id, s->p1.sequence_num);
1317 s->p0.phy_id, s->p0.link_active, s->p0.gap_count,
1358 node = self_id->p0.phy_id;
1360 fc->max_node = self_id->p0.phy_id;
1371 if ((fc->irm == -1 || self_id->p0.phy_id > fc->irm) &&
1373 fc->irm = self_id->p0.phy_id;
1719 if (s->p0.phy_id == node)
/freebsd-10-stable/sys/gnu/dts/arm/
H A Dam335x-bone-common.dtsi272 phy_id = <&davinci_mdio>, <0>;
277 phy_id = <&davinci_mdio>, <1>;
H A Dam335x-igep0033.dtsi107 phy_id = <&davinci_mdio>, <0>;
112 phy_id = <&davinci_mdio>, <1>;
H A Dam335x-lxm.dts320 phy_id = <&davinci_mdio>, <5>;
326 phy_id = <&davinci_mdio>, <4>;
H A Dam335x-nano.dts355 phy_id = <&davinci_mdio>, <0>;
360 phy_id = <&davinci_mdio>, <1>;
H A Dam335x-pepper.dts267 phy_id = <&davinci_mdio>, <0>;
273 phy_id = <&davinci_mdio>, <1>;
H A Dam57xx-beagle-x15.dts496 phy_id = <&davinci_mdio>, <1>;
502 phy_id = <&davinci_mdio>, <2>;
/freebsd-10-stable/sys/dev/e1000/
H A De1000_82571.c468 u16 phy_id = 0; local
487 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
491 phy->id = (u32)(phy_id << 16);
493 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id);
497 phy->id |= (u32)(phy_id);
498 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK);
H A De1000_phy.c222 u16 phy_id; local
231 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
235 phy->id = (u32)(phy_id << 16);
237 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id);
241 phy->id |= (u32)(phy_id & PHY_REVISION_MASK);
242 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK);
2986 * @phy_id: phy_id read from the phy
2990 enum e1000_phy_type e1000_get_phy_type_from_id(u32 phy_id) argument
2994 switch (phy_id) {
[all...]
/freebsd-10-stable/sys/dev/cxgb/
H A Dcxgb_ioctl.h183 uint32_t phy_id; member in struct:ch_mii_data
/freebsd-10-stable/sys/dev/ixgbe/
H A Dixgbe_phy.h161 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id);
H A Dixgbe_phy.c406 u16 phy_id = 0; local
413 IXGBE_MDIO_PMA_PMD_DEV_TYPE, &phy_id);
415 if (phy_id != 0xFFFF && phy_id != 0x0)
418 DEBUGOUT1("PHY ID HIGH is 0x%04X\n", phy_id);
456 * @phy_id: PHY ID information
459 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id) argument
465 switch (phy_id) {

Completed in 140 milliseconds

12