| /drivers/scsi/isci/ |
| A D | port.c | 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() 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() 427 || (phy_mask == 0)) in sci_port_is_phy_mask_valid() 430 if (((phy_mask & 0x08) == 0x08) in sci_port_is_phy_mask_valid() 431 || (phy_mask == 0)) in sci_port_is_phy_mask_valid() [all …]
|
| A D | port_config.c | 245 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()
|
| A D | probe_roms.h | 309 uint8_t phy_mask; member
|
| A D | port.h | 143 u32 phy_mask; member
|
| /drivers/net/ethernet/ti/ |
| A D | davinci_mdio.c | 296 u32 phy_mask, ver; in davinci_mdio_common_reset() local 322 phy_mask = readl(&data->regs->alive); in davinci_mdio_common_reset() 323 if (phy_mask) { in davinci_mdio_common_reset() 325 dev_info(data->dev, "detected phy mask %x\n", ~phy_mask); in davinci_mdio_common_reset() 326 phy_mask = ~phy_mask; in davinci_mdio_common_reset() 330 phy_mask = 0; in davinci_mdio_common_reset() 332 data->bus->phy_mask = phy_mask; in davinci_mdio_common_reset()
|
| /drivers/net/mdio/ |
| A D | mdio-regmap.c | 77 mii->phy_mask = ~BIT(config->valid_addr); in devm_mdio_regmap_register() 79 mii->phy_mask = ~0; in devm_mdio_regmap_register()
|
| A D | mdio-bcm-unimac.c | 177 read_mask = ~bus->phy_mask; in unimac_mdio_reset() 276 bus->phy_mask = ~pdata->phy_mask; in unimac_mdio_probe()
|
| A D | mdio-gpio.c | 131 new_bus->phy_mask = pdata->phy_mask; in mdio_gpio_bus_init()
|
| A D | acpi_mdio.c | 40 mdio->phy_mask = GENMASK(31, 0); in __acpi_mdiobus_register()
|
| A D | mdio-mux-bcm6368.c | 128 bus->phy_mask = 0x3f; in bcm6368_mdiomux_probe()
|
| /drivers/scsi/mpi3mr/ |
| A D | mpi3mr_transport.c | 642 mr_sas_port->phy_mask |= (1 << mr_sas_phy->phy_id); in mpi3mr_add_sas_phy() 1380 sizeof(mr_sas_port->phy_mask) * 8) in mpi3mr_sas_port_add() 1392 i, sizeof(mr_sas_port->phy_mask) * 8); in mpi3mr_sas_port_add() 1399 mr_sas_port->phy_mask |= (1 << i); in mpi3mr_sas_port_add() 1624 u64 phy_mask; member 1659 h_port->iounit_port_id, h_port->phy_mask); in mpi3mr_update_mr_sas_port() 1665 phy_mask_xor = mr_sas_port->phy_mask ^ h_port->phy_mask; in mpi3mr_update_mr_sas_port() 1741 h_port[j].phy_mask |= (1 << i); in mpi3mr_refresh_sas_ports() 1768 h_port[port_idx].phy_mask = (1 << i); in mpi3mr_refresh_sas_ports() 1794 h_port[i].phy_mask, h_port[i].lowest_phy); in mpi3mr_refresh_sas_ports() [all …]
|
| /drivers/scsi/libsas/ |
| A D | sas_port.c | 77 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()
|
| /drivers/scsi/aic94xx/ |
| A D | aic94xx_hwi.c | 105 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()
|
| A D | aic94xx_hwi.h | 173 u32 phy_mask; member 374 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask);
|
| A D | aic94xx_seq.c | 1369 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()
|
| A D | aic94xx_scb.c | 194 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()
|
| /drivers/net/ethernet/samsung/sxgbe/ |
| A D | sxgbe_mdio.c | 226 mdio_bus->phy_mask = mdio_data->phy_mask; in sxgbe_mdio_register()
|
| /drivers/net/ethernet/broadcom/genet/ |
| A D | bcmmii.c | 450 ppd->phy_mask = 1 << pd->phy_address; in bcmgenet_mii_pdata_init() 452 ppd->phy_mask = 0; in bcmgenet_mii_pdata_init() 517 ppd.phy_mask = ~0; in bcmgenet_mii_register()
|
| /drivers/net/phy/ |
| A D | mdio_bus_provider.c | 243 if ((bus->phy_mask & BIT(i)) == 0) { in mdiobus_scan_bus_c22() 259 if ((bus->phy_mask & BIT(i)) == 0) { in mdiobus_scan_bus_c45()
|
| /drivers/scsi/mvsas/ |
| A D | mv_sas.c | 444 ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | in mvs_task_prep_ata() 537 MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask, in mvs_task_prep_ata() 562 u32 phy_mask; in mvs_task_prep_ssp() local 566 phy_mask = ((port->wide_port_phymap) ? port->wide_port_phymap : in mvs_task_prep_ssp() 567 sas_port->phy_mask) & TXQ_PHY_MASK; in mvs_task_prep_ssp() 572 (phy_mask << TXQ_PHY_SHIFT)); in mvs_task_prep_ssp() 1085 port->wide_port_phymap = sas_port->phy_mask; in mvs_port_notify_formed() 1086 mv_printk("set wide port phy map %x\n", sas_port->phy_mask); in mvs_port_notify_formed()
|
| /drivers/net/ethernet/apm/xgene-v2/ |
| A D | mdio.c | 118 mdio_bus->phy_mask = 0x1; in xge_mdio_config()
|
| /drivers/net/ethernet/freescale/fs_enet/ |
| A D | mii-fec.c | 162 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
|
| A D | mii-bitbang.c | 171 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
|
| /drivers/scsi/mpt3sas/ |
| A D | mpt3sas_scsih.c | 456 if (vphy->phy_mask & (1 << phy)) in mpt3sas_get_vphy_by_phy() 6066 vphy->phy_mask = (1 << i); in _scsih_update_vphys_after_reset() 6118 mport->phy_mask = 0; in _scsih_update_vphys_after_reset() 6242 && (port_table_entry->phy_mask == port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry() 6249 && (port_table_entry->phy_mask & port_entry->phy_mask) in _scsih_look_and_get_matched_port_entry() 6257 && (port_table_entry->phy_mask & port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry() 6332 u32 phy_mask, offset = 0; in _scsih_add_or_del_phys_from_existing_port() local 6335 phy_mask = hba_port_entry->phy_mask ^ port_table[index].phy_mask; in _scsih_add_or_del_phys_from_existing_port() 6338 if (phy_mask & (1 << offset)) { in _scsih_add_or_del_phys_from_existing_port() 6378 vphy->phy_mask)); in _scsih_del_dirty_vphy() [all …]
|
| /drivers/net/ethernet/wangxun/ngbe/ |
| A D | ngbe_mdio.c | 172 mii_bus->phy_mask = GENMASK(31, 4); in ngbe_mdio_init()
|