Home
last modified time | relevance | path

Searched refs:phy_desc (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/phy/marvell/
Dphy-berlin-sata.c233 struct phy_berlin_desc *phy_desc; in phy_berlin_sata_probe() local
248 phy_desc = devm_kzalloc(dev, sizeof(*phy_desc), GFP_KERNEL); in phy_berlin_sata_probe()
249 if (!phy_desc) { in phy_berlin_sata_probe()
261 phy_desc->phy = phy; in phy_berlin_sata_probe()
262 phy_desc->power_bit = phy_berlin_power_down_bits[phy_id]; in phy_berlin_sata_probe()
263 phy_desc->index = phy_id; in phy_berlin_sata_probe()
264 phy_set_drvdata(phy, phy_desc); in phy_berlin_sata_probe()
266 priv->phys[i++] = phy_desc; in phy_berlin_sata_probe()
/linux-6.12.1/drivers/scsi/aic94xx/
Daic94xx_sds.c435 struct asd_manuf_phy_desc phy_desc[ASD_MAX_PHYS]; member
506 struct asd_nd_phy_desc phy_desc[]; member
776 dflt_phy_param.phy_desc[i].state = 0; in asd_ms_get_phy_params()
777 dflt_phy_param.phy_desc[i].phy_id = i; in asd_ms_get_phy_params()
778 dflt_phy_param.phy_desc[i].phy_control_0 = 0xf6; in asd_ms_get_phy_params()
779 dflt_phy_param.phy_desc[i].phy_control_1 = 0x10; in asd_ms_get_phy_params()
780 dflt_phy_param.phy_desc[i].phy_control_2 = 0x43; in asd_ms_get_phy_params()
781 dflt_phy_param.phy_desc[i].phy_control_3 = 0xeb; in asd_ms_get_phy_params()
797 struct asd_manuf_phy_desc *pd = &phy_param->phy_desc[i]; in asd_ms_get_phy_params()
813 asd_ha->hw_prof.phy_desc[i].phy_control_0 = pd->phy_control_0; in asd_ms_get_phy_params()
[all …]
Daic94xx_hwi.c40 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr()
46 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr()
64 memcpy(phy->identify_frame->sas_addr, phy->phy_desc->sas_addr, in asd_init_phy_identify()
118 phy->phy_desc = &asd_ha->hw_prof.phy_desc[i]; in asd_init_phys()
123 phy->sas_phy.sas_addr = &phy->phy_desc->sas_addr[0]; in asd_init_phys()
1313 phy->phy_desc->phy_control_0); in asd_enable_phy()
1315 phy->phy_desc->phy_control_1); in asd_enable_phy()
1317 phy->phy_desc->phy_control_2); in asd_enable_phy()
1319 phy->phy_desc->phy_control_3); in asd_enable_phy()
Daic94xx_scb.c58 sas_phy->maximum_linkrate = phy->phy_desc->max_sas_lrate; in get_lrate_mode()
59 sas_phy->minimum_linkrate = phy->phy_desc->min_sas_lrate; in get_lrate_mode()
143 u64 addr = be64_to_cpu(*(__be64 *)phy->phy_desc->sas_addr); in asd_get_attached_sas_addr()
783 set_speed_mask(&control_phy->speed_mask, phy->phy_desc); in asd_build_control_phy()
801 if (phy->phy_desc->flags & ASD_SATA_SPINUP_HOLD) in asd_build_control_phy()
893 struct asd_phy_desc *pd = asd_ha->phys[phy->id].phy_desc; in asd_control_phy()
Daic94xx_init.c204 asd_ha->hw_prof.phy_desc[i].max_sas_lrate = in asd_common_setup()
206 asd_ha->hw_prof.phy_desc[i].min_sas_lrate = in asd_common_setup()
208 asd_ha->hw_prof.phy_desc[i].max_sata_lrate = in asd_common_setup()
210 asd_ha->hw_prof.phy_desc[i].min_sata_lrate = in asd_common_setup()
Daic94xx_hwi.h94 struct asd_phy_desc phy_desc[ASD_MAX_PHYS]; member
Daic94xx_sas.h678 struct asd_phy_desc *phy_desc; /* hw profile */ member
Daic94xx_seq.c1043 sas_addr = asd_ha->phys[lseq].phy_desc->sas_addr; in asd_init_lseq_cio()
/linux-6.12.1/drivers/phy/samsung/
Dphy-exynos-mipi-video.c262 struct video_phy_desc *phy_desc = phy_get_drvdata(phy); in exynos_mipi_video_phy_power_on() local
263 struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); in exynos_mipi_video_phy_power_on()
265 return __set_phy_state(phy_desc->data, state, 1); in exynos_mipi_video_phy_power_on()
270 struct video_phy_desc *phy_desc = phy_get_drvdata(phy); in exynos_mipi_video_phy_power_off() local
271 struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); in exynos_mipi_video_phy_power_off()
273 return __set_phy_state(phy_desc->data, state, 0); in exynos_mipi_video_phy_power_off()