/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/ |
D | ethtool_lanes.sh | 27 local lanes_exist=$(ethtool $swp1 | grep 'Lanes:') 29 log_test "SKIP: driver does not support lanes setting" 40 local lanes=$1; shift 44 chosen_lanes=$(ethtool $dev | grep 'Lanes:') 45 chosen_lanes=${chosen_lanes#*"Lanes: "} 47 ((chosen_lanes == lanes)) 48 check_err $? "swp1 advertise $max_speed and $lanes, devs sync to $chosen_lanes" 65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null 66 check_fail $? "Unsuccessful $unsupported_lanes lanes setting was expected" 93 local lanes=$1; shift [all …]
|
/Linux-v5.15/drivers/staging/media/omap4iss/ |
D | iss_csiphy.c | 21 * csiphy_lanes_config - Configuration of CSIPHY lanes. 36 reg |= (phy->lanes.data[i].pol ? in csiphy_lanes_config() 38 reg |= (phy->lanes.data[i].pos << in csiphy_lanes_config() 44 reg |= phy->lanes.clk.pol ? CSI2_COMPLEXIO_CFG_CLOCK_POL : 0; in csiphy_lanes_config() 45 reg |= phy->lanes.clk.pos << CSI2_COMPLEXIO_CFG_CLOCK_POSITION_SHIFT; in csiphy_lanes_config() 123 struct iss_csiphy_lanes_cfg *lanes; in omap4iss_csiphy_config() local 128 lanes = &subdevs->bus.csi2.lanecfg; in omap4iss_csiphy_config() 150 /* Enable all lanes for now */ in omap4iss_csiphy_config() 161 /* Enable all lanes for now */ in omap4iss_csiphy_config() 173 /* Clock and data lanes verification */ in omap4iss_csiphy_config() [all …]
|
/Linux-v5.15/tools/testing/selftests/net/ |
D | devlink_port_split.py | 12 # Test port split configuration using devlink-port lanes attribute. 75 Get the $port's maximum number of lanes. 76 Return: number of lanes, e.g. 1, 2, 4 and 8. 84 if 'lanes' in values: 85 lanes = values['lanes'] 87 lanes = 0 88 return lanes 148 def exists_and_lanes(ports, lanes, dev): argument 151 $lanes number of lanes after splitting. 160 if max_lanes != lanes: [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/media/ |
D | qcom,msm8996-camss.yaml | 108 clock-lanes: 112 data-lanes: 114 An array of physical data lanes indexes. 124 - clock-lanes 125 - data-lanes 139 clock-lanes: 143 data-lanes: 148 - clock-lanes 149 - data-lanes 163 clock-lanes: [all …]
|
D | qcom,sdm845-camss.yaml | 108 clock-lanes: 111 data-lanes: 116 - clock-lanes 117 - data-lanes 131 clock-lanes: 135 data-lanes: 140 - clock-lanes 141 - data-lanes 155 clock-lanes: 158 data-lanes: [all …]
|
D | qcom,sdm660-camss.yaml | 114 clock-lanes: 118 data-lanes: 123 - clock-lanes 124 - data-lanes 138 clock-lanes: 142 data-lanes: 147 - clock-lanes 148 - data-lanes 162 clock-lanes: 166 data-lanes: [all …]
|
D | ti,cal.yaml | 82 clock-lanes: 85 data-lanes: 100 clock-lanes: 103 data-lanes: 142 clock-lanes = <0>; 143 data-lanes = <1 2>; 164 clock-lanes = <0>; 165 data-lanes = <1 2>;
|
D | qcom,msm8916-camss.yaml | 86 clock-lanes: 90 data-lanes: 92 An array of physical data lanes indexes. 102 - clock-lanes 103 - data-lanes 117 clock-lanes: 121 data-lanes: 126 - clock-lanes 127 - data-lanes
|
/Linux-v5.15/arch/arm64/boot/dts/renesas/ |
D | hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi | 18 clock-lanes = <0>; 19 data-lanes = <1 2>; 32 clock-lanes = <0>; 33 data-lanes = <1 2>; 49 clock-lanes = <0>; 50 data-lanes = <1 2>; 63 clock-lanes = <0>; 64 data-lanes = <1 2>;
|
D | r8a774c0-ek874-mipi-2.1.dts | 38 clock-lanes = <0>; 39 data-lanes = <1 2>; 52 clock-lanes = <0>; 53 data-lanes = <1 2>; 62 clock-lanes = <0>; 63 data-lanes = <1 2>;
|
/Linux-v5.15/drivers/gpu/drm/bridge/adv7511/ |
D | adv7533.c | 32 u8 clock_div_by_lanes[] = { 6, 4, 3 }; /* 2, 3, 4 lanes */ in adv7511_dsi_config_timing_gen() 43 clock_div_by_lanes[dsi->lanes - 2] << 3); in adv7511_dsi_config_timing_gen() 73 /* set number of dsi lanes */ in adv7533_dsi_power_on() 74 regmap_write(adv->regmap_cec, 0x1c, dsi->lanes << 4); in adv7533_dsi_power_on() 106 int lanes, ret; in adv7533_mode_set() local 112 lanes = 4; in adv7533_mode_set() 114 lanes = 3; in adv7533_mode_set() 116 if (lanes != dsi->lanes) { in adv7533_mode_set() 118 dsi->lanes = lanes; in adv7533_mode_set() 121 dev_err(&dsi->dev, "failed to change host lanes\n"); in adv7533_mode_set() [all …]
|
/Linux-v5.15/drivers/media/platform/omap3isp/ |
D | ispcsiphy.c | 166 struct isp_csiphy_lanes_cfg *lanes; in omap3isp_csiphy_config() local 174 lanes = &buscfg->bus.ccp2.lanecfg; in omap3isp_csiphy_config() 177 lanes = &buscfg->bus.csi2.lanecfg; in omap3isp_csiphy_config() 184 /* Clock and data lanes verification */ in omap3isp_csiphy_config() 186 if (lanes->data[i].pol > 1 || lanes->data[i].pos > 3) in omap3isp_csiphy_config() 189 if (used_lanes & (1 << lanes->data[i].pos)) in omap3isp_csiphy_config() 192 used_lanes |= 1 << lanes->data[i].pos; in omap3isp_csiphy_config() 195 if (lanes->clk.pol > 1 || lanes->clk.pos > 3) in omap3isp_csiphy_config() 198 if (lanes->clk.pos == 0 || used_lanes & (1 << lanes->clk.pos)) in omap3isp_csiphy_config() 210 /* CSI-2 is DDR and we only count used lanes. */ in omap3isp_csiphy_config() [all …]
|
/Linux-v5.15/drivers/gpu/drm/tegra/ |
D | dp.c | 51 link->lanes = 0; in drm_dp_link_reset() 233 link->lanes = link->max_lanes; in drm_dp_link_probe() 346 values[1] = link->lanes; in drm_dp_link_configure() 381 * with the lowest number of lanes and the lowest possible link rate that can 393 /* available number of lanes */ in drm_dp_link_choose() 394 static const unsigned int lanes[3] = { 1, 2, 4 }; in drm_dp_link_choose() local 402 for (i = 0; i < ARRAY_SIZE(lanes) && lanes[i] <= link->max_lanes; i++) { in drm_dp_link_choose() 405 * Capacity for this combination of lanes and rate, in drm_dp_link_choose() 412 capacity = lanes[i] * (rates[j] * 10) * 8 / 10; in drm_dp_link_choose() 415 DRM_DEBUG_KMS("using %u lanes at %u kHz (%lu/%lu kbps)\n", in drm_dp_link_choose() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/phy/ |
D | nvidia,tegra124-xusb-padctl.txt | 4 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 7 documentation. Each such "pad" may control either one or multiple lanes, 8 and thus contains any logic common to all its lanes. Each lane can be 11 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 12 super-speed USB. Other lanes are for various types of low-speed, full-speed 15 ports (e.g. PCIe) and the lanes. 81 the pad and any of its lanes, this property must be set to "okay". 128 Each pad node has a child named "lanes" that contains one or more children of 129 its own, each representing one of the lanes controlled by the pad. 284 lanes { [all …]
|
D | phy-cadence-sierra.yaml | 83 Each group of PHY lanes with a single master lane should be represented as 97 Contains list of resets, one per lane, to get all the link lanes out of reset. 104 Specifies the type of PHY for which the group of PHY lanes is used. 109 cdns,num-lanes: 111 Number of lanes in this group. The group is made up of consecutive lanes. 153 cdns,num-lanes = <2>; 160 cdns,num-lanes = <1>;
|
D | phy-cadence-torrent.yaml | 81 Each group of PHY lanes with a single master lane should be represented as a sub-node. 93 Contains list of resets, one per lane, to get all the link lanes out of reset. 100 Specifies the type of PHY for which the group of PHY lanes is used. 106 cdns,num-lanes: 108 Number of lanes. 134 - cdns,num-lanes 176 cdns,num-lanes = <4>; 204 cdns,num-lanes = <2>; 213 cdns,num-lanes = <1>;
|
/Linux-v5.15/include/linux/phy/ |
D | phy-dp.h | 28 * @lanes: 30 * Number of active, consecutive, data lanes, starting from 35 unsigned int lanes; member 41 * to be used by particular lanes. One value per lane. 52 * used by particular lanes. One value per lane. 88 * and pre-emphasis to requested values. Only lanes specified 89 * by "lanes" parameter will be affected.
|
/Linux-v5.15/tools/perf/pmu-events/arch/x86/cascadelakex/ |
D | uncore-other.json | 661 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b… 673 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s… 685 … any x4 or x8 device attached to the IIO unit and using lanes starting at lane 8 of the 16 lanes s… 697 …refer to any device attached to the IIO unit using the lanes starting at lane 12 of the 16 lanes … 709 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b… 721 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s… 733 … any x4 or x8 device attached to the IIO unit and using lanes starting at lane 8 of the 16 lanes s… 745 …brefer to any device attached to the IIO unit using the lanes starting at lane 12 of the 16 lanes … 757 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b… 769 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s… [all …]
|
/Linux-v5.15/tools/perf/pmu-events/arch/x86/skylakex/ |
D | uncore-other.json | 640 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b… 652 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s… 664 … any x4 or x8 device attached to the IIO unit and using lanes starting at lane 8 of the 16 lanes s… 676 …refer to any device attached to the IIO unit using the lanes starting at lane 12 of the 16 lanes … 688 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b… 700 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s… 712 … any x4 or x8 device attached to the IIO unit and using lanes starting at lane 8 of the 16 lanes s… 724 …brefer to any device attached to the IIO unit using the lanes starting at lane 12 of the 16 lanes … 736 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b… 748 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s… [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/media/xilinx/ |
D | xlnx,csi2rxss.yaml | 88 xlnx,en-active-lanes: 91 Present if the number of active lanes can be re-configured at 92 runtime in the Protocol Configuration Register. Otherwise all lanes, 115 data-lanes: 121 1 2 - For 2 lanes enabled in IP. 122 1 2 3 - For 3 lanes enabled in IP. 123 1 2 3 4 - For 4 lanes enabled in IP. 131 - data-lanes 180 xlnx,en-active-lanes; 195 data-lanes = <1 2 3 4>;
|
/Linux-v5.15/Documentation/devicetree/bindings/pci/ |
D | nvidia,tegra20-pcie.txt | 104 - If lanes 0 to 3 are used: 107 - If lanes 4 or 5 are used: 148 - nvidia,num-lanes: Number of lanes to use for this port. Valid combinations 150 - Root port 0 uses 4 lanes, root port 1 is unused. 151 - Both root ports use 2 lanes. 157 number of lanes in the nvidia,num-lanes property. Entries are of the form 158 "pcie-N": where N ranges from 0 to the value specified in nvidia,num-lanes. 210 nvidia,num-lanes = <2>; 224 nvidia,num-lanes = <2>; 316 nvidia,num-lanes = <2>; [all …]
|
/Linux-v5.15/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi_common.c | 18 prop = of_find_property(ep, "lanes", &len); in hdmi_parse_lanes_of() 20 u32 lanes[8]; in hdmi_parse_lanes_of() local 22 if (len / sizeof(u32) != ARRAY_SIZE(lanes)) { in hdmi_parse_lanes_of() 23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of() 27 r = of_property_read_u32_array(ep, "lanes", lanes, in hdmi_parse_lanes_of() 28 ARRAY_SIZE(lanes)); in hdmi_parse_lanes_of() 34 r = hdmi_phy_parse_lanes(phy, lanes); in hdmi_parse_lanes_of()
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi_common.c | 18 prop = of_find_property(ep, "lanes", &len); in hdmi_parse_lanes_of() 20 u32 lanes[8]; in hdmi_parse_lanes_of() local 22 if (len / sizeof(u32) != ARRAY_SIZE(lanes)) { in hdmi_parse_lanes_of() 23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of() 27 r = of_property_read_u32_array(ep, "lanes", lanes, in hdmi_parse_lanes_of() 28 ARRAY_SIZE(lanes)); in hdmi_parse_lanes_of() 34 r = hdmi_phy_parse_lanes(phy, lanes); in hdmi_parse_lanes_of()
|
/Linux-v5.15/net/ethtool/ |
D | linkmodes.c | 49 data->ksettings.lanes = 0; in linkmodes_prepare_data() 132 if (ksettings->lanes && in linkmodes_fill_reply() 133 nla_put_u32(skb, ETHTOOL_A_LINKMODES_LANES, ksettings->lanes)) in linkmodes_fill_reply() 175 * lanes and duplex values. Called when autonegotiation is on, speed, lanes or 197 (!req_lanes || info->lanes == ksettings->lanes) && in ethnl_auto_linkmodes() 236 "lanes value is invalid"); in ethnl_check_linkmodes() 271 /* If autoneg is off and lanes parameter is not supported by the in ethnl_update_linkmodes() 277 "lanes configuration not supported by device"); in ethnl_update_linkmodes() 281 /* If autoneg is off and lanes parameter is not passed from user, in ethnl_update_linkmodes() 282 * set the lanes parameter to 0. in ethnl_update_linkmodes() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | pppcielanes.c | 33 /* For converting from number of lanes to lane bits. */ 37 2, /* 2 Lanes */ 39 3, /* 4 Lanes */ 43 4, /* 8 Lanes */ 47 5, /* 12 Lanes (Not actually supported) */ 51 6 /* 16 Lanes */
|