Home
last modified time | relevance | path

Searched refs:lane_num (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c262 unsigned lane_num, i, max_pix_clock; in amdgpu_atombios_dp_get_dp_link_config() local
266 for (lane_num = 1; lane_num <= max_lane_num; lane_num <<= 1) { in amdgpu_atombios_dp_get_dp_link_config()
267 max_pix_clock = (lane_num * 270000 * 8) / bpp; in amdgpu_atombios_dp_get_dp_link_config()
269 *dp_lanes = lane_num; in amdgpu_atombios_dp_get_dp_link_config()
276 for (lane_num = 1; lane_num <= max_lane_num; lane_num <<= 1) { in amdgpu_atombios_dp_get_dp_link_config()
277 max_pix_clock = (lane_num * link_rates[i] * 8) / bpp; in amdgpu_atombios_dp_get_dp_link_config()
279 *dp_lanes = lane_num; in amdgpu_atombios_dp_get_dp_link_config()
292 u8 ucconfig, u8 lane_num) in amdgpu_atombios_dp_encoder_service() argument
301 args.ucLaneNum = lane_num; in amdgpu_atombios_dp_encoder_service()
Datombios_encoders.h51 uint8_t lane_num, uint8_t lane_set);
Datombios_encoders.c751 uint8_t lane_num, uint8_t lane_set) in amdgpu_atombios_encoder_setup_dig_transmitter() argument
830 args.v1.asMode.ucLaneSel = lane_num; in amdgpu_atombios_encoder_setup_dig_transmitter()
867 args.v2.asMode.ucLaneSel = lane_num; in amdgpu_atombios_encoder_setup_dig_transmitter()
909 args.v3.asMode.ucLaneSel = lane_num; in amdgpu_atombios_encoder_setup_dig_transmitter()
968 args.v4.asMode.ucLaneSel = lane_num; in amdgpu_atombios_encoder_setup_dig_transmitter()
/linux-6.1.9/drivers/gpu/drm/radeon/
Datombios_dp.c315 unsigned lane_num, i, max_pix_clock; in radeon_dp_get_dp_link_config() local
319 for (lane_num = 1; lane_num <= max_lane_num; lane_num <<= 1) { in radeon_dp_get_dp_link_config()
320 max_pix_clock = (lane_num * 270000 * 8) / bpp; in radeon_dp_get_dp_link_config()
322 *dp_lanes = lane_num; in radeon_dp_get_dp_link_config()
329 for (lane_num = 1; lane_num <= max_lane_num; lane_num <<= 1) { in radeon_dp_get_dp_link_config()
330 max_pix_clock = (lane_num * link_rates[i] * 8) / bpp; in radeon_dp_get_dp_link_config()
332 *dp_lanes = lane_num; in radeon_dp_get_dp_link_config()
345 u8 ucconfig, u8 lane_num) in radeon_dp_encoder_service() argument
354 args.ucLaneNum = lane_num; in radeon_dp_encoder_service()
Datombios_encoders.c999 atombios_dig_transmitter_setup2(struct drm_encoder *encoder, int action, uint8_t lane_num, uint8_t … in atombios_dig_transmitter_setup2() argument
1080 args.v1.asMode.ucLaneSel = lane_num; in atombios_dig_transmitter_setup2()
1137 args.v2.asMode.ucLaneSel = lane_num; in atombios_dig_transmitter_setup2()
1179 args.v3.asMode.ucLaneSel = lane_num; in atombios_dig_transmitter_setup2()
1238 args.v4.asMode.ucLaneSel = lane_num; in atombios_dig_transmitter_setup2()
1366 atombios_dig_transmitter_setup(struct drm_encoder *encoder, int action, uint8_t lane_num, uint8_t l… in atombios_dig_transmitter_setup() argument
1368 atombios_dig_transmitter_setup2(encoder, action, lane_num, lane_set, -1); in atombios_dig_transmitter_setup()
Dradeon_mode.h736 int action, uint8_t lane_num,
739 int action, uint8_t lane_num,
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h325 u8 lane_num; member
353 u8 lane_num; member
Dhclge_main.h262 u8 lane_num; member
1103 int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex, u8 lane_num);
Dhclge_main.c2628 u8 duplex, u8 lane_num) in hclge_cfg_mac_speed_dup_hw() argument
2652 req->lane_num = lane_num; in hclge_cfg_mac_speed_dup_hw()
2664 int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex, u8 lane_num) in hclge_cfg_mac_speed_dup() argument
2671 mac->duplex == duplex && (mac->lane_num == lane_num || lane_num == 0)) in hclge_cfg_mac_speed_dup()
2674 ret = hclge_cfg_mac_speed_dup_hw(hdev, speed, duplex, lane_num); in hclge_cfg_mac_speed_dup()
2680 if (!lane_num) in hclge_cfg_mac_speed_dup()
2681 hdev->hw.mac.lane_num = lane_num; in hclge_cfg_mac_speed_dup()
2687 u8 duplex, u8 lane_num) in hclge_cfg_mac_speed_dup_h() argument
2692 return hclge_cfg_mac_speed_dup(hdev, speed, duplex, lane_num); in hclge_cfg_mac_speed_dup_h()
2992 hdev->hw.mac.duplex, hdev->hw.mac.lane_num); in hclge_mac_init()
[all …]
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h581 u32 *lane_num);
584 u8 duplex, u8 lane_num);
Dhns3_ethtool.c825 u32 lane_num; in hns3_check_ksettings_param() local
838 ops->get_ksettings_an_result(handle, &autoneg, &speed, &duplex, &lane_num); in hns3_check_ksettings_param()
840 cmd->base.duplex == duplex && cmd->lanes == lane_num) in hns3_check_ksettings_param()
/linux-6.1.9/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c543 static inline int zynqmp_dp_max_rate(int link_rate, u8 lane_num, u8 bpp) in zynqmp_dp_max_rate() argument
545 return link_rate * lane_num * 8 / bpp; in zynqmp_dp_max_rate()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dp.c880 static void mtk_dp_set_swing_pre_emphasis(struct mtk_dp *mtk_dp, int lane_num, in mtk_dp_set_swing_pre_emphasis() argument
883 u32 lane_shift = lane_num * DP_TX1_VOLT_SWING_SHIFT; in mtk_dp_set_swing_pre_emphasis()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3181 u8 *duplex, u32 *lane_num) in hclgevf_get_ksettings_an_result() argument