/linux/drivers/net/dsa/b53/ |
H A D | b53_serdes.c | 42 static void b53_serdes_set_lane(struct b53_device *dev, u8 lane) in b53_serdes_set_lane() 54 static void b53_serdes_write(struct b53_device *dev, u8 lane, in b53_serdes_write() 61 static u16 b53_serdes_read(struct b53_device *dev, u8 lane, in b53_serdes_read() 74 u8 lane = pcs_to_b53_pcs(pcs)->lane; in b53_serdes_config() local 92 u8 lane = pcs_to_b53_pcs(pcs)->lane; in b53_serdes_an_restart() local 106 u8 lane = pcs_to_b53_pcs(pcs)->lane; in b53_serdes_get_state() local 142 u8 lane = b53_serdes_map_lane(dev, port); in b53_serdes_link_set() local 168 u8 lane = b53_serdes_map_lane(dev, port); in b53_serdes_phylink_get_caps() local 198 u8 lane = b53_serdes_map_lane(dev, port); in b53_serdes_phylink_mac_select_pcs() local 214 u8 lane = b53_serdes_map_lane(dev, port); in b53_serdes_init() local
|
/linux/drivers/phy/freescale/ |
H A D | phy-fsl-imx8qm-hsio.c | 96 struct imx_hsio_lane lane[MAX_NUM_LANE]; member 119 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_init() local 191 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_exit() local 200 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_pcie_phy_resets() local 231 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_sata_phy_resets() local 251 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_configure_clk_pad() local 273 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_pre_set() local 292 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_pcie_power_on() local 321 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_sata_power_on() local 349 struct imx_hsio_lane *lane = phy_get_drvdata(phy); in imx_hsio_power_on() local [all …]
|
/linux/drivers/phy/marvell/ |
H A D | phy-mvebu-a3700-comphy.c | 184 #define COMPHY_PHY_REG(lane, reg) (((1 - (lane)) * 0x28) + ((reg) & 0x3f)) argument 227 unsigned int lane; member 397 static void comphy_lane_reg_set(struct mvebu_a3700_comphy_lane *lane, in comphy_lane_reg_set() 415 static int comphy_lane_reg_poll(struct mvebu_a3700_comphy_lane *lane, in comphy_lane_reg_poll() 447 static void comphy_periph_reg_set(struct mvebu_a3700_comphy_lane *lane, in comphy_periph_reg_set() 454 static int comphy_periph_reg_poll(struct mvebu_a3700_comphy_lane *lane, in comphy_periph_reg_poll() 468 mvebu_a3700_comphy_set_phy_selector(struct mvebu_a3700_comphy_lane *lane) in mvebu_a3700_comphy_set_phy_selector() 532 mvebu_a3700_comphy_sata_power_on(struct mvebu_a3700_comphy_lane *lane) in mvebu_a3700_comphy_sata_power_on() 599 static void comphy_gbe_phy_init(struct mvebu_a3700_comphy_lane *lane, in comphy_gbe_phy_init() 629 mvebu_a3700_comphy_ethernet_power_on(struct mvebu_a3700_comphy_lane *lane) in mvebu_a3700_comphy_ethernet_power_on() [all …]
|
H A D | phy-armada38x-comphy.c | 47 struct a38x_comphy_lane lane[MAX_A38X_COMPHY]; member 64 static void a38x_set_conf(struct a38x_comphy_lane *lane, bool enable) in a38x_set_conf() 79 static void a38x_comphy_set_reg(struct a38x_comphy_lane *lane, in a38x_comphy_set_reg() 88 static void a38x_comphy_set_speed(struct a38x_comphy_lane *lane, in a38x_comphy_set_speed() 97 static int a38x_comphy_poll(struct a38x_comphy_lane *lane, in a38x_comphy_poll() 120 struct a38x_comphy_lane *lane = phy_get_drvdata(phy); in a38x_comphy_set_mode() local 165 struct a38x_comphy_lane *lane; in a38x_comphy_xlate() local
|
/linux/drivers/phy/tegra/ |
H A D | xusb.c | 115 int tegra_xusb_lane_parse_dt(struct tegra_xusb_lane *lane, in tegra_xusb_lane_parse_dt() 141 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra_xusb_lane_destroy() local 191 struct phy *lane; in tegra_xusb_pad_register() local 208 struct tegra_xusb_lane *lane; in tegra_xusb_pad_register() local 320 static void tegra_xusb_lane_program(struct tegra_xusb_lane *lane) in tegra_xusb_lane_program() 348 struct tegra_xusb_lane *lane; in tegra_xusb_pad_program() local 391 bool tegra_xusb_lane_check(struct tegra_xusb_lane *lane, in tegra_xusb_lane_check() 403 struct tegra_xusb_lane *lane, *hit = ERR_PTR(-ENODEV); in tegra_xusb_find_lane() local 426 struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV); in tegra_xusb_port_find_lane() local 662 struct tegra_xusb_lane *lane; in tegra_xusb_setup_usb_role_switch() local [all …]
|
H A D | xusb-tegra210.c | 447 static int tegra210_usb3_lane_map(struct tegra_xusb_lane *lane) in tegra210_usb3_lane_map() 706 struct tegra_xusb_lane *lane = tegra_xusb_find_lane(padctl, "sata", 0); in tegra210_sata_uphy_enable() local 1058 static int tegra210_usb3_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, in tegra210_usb3_enable_phy_sleepwalk() 1090 static int tegra210_usb3_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) in tegra210_usb3_disable_phy_sleepwalk() 1119 static int tegra210_usb3_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra210_usb3_enable_phy_wake() 1150 static int tegra210_usb3_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra210_usb3_disable_phy_wake() 1181 static bool tegra210_usb3_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra210_usb3_phy_remote_wake_detected() 1197 static int tegra210_utmi_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra210_utmi_enable_phy_wake() 1222 static int tegra210_utmi_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra210_utmi_disable_phy_wake() 1247 static bool tegra210_utmi_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra210_utmi_phy_remote_wake_detected() [all …]
|
H A D | xusb-tegra124.c | 292 struct tegra_xusb_lane *lane; in tegra124_usb3_save_context() local 452 static void tegra124_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra124_usb2_lane_remove() 466 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_usb2_phy_init() local 473 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_usb2_phy_exit() local 480 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_usb2_phy_power_on() local 569 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_usb2_phy_power_off() local 701 static void tegra124_ulpi_lane_remove(struct tegra_xusb_lane *lane) in tegra124_ulpi_lane_remove() 715 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_ulpi_phy_init() local 722 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_ulpi_phy_exit() local 837 static void tegra124_hsic_lane_remove(struct tegra_xusb_lane *lane) in tegra124_hsic_lane_remove() [all …]
|
H A D | xusb-tegra186.c | 323 static void tegra186_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra186_usb2_lane_remove() 330 static int tegra186_utmi_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, in tegra186_utmi_enable_phy_sleepwalk() 479 static int tegra186_utmi_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) in tegra186_utmi_disable_phy_sleepwalk() 527 static int tegra186_utmi_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_enable_phy_wake() 552 static int tegra186_utmi_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_disable_phy_wake() 577 static bool tegra186_utmi_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra186_utmi_phy_remote_wake_detected() 685 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_on() local 729 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_down() local 840 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_set_mode() local 871 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_power_on() local [all …]
|
H A D | xusb.h | 63 to_usb3_lane(struct tegra_xusb_lane *lane) in to_usb3_lane() 76 to_usb2_lane(struct tegra_xusb_lane *lane) in to_usb2_lane() 86 to_ulpi_lane(struct tegra_xusb_lane *lane) in to_ulpi_lane() 105 to_hsic_lane(struct tegra_xusb_lane *lane) in to_hsic_lane() 115 to_pcie_lane(struct tegra_xusb_lane *lane) in to_pcie_lane() 125 to_sata_lane(struct tegra_xusb_lane *lane) in to_sata_lane() 279 struct tegra_xusb_lane *lane; member
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | vlv_dpio_phy_regs.h | 19 #define _VLV_TX(ch, lane, dw) (0x80 + (ch) * 0x2400 + (lane) * 0x200 + (dw) * 4) argument 156 #define VLV_TX_DW2(ch, lane) _VLV_TX((ch), (lane), 2) argument 163 #define VLV_TX_DW3(ch, lane) _VLV_TX((ch), (lane), 3) argument 170 #define VLV_TX_DW4(ch, lane) _VLV_TX((ch), (lane), 4) argument 177 #define VLV_TX_DW5(ch, lane) _VLV_TX((ch), (lane), 5) argument 181 #define VLV_TX_DW11(ch, lane) _VLV_TX((ch), (lane), 11) argument 184 #define VLV_TX_DW14(ch, lane) _VLV_TX((ch), (lane), 14) argument 290 #define CHV_TX_DW0(ch, lane) _VLV_TX((ch), (lane), 0) argument 291 #define CHV_TX_DW1(ch, lane) _VLV_TX((ch), (lane), 1) argument 292 #define CHV_TX_DW2(ch, lane) _VLV_TX((ch), (lane), 2) argument [all …]
|
H A D | intel_cx0_phy.c | 93 int lane; in intel_cx0_program_msgbus_timer() local 134 int lane) in intel_clear_response_ready_flag() 143 static void intel_cx0_bus_reset(struct intel_encoder *encoder, int lane) in intel_cx0_bus_reset() 165 int command, int lane, u32 *val) in intel_cx0_wait_for_ack() 213 int lane, u16 addr) in __intel_cx0_read_once() 253 int lane, u16 addr) in __intel_cx0_read() 279 int lane = lane_mask_to_lane(lane_mask); in intel_cx0_read() local 285 int lane, u16 addr, u8 data, bool committed) in __intel_cx0_write_once() 344 int lane, u16 addr, u8 data, bool committed) in __intel_cx0_write() 367 int lane; in intel_cx0_write() local [all …]
|
H A D | bxt_dpio_phy_regs.h | 28 #define _BXT_LANE_OFFSET(lane) (((lane) >> 1) * 0x200 + \ argument 30 #define _MMIO_BXT_PHY_CH_LN(phy, ch, lane, reg_ch0, reg_ch1) \ argument 209 #define BXT_PORT_TX_DW2_LN(phy, ch, lane) _MMIO_BXT_PHY_CH_LN(phy, ch, lane, \ argument 226 #define BXT_PORT_TX_DW3_LN(phy, ch, lane) _MMIO_BXT_PHY_CH_LN(phy, ch, lane, \ argument 241 #define BXT_PORT_TX_DW4_LN(phy, ch, lane) _MMIO_BXT_PHY_CH_LN(phy, ch, lane, \ argument 256 #define BXT_PORT_TX_DW5_LN(phy, ch, lane) _MMIO_BXT_PHY_CH_LN(phy, ch, lane, \ argument 269 #define BXT_PORT_TX_DW14_LN(phy, ch, lane) _MMIO_BXT_PHY_CH_LN(phy, ch, lane, \ argument
|
/linux/arch/arm/mach-mv78xx0/ |
H A D | pcie.c | 18 #define MV78XX0_MBUS_PCIE_MEM_TARGET(port, lane) ((port) ? 8 : 4) argument 19 #define MV78XX0_MBUS_PCIE_MEM_ATTR(port, lane) (0xf8 & ~(0x10 << (lane))) argument 20 #define MV78XX0_MBUS_PCIE_IO_TARGET(port, lane) ((port) ? 8 : 4) argument 21 #define MV78XX0_MBUS_PCIE_IO_ATTR(port, lane) (0xf0 & ~(0x10 << (lane))) argument
|
/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix_dp_core.c | 230 int lane, lane_count, retval; in analogix_dp_link_start() local 296 static unsigned char analogix_dp_get_lane_status(u8 link_status[2], int lane) in analogix_dp_get_lane_status() 306 int lane; in analogix_dp_clock_recovery_ok() local 320 int lane; in analogix_dp_channel_eq_ok() local 337 analogix_dp_get_adjust_request_voltage(u8 adjust_request[2], int lane) in analogix_dp_get_adjust_request_voltage() 347 int lane) in analogix_dp_get_adjust_request_pre_emphasis() 366 int lane, lane_count; in analogix_dp_get_adjust_training_lane() local 389 int lane, lane_count, retval; in analogix_dp_process_clock_recovery() local
|
/linux/drivers/net/ethernet/ti/ |
H A D | netcp_xgbepcsr.c | 148 void __iomem *serdes_regs, int lane) in netcp_xgbe_serdes_lane_config() 182 void __iomem *serdes_regs, int lane) in netcp_xgbe_serdes_lane_enable() 283 void __iomem *sig_detect_reg, int lane) in netcp_xgbe_serdes_reset_cdr() 430 int lane, int cm, int c1, int c2) in netcp_xgbe_serdes_setup_cm_c1_c2()
|
/linux/drivers/ata/ |
H A D | sata_highbank.c | 259 u8 lane = port_data[sata_port].lane_mapping; in highbank_cphy_disable_overrides() local 270 u8 lane = port_data[sata_port].lane_mapping; in cphy_override_tx_attenuation() local 289 u8 lane = port_data[sata_port].lane_mapping; in cphy_override_rx_mode() local 313 u8 lane = port_data[sata_port].lane_mapping; in highbank_cphy_override_lane() local
|
/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-pcie.c | 81 unsigned int lane) in mtk_pcie_efuse_set_lane() 134 unsigned int lane) in mtk_pcie_efuse_read_for_lane()
|
/linux/drivers/perf/ |
H A D | dwc_pcie_pmu.c | 159 u8 lane; member 266 int lane = DWC_PCIE_EVENT_LANE(event); in dwc_pcie_pmu_lane_event_enable() local 298 int lane = DWC_PCIE_EVENT_LANE(event); in dwc_pcie_pmu_read_lane_event_counter() local 437 u32 lane; in dwc_pcie_pmu_event_init() local 513 int lane = DWC_PCIE_EVENT_LANE(event); in dwc_pcie_pmu_event_add() local
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-errata.c | 51 int lane; in __cvmx_helper_errata_qlm_disable_2nd_order_cdr() local
|
/linux/drivers/soundwire/ |
H A D | generic_bandwidth_allocation.c | 21 unsigned int lane; member 294 unsigned int rate, unsigned int lane) in sdw_add_element_group_count() 468 static bool is_lane_connected_to_all_peripherals(struct sdw_master_runtime *m_rt, unsigned int lane) in is_lane_connected_to_all_peripherals()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dp.c | 145 u8 lane = (lt->stat[4 + (i >> 1)] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_drive() local 263 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_eq() local 294 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_cr() local
|
/linux/include/linux/platform_data/media/ |
H A D | mmp-camera.h | 23 int lane; /* ccic used lane number; 0 means DVP mode */ member
|
/linux/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-platform-isys-csi2-reg.h | 169 #define CSI2_SIP_TOP_CSI_RX_DLY_CNT_TERMEN_DLANE(lane) (0xc + (lane) * 8) argument 170 #define CSI2_SIP_TOP_CSI_RX_DLY_CNT_SETTLE_DLANE(lane) (0x10 + (lane) * 8) argument
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi_phy.c | 37 u8 lane, pol; in hdmi_phy_parse_lanes() local
|
/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-ipq806x-usb.c | 55 #define SSPHY_CTRL_RX_OVRD_IN_HI(lane) (0x1006 + 0x100 * (lane)) argument 56 #define SSPHY_CTRL_TX_OVRD_DRV_LO(lane) (0x1002 + 0x100 * (lane)) argument
|