Home
last modified time | relevance | path

Searched defs:lane (Results 1 – 25 of 162) sorted by relevance

1234567

/openbmc/linux/drivers/phy/freescale/
H A Dphy-fsl-lynx-28g.c99 #define LYNX_28G_LNaPSS(lane) (0x1000 + (lane) * 0x4) argument
135 struct lynx_28g_lane lane[LYNX_28G_NUM_LANE]; member
152 #define lynx_28g_lane_rmw(lane, reg, val, mask) \ argument
155 #define lynx_28g_lane_read(lane, reg) \ argument
336 struct lynx_28g_lane *lane = phy_get_drvdata(phy); in lynx_28g_power_off() local
360 struct lynx_28g_lane *lane = phy_get_drvdata(phy); in lynx_28g_power_on() local
384 struct lynx_28g_lane *lane = phy_get_drvdata(phy); in lynx_28g_set_mode() local
434 struct lynx_28g_lane *lane = phy_get_drvdata(phy); in lynx_28g_validate() local
448 struct lynx_28g_lane *lane = phy_get_drvdata(phy); in lynx_28g_init() local
512 struct lynx_28g_lane *lane; in lynx_28g_cdr_lock_check() local
[all …]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_serdes.c42 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
/openbmc/linux/drivers/phy/marvell/
H A Dphy-mvebu-a3700-comphy.c227 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()
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()
1112 static bool mvebu_a3700_comphy_check_mode(int lane, in mvebu_a3700_comphy_check_mode()
1138 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_a3700_comphy_set_mode() local
1159 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_a3700_comphy_power_on() local
1188 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_a3700_comphy_power_off() local
1219 struct mvebu_a3700_comphy_lane *lane; in mvebu_a3700_comphy_xlate() local
[all …]
H A Dphy-armada38x-comphy.c47 struct a38x_comphy_lane lane[MAX_A38X_COMPHY]; member
59 static void a38x_set_conf(struct a38x_comphy_lane *lane, bool enable) in a38x_set_conf()
74 static void a38x_comphy_set_reg(struct a38x_comphy_lane *lane, in a38x_comphy_set_reg()
83 static void a38x_comphy_set_speed(struct a38x_comphy_lane *lane, in a38x_comphy_set_speed()
92 static int a38x_comphy_poll(struct a38x_comphy_lane *lane, in a38x_comphy_poll()
115 struct a38x_comphy_lane *lane = phy_get_drvdata(phy); in a38x_comphy_set_mode() local
160 struct a38x_comphy_lane *lane; in a38x_comphy_xlate() local
H A Dphy-mvebu-cp110-comphy.c182 unsigned lane; member
277 unsigned long lane, unsigned long mode) in mvebu_comphy_smc()
496 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_set_mode_sgmii() local
529 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_set_mode_rxaui() local
582 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_set_mode_10gbaser() local
724 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_power_on_legacy() local
768 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_power_on() local
856 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_set_mode() local
876 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_power_off_legacy() local
922 struct mvebu_comphy_lane *lane; in mvebu_comphy_xlate() local
[all …]
/openbmc/u-boot/drivers/phy/marvell/
H A Dcomphy_cp110.c19 #define SD_ADDR(base, lane) (base + 0x1000 * lane) argument
20 #define HPIPE_ADDR(base, lane) (SD_ADDR(base, lane) + 0x800) argument
21 #define COMPHY_ADDR(base, lane) (base + 0x28 * lane) argument
86 static int comphy_pcie_power_up(u32 lane, u32 pcie_width, bool clk_src, in comphy_pcie_power_up()
521 static int comphy_usb3_power_up(u32 lane, void __iomem *hpipe_base, in comphy_usb3_power_up()
643 static int comphy_sata_power_up(u32 lane, void __iomem *hpipe_base, in comphy_sata_power_up()
1002 static int comphy_sgmii_power_up(u32 lane, u32 sgmii_speed, in comphy_sgmii_power_up()
1149 static int comphy_sfi_power_up(u32 lane, void __iomem *hpipe_base, in comphy_sfi_power_up()
1450 static int comphy_rxauii_power_up(u32 lane, void __iomem *hpipe_base, in comphy_rxauii_power_up()
1934 u32 lane, comphy_max_count; in comphy_mux_cp110_init() local
[all …]
H A Dcomphy_a3700.c339 static void usb3_reg_set16(u32 reg, u16 data, u16 mask, u32 lane) in usb3_reg_set16()
361 static int comphy_usb3_power_up(u32 lane, u32 type, u32 speed, u32 invert) in comphy_usb3_power_up()
663 static void comphy_sgmii_phy_init(u32 lane, u32 speed) in comphy_sgmii_phy_init()
697 static int comphy_sgmii_power_up(u32 lane, u32 speed, u32 invert) in comphy_sgmii_power_up()
970 u32 lane, ret = 0; in comphy_a3700_init() local
H A Dcomphy_mux.c23 int lane, opt, valid; in comphy_mux_check_config() local
57 u32 type, int lane) in comphy_mux_get_mux_value()
84 u32 lane, value, offset, mask; in comphy_mux_reg_write() local
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dfsl_corenet_serdes.c95 int serdes_get_lane_idx(int lane) in serdes_get_lane_idx()
100 int serdes_get_bank_by_lane(int lane) in serdes_get_bank_by_lane()
105 int serdes_lane_enabled(int lane) in serdes_lane_enabled()
189 int lane; in serdes_get_bank_by_device() local
201 int lane; in __serdes_get_lane_count() local
215 int lane, idx, first, last; in __serdes_reset_rx() local
496 int lane, bank, idx; in fsl_serdes_init() local
666 unsigned int lane; in fsl_serdes_init() local
/openbmc/linux/drivers/phy/tegra/
H A Dxusb.c115 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
348 struct tegra_xusb_lane *lane; in tegra_xusb_pad_program() local
403 struct tegra_xusb_lane *lane, *hit = ERR_PTR(-ENODEV); in tegra_xusb_find_lane() local
662 struct tegra_xusb_lane *lane; in tegra_xusb_setup_usb_role_switch() local
1395 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra_xusb_padctl_enable_phy_sleepwalk() local
1483 struct tegra_xusb_lane *lane; in tegra_phy_xusb_utmi_pad_power_on() local
1499 struct tegra_xusb_lane *lane; in tegra_phy_xusb_utmi_pad_power_down() local
[all …]
H A Dxusb-tegra210.c1699 struct tegra_xusb_lane *lane; in tegra210_usb3_set_lfps_detect() local
1800 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_init() local
1835 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_exit() local
1916 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_set_mode() local
1954 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_power_on() local
2114 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_power_off() local
2296 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_hsic_phy_init() local
2317 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_hsic_phy_power_on() local
2402 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_hsic_phy_power_off() local
3089 struct tegra_xusb_lane *lane; in tegra210_utmi_port_reset() local
[all …]
H A Dxusb-tegra124.c292 struct tegra_xusb_lane *lane; in tegra124_usb3_save_context() local
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
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
851 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_hsic_phy_init() local
858 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_hsic_phy_exit() local
865 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_hsic_phy_power_on() local
[all …]
H A Dxusb-tegra186.c321 static void tegra186_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra186_usb2_lane_remove()
525 static int tegra186_utmi_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_enable_phy_wake()
698 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_on() local
731 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_down() local
809 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_set_mode() local
847 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_power_on() local
925 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_init() local
952 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_exit() local
1097 static void tegra186_usb3_lane_remove(struct tegra_xusb_lane *lane) in tegra186_usb3_lane_remove()
1250 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_usb3_phy_power_on() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_cx0_phy.c141 int lane, u16 addr) in __intel_cx0_read_once()
272 int lane; in intel_cx0_write() local
322 u8 lane; in intel_cx0_rmw() local
388 int lane, tx; in intel_cx0_phy_set_signal_levels() local
2445 int lane = 0; in intel_cx0_get_powerdown_update() local
2456 int lane = 0; in intel_cx0_get_powerdown_state() local
2469 int lane; in intel_cx0_powerdown_change_sequence() local
2513 int lane = 0; in intel_cx0_get_pclk_refclk_request() local
2524 int lane = 0; in intel_cx0_get_pclk_refclk_ack() local
2678 int lane = 0; in intel_cx0_get_pclk_pll_request() local
[all …]
H A Dintel_cx0_phy_regs.h15 #define XELPDP_PORT_M2P_MSGBUS_CTL(port, lane) _MMIO(_PICK_EVEN_2RANGES(port, PORT_TC1, \ argument
30 #define XELPDP_PORT_P2M_MSGBUS_STATUS(port, lane) _MMIO(_PICK_EVEN_2RANGES(port, PORT_TC1, \ argument
84 #define XELPDP_LANE_PIPE_RESET(lane) _PICK(lane, REG_BIT(31), REG_BIT(30)) argument
85 #define XELPDP_LANE_PHY_CURRENT_STATUS(lane) _PICK(lane, REG_BIT(29), REG_BIT(28)) argument
86 #define XELPDP_LANE_POWERDOWN_UPDATE(lane) _PICK(lane, REG_BIT(25), REG_BIT(24)) argument
91 #define XELPDP_LANE_POWERDOWN_NEW_STATE(lane, val) _PICK(lane, \ argument
122 #define XELPDP_LANE_PCLK_PLL_REQUEST(lane) REG_BIT(31 - ((lane) * 4)) argument
123 #define XELPDP_LANE_PCLK_PLL_ACK(lane) REG_BIT(30 - ((lane) * 4)) argument
124 #define XELPDP_LANE_PCLK_REFCLK_REQUEST(lane) REG_BIT(29 - ((lane) * 4)) argument
125 #define XELPDP_LANE_PCLK_REFCLK_ACK(lane) REG_BIT(28 - ((lane) * 4)) argument
[all …]
/openbmc/u-boot/board/freescale/p2041rdb/
H A Deth.c92 int lane = serdes_get_first_lane(SGMII_FM1_DTSEC1 + port); in board_ft_fman_fixup_port() local
112 int lane = serdes_get_first_lane(XAUI_FM1); in board_ft_fman_fixup_port() local
128 int lane; in board_eth_init() local
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c37 int lane, int device, int reg, u16 *val) in mv88e6390_serdes_read()
244 int lane = -ENODEV; in mv88e6341_serdes_get_lane() local
261 int lane = -ENODEV; in mv88e6390_serdes_get_lane() local
286 int lane = -ENODEV; in mv88e6390x_serdes_get_lane() local
362 int lane = -ENODEV; in mv88e6393x_serdes_get_lane() local
414 static uint64_t mv88e6390_serdes_get_stat(struct mv88e6xxx_chip *chip, int lane, in mv88e6390_serdes_get_stat()
436 int lane; in mv88e6390_serdes_get_stats() local
495 int lane; in mv88e6390_serdes_get_regs() local
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training.c305 uint32_t lane; in maximize_lane_settings() local
461 uint32_t lane; in dp_is_max_vs_reached() local
477 uint32_t lane; in dp_is_cr_done() local
491 uint32_t lane; in dp_is_ch_eq_done() local
502 uint32_t lane; in dp_is_symbol_locked() local
522 uint32_t lane; in dp_check_link_loss_status() local
567 uint32_t lane; in dp_get_lane_status_and_lane_adjust() local
644 uint32_t lane; in override_lane_settings() local
685 uint32_t lane; in override_training_settings() local
815 uint32_t lane; in dp_decide_lane_settings() local
[all …]
H A Dlink_dp_training_fixed_vs_pe_retimer.c52 uint8_t lane; in dp_fixed_vs_pe_read_lane_adjust() local
80 uint8_t lane = 0; in dp_fixed_vs_pe_set_retimer_lane_settings() local
106 uint8_t lane = 0; in perform_fixed_vs_pe_nontransparent_training_sequence() local
209 uint8_t lane = 0; in dp_perform_fixed_vs_pe_training_sequence_legacy() local
556 uint8_t lane = 0; in dp_perform_fixed_vs_pe_training_sequence() local
/openbmc/linux/drivers/gpu/drm/bridge/analogix/
H A Danalogix_dp_core.c239 int pre_emphasis, int lane) in analogix_dp_set_lane_lane_pre_emphasis()
262 int lane, lane_count, pll_tries, retval; in analogix_dp_link_start() local
338 int lane; in analogix_dp_clock_recovery_ok() local
352 int lane; in analogix_dp_channel_eq_ok() local
369 analogix_dp_get_adjust_request_voltage(u8 adjust_request[2], int lane) in analogix_dp_get_adjust_request_voltage()
379 int lane) in analogix_dp_get_adjust_request_pre_emphasis()
388 u8 training_lane_set, int lane) in analogix_dp_set_lane_link_training()
410 int lane) in analogix_dp_get_lane_link_training()
446 int lane, lane_count; in analogix_dp_get_adjust_training_lane() local
469 int lane, lane_count, retval; in analogix_dp_process_clock_recovery() local
[all …]
/openbmc/u-boot/board/freescale/corenet_ds/
H A Deth_p4080.c341 int idx = i - FM1_DTSEC1, lane, slot; in board_eth_init() local
381 int idx = i - FM1_10GEC1, lane, slot; in board_eth_init() local
408 int idx = i - FM2_DTSEC1, lane, slot; in board_eth_init() local
450 int idx = i - FM2_10GEC1, lane, slot; in board_eth_init() local
/openbmc/u-boot/board/freescale/t1040qds/
H A Deth.c299 int lane = serdes_get_first_lane(FSL_SRDS_1, SGMII_FM1_DTSEC1 in board_ft_fman_fixup_port() local
317 int i, lane, idx; in fdt_fixup_board_enet() local
369 int lane, idx, slot; in t1040_handle_phy_interface_sgmii() local
443 int lane; in board_eth_init() local
/openbmc/u-boot/board/highbank/
H A Dahci.c81 static void cphy_spread_spectrum_override(u8 phy, u8 lane, u32 val) in cphy_spread_spectrum_override()
96 static void cphy_tx_attenuation_override(u8 phy, u8 lane) in cphy_tx_attenuation_override()
123 u8 lane = 0, phy = 0; in cphy_disable_port_overrides() local
155 u8 lane = 0, phy = 0; in cphy_override_lane() local
/openbmc/u-boot/drivers/soc/keystone/
H A Dkeystone_serdes.c46 struct serdes_cfg lane[SERDES_LANE_CFG_NUM]; member
117 u32 size, u32 lane) in ks2_serdes_lane_config()
160 static void ks2_serdes_lane_reset(u32 base, u32 reset, u32 lane) in ks2_serdes_lane_reset()
171 struct ks2_serdes *serdes, u32 lane) in ks2_serdes_lane_enable()
/openbmc/linux/arch/arm/mach-mv78xx0/
H A Dpcie.c18 #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

1234567