Searched refs:phy_mask (Results 1 - 25 of 37) sorted by relevance

12

/drivers/net/ethernet/ti/
H A Ddavinci_mdio.c131 u32 phy_mask, ver; local
144 phy_mask = __raw_readl(&data->regs->alive);
145 if (phy_mask) {
147 dev_info(data->dev, "detected phy mask %x\n", ~phy_mask);
148 phy_mask = ~phy_mask;
152 phy_mask = 0;
154 data->bus->phy_mask = phy_mask;
/drivers/scsi/isci/
H A Dport_config.c245 u32 phy_mask; local
257 phy_mask = ihost->oem_parameters.ports[port_index].phy_mask;
259 if (!phy_mask)
264 if ((phy_mask & ~assigned_phy_mask) == 0) {
270 if ((phy_mask & (1 << phy_index)) == 0)
295 if ((phy_mask & (1 << phy_index)) == 0)
H A Dport.c135 prop->phy_mask = sci_port_get_phys(iport);
358 * phy_mask for a port can be supported. bool true if this is a valid phy
410 u32 phy_mask)
413 if (((phy_mask & 0x0F) == 0x0F)
414 || ((phy_mask & 0x03) == 0x03)
415 || ((phy_mask & 0x01) == 0x01)
416 || (phy_mask == 0))
419 if (((phy_mask & 0x02) == 0x02)
420 || (phy_mask == 0))
423 if (((phy_mask
408 sci_port_is_phy_mask_valid( struct isci_port *iport, u32 phy_mask) argument
1063 u32 phy_mask; local
[all...]
H A Dprobe_roms.h311 uint8_t phy_mask; member in struct:sci_oem_params::__anon4476
H A Dport.h143 u32 phy_mask; member in struct:sci_port_properties
H A Dhost.c1681 ihost->oem_parameters.ports[index].phy_mask = 0;
1778 if (oem->ports[i].phy_mask > SCIC_SDS_PARM_PHY_MASK_MAX)
1788 if (oem->ports[i].phy_mask != 0)
1791 u8 phy_mask = 0; local
1794 phy_mask |= oem->ports[i].phy_mask;
1796 if (phy_mask == 0)
/drivers/scsi/libsas/
H A Dsas_port.c110 port->phy_mask |= (1U << phy->id);
132 SAS_DPRINTK("%s added to %s, phy_mask:0x%x (%16llx)\n",
134 port->phy_mask,
189 port->phy_mask &= ~(1U << phy->id);
199 port->phy_mask = 0;
/drivers/net/phy/
H A Dmdio-gpio.c108 new_bus->phy_mask = pdata->phy_mask;
112 if (new_bus->phy_mask == ~0)
H A Dmdio_bus.c129 if ((bus->phy_mask & (1 << i)) == 0) {
/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c165 new_bus->phy_mask = mdio_bus_data->phy_mask;
H A Dstmmac_pci.c45 mdio_data.phy_mask = 0;
/drivers/of/
H A Dof_mdio.c41 mdio->phy_mask = ~0;
/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c125 asd_port->phy_mask = 0;
133 u8 phy_mask = asd_ha->hw_prof.enabled_phys; local
150 for_each_phy(phy_mask, phy_mask, i) {
1354 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask) argument
1362 if (!phy_mask) {
1363 asd_printk("%s called with phy_mask of 0!?\n", __func__);
1367 for_each_phy(phy_mask, phy_m, i) {
1381 for_each_phy(phy_mask, phy_m, i) {
H A Daic94xx_hwi.h186 * phy_mask for updating DDB 0.
191 u32 phy_mask; member in struct:asd_port
393 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask);
H A Daic94xx_seq.c1384 const u8 phy_mask = (u8) phy->asd_port->phy_mask; local
1391 for_each_phy(phy_mask, mask, i)
1394 port_map_by_links)+i,phy_mask);
1402 phy_is_up | phy_mask);
H A Daic94xx_init.c918 u8 phy_mask = asd_ha->hw_prof.enabled_phys; local
921 for_each_phy(phy_mask, phy_mask, i) {
H A Daic94xx_scb.c211 port->phy_mask |= (1U << sas_phy->id);
214 ASD_DPRINTK("%s: updating phy_mask 0x%x for phy%d\n",
215 __func__, phy->asd_port->phy_mask, sas_phy->id);
229 port->phy_mask &= ~(1U << sas_phy->id);
H A Daic94xx_dev.c174 asd_ddbsite_write_byte(asd_ha, ddb, CONN_MASK, dev->port->phy_mask);
H A Daic94xx_tmf.c149 scb->clear_nexus.conn_mask = port->phy_mask;
/drivers/scsi/mvsas/
H A Dmv_sas.c169 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard) argument
172 for_each_phy(phy_mask, phy_mask, no) {
173 if (!(phy_mask & 1))
395 (sas_port->phy_mask << TXQ_PHY_SHIFT));
465 (sas_port->phy_mask << TXQ_PHY_SHIFT) |
558 MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask,
583 u32 phy_mask; local
587 phy_mask = ((port->wide_port_phymap) ? port->wide_port_phymap :
588 sas_port->phy_mask)
[all...]
H A Dmv_sas.h170 void (*dma_fix)(struct mvs_info *mvi, u32 phy_mask,
456 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard);
H A Dmv_94xx.c954 void mvs_94xx_fix_dma(struct mvs_info *mvi, u32 phy_mask, argument
968 buf_dma = (phy_mask <= 0x08) ?
/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-bitbang.c175 new_bus->phy_mask = ~0;
H A Dmii-fec.c173 new_bus->phy_mask = ~0;
/drivers/net/ethernet/adi/
H A Dbfin_mac.c1672 miibus->phy_mask = mii_bus_pd->phy_mask;

Completed in 413 milliseconds

12