Home
last modified time | relevance | path

Searched refs:lanes (Results 1 – 25 of 773) sorted by relevance

12345678910>>...31

/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dethtool_lanes.sh40 local lanes=$1; shift
93 local lanes=$1; shift
108 local lanes
117 lanes=$max_lanes
122 ethtool_set $swp1 speed $max_speed lanes $lanes
131 let $((lanes /= 2))
145 local lanes
154 lanes=$max_lanes
159 ethtool_set $swp1 speed $max_speed lanes $lanes autoneg off
160 ethtool_set $swp2 speed $max_speed lanes $lanes autoneg off
[all …]
/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss_csiphy.c36 reg |= (phy->lanes.data[i].pol ? in csiphy_lanes_config()
38 reg |= (phy->lanes.data[i].pos << 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()
175 if (lanes->data[i].pos == 0) in omap4iss_csiphy_config()
178 if (lanes->data[i].pol > 1 || in omap4iss_csiphy_config()
182 if (used_lanes & (1 << lanes->data[i].pos)) in omap4iss_csiphy_config()
185 used_lanes |= 1 << lanes->data[i].pos; in omap4iss_csiphy_config()
189 if (lanes->clk.pol > 1 || in omap4iss_csiphy_config()
193 if (lanes->clk.pos == 0 || used_lanes & (1 << lanes->clk.pos)) in omap4iss_csiphy_config()
[all …]
/openbmc/linux/arch/arm64/boot/dts/renesas/
H A 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>;
H A 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 …]
H A Dr8a779g0-white-hawk-csi-dsi.dtsi22 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>;
H A Dr8a774c0-ek874-mipi-2.1.dts38 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>;
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dqcom,sm8250-camss.yaml125 clock-lanes:
128 data-lanes:
134 - data-lanes
148 clock-lanes:
151 data-lanes:
157 - data-lanes
171 clock-lanes:
174 data-lanes:
197 data-lanes:
220 data-lanes:
[all …]
H A Dti,cal.yaml86 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>;
/openbmc/linux/drivers/gpu/drm/tegra/
H A 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()
402 for (i = 0; i < ARRAY_SIZE(lanes) && lanes[i] <= link->max_lanes; i++) { in drm_dp_link_choose()
418 link->lanes = lanes[i]; in drm_dp_link_choose()
469 unsigned int lanes = link->lanes, *vs, *pe, *pc, i; in drm_dp_link_apply_training() local
485 for (i = 0; i < lanes; i++) in drm_dp_link_apply_training()
499 for (i = 0; i < lanes; i++) in drm_dp_link_apply_training()
503 DIV_ROUND_UP(lanes, 2)); in drm_dp_link_apply_training()
738 link->lanes, (link->lanes > 1) ? "s" : "", in drm_dp_link_train_full()
[all …]
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A 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()
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()
249 reg |= (lanes->data[i].pol << in omap3isp_csiphy_config()
251 reg |= (lanes->data[i].pos << in omap3isp_csiphy_config()
[all …]
/openbmc/linux/arch/arm64/boot/dts/nvidia/
H A 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 …]
H A Dtegra234-p3768-0000.dtsi46 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>;
/openbmc/linux/drivers/phy/
H A Dphy-core-mipi-dphy.c22 unsigned int lanes, in phy_mipi_dphy_calc_config() argument
33 do_div(hs_clk_rate, lanes); in phy_mipi_dphy_calc_config()
76 cfg->lanes = lanes; in phy_mipi_dphy_calc_config()
83 unsigned int lanes, in phy_mipi_dphy_get_default_config() argument
86 return phy_mipi_dphy_calc_config(pixel_clock, bpp, lanes, 0, cfg); in phy_mipi_dphy_get_default_config()
92 unsigned int lanes, in phy_mipi_dphy_get_default_config_for_hsclk() argument
98 return phy_mipi_dphy_calc_config(0, 0, lanes, hs_clk_rate, cfg); in phy_mipi_dphy_get_default_config_for_hsclk()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_devlink.c48 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()
112 return nfp_devlink_set_lanes(pf, eth_port.index, lanes); in nfp_devlink_port_unsplit()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/
H A 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>;
205 clock-lanes = <0>;
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_common.c20 u32 lanes[8]; in hdmi_parse_lanes_of() local
22 if (len / sizeof(u32) != ARRAY_SIZE(lanes)) { 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()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_common.c20 u32 lanes[8]; in hdmi_parse_lanes_of() local
22 if (len / sizeof(u32) != ARRAY_SIZE(lanes)) { 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()
/openbmc/linux/tools/testing/selftests/net/
H A Ddevlink_port_split.py87 lanes = values['lanes']
89 lanes = 0
90 return lanes
150 def exists_and_lanes(ports, lanes, dev): argument
162 if max_lanes != lanes:
164 % (port, lanes, max_lanes))
204 def split_splittable_port(port, k, lanes, dev): argument
219 test(exists_and_lanes(new_split_group, lanes/k, dev),
/openbmc/linux/drivers/nubus/
H A Dproc.c73 int lanes = board->lanes; in nubus_proc_add_rsrc_dir() local
79 return proc_mkdir_data(name, 0555, procdir, (void *)lanes); in nubus_proc_add_rsrc_dir()
121 int lanes = (int)proc_get_parent_data(inode); in nubus_proc_rsrc_show() local
124 if (!lanes) in nubus_proc_rsrc_show()
127 ent.mask = lanes; in nubus_proc_rsrc_show()
/openbmc/u-boot/arch/arm/dts/
H A Dtegra210-p2371-2180.dts42 nvidia,lanes = "otg-1", "otg-2";
48 nvidia,lanes = "pcie-5", "pcie-6";
54 nvidia,lanes = "pcie-0";
60 nvidia,lanes = "pcie-1", "pcie-2",
67 nvidia,lanes = "sata-0";
/openbmc/pldm/host-bmc/dbus/
H A Dpcie_slot.cpp20 size_t PCIeSlot::lanes() const in lanes() function in pldm::dbus::PCIeSlot
23 lanes(); in lanes()
26 size_t PCIeSlot::lanes(size_t value) in lanes() function in pldm::dbus::PCIeSlot
29 lanes(value); in lanes()
/openbmc/linux/Documentation/devicetree/bindings/media/xilinx/
H A 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>;
/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-snps-pcie3.c62 u32 lanes[4]; member
100 dev_info(&phy->dev, "lane number %d, val %d\n", i, priv->lanes[i]); in rockchip_p3phy_rk3568_init()
101 if (priv->lanes[i] > 1) in rockchip_p3phy_rk3568_init()
145 if (priv->lanes[i] > 1) in rockchip_p3phy_rk3588_init()
147 if (priv->lanes[i] == 3) in rockchip_p3phy_rk3588_init()
149 if (priv->lanes[i] == 4) in rockchip_p3phy_rk3588_init()
265 priv->lanes, 2, in rockchip_p3phy_probe()
266 ARRAY_SIZE(priv->lanes)); in rockchip_p3phy_probe()
272 priv->lanes[0] = 1; in rockchip_p3phy_probe()
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dqrb5165-rb5-vision-mezzanine.dts23 clock-lanes = <7>;
24 data-lanes = <0 1 2 3>;
55 clock-lanes = <1>;
57 data-lanes = <1 2 3 4>;
/openbmc/linux/include/linux/phy/
H A Dphy-mipi-dphy.h275 unsigned char lanes; member
280 unsigned int lanes,
283 unsigned int lanes,

12345678910>>...31