Home
last modified time | relevance | path

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

1234

/drivers/scsi/isci/
Dport.c135 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 …]
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()
Dprobe_roms.h309 uint8_t phy_mask; member
Dport.h143 u32 phy_mask; member
/drivers/net/ethernet/ti/
Ddavinci_mdio.c296 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/wireless/mediatek/mt76/
Dutil.c78 u32 phy_mask = dev->wcid_phy_mask[i]; in mt76_get_min_avg_rssi() local
83 for (j = i * 32; mask; j++, mask >>= 1, phy_mask >>= 1) { in mt76_get_min_avg_rssi()
87 if (!!(phy_mask & 1) != ext_phy) in mt76_get_min_avg_rssi()
/drivers/net/mdio/
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()
Dmdio-bcm-unimac.c165 read_mask = ~bus->phy_mask; in unimac_mdio_reset()
268 bus->phy_mask = ~pdata->phy_mask; in unimac_mdio_probe()
Dmdio-gpio.c131 new_bus->phy_mask = pdata->phy_mask; in mdio_gpio_bus_init()
Dacpi_mdio.c39 mdio->phy_mask = GENMASK(31, 0); in __acpi_mdiobus_register()
Dmdio-mux-bcm6368.c128 bus->phy_mask = 0x3f; in bcm6368_mdiomux_probe()
/drivers/scsi/mpi3mr/
Dmpi3mr_transport.c605 mr_sas_port->phy_mask &= ~(1 << mr_sas_phy->phy_id); in mpi3mr_delete_sas_phy()
607 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; in mpi3mr_delete_sas_phy()
632 mr_sas_port->phy_mask |= (1 << mr_sas_phy->phy_id); in mpi3mr_add_sas_phy()
634 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; in mpi3mr_add_sas_phy()
1358 if (mr_sas_node->num_phys > sizeof(mr_sas_port->phy_mask) * 8) in mpi3mr_sas_port_add()
1368 if (i > sizeof(mr_sas_port->phy_mask) * 8) { in mpi3mr_sas_port_add()
1370 i, sizeof(mr_sas_port->phy_mask) * 8); in mpi3mr_sas_port_add()
1376 mr_sas_port->phy_mask |= (1 << i); in mpi3mr_sas_port_add()
1385 mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1; in mpi3mr_sas_port_add()
1600 u32 phy_mask; member
[all …]
/drivers/scsi/libsas/
Dsas_port.c77 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/
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()
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()
Daic94xx_hwi.h173 u32 phy_mask; member
374 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask);
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()
Daic94xx_scb.c194 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/scsi/mvsas/
Dmv_sas.c154 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard) in mvs_phys_reset() argument
157 for_each_phy(phy_mask, phy_mask, no) { in mvs_phys_reset()
158 if (!(phy_mask & 1)) in mvs_phys_reset()
454 ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | in mvs_task_prep_ata()
547 MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask, in mvs_task_prep_ata()
572 u32 phy_mask; in mvs_task_prep_ssp() local
576 phy_mask = ((port->wide_port_phymap) ? port->wide_port_phymap : in mvs_task_prep_ssp()
577 sas_port->phy_mask) & TXQ_PHY_MASK; in mvs_task_prep_ssp()
582 (phy_mask << TXQ_PHY_SHIFT)); in mvs_task_prep_ssp()
1095 port->wide_port_phymap = sas_port->phy_mask; in mvs_port_notify_formed()
[all …]
Dmv_sas.h153 void (*dma_fix)(struct mvs_info *mvi, u32 phy_mask,
428 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard);
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mdio.c226 mdio_bus->phy_mask = mdio_data->phy_mask; in sxgbe_mdio_register()
/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c444 ppd->phy_mask = 1 << pd->phy_address; in bcmgenet_mii_pdata_init()
446 ppd->phy_mask = 0; in bcmgenet_mii_pdata_init()
507 ppd.phy_mask = ~0; in bcmgenet_mii_register()
/drivers/net/ethernet/apm/xgene-v2/
Dmdio.c119 mdio_bus->phy_mask = 0x1; in xge_mdio_config()
/drivers/net/ethernet/freescale/fs_enet/
Dmii-fec.c169 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
Dmii-bitbang.c174 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c449 if (vphy->phy_mask & (1 << phy)) in mpt3sas_get_vphy_by_phy()
6057 if (!(vphy->phy_mask & (1 << i))) in _scsih_update_vphys_after_reset()
6058 vphy->phy_mask = (1 << i); in _scsih_update_vphys_after_reset()
6110 mport->phy_mask = 0; in _scsih_update_vphys_after_reset()
6181 port_table[j].phy_mask |= (1 << i); in _scsih_get_port_table_after_reset()
6192 port_table[port_count].phy_mask = (1 << i); in _scsih_get_port_table_after_reset()
6235 && (port_table_entry->phy_mask == port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6242 && (port_table_entry->phy_mask & port_entry->phy_mask) in _scsih_look_and_get_matched_port_entry()
6250 && (port_table_entry->phy_mask & port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6299 if (port_table[i].phy_mask & (1 << offset)) { in _scsih_del_phy_part_of_anther_port()
[all …]

1234