Home
last modified time | relevance | path

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

123

/drivers/net/ethernet/ti/
Ddavinci_mdio.c134 u32 phy_mask, ver; in davinci_mdio_reset() local
157 phy_mask = readl(&data->regs->alive); in davinci_mdio_reset()
158 if (phy_mask) { in davinci_mdio_reset()
160 dev_info(data->dev, "detected phy mask %x\n", ~phy_mask); in davinci_mdio_reset()
161 phy_mask = ~phy_mask; in davinci_mdio_reset()
165 phy_mask = 0; in davinci_mdio_reset()
167 data->bus->phy_mask = phy_mask; in davinci_mdio_reset()
/drivers/scsi/isci/
Dport.c135 prop->phy_mask = sci_port_get_phys(iport); in sci_port_get_properties()
410 u32 phy_mask) in sci_port_is_phy_mask_valid() argument
413 if (((phy_mask & 0x0F) == 0x0F) in sci_port_is_phy_mask_valid()
414 || ((phy_mask & 0x03) == 0x03) in sci_port_is_phy_mask_valid()
415 || ((phy_mask & 0x01) == 0x01) in sci_port_is_phy_mask_valid()
416 || (phy_mask == 0)) in sci_port_is_phy_mask_valid()
419 if (((phy_mask & 0x02) == 0x02) in sci_port_is_phy_mask_valid()
420 || (phy_mask == 0)) in sci_port_is_phy_mask_valid()
423 if (((phy_mask & 0x0C) == 0x0C) in sci_port_is_phy_mask_valid()
424 || ((phy_mask & 0x04) == 0x04) in sci_port_is_phy_mask_valid()
[all …]
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()
Dprobe_roms.h309 uint8_t phy_mask; member
Dport.h143 u32 phy_mask; member
Dhost.c1659 if (oem->ports[i].phy_mask > SCIC_SDS_PARM_PHY_MASK_MAX) in sci_oem_parameters_validate()
1669 if (oem->ports[i].phy_mask != 0) in sci_oem_parameters_validate()
1672 u8 phy_mask = 0; in sci_oem_parameters_validate() local
1675 phy_mask |= oem->ports[i].phy_mask; in sci_oem_parameters_validate()
1677 if (phy_mask == 0) in sci_oem_parameters_validate()
/drivers/scsi/libsas/
Dsas_port.c146 port->phy_mask |= (1U << phy->id); in sas_form_port()
170 port->phy_mask, in sas_form_port()
235 port->phy_mask &= ~(1U << phy->id); in sas_deform_port()
245 port->phy_mask = 0; in sas_deform_port()
/drivers/net/phy/
Dmdio-bcm-unimac.c167 read_mask = ~bus->phy_mask; in unimac_mdio_reset()
272 bus->phy_mask = ~pdata->phy_mask; in unimac_mdio_probe()
Dmdio-gpio.c131 new_bus->phy_mask = pdata->phy_mask; in mdio_gpio_bus_init()
/drivers/scsi/aic94xx/
Daic94xx_hwi.c107 asd_port->phy_mask = 0; in asd_init_ports()
115 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_init_phys() local
132 for_each_phy(phy_mask, phy_mask, i) { in asd_init_phys()
1335 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask) in asd_enable_phys() argument
1343 if (!phy_mask) { in asd_enable_phys()
1348 for_each_phy(phy_mask, phy_m, i) { in asd_enable_phys()
1362 for_each_phy(phy_mask, phy_m, i) { in asd_enable_phys()
Daic94xx_hwi.h173 u32 phy_mask; member
374 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask);
Daic94xx_seq.c1365 const u8 phy_mask = (u8) phy->asd_port->phy_mask; in asd_update_port_links() local
1372 for_each_phy(phy_mask, mask, i) in asd_update_port_links()
1375 port_map_by_links)+i,phy_mask); in asd_update_port_links()
1383 phy_is_up | phy_mask); in asd_update_port_links()
Daic94xx_scb.c193 port->phy_mask |= (1U << sas_phy->id); in asd_form_port()
197 __func__, phy->asd_port->phy_mask, sas_phy->id); in asd_form_port()
211 port->phy_mask &= ~(1U << sas_phy->id); in asd_deform_port()
Daic94xx_init.c875 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_turn_off_leds() local
878 for_each_phy(phy_mask, phy_mask, i) { in asd_turn_off_leds()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mdio.c169 mdio_bus->phy_mask = mdio_data->phy_mask; in sxgbe_mdio_register()
/drivers/scsi/mvsas/
Dmv_sas.c153 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard) in mvs_phys_reset() argument
156 for_each_phy(phy_mask, phy_mask, no) { in mvs_phys_reset()
157 if (!(phy_mask & 1)) in mvs_phys_reset()
455 ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | in mvs_task_prep_ata()
548 MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask, in mvs_task_prep_ata()
573 u32 phy_mask; in mvs_task_prep_ssp() local
577 phy_mask = ((port->wide_port_phymap) ? port->wide_port_phymap : in mvs_task_prep_ssp()
578 sas_port->phy_mask) & TXQ_PHY_MASK; in mvs_task_prep_ssp()
583 (phy_mask << TXQ_PHY_SHIFT)); in mvs_task_prep_ssp()
1103 port->wide_port_phymap = sas_port->phy_mask; in mvs_port_notify_formed()
[all …]
Dmv_sas.h153 void (*dma_fix)(struct mvs_info *mvi, u32 phy_mask,
434 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard);
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pci.c68 plat->mdio_bus_data->phy_mask = 0; in common_default_data()
157 plat->mdio_bus_data->phy_mask = 0; in intel_mgbe_common_data()
389 plat->mdio_bus_data->phy_mask = 0; in snps_gmac5_default_data()
Dstmmac_mdio.c357 new_bus->phy_mask = mdio_bus_data->phy_mask; in stmmac_mdio_register()
/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c401 ppd->phy_mask = 1 << pd->phy_address; in bcmgenet_mii_pdata_init()
403 ppd->phy_mask = 0; in bcmgenet_mii_pdata_init()
/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c178 u8 phy_mask; /* desired phy int mask settings */ member
1496 u8 old_mask = hdmi->phy_mask; in dw_hdmi_phy_update_hpd()
1499 hdmi->phy_mask |= HDMI_PHY_RX_SENSE; in dw_hdmi_phy_update_hpd()
1501 hdmi->phy_mask &= ~HDMI_PHY_RX_SENSE; in dw_hdmi_phy_update_hpd()
1503 if (old_mask != hdmi->phy_mask) in dw_hdmi_phy_update_hpd()
1504 hdmi_writeb(hdmi, hdmi->phy_mask, HDMI_PHY_MASK0); in dw_hdmi_phy_update_hpd()
1519 hdmi_writeb(hdmi, hdmi->phy_mask, HDMI_PHY_MASK0); in dw_hdmi_phy_setup_hpd()
2630 hdmi->phy_mask = (u8)~(HDMI_PHY_HPD | HDMI_PHY_RX_SENSE); in __dw_hdmi_probe()
/drivers/net/ethernet/apm/xgene-v2/
Dmdio.c119 mdio_bus->phy_mask = 0x1; in xge_mdio_config()
/drivers/net/ethernet/freescale/fs_enet/
Dmii-fec.c168 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
Dmii-bitbang.c174 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mdio.c154 mdio_bus->phy_mask = ~(1 << mac->phy_addr); in hclge_mac_mdio_config()

123