Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/phy/freescale/
Dphy-fsl-lynx-28g.c23 #define LYNX_28G_LNa_PCC_OFFSET(lane) (4 * (LYNX_28G_NUM_LANE - (lane->id) - 1)) argument
46 #define LYNX_28G_LNaGCR0(lane) (0x800 + (lane) * 0x100 + 0x0) argument
55 #define LYNX_28G_LNaTRSTCTL(lane) (0x800 + (lane) * 0x100 + 0x20) argument
61 #define LYNX_28G_LNaTGCR0(lane) (0x800 + (lane) * 0x100 + 0x24) argument
70 #define LYNX_28G_LNaTECR0(lane) (0x800 + (lane) * 0x100 + 0x30) argument
73 #define LYNX_28G_LNaRRSTCTL(lane) (0x800 + (lane) * 0x100 + 0x40) argument
80 #define LYNX_28G_LNaRGCR0(lane) (0x800 + (lane) * 0x100 + 0x44) argument
90 #define LYNX_28G_LNaRGCR1(lane) (0x800 + (lane) * 0x100 + 0x48) argument
92 #define LYNX_28G_LNaRECR0(lane) (0x800 + (lane) * 0x100 + 0x50) argument
93 #define LYNX_28G_LNaRECR1(lane) (0x800 + (lane) * 0x100 + 0x54) argument
[all …]
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/
Dserdes.c37 int lane, int device, int reg, u16 *val) in mv88e6390_serdes_read()
45 int lane, int device, int reg, u16 val) in mv88e6390_serdes_write()
124 int mv88e6352_serdes_power(struct mv88e6xxx_chip *chip, int port, int lane, in mv88e6352_serdes_power()
146 int lane, unsigned int mode, in mv88e6352_serdes_pcs_config()
195 int lane, struct phylink_link_state *state) in mv88e6352_serdes_pcs_get_state()
222 int lane) in mv88e6352_serdes_pcs_an_restart()
235 int lane, int speed, int duplex) in mv88e6352_serdes_pcs_link_up()
268 int lane = -ENODEV; in mv88e6352_serdes_get_lane() local
386 int lane) in mv88e6352_serdes_irq_status()
404 int mv88e6352_serdes_irq_enable(struct mv88e6xxx_chip *chip, int port, int lane, in mv88e6352_serdes_irq_enable()
[all …]
Dserdes.h195 int port, int lane) in mv88e6xxx_serdes_power_up()
204 int port, int lane) in mv88e6xxx_serdes_power_down()
222 int port, int lane) in mv88e6xxx_serdes_irq_enable()
231 int port, int lane) in mv88e6xxx_serdes_irq_disable()
240 mv88e6xxx_serdes_irq_status(struct mv88e6xxx_chip *chip, int port, int lane) in mv88e6xxx_serdes_irq_status()
/linux-6.1.9/drivers/net/dsa/b53/
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
/linux-6.1.9/drivers/phy/marvell/
Dphy-mvebu-a3700-comphy.c183 #define COMPHY_PHY_REG(lane, reg) (((1 - (lane)) * 0x28) + ((reg) & 0x3f)) argument
226 unsigned int lane; member
396 static void comphy_lane_reg_set(struct mvebu_a3700_comphy_lane *lane, in comphy_lane_reg_set()
414 static int comphy_lane_reg_poll(struct mvebu_a3700_comphy_lane *lane, in comphy_lane_reg_poll()
446 static void comphy_periph_reg_set(struct mvebu_a3700_comphy_lane *lane, in comphy_periph_reg_set()
453 static int comphy_periph_reg_poll(struct mvebu_a3700_comphy_lane *lane, in comphy_periph_reg_poll()
467 mvebu_a3700_comphy_set_phy_selector(struct mvebu_a3700_comphy_lane *lane) in mvebu_a3700_comphy_set_phy_selector()
531 mvebu_a3700_comphy_sata_power_on(struct mvebu_a3700_comphy_lane *lane) in mvebu_a3700_comphy_sata_power_on()
598 static void comphy_gbe_phy_init(struct mvebu_a3700_comphy_lane *lane, in comphy_gbe_phy_init()
627 mvebu_a3700_comphy_ethernet_power_on(struct mvebu_a3700_comphy_lane *lane) in mvebu_a3700_comphy_ethernet_power_on()
[all …]
Dphy-armada38x-comphy.c46 struct a38x_comphy_lane lane[MAX_A38X_COMPHY]; member
58 static void a38x_set_conf(struct a38x_comphy_lane *lane, bool enable) in a38x_set_conf()
73 static void a38x_comphy_set_reg(struct a38x_comphy_lane *lane, in a38x_comphy_set_reg()
82 static void a38x_comphy_set_speed(struct a38x_comphy_lane *lane, in a38x_comphy_set_speed()
91 static int a38x_comphy_poll(struct a38x_comphy_lane *lane, in a38x_comphy_poll()
114 struct a38x_comphy_lane *lane = phy_get_drvdata(phy); in a38x_comphy_set_mode() local
159 struct a38x_comphy_lane *lane; in a38x_comphy_xlate() local
Dphy-mvebu-cp110-comphy.c181 unsigned lane; member
276 unsigned long lane, unsigned long mode) in mvebu_comphy_smc()
294 static int mvebu_comphy_get_mode(bool fw_mode, int lane, int port, in mvebu_comphy_get_mode()
324 static inline int mvebu_comphy_get_mux(int lane, int port, in mvebu_comphy_get_mux()
330 static inline int mvebu_comphy_get_fw_mode(int lane, int port, in mvebu_comphy_get_fw_mode()
336 static int mvebu_comphy_ethernet_init_reset(struct mvebu_comphy_lane *lane) in mvebu_comphy_ethernet_init_reset()
452 static int mvebu_comphy_init_plls(struct mvebu_comphy_lane *lane) in mvebu_comphy_init_plls()
495 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_set_mode_sgmii() local
528 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_set_mode_rxaui() local
581 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); in mvebu_comphy_set_mode_10gbaser() local
[all …]
/linux-6.1.9/drivers/phy/tegra/
Dxusb-tegra210.c447 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 …]
Dxusb.c109 int tegra_xusb_lane_parse_dt(struct tegra_xusb_lane *lane, in tegra_xusb_lane_parse_dt()
135 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra_xusb_lane_destroy() local
185 struct phy *lane; in tegra_xusb_pad_register() local
202 struct tegra_xusb_lane *lane; in tegra_xusb_pad_register() local
314 static void tegra_xusb_lane_program(struct tegra_xusb_lane *lane) in tegra_xusb_lane_program()
342 struct tegra_xusb_lane *lane; in tegra_xusb_pad_program() local
385 bool tegra_xusb_lane_check(struct tegra_xusb_lane *lane, in tegra_xusb_lane_check()
397 struct tegra_xusb_lane *lane, *hit = ERR_PTR(-ENODEV); in tegra_xusb_find_lane() local
420 struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV); in tegra_xusb_port_find_lane() local
655 struct tegra_xusb_lane *lane; in tegra_xusb_setup_usb_role_switch() local
[all …]
Dxusb-tegra124.c292 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 …]
Dxusb-tegra186.c308 static void tegra186_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra186_usb2_lane_remove()
315 static int tegra186_utmi_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, in tegra186_utmi_enable_phy_sleepwalk()
460 static int tegra186_utmi_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) in tegra186_utmi_disable_phy_sleepwalk()
501 static int tegra186_utmi_enable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_enable_phy_wake()
526 static int tegra186_utmi_disable_phy_wake(struct tegra_xusb_lane *lane) in tegra186_utmi_disable_phy_wake()
551 static bool tegra186_utmi_phy_remote_wake_detected(struct tegra_xusb_lane *lane) in tegra186_utmi_phy_remote_wake_detected()
643 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_on() local
676 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_pad_power_down() local
754 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_set_mode() local
792 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra186_utmi_phy_power_on() local
[all …]
Dxusb.h62 to_usb3_lane(struct tegra_xusb_lane *lane) in to_usb3_lane()
75 to_usb2_lane(struct tegra_xusb_lane *lane) in to_usb2_lane()
85 to_ulpi_lane(struct tegra_xusb_lane *lane) in to_ulpi_lane()
104 to_hsic_lane(struct tegra_xusb_lane *lane) in to_hsic_lane()
114 to_pcie_lane(struct tegra_xusb_lane *lane) in to_pcie_lane()
124 to_sata_lane(struct tegra_xusb_lane *lane) in to_sata_lane()
278 struct tegra_xusb_lane *lane; member
/linux-6.1.9/drivers/gpu/drm/bridge/analogix/
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
328 static unsigned char analogix_dp_get_lane_status(u8 link_status[2], int lane) in analogix_dp_get_lane_status()
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
[all …]
/linux-6.1.9/arch/arm/mach-mv78xx0/
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
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dp_link_training.c317 int lane) in intel_dp_get_lane_adjust_tx_ffe_preset()
337 int lane) in intel_dp_get_lane_adjust_vswing_preemph()
373 int lane) in intel_dp_get_lane_adjust_train()
384 #define _TRAIN_REQ_VSWING_ARGS(link_status, lane) \ argument
391 #define _TRAIN_REQ_PREEMPH_ARGS(link_status, lane) \ argument
398 #define _TRAIN_REQ_TX_FFE_ARGS(link_status, lane) \ argument
414 int lane; in intel_dp_get_adjust_train() local
623 int lane; in intel_dp_link_max_vswing_reached() local
714 int lane; in intel_dp_adjust_request_changed() local
/linux-6.1.9/drivers/net/ethernet/ti/
Dnetcp_xgbepcsr.c148 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-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c344 uint8_t lane; in dp_fixed_vs_pe_read_lane_adjust() local
392 uint8_t lane = 0; in dp_fixed_vs_pe_set_retimer_lane_settings() local
659 uint32_t lane; in dp_is_cr_done() local
672 uint32_t lane; in dp_is_ch_eq_done() local
683 uint32_t lane; in dp_is_symbol_locked() local
700 uint8_t lane = 0; in dp_hw_to_dpcd_lane_settings() local
730 uint32_t lane; in dp_decide_lane_settings() local
792 uint32_t lane; in maximize_lane_settings() local
840 uint32_t lane; in override_lane_settings() local
873 uint32_t lane; in dp_get_lane_status_and_lane_adjust() local
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddp.c109 u8 lane = (lt->stat[4 + (i >> 1)] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_drive() local
227 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_eq() local
258 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_cr() local
536 u8 lane = (stat[i >> 1] >> ((i & 1) * 4)) & 0x0f; in nvkm_dp_acquire() local
/linux-6.1.9/arch/mips/cavium-octeon/executive/
Dcvmx-helper-errata.c51 int lane; in __cvmx_helper_errata_qlm_disable_2nd_order_cdr() local
/linux-6.1.9/drivers/ata/
Dsata_highbank.c259 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-6.1.9/drivers/nvdimm/
Dbtt.c206 static int btt_log_group_read(struct arena_info *arena, u32 lane, in btt_log_group_read()
327 static int btt_log_read(struct arena_info *arena, u32 lane, in btt_log_read()
361 static int __btt_log_write(struct arena_info *arena, u32 lane, in __btt_log_write()
382 static int btt_flog_write(struct arena_info *arena, u32 lane, u32 sub, in btt_flog_write()
505 static int arena_clear_freelist_error(struct arena_info *arena, u32 lane) in arena_clear_freelist_error()
1202 u32 lane = 0, premap, postmap; in btt_read_pg() local
1314 u32 premap = 0, old_postmap, new_postmap, lane = 0, i; in btt_write_pg() local
/linux-6.1.9/drivers/phy/mediatek/
Dphy-mtk-pcie.c81 unsigned int lane) in mtk_pcie_efuse_set_lane()
134 unsigned int lane) in mtk_pcie_efuse_read_for_lane()
/linux-6.1.9/include/linux/platform_data/media/
Dmmp-camera.h23 int lane; /* ccic used lane number; 0 means DVP mode */ member
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_helper.c79 int lane) in dp_get_lane_status()
93 int lane; in drm_dp_channel_eq_ok() local
111 int lane; in drm_dp_clock_recovery_ok() local
124 int lane) in drm_dp_get_adjust_request_voltage()
137 int lane) in drm_dp_get_adjust_request_pre_emphasis()
151 int lane) in drm_dp_get_adjust_tx_ffe_preset()
168 int lane; in drm_dp_128b132b_lane_channel_eq_done() local
188 int lane; in drm_dp_128b132b_lane_symbol_locked() local
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Dhdmi_phy.c37 u8 lane, pol; in hdmi_phy_parse_lanes() local

1234