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

/linux-4.4.14/drivers/phy/
H A Dphy-exynos-mipi-video.c102 struct video_phy_desc *phy_desc = phy_get_drvdata(phy); exynos_mipi_video_phy_power_on() local
103 struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); exynos_mipi_video_phy_power_on()
105 return __set_phy_state(state, phy_desc->index, 1); exynos_mipi_video_phy_power_on()
110 struct video_phy_desc *phy_desc = phy_get_drvdata(phy); exynos_mipi_video_phy_power_off() local
111 struct exynos_mipi_video_phy *state = to_mipi_video_phy(phy_desc); exynos_mipi_video_phy_power_off()
113 return __set_phy_state(state, phy_desc->index, 0); exynos_mipi_video_phy_power_off()
H A Dphy-berlin-sata.c235 struct phy_berlin_desc *phy_desc; phy_berlin_sata_probe() local
250 phy_desc = devm_kzalloc(dev, sizeof(*phy_desc), GFP_KERNEL); phy_berlin_sata_probe()
251 if (!phy_desc) { phy_berlin_sata_probe()
263 phy_desc->phy = phy; phy_berlin_sata_probe()
264 phy_desc->power_bit = phy_berlin_power_down_bits[phy_id]; phy_berlin_sata_probe()
265 phy_desc->index = phy_id; phy_berlin_sata_probe()
266 phy_set_drvdata(phy, phy_desc); phy_berlin_sata_probe()
268 priv->phys[i++] = phy_desc; phy_berlin_sata_probe()
/linux-4.4.14/drivers/scsi/aic94xx/
H A Daic94xx_sds.c453 struct asd_manuf_phy_desc phy_desc[ASD_MAX_PHYS]; member in struct:asd_manuf_phy_param
524 struct asd_nd_phy_desc phy_desc[0]; member in struct:asd_ms_node_desc
790 dflt_phy_param.phy_desc[i].state = 0; asd_ms_get_phy_params()
791 dflt_phy_param.phy_desc[i].phy_id = i; asd_ms_get_phy_params()
792 dflt_phy_param.phy_desc[i].phy_control_0 = 0xf6; asd_ms_get_phy_params()
793 dflt_phy_param.phy_desc[i].phy_control_1 = 0x10; asd_ms_get_phy_params()
794 dflt_phy_param.phy_desc[i].phy_control_2 = 0x43; asd_ms_get_phy_params()
795 dflt_phy_param.phy_desc[i].phy_control_3 = 0xeb; asd_ms_get_phy_params()
811 struct asd_manuf_phy_desc *pd = &phy_param->phy_desc[i]; asd_ms_get_phy_params()
827 asd_ha->hw_prof.phy_desc[i].phy_control_0 = pd->phy_control_0; asd_ms_get_phy_params()
828 asd_ha->hw_prof.phy_desc[i].phy_control_1 = pd->phy_control_1; asd_ms_get_phy_params()
829 asd_ha->hw_prof.phy_desc[i].phy_control_2 = pd->phy_control_2; asd_ms_get_phy_params()
830 asd_ha->hw_prof.phy_desc[i].phy_control_3 = pd->phy_control_3; asd_ms_get_phy_params()
951 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, pe->sas_addr, asd_process_ctrla_phy_settings()
953 asd_ha->hw_prof.phy_desc[i].max_sas_lrate = asd_process_ctrla_phy_settings()
955 asd_ha->hw_prof.phy_desc[i].min_sas_lrate = asd_process_ctrla_phy_settings()
957 asd_ha->hw_prof.phy_desc[i].max_sata_lrate = asd_process_ctrla_phy_settings()
959 asd_ha->hw_prof.phy_desc[i].min_sata_lrate = asd_process_ctrla_phy_settings()
961 asd_ha->hw_prof.phy_desc[i].flags = pe->flags; asd_process_ctrla_phy_settings()
965 SAS_ADDR(asd_ha->hw_prof.phy_desc[i].sas_addr), asd_process_ctrla_phy_settings()
966 asd_ha->hw_prof.phy_desc[i].max_sas_lrate, asd_process_ctrla_phy_settings()
967 asd_ha->hw_prof.phy_desc[i].min_sas_lrate, asd_process_ctrla_phy_settings()
968 asd_ha->hw_prof.phy_desc[i].max_sata_lrate, asd_process_ctrla_phy_settings()
969 asd_ha->hw_prof.phy_desc[i].min_sata_lrate, asd_process_ctrla_phy_settings()
970 asd_ha->hw_prof.phy_desc[i].flags); asd_process_ctrla_phy_settings()
H A Daic94xx_hwi.c58 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) asd_propagate_sas_addr()
64 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, asd_propagate_sas_addr()
82 memcpy(phy->identify_frame->sas_addr, phy->phy_desc->sas_addr, asd_init_phy_identify()
138 phy->phy_desc = &asd_ha->hw_prof.phy_desc[i]; asd_init_phys()
143 phy->sas_phy.sas_addr = &phy->phy_desc->sas_addr[0]; asd_init_phys()
1334 phy->phy_desc->phy_control_0); asd_enable_phy()
1336 phy->phy_desc->phy_control_1); asd_enable_phy()
1338 phy->phy_desc->phy_control_2); asd_enable_phy()
1340 phy->phy_desc->phy_control_3); asd_enable_phy()
H A Daic94xx_init.c232 asd_ha->hw_prof.phy_desc[i].max_sas_lrate = asd_common_setup()
234 asd_ha->hw_prof.phy_desc[i].min_sas_lrate = asd_common_setup()
236 asd_ha->hw_prof.phy_desc[i].max_sata_lrate = asd_common_setup()
238 asd_ha->hw_prof.phy_desc[i].min_sata_lrate = asd_common_setup()
H A Daic94xx_scb.c76 sas_phy->maximum_linkrate = phy->phy_desc->max_sas_lrate; get_lrate_mode()
77 sas_phy->minimum_linkrate = phy->phy_desc->min_sas_lrate; get_lrate_mode()
160 u64 addr = be64_to_cpu(*(__be64 *)phy->phy_desc->sas_addr); asd_get_attached_sas_addr()
793 set_speed_mask(&control_phy->speed_mask, phy->phy_desc); asd_build_control_phy()
810 if (phy->phy_desc->flags & ASD_SATA_SPINUP_HOLD) asd_build_control_phy()
902 struct asd_phy_desc *pd = asd_ha->phys[phy->id].phy_desc; asd_control_phy()
H A Daic94xx_hwi.h112 struct asd_phy_desc phy_desc[ASD_MAX_PHYS]; member in struct:hw_profile
H A Daic94xx_sas.h733 struct asd_phy_desc *phy_desc; /* hw profile */ member in struct:asd_phy
H A Daic94xx_seq.c1058 sas_addr = asd_ha->phys[lseq].phy_desc->sas_addr; asd_init_lseq_cio()

Completed in 298 milliseconds