/Linux-v6.6/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-v6.6/Documentation/devicetree/bindings/media/ |
D | qcom,sm8250-camss.yaml | 125 clock-lanes: 128 data-lanes: 133 - clock-lanes 134 - data-lanes 148 clock-lanes: 151 data-lanes: 156 - clock-lanes 157 - data-lanes 171 clock-lanes: 174 data-lanes: [all …]
|
D | ti,cal.yaml | 86 clock-lanes: 89 data-lanes: 104 clock-lanes: 107 data-lanes: 146 clock-lanes = <0>; 147 data-lanes = <1 2>; 170 clock-lanes = <0>; 171 data-lanes = <1 2>;
|
/Linux-v6.6/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-v6.6/tools/testing/selftests/net/ |
D | devlink_port_split.py | 12 # Test port split configuration using devlink-port lanes attribute. 77 Get the $port's maximum number of lanes. 78 Return: number of lanes, e.g. 1, 2, 4 and 8. 86 if 'lanes' in values: 87 lanes = values['lanes'] 89 lanes = 0 90 return lanes 150 def exists_and_lanes(ports, lanes, dev): argument 153 $lanes number of lanes after splitting. 162 if max_lanes != lanes: [all …]
|
/Linux-v6.6/arch/arm64/boot/dts/renesas/ |
D | r8a779a0-falcon-csi-dsi.dtsi | 21 clock-lanes = <0>; 22 data-lanes = <1 2 3 4>; 40 clock-lanes = <0>; 41 data-lanes = <1 2 3 4>; 59 clock-lanes = <0>; 60 data-lanes = <1 2 3 4>; 111 clock-lanes = <0>; 112 data-lanes = <1 2 3 4>; 132 clock-lanes = <0>; 133 data-lanes = <1 2 3 4>; [all …]
|
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 | r8a779g0-white-hawk-csi-dsi.dtsi | 22 clock-lanes = <0>; 23 data-lanes = <1 2 3>; 42 clock-lanes = <0>; 43 data-lanes = <1 2 3>; 87 clock-lanes = <0>; 88 data-lanes = <1 2 3>; 108 clock-lanes = <0>; 109 data-lanes = <1 2 3>;
|
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-v6.6/Documentation/devicetree/bindings/media/i2c/ |
D | adv748x.yaml | 83 clock-lanes: 86 data-lanes: 91 - clock-lanes 92 - data-lanes 106 clock-lanes: 109 data-lanes: 113 - clock-lanes 114 - data-lanes 195 clock-lanes = <0>; 196 data-lanes = <1 2 3 4>; [all …]
|
/Linux-v6.6/drivers/media/platform/ti/omap3isp/ |
D | ispcsiphy.c | 167 struct isp_csiphy_lanes_cfg *lanes; in omap3isp_csiphy_config() local 179 lanes = &buscfg->bus.ccp2.lanecfg; in omap3isp_csiphy_config() 182 lanes = &buscfg->bus.csi2.lanecfg; in omap3isp_csiphy_config() 189 /* Clock and data lanes verification */ in omap3isp_csiphy_config() 191 if (lanes->data[i].pol > 1 || lanes->data[i].pos > 3) in omap3isp_csiphy_config() 194 if (used_lanes & (1 << lanes->data[i].pos)) in omap3isp_csiphy_config() 197 used_lanes |= 1 << lanes->data[i].pos; in omap3isp_csiphy_config() 200 if (lanes->clk.pol > 1 || lanes->clk.pos > 3) in omap3isp_csiphy_config() 203 if (lanes->clk.pos == 0 || used_lanes & (1 << lanes->clk.pos)) in omap3isp_csiphy_config() 215 /* CSI-2 is DDR and we only count used lanes. */ in omap3isp_csiphy_config() [all …]
|
/Linux-v6.6/arch/arm64/boot/dts/nvidia/ |
D | tegra234-p3740-0002.dtsi | 79 lanes { 103 lanes { 168 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 169 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 176 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 177 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 178 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 179 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, 180 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 181 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, [all …]
|
D | tegra234-p3768-0000.dtsi | 46 lanes { 65 lanes { 119 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 120 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 127 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 128 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 129 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 130 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 131 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 140 num-lanes = <2>;
|
/Linux-v6.6/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-v6.6/net/ethtool/ |
D | linkmodes.c | 49 data->ksettings.lanes = 0; in linkmodes_prepare_data() 133 if (ksettings->lanes && in linkmodes_fill_reply() 134 nla_put_u32(skb, ETHTOOL_A_LINKMODES_LANES, ksettings->lanes)) in linkmodes_fill_reply() 168 * lanes and duplex values. Called when autonegotiation is on, speed, lanes or 190 (!req_lanes || info->lanes == ksettings->lanes) && in ethnl_auto_linkmodes() 229 "lanes value is invalid"); in ethnl_check_linkmodes() 264 /* If autoneg is off and lanes parameter is not supported by the in ethnl_update_linkmodes() 270 "lanes configuration not supported by device"); in ethnl_update_linkmodes() 273 } else if (!lsettings->autoneg && ksettings->lanes) { in ethnl_update_linkmodes() 274 /* If autoneg is off and lanes parameter is not passed from user but in ethnl_update_linkmodes() [all …]
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/Documentation/devicetree/bindings/phy/ |
D | nvidia,tegra124-xusb-padctl.yaml | 14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential 17 documentation. Each such "pad" may control either one or multiple lanes, 18 and thus contains any logic common to all its lanes. Each lane can be 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 25 ports (e.g. PCIe) and the lanes. 88 order to use the pad and any of its lanes, this property must be set 105 lanes: 149 lanes: 177 lanes: [all …]
|
D | phy-cadence-sierra.yaml | 75 Each group of PHY lanes with a single master lane should be represented as 89 Contains list of resets, one per lane, to get all the link lanes out of reset. 96 Specifies the type of PHY for which the group of PHY lanes is used. 101 cdns,num-lanes: 103 Number of lanes in this group. The group is made up of consecutive lanes. 154 cdns,num-lanes = <2>; 161 cdns,num-lanes = <1>;
|
D | phy-cadence-torrent.yaml | 75 Each group of PHY lanes with a single master lane should be represented as a sub-node. 87 Contains list of resets, one per lane, to get all the link lanes out of reset. 94 Specifies the type of PHY for which the group of PHY lanes is used. 100 cdns,num-lanes: 102 Number of lanes. 128 - cdns,num-lanes 170 cdns,num-lanes = <4>; 198 cdns,num-lanes = <2>; 207 cdns,num-lanes = <1>;
|
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/ |
D | nfp_devlink.c | 39 nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes) in nfp_devlink_set_lanes() argument 48 ret = __nfp_eth_set_split(nsp, lanes); in nfp_devlink_set_lanes() 69 unsigned int lanes; in nfp_devlink_port_split() local 82 lanes = eth_port.port_lanes / count; in nfp_devlink_port_split() 83 if (eth_port.lanes == 10 && count == 2) in nfp_devlink_port_split() 84 lanes = 8 / count; in nfp_devlink_port_split() 86 return nfp_devlink_set_lanes(pf, eth_port.index, lanes); in nfp_devlink_port_split() 95 unsigned int lanes; in nfp_devlink_port_unsplit() local 108 lanes = eth_port.port_lanes; in nfp_devlink_port_unsplit() 110 lanes = 10; in nfp_devlink_port_unsplit() [all …]
|
/Linux-v6.6/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 */
|