Home
last modified time | relevance | path

Searched full:lanes (Results 1 – 25 of 1512) sorted by relevance

12345678910>>...61

/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Dethtool_lanes.sh27 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Dqcom,sm8250-camss.yaml125 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 …]
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/
Diss_csiphy.c21 * 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 …]
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
Diss_csiphy.c21 * 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Ddevlink_port_split.py12 # 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Ddevlink_port_split.py12 # 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 …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/renesas/
Dr8a779a0-falcon-csi-dsi.dtsi21 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 …]
Dhihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi18 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>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/i2c/
Dadv748x.yaml83 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 …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/cascadelakex/
Duncore-other.json578 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b…
590 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s…
602 … any x4 or x8 device attached to the IIO unit and using lanes starting at lane 8 of the 16 lanes s…
614 …refer to any device attached to the IIO unit using the lanes starting at lane 12 of the 16 lanes
626 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b…
638 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s…
650 … any x4 or x8 device attached to the IIO unit and using lanes starting at lane 8 of the 16 lanes s…
662 …brefer to any device attached to the IIO unit using the lanes starting at lane 12 of the 16 lanes
674 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b…
686 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s…
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/skylakex/
Duncore-other.json557 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b…
569 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s…
581 … any x4 or x8 device attached to the IIO unit and using lanes starting at lane 8 of the 16 lanes s…
593 …refer to any device attached to the IIO unit using the lanes starting at lane 12 of the 16 lanes
605 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b…
617 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s…
629 … any x4 or x8 device attached to the IIO unit and using lanes starting at lane 8 of the 16 lanes s…
641 …brefer to any device attached to the IIO unit using the lanes starting at lane 12 of the 16 lanes
653 …ed to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the b…
665 …d refer to any x4 device attached to the IIO unit using lanes starting at lane 4 of the 16 lanes s…
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispcsiphy.c166 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 …]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/
Dispcsiphy.c167 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 …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/
Dtegra234-p3740-0002.dtsi79 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
Ddp.c51 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddp.c51 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-cadence-sierra.txt22 the clock to the lanes. "phy_clk" is deprecated.
29 Each group of PHY lanes with a single master lane should be represented as
42 - cdns,num-lanes: Number of lanes in this group. From 1 to 4. The
43 group is made up of consecutive lanes.
45 configuration of lanes.
60 cdns,num-lanes = <2>;
67 cdns,num-lanes = <1>;
Dnvidia,tegra124-xusb-padctl.txt4 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.
80 the pad and any of its lanes, this property must be set to "okay".
127 Each pad node has a child named "lanes" that contains one or more children of
128 its own, each representing one of the lanes controlled by the pad.
283 lanes {
[all …]
/kernel/linux/linux-6.6/net/ethtool/
Dlinkmodes.c49 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 …]
/kernel/linux/linux-6.6/include/linux/phy/
Dphy-dp.h28 * @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.
/kernel/linux/linux-5.10/include/linux/phy/
Dphy-dp.h28 * @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.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/xilinx/
Dxlnx,csi2rxss.yaml88 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,
118 data-lanes:
124 1 2 - For 2 lanes enabled in IP.
125 1 2 3 - For 3 lanes enabled in IP.
126 1 2 3 4 - For 4 lanes enabled in IP.
136 - data-lanes
207 xlnx,en-active-lanes;
222 data-lanes = <1 2 3 4>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/xilinx/
Dxlnx,csi2rxss.yaml88 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>;
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_common.c18 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_common.c18 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()

12345678910>>...61