Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Ddavinci_mdio.c134 u32 phy_mask, ver; in davinci_mdio_reset() local
157 phy_mask = readl(&data->regs->alive); in davinci_mdio_reset()
158 if (phy_mask) { in davinci_mdio_reset()
160 dev_info(data->dev, "detected phy mask %x\n", ~phy_mask); in davinci_mdio_reset()
161 phy_mask = ~phy_mask; in davinci_mdio_reset()
165 phy_mask = 0; in davinci_mdio_reset()
167 data->bus->phy_mask = phy_mask; in davinci_mdio_reset()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/isci/
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()
Dport.c135 prop->phy_mask = sci_port_get_phys(iport); in sci_port_get_properties()
411 u32 phy_mask) in sci_port_is_phy_mask_valid() argument
414 if (((phy_mask & 0x0F) == 0x0F) in sci_port_is_phy_mask_valid()
415 || ((phy_mask & 0x03) == 0x03) in sci_port_is_phy_mask_valid()
416 || ((phy_mask & 0x01) == 0x01) in sci_port_is_phy_mask_valid()
417 || (phy_mask == 0)) in sci_port_is_phy_mask_valid()
420 if (((phy_mask & 0x02) == 0x02) in sci_port_is_phy_mask_valid()
421 || (phy_mask == 0)) in sci_port_is_phy_mask_valid()
424 if (((phy_mask & 0x0C) == 0x0C) in sci_port_is_phy_mask_valid()
425 || ((phy_mask & 0x04) == 0x04) in sci_port_is_phy_mask_valid()
[all …]
Dprobe_roms.h309 uint8_t phy_mask; member
Dport.h143 u32 phy_mask; member
/kernel/linux/linux-5.10/arch/mips/ar7/
Dplatform.c248 .phy_mask = 0x80000000,
254 .phy_mask = 0x7fffffff,
624 cpmac_low_data.phy_mask = 0x40000000; in titan_fixup_devices()
627 cpmac_high_data.phy_mask = 0x80000000; in titan_fixup_devices()
684 cpmac_low_data.phy_mask = 0xffffffff; in ar7_register_devices()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_port.c146 port->phy_mask |= (1U << phy->id); in sas_form_port()
170 port->phy_mask, in sas_form_port()
235 port->phy_mask &= ~(1U << phy->id); in sas_deform_port()
245 port->phy_mask = 0; in sas_deform_port()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dmdio-gpio.h10 u32 phy_mask; member
Dmdio-bcm-unimac.h5 u32 phy_mask; member
/kernel/linux/linux-5.10/drivers/net/mdio/
Dmdio-bcm-unimac.c167 read_mask = ~bus->phy_mask; in unimac_mdio_reset()
270 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()
/kernel/linux/linux-5.10/include/linux/
Dsxgbe_platform.h27 unsigned int phy_mask; member
Dstmmac.h82 unsigned int phy_mask; member
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mdio.c169 mdio_bus->phy_mask = mdio_data->phy_mask; in sxgbe_mdio_register()
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_hwi.c107 asd_port->phy_mask = 0; in asd_init_ports()
115 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_init_phys() local
132 for_each_phy(phy_mask, phy_mask, i) { in asd_init_phys()
1334 int asd_enable_phys(struct asd_ha_struct *asd_ha, const u8 phy_mask) in asd_enable_phys() argument
1342 if (!phy_mask) { in asd_enable_phys()
1347 for_each_phy(phy_mask, phy_m, i) { in asd_enable_phys()
1361 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()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_sas.c153 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard) in mvs_phys_reset() argument
156 for_each_phy(phy_mask, phy_mask, no) { in mvs_phys_reset()
157 if (!(phy_mask & 1)) in mvs_phys_reset()
453 ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | in mvs_task_prep_ata()
546 MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask, in mvs_task_prep_ata()
571 u32 phy_mask; in mvs_task_prep_ssp() local
575 phy_mask = ((port->wide_port_phymap) ? port->wide_port_phymap : in mvs_task_prep_ssp()
576 sas_port->phy_mask) & TXQ_PHY_MASK; in mvs_task_prep_ssp()
581 (phy_mask << TXQ_PHY_SHIFT)); in mvs_task_prep_ssp()
1101 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,
434 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard);
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c398 ppd->phy_mask = 1 << pd->phy_address; in bcmgenet_mii_pdata_init()
400 ppd->phy_mask = 0; in bcmgenet_mii_pdata_init()
461 ppd.phy_mask = ~0; in bcmgenet_mii_register()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ar7/
Dar7.h98 u32 phy_mask; member
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene-v2/
Dmdio.c119 mdio_bus->phy_mask = 0x1; in xge_mdio_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
Dmii-fec.c168 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()
Dmii-bitbang.c174 new_bus->phy_mask = ~0; in fs_enet_mdio_probe()

123