| /OK3568_Linux_fs/kernel/drivers/staging/media/omap4iss/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | devlink_port_split.py | 12 # Test port split configuration using devlink-port lanes attribute. 73 Get the $port's maximum number of lanes. 74 Return: number of lanes, e.g. 1, 2, 4 and 8. 82 if 'lanes' in values: 83 lanes = values['lanes'] 85 lanes = 0 86 return lanes 146 def exists_and_lanes(ports, lanes, dev): argument 149 $lanes number of lanes after splitting. 158 if max_lanes != lanes: [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/b4860qds/ |
| H A D | eth_b4860qds.c | 41 * Mapping of all 16 SERDES lanes to board slots. A value n(>0) will mean that 74 * Lanes: A,B,C,D: SGMII in initialize_lane_to_slot() 75 * Lanes: E,F: Aur in initialize_lane_to_slot() 76 * Lanes: G,H: SRIO in initialize_lane_to_slot() 82 * Lanes: A,B: SGMII in initialize_lane_to_slot() 83 * Lanes: C,D: SRIO2 in initialize_lane_to_slot() 84 * Lanes: E,F,G,H: XAUI2 in initialize_lane_to_slot() 90 * Lanes: A,B,C,D: SGMII in initialize_lane_to_slot() 91 * Lanes: E,F,G,H: XAUI2 in initialize_lane_to_slot() 97 * Lanes: A,B,C,D: XAUI2 in initialize_lane_to_slot() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/skylakex/ |
| H A D | uncore-other.json | 557 …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 …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| H A D | uncore-other.json | 578 …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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/adv7511/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A 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. 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 …]
|
| H A D | phy-cadence-sierra.txt | 22 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>;
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | dw-dp.c | 196 unsigned int lanes; member 431 unsigned int lanes, unsigned int rate) in dw_dp_bandwidth_ok() argument 436 max_bw = lanes * rate; in dw_dp_bandwidth_ok() 503 static void dw_dp_phy_xmit_enable(struct dw_dp *dp, u32 lanes) in dw_dp_phy_xmit_enable() argument 507 switch (lanes) { in dw_dp_phy_xmit_enable() 511 xmit_enable = GENMASK(lanes - 1, 0); in dw_dp_phy_xmit_enable() 568 link->lanes = min_t(u8, dp->phy.attrs.bus_width, in dw_dp_link_probe() 586 unsigned int lanes = link->lanes, *vs, *pe; in dw_dp_link_train_update_vs_emph() local 593 for (i = 0; i < lanes; i++) { in dw_dp_link_train_update_vs_emph() 597 phy_cfg.dp.lanes = lanes; in dw_dp_link_train_update_vs_emph() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/xilinx/ |
| H A 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, 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>;
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | generic-phy-dp.h | 26 * @lanes: 28 * Number of active, consecutive, data lanes, starting from 33 unsigned int lanes; member 39 * to be used by particular lanes. One value per lane. 50 * used by particular lanes. One value per lane. 86 * and pre-emphasis to requested values. Only lanes specified 87 * by "lanes" parameter will be affected.
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/linux/phy/ |
| H A 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.
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rv1126-evb-ddr3-v13-dualcam-tb-emmc.dts | 51 data-lanes = <1 2>; 57 data-lanes = <1 2>; 69 data-lanes = <1 2>; 75 data-lanes = <1 2>; 106 data-lanes = <1 2>; 136 data-lanes = <1 2>; 153 data-lanes = <1 2>; 160 data-lanes = <1 2>; 191 data-lanes = <1 2>; 202 data-lanes = <1 2 3 4>;
|
| H A D | rv1109-evb-ddr3-v12-facial-gate.dts | 47 data-lanes = <1 2>; 53 data-lanes = <1 2>; 65 data-lanes = <1 2>; 71 data-lanes = <1 2>; 102 data-lanes = <1 2>; 132 data-lanes = <1 2>; 149 data-lanes = <1 2>; 156 data-lanes = <1 2>; 187 data-lanes = <1 2>; 198 data-lanes = <1 2 3 4>;
|
| H A D | rv1106-smd-cam.dtsi | 58 data-lanes = <1 2>; 88 data-lanes = <1 2>; 132 data-lanes = <1 2>; 189 data-lanes = <1 2>; 214 data-lanes = <1 2>; 226 data-lanes = <1 2>; 240 data-lanes = <1 2>; 252 data-lanes = <1 2>; 272 data-lanes = <1 2>; 284 data-lanes = <1 2>; [all …]
|
| H A D | rv1106-evb-cam.dtsi | 26 data-lanes = <1 2>; 31 data-lanes = <1 2>; 36 data-lanes = <1 2>; 41 data-lanes = <1 2>; 46 data-lanes = <1 2>; 86 data-lanes = <1 2>; 108 data-lanes = <1 2>; 130 data-lanes = <1 2>; 152 data-lanes = <1 2>; 174 data-lanes = <1 2>;
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/ |
| H A D | ti,cal.yaml | 97 clock-lanes: 100 data-lanes: 124 clock-lanes: 127 data-lanes: 173 clock-lanes = <0>; 174 data-lanes = <1 2>; 195 clock-lanes = <0>; 196 data-lanes = <1 2>;
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/renesas/ |
| H A D | r8a774c0-ek874-mipi-2.1.dts | 37 clock-lanes = <0>; 38 data-lanes = <1 2>; 51 clock-lanes = <0>; 52 data-lanes = <1 2>; 61 clock-lanes = <0>; 62 data-lanes = <1 2>;
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_devlink.c | 40 nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes) in nfp_devlink_set_lanes() argument 49 ret = __nfp_eth_set_split(nsp, lanes); in nfp_devlink_set_lanes() 70 unsigned int lanes; in nfp_devlink_port_split() local 87 lanes = eth_port.port_lanes / count; in nfp_devlink_port_split() 88 if (eth_port.lanes == 10 && count == 2) in nfp_devlink_port_split() 89 lanes = 8 / count; in nfp_devlink_port_split() 91 ret = nfp_devlink_set_lanes(pf, eth_port.index, lanes); in nfp_devlink_port_split() 104 unsigned int lanes; in nfp_devlink_port_unsplit() local 121 lanes = eth_port.port_lanes; in nfp_devlink_port_unsplit() 123 lanes = 10; in nfp_devlink_port_unsplit() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3562-rk817-tablet-camera.dtsi | 32 data-lanes = <1 2 3 4>; 44 data-lanes = <1 2 3 4>; 65 data-lanes = <1 2>; 77 data-lanes = <1 2>; 121 data-lanes = <1 2 3 4>; 143 data-lanes = <1 2>; 172 data-lanes = <1 2 3 4>; 184 data-lanes = <1 2 3 4>; 205 data-lanes = <1 2>; 217 data-lanes = <1 2>;
|