| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | netc_blk_ctrl.c | 358 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 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()
|
| H A D | port.c | 135 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 D | probe_roms.h | 309 uint8_t phy_mask; member
|
| H A D | port.h | 143 u32 phy_mask; member
|
| H A D | host.c | 1657 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 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()
|
| H A D | acpi_mdio.c | 40 mdio->phy_mask = GENMASK(31, 0); in __acpi_mdiobus_register()
|
| /linux/drivers/scsi/libsas/ |
| H 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()
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_transport.c | 613 mr_sas_port->phy_mask &= ~(1 << mr_sas_phy->phy_id); in mpi3mr_delete_sas_phy() 616 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; in mpi3mr_delete_sas_phy() 644 mr_sas_port->phy_mask |= (1 << mr_sas_phy->phy_id); in mpi3mr_add_sas_phy() 647 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; in mpi3mr_add_sas_phy() 1380 sizeof(mr_sas_port->phy_mask) * 8) in mpi3mr_sas_port_add() 1390 if (mr_sas_node->host_node && (i >= 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() 1409 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; in mpi3mr_sas_port_add() 1624 u64 phy_mask; member [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | mdio-gpio.h | 10 u32 phy_mask; member
|
| H A D | mdio-bcm-unimac.h | 7 u32 phy_mask; member
|
| /linux/drivers/scsi/aic94xx/ |
| H 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() 1330 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask) in asd_enable_phys() argument 1338 if (!phy_mask) { in asd_enable_phys() 1343 for_each_phy(phy_mask, phy_m, i) { in asd_enable_phys() 1357 for_each_phy(phy_mask, phy_m, i) { in asd_enable_phys()
|
| H 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);
|
| H 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()
|
| H 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()
|
| H A D | aic94xx_init.c | 865 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 D | sxgbe_platform.h | 27 unsigned int phy_mask; member
|
| /linux/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_mdio.c | 226 mdio_bus->phy_mask = mdio_data->phy_mask; in sxgbe_mdio_register()
|
| /linux/drivers/scsi/mvsas/ |
| H 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()
|
| /linux/drivers/net/ethernet/apm/xgene-v2/ |
| H A D | mdio.c | 118 mdio_bus->phy_mask = 0x1; in xge_mdio_config()
|
| /linux/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | mii-fec.c | 162 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
|
| H A D | mii-bitbang.c | 171 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_scsih.c | 512 if (vphy->phy_mask & (1 << phy)) in mpt3sas_get_vphy_by_phy() 6367 if (!(vphy->phy_mask & (1 << i))) in _scsih_update_vphys_after_reset() 6368 vphy->phy_mask = (1 << i); in _scsih_update_vphys_after_reset() 6419 mport->phy_mask = 0; in _scsih_update_vphys_after_reset() 6489 port_table[j].phy_mask |= (1 << i); in _scsih_get_port_table_after_reset() 6500 port_table[port_count].phy_mask = (1 << i); in _scsih_get_port_table_after_reset() 6543 && (port_table_entry->phy_mask == port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry() 6550 && (port_table_entry->phy_mask & port_entry->phy_mask) in _scsih_look_and_get_matched_port_entry() 6558 && (port_table_entry->phy_mask & port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry() 6607 if (port_table[i].phy_mask & (1 << offset)) { in _scsih_del_phy_part_of_anther_port() [all …]
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bgmac-bcma-mdio.c | 232 mii_bus->phy_mask = ~(1 << bgmac->phyaddr); in bcma_mdio_mii_register()
|