Home
last modified time | relevance | path

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

1234

/linux/drivers/scsi/isci/
H A 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()
H A Dport.c135 prop->phy_mask = sci_port_get_phys(iport); in sci_port_get_properties()
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) 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 in sci_port_is_phy_mask_valid()
1064 u32 phy_mask; sci_port_start() local
1557 u32 phy_mask = iport->active_phy_mask; sci_port_set_hang_detection_timeout() local
[all...]
H A Dprobe_roms.h309 uint8_t phy_mask; member
H A Dport.h143 u32 phy_mask; member
/linux/drivers/net/ethernet/ti/
H A Ddavinci_mdio.c102 /* Indicates that driver shouldn't modify phy_mask in case
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()
[all...]
/linux/drivers/net/mdio/
H A Dmdio-regmap.c77 mii->phy_mask = ~BIT(config->valid_addr); in devm_mdio_regmap_register()
79 mii->phy_mask = ~0; in devm_mdio_regmap_register()
H A Dmdio-gpio.c131 new_bus->phy_mask = pdata->phy_mask; in mdio_gpio_bus_init()
H A Dacpi_mdio.c40 mdio->phy_mask = GENMASK(31, 0); in __acpi_mdiobus_register()
H A Dmdio-mux-bcm6368.c128 bus->phy_mask = 0x3f; in bcm6368_mdiomux_probe()
/linux/drivers/scsi/libsas/
H A Dsas_port.c77 port->phy_mask |= (1U << phy->id); in sas_form_port_add_phy()
178 pr_debug("%s added to %s, phy_mask:0x%x (%016llx)\n", in sas_form_port()
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 Dmpi3mr_transport.c611 mr_sas_port->phy_mask &= ~(1 << mr_sas_phy->phy_id); in mpi3mr_delete_sas_phy()
614 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; in mpi3mr_delete_sas_phy()
642 mr_sas_port->phy_mask |= (1 << mr_sas_phy->phy_id); in mpi3mr_add_sas_phy()
645 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()
1616 * @phy_mask
1624 u64 phy_mask; global() member
[all...]
/linux/include/linux/platform_data/
H A Dmdio-gpio.h10 u32 phy_mask; member
H A Dmdio-bcm-unimac.h7 u32 phy_mask; member
/linux/include/linux/
H A Dsxgbe_platform.h27 unsigned int phy_mask; member
/linux/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c105 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()
1341 asd_printk("%s called with phy_mask of 0!?\n", __func__); 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()
H A Daic94xx_hwi.h168 * phy_mask for updating DDB 0.
173 u32 phy_mask; member
374 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask);
H A Daic94xx_seq.c1369 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()
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_mdio.c226 mdio_bus->phy_mask = mdio_data->phy_mask; in sxgbe_mdio_register()
/linux/drivers/net/phy/
H A Dmdio_bus_provider.c243 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()
/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmdio.c118 mdio_bus->phy_mask = 0x1; in xge_mdio_config()
/linux/drivers/scsi/mvsas/
H A Dmv_sas.c444 ((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/freescale/fs_enet/
H A Dmii-fec.c162 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
H A Dmii-bitbang.c171 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
/linux/arch/mips/loongson32/common/
H A Dplatform.c64 .phy_mask = 0,
/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_mdio.c172 mii_bus->phy_mask = GENMASK(31, 4); in ngbe_mdio_init()

1234