Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/phy/
Dphy-berlin-sata.c235 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()
258 phy_desc->phy = phy; in phy_berlin_sata_probe()
259 phy_desc->power_bit = phy_berlin_power_down_bits[phy_id]; in phy_berlin_sata_probe()
260 phy_desc->index = phy_id; in phy_berlin_sata_probe()
261 phy_set_drvdata(phy, phy_desc); in phy_berlin_sata_probe()
263 priv->phys[i++] = phy_desc; in phy_berlin_sata_probe()
Dphy-exynos-mipi-video.c102 struct video_phy_desc *phy_desc = phy_get_drvdata(phy); in exynos_mipi_video_phy_power_on() local
103 struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); in exynos_mipi_video_phy_power_on()
105 return __set_phy_state(state, phy_desc->index, 1); in exynos_mipi_video_phy_power_on()
110 struct video_phy_desc *phy_desc = phy_get_drvdata(phy); in exynos_mipi_video_phy_power_off() local
111 struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); in exynos_mipi_video_phy_power_off()
113 return __set_phy_state(state, phy_desc->index, 0); in exynos_mipi_video_phy_power_off()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_sds.c453 struct asd_manuf_phy_desc phy_desc[ASD_MAX_PHYS]; member
524 struct asd_nd_phy_desc phy_desc[0]; member
790 dflt_phy_param.phy_desc[i].state = 0; in asd_ms_get_phy_params()
791 dflt_phy_param.phy_desc[i].phy_id = i; in asd_ms_get_phy_params()
792 dflt_phy_param.phy_desc[i].phy_control_0 = 0xf6; in asd_ms_get_phy_params()
793 dflt_phy_param.phy_desc[i].phy_control_1 = 0x10; in asd_ms_get_phy_params()
794 dflt_phy_param.phy_desc[i].phy_control_2 = 0x43; in asd_ms_get_phy_params()
795 dflt_phy_param.phy_desc[i].phy_control_3 = 0xeb; in asd_ms_get_phy_params()
811 struct asd_manuf_phy_desc *pd = &phy_param->phy_desc[i]; in asd_ms_get_phy_params()
827 asd_ha->hw_prof.phy_desc[i].phy_control_0 = pd->phy_control_0; in asd_ms_get_phy_params()
[all …]
Daic94xx_hwi.c58 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr()
64 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr()
82 memcpy(phy->identify_frame->sas_addr, phy->phy_desc->sas_addr, in asd_init_phy_identify()
138 phy->phy_desc = &asd_ha->hw_prof.phy_desc[i]; in asd_init_phys()
143 phy->sas_phy.sas_addr = &phy->phy_desc->sas_addr[0]; in asd_init_phys()
1334 phy->phy_desc->phy_control_0); in asd_enable_phy()
1336 phy->phy_desc->phy_control_1); in asd_enable_phy()
1338 phy->phy_desc->phy_control_2); in asd_enable_phy()
1340 phy->phy_desc->phy_control_3); in asd_enable_phy()
Daic94xx_scb.c76 sas_phy->maximum_linkrate = phy->phy_desc->max_sas_lrate; in get_lrate_mode()
77 sas_phy->minimum_linkrate = phy->phy_desc->min_sas_lrate; in get_lrate_mode()
160 u64 addr = be64_to_cpu(*(__be64 *)phy->phy_desc->sas_addr); in asd_get_attached_sas_addr()
793 set_speed_mask(&control_phy->speed_mask, phy->phy_desc); in asd_build_control_phy()
810 if (phy->phy_desc->flags & ASD_SATA_SPINUP_HOLD) in asd_build_control_phy()
902 struct asd_phy_desc *pd = asd_ha->phys[phy->id].phy_desc; in asd_control_phy()
Daic94xx_init.c238 asd_ha->hw_prof.phy_desc[i].max_sas_lrate = in asd_common_setup()
240 asd_ha->hw_prof.phy_desc[i].min_sas_lrate = in asd_common_setup()
242 asd_ha->hw_prof.phy_desc[i].max_sata_lrate = in asd_common_setup()
244 asd_ha->hw_prof.phy_desc[i].min_sata_lrate = in asd_common_setup()
Daic94xx_hwi.h112 struct asd_phy_desc phy_desc[ASD_MAX_PHYS]; member
Daic94xx_sas.h733 struct asd_phy_desc *phy_desc; /* hw profile */ member
Daic94xx_seq.c1058 sas_addr = asd_ha->phys[lseq].phy_desc->sas_addr; in asd_init_lseq_cio()