Home
last modified time | relevance | path

Searched refs:phy_mask (Results 1 – 25 of 56) sorted by relevance

123

/linux/drivers/net/ethernet/freescale/enetc/
H A Dnetc_blk_ctrl.c358 static int netc_parse_emdio_phy_mask(struct device_node *np, u32 *phy_mask) in netc_parse_emdio_phy_mask() argument
376 *phy_mask = mask; in netc_parse_emdio_phy_mask()
381 static int netc_get_emdio_phy_mask(struct device_node *np, u32 *phy_mask) in netc_get_emdio_phy_mask() argument
388 return netc_parse_emdio_phy_mask(gchild, phy_mask); in netc_get_emdio_phy_mask()
401 u32 phy_mask = 0; in imx95_enetc_mdio_phyaddr_config() local
403 err = netc_get_emdio_phy_mask(np, &phy_mask); in imx95_enetc_mdio_phyaddr_config()
430 if (phy_mask & BIT(addr)) { in imx95_enetc_mdio_phyaddr_config()
568 u32 phy_mask) in imx94_enetc_mdio_phyaddr_config() argument
591 if (phy_mask & BIT(addr)) { in imx94_enetc_mdio_phyaddr_config()
621 u32 phy_mask = 0; in imx94_ierb_init() local
[all …]
/linux/drivers/scsi/isci/
H A Dport_config.c245 u32 phy_mask; in sci_mpc_agent_validate_phy_configuration() local
257 phy_mask = ihost->oem_parameters.ports[port_index].phy_mask; in sci_mpc_agent_validate_phy_configuration()
259 if (!phy_mask) in sci_mpc_agent_validate_phy_configuration()
264 if ((phy_mask & ~assigned_phy_mask) == 0) { in sci_mpc_agent_validate_phy_configuration()
270 if ((phy_mask & (1 << phy_index)) == 0) in sci_mpc_agent_validate_phy_configuration()
295 if ((phy_mask & (1 << phy_index)) == 0) in sci_mpc_agent_validate_phy_configuration()
H A Dport.c135 prop->phy_mask = sci_port_get_phys(iport); in sci_port_get_properties()
412 u32 phy_mask) in sci_port_is_phy_mask_valid() argument
415 if (((phy_mask & 0x0F) == 0x0F) in sci_port_is_phy_mask_valid()
416 || ((phy_mask & 0x03) == 0x03) in sci_port_is_phy_mask_valid()
417 || ((phy_mask & 0x01) == 0x01) in sci_port_is_phy_mask_valid()
418 || (phy_mask == 0)) in sci_port_is_phy_mask_valid()
421 if (((phy_mask & 0x02) == 0x02) in sci_port_is_phy_mask_valid()
422 || (phy_mask == 0)) in sci_port_is_phy_mask_valid()
425 if (((phy_mask & 0x0C) == 0x0C) in sci_port_is_phy_mask_valid()
426 || ((phy_mask & 0x04) == 0x04) in sci_port_is_phy_mask_valid()
[all …]
H A Dprobe_roms.h309 uint8_t phy_mask; member
H A Dport.h143 u32 phy_mask; member
H A Dhost.c1657 if (oem->ports[i].phy_mask > SCIC_SDS_PARM_PHY_MASK_MAX) in sci_oem_parameters_validate()
1667 if (oem->ports[i].phy_mask != 0) in sci_oem_parameters_validate()
1670 u8 phy_mask = 0; in sci_oem_parameters_validate() local
1673 phy_mask |= oem->ports[i].phy_mask; in sci_oem_parameters_validate()
1675 if (phy_mask == 0) in sci_oem_parameters_validate()
/linux/drivers/net/mdio/
H A Dmdio-regmap.c77 mii->phy_mask = ~BIT(config->valid_addr); in devm_mdio_regmap_register()
79 mii->phy_mask = ~0; in devm_mdio_regmap_register()
H A Dacpi_mdio.c40 mdio->phy_mask = GENMASK(31, 0); in __acpi_mdiobus_register()
/linux/drivers/scsi/libsas/
H A Dsas_port.c77 port->phy_mask |= (1U << phy->id); in sas_form_port_add_phy()
180 port->phy_mask, in sas_form_port()
245 port->phy_mask &= ~(1U << phy->id); in sas_deform_port()
254 port->phy_mask = 0; in sas_deform_port()
/linux/include/linux/platform_data/
H A Dmdio-gpio.h10 u32 phy_mask; member
H A Dmdio-bcm-unimac.h7 u32 phy_mask; member
/linux/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c105 asd_port->phy_mask = 0; in asd_init_ports()
113 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_init_phys() local
130 for_each_phy(phy_mask, phy_mask, i) { in asd_init_phys()
1332 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask) in asd_enable_phys() argument
1340 if (!phy_mask) { in asd_enable_phys()
1345 for_each_phy(phy_mask, phy_m, i) { in asd_enable_phys()
1359 for_each_phy(phy_mask, phy_m, i) { in asd_enable_phys()
H A Daic94xx_hwi.h173 u32 phy_mask; member
374 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask);
H A Daic94xx_seq.c1369 const u8 phy_mask = (u8) phy->asd_port->phy_mask; in asd_update_port_links() local
1376 for_each_phy(phy_mask, mask, i) in asd_update_port_links()
1379 port_map_by_links)+i,phy_mask); in asd_update_port_links()
1387 phy_is_up | phy_mask); in asd_update_port_links()
H A Daic94xx_scb.c194 port->phy_mask |= (1U << sas_phy->id); in asd_form_port()
198 __func__, phy->asd_port->phy_mask, sas_phy->id); in asd_form_port()
212 port->phy_mask &= ~(1U << sas_phy->id); in asd_deform_port()
H A Daic94xx_init.c865 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_turn_off_leds() local
868 for_each_phy(phy_mask, phy_mask, i) { in asd_turn_off_leds()
/linux/include/linux/
H A Dsxgbe_platform.h27 unsigned int phy_mask; member
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_mdio.c226 mdio_bus->phy_mask = mdio_data->phy_mask; in sxgbe_mdio_register()
/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmdio.c118 mdio_bus->phy_mask = 0x1; in xge_mdio_config()
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-fec.c162 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
H A Dmii-bitbang.c171 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma-mdio.c232 mii_bus->phy_mask = ~(1 << bgmac->phyaddr); in bcma_mdio_mii_register()
/linux/drivers/net/ethernet/hisilicon/hibmcge/
H A Dhbg_mdio.c284 mdio_bus->phy_mask = ~(1 << mac->phy_addr); in hbg_mdio_init()
/linux/Documentation/translations/zh_CN/scsi/
H A Dlibsas.rst131 phy_mask 为 32 位,目前这一长度已足够使用,因为尚未听说有主机适配
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mdio.c154 mdio_bus->phy_mask = ~(1U << mac->phy_addr); in hclge_mac_mdio_config()

123