/linux-master/include/linux/platform_data/ |
H A D | mdio-gpio.h | 10 u32 phy_mask; member in struct:mdio_gpio_platform_data
|
H A D | mdio-bcm-unimac.h | 7 u32 phy_mask; member in struct:unimac_mdio_pdata
|
/linux-master/include/linux/ |
H A D | sxgbe_platform.h | 27 unsigned int phy_mask; member in struct:sxgbe_mdio_bus_data
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | util.c | 78 u32 phy_mask = dev->wcid_phy_mask[i]; local 83 for (j = i * 32; mask; j++, mask >>= 1, phy_mask >>= 1) { 87 if (!!(phy_mask & 1) != ext_phy)
|
/linux-master/drivers/net/mdio/ |
H A D | acpi_mdio.c | 40 mdio->phy_mask = GENMASK(31, 0);
|
H A D | mdio-regmap.c | 77 mii->phy_mask = ~BIT(config->valid_addr); 79 mii->phy_mask = ~0;
|
H A D | mdio-bcm-unimac.c | 166 * to read from non-existing PHYs, we either use bus->phy_mask or do a manual 177 read_mask = ~bus->phy_mask; 277 bus->phy_mask = ~pdata->phy_mask;
|
H A D | mdio-gpio.c | 131 new_bus->phy_mask = pdata->phy_mask;
|
H A D | mdio-mux-bcm6368.c | 128 bus->phy_mask = 0x3f;
|
/linux-master/drivers/scsi/isci/ |
H A D | port_config.c | 245 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 D | port.c | 135 prop->phy_mask = sci_port_get_phys(iport); 359 * phy_mask for a port can be supported. bool true if this is a valid phy 401 * @phy_mask: Phy mask belonging to this port 412 u32 phy_mask) 415 if (((phy_mask & 0x0F) == 0x0F) 416 || ((phy_mask & 0x03) == 0x03) 417 || ((phy_mask & 0x01) == 0x01) 418 || (phy_mask == 0)) 421 if (((phy_mask & 0x02) == 0x02) 422 || (phy_mask 410 sci_port_is_phy_mask_valid( struct isci_port *iport, u32 phy_mask) argument 1064 u32 phy_mask; local 1557 u32 phy_mask = iport->active_phy_mask; local [all...] |
H A D | probe_roms.h | 309 uint8_t phy_mask; member in struct:sci_oem_params::__anon9506
|
H A D | port.h | 143 u32 phy_mask; member in struct:sci_port_properties
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | davinci_mdio.c | 102 /* Indicates that driver shouldn't modify phy_mask in case 296 u32 phy_mask, ver; local 322 phy_mask = readl(&data->regs->alive); 323 if (phy_mask) { 325 dev_info(data->dev, "detected phy mask %x\n", ~phy_mask); 326 phy_mask = ~phy_mask; 330 phy_mask = 0; 332 data->bus->phy_mask = phy_mask; [all...] |
/linux-master/drivers/scsi/libsas/ |
H A D | sas_port.c | 77 port->phy_mask |= (1U << phy->id); 178 pr_debug("%s added to %s, phy_mask:0x%x (%016llx)\n", 180 port->phy_mask, 245 port->phy_mask &= ~(1U << phy->id); 254 port->phy_mask = 0;
|
/linux-master/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_transport.c | 603 mr_sas_port->phy_mask &= ~(1 << mr_sas_phy->phy_id); 605 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; 630 mr_sas_port->phy_mask |= (1 << mr_sas_phy->phy_id); 632 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; 1356 if (mr_sas_node->num_phys > sizeof(mr_sas_port->phy_mask) * 8) 1366 if (i > sizeof(mr_sas_port->phy_mask) * 8) { 1368 i, sizeof(mr_sas_port->phy_mask) * 8); 1374 mr_sas_port->phy_mask |= (1 << i); 1383 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; 1590 * @phy_mask 1598 u64 phy_mask; member in struct:host_port [all...] |
/linux-master/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_mdio.c | 226 mdio_bus->phy_mask = mdio_data->phy_mask;
|
/linux-master/drivers/net/ethernet/apm/xgene-v2/ |
H A D | mdio.c | 119 mdio_bus->phy_mask = 0x1;
|
/linux-master/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_mdio.c | 152 mii_bus->phy_mask = GENMASK(31, 4);
|
/linux-master/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.h | 168 * phy_mask for updating DDB 0. 173 u32 phy_mask; member in struct:asd_port 374 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask);
|
H A D | aic94xx_hwi.c | 105 asd_port->phy_mask = 0; 113 u8 phy_mask = asd_ha->hw_prof.enabled_phys; local 130 for_each_phy(phy_mask, phy_mask, i) { 1332 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask) argument 1340 if (!phy_mask) { 1341 asd_printk("%s called with phy_mask of 0!?\n", __func__); 1345 for_each_phy(phy_mask, phy_m, i) { 1359 for_each_phy(phy_mask, phy_m, i) {
|
/linux-master/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 154 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard) argument 157 for_each_phy(phy_mask, phy_mask, no) { 158 if (!(phy_mask & 1)) 454 ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | 547 MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask, 572 u32 phy_mask; local 576 phy_mask = ((port->wide_port_phymap) ? port->wide_port_phymap : 577 sas_port->phy_mask) & TXQ_PHY_MASK; 582 (phy_mask << TXQ_PHY_SHIF [all...] |
H A D | mv_sas.h | 153 void (*dma_fix)(struct mvs_info *mvi, u32 phy_mask, 428 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard);
|
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmmii.c | 445 ppd->phy_mask = 1 << pd->phy_address; 447 ppd->phy_mask = 0; 512 ppd.phy_mask = ~0;
|
/linux-master/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-bitbang.c | 174 new_bus->phy_mask = ~0;
|