Home
last modified time | relevance | path

Searched refs:lane (Results 1 - 25 of 189) sorted by relevance

12345678

/kernel/linux/linux-6.6/drivers/phy/freescale/
H A Dphy-fsl-lynx-28g.c24 #define LYNX_28G_LNa_PCC_OFFSET(lane) (4 * (LYNX_28G_NUM_LANE - (lane->id) - 1))
45 /* Per SerDes lane registers */
47 #define LYNX_28G_LNaGCR0(lane) (0x800 + (lane) * 0x100 + 0x0)
56 #define LYNX_28G_LNaTRSTCTL(lane) (0x800 + (lane) * 0x100 + 0x20)
62 #define LYNX_28G_LNaTGCR0(lane) (0x800 + (lane) * 0x100 + 0x24)
71 #define LYNX_28G_LNaTECR0(lane) (
135 struct lynx_28g_lane lane[LYNX_28G_NUM_LANE]; global() member
194 lynx_28g_lane_set_nrate(struct lynx_28g_lane *lane, struct lynx_28g_pll *pll, phy_interface_t intf) lynx_28g_lane_set_nrate() argument
227 lynx_28g_lane_set_pll(struct lynx_28g_lane *lane, struct lynx_28g_pll *pll) lynx_28g_lane_set_pll() argument
239 lynx_28g_cleanup_lane(struct lynx_28g_lane *lane) lynx_28g_cleanup_lane() argument
262 lynx_28g_lane_set_sgmii(struct lynx_28g_lane *lane) lynx_28g_lane_set_sgmii() argument
298 lynx_28g_lane_set_10gbaser(struct lynx_28g_lane *lane) lynx_28g_lane_set_10gbaser() argument
336 struct lynx_28g_lane *lane = phy_get_drvdata(phy); lynx_28g_power_off() local
360 struct lynx_28g_lane *lane = phy_get_drvdata(phy); lynx_28g_power_on() local
384 struct lynx_28g_lane *lane = phy_get_drvdata(phy); lynx_28g_set_mode() local
434 struct lynx_28g_lane *lane = phy_get_drvdata(phy); lynx_28g_validate() local
448 struct lynx_28g_lane *lane = phy_get_drvdata(phy); lynx_28g_init() local
512 struct lynx_28g_lane *lane; lynx_28g_cdr_lock_check() local
540 lynx_28g_lane_read_configuration(struct lynx_28g_lane *lane) lynx_28g_lane_read_configuration() argument
589 struct lynx_28g_lane *lane = &priv->lane[i]; lynx_28g_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/phy/marvell/
H A Dphy-mvebu-cp110-comphy.c129 * A lane is described by the following bitfields:
182 unsigned lane; member
190 .lane = _lane, \
200 .lane = _lane, \
209 /* lane 0 */
214 /* lane 1 */
221 /* lane 2 */
230 /* lane 3 */
237 /* lane 4 */
250 /* lane
276 mvebu_comphy_smc(unsigned long function, unsigned long phys, unsigned long lane, unsigned long mode) mvebu_comphy_smc() argument
295 mvebu_comphy_get_mode(bool fw_mode, int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_mode() argument
325 mvebu_comphy_get_mux(int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_mux() argument
331 mvebu_comphy_get_fw_mode(int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_fw_mode() argument
337 mvebu_comphy_ethernet_init_reset(struct mvebu_comphy_lane *lane) mvebu_comphy_ethernet_init_reset() argument
453 mvebu_comphy_init_plls(struct mvebu_comphy_lane *lane) mvebu_comphy_init_plls() argument
496 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_set_mode_sgmii() local
529 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_set_mode_rxaui() local
582 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_set_mode_10gbaser() local
724 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_power_on_legacy() local
768 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_power_on() local
856 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_set_mode() local
876 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_power_off_legacy() local
899 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_power_off() local
922 struct mvebu_comphy_lane *lane; mvebu_comphy_xlate() local
1037 struct mvebu_comphy_lane *lane; mvebu_comphy_probe() local
[all...]
H A Dphy-mvebu-a3700-comphy.c40 * When accessing common PHY lane registers directly, we need to shift by 1,
175 * This register is not from PHY lane register space. It only exists in the
176 * indirect register space, before the actual PHY lane 2 registers. So the
184 #define COMPHY_PHY_REG(lane, reg) (((1 - (lane)) * 0x28) + ((reg) & 0x3f))
227 unsigned int lane; member
234 .lane = _lane, \
246 /* lane 0 */
251 /* lane 1 */
256 /* lane
397 comphy_lane_reg_set(struct mvebu_a3700_comphy_lane *lane, u16 reg, u16 data, u16 mask) comphy_lane_reg_set() argument
415 comphy_lane_reg_poll(struct mvebu_a3700_comphy_lane *lane, u16 reg, u16 bits, ulong sleep_us, ulong timeout_us) comphy_lane_reg_poll() argument
447 comphy_periph_reg_set(struct mvebu_a3700_comphy_lane *lane, u8 reg, u32 data, u32 mask) comphy_periph_reg_set() argument
454 comphy_periph_reg_poll(struct mvebu_a3700_comphy_lane *lane, u8 reg, u32 bits, ulong sleep_us, ulong timeout_us) comphy_periph_reg_poll() argument
468 mvebu_a3700_comphy_set_phy_selector(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_set_phy_selector() argument
532 mvebu_a3700_comphy_sata_power_on(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_sata_power_on() argument
599 comphy_gbe_phy_init(struct mvebu_a3700_comphy_lane *lane, bool is_1gbps) comphy_gbe_phy_init() argument
628 mvebu_a3700_comphy_ethernet_power_on(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_ethernet_power_on() argument
820 mvebu_a3700_comphy_usb3_power_on(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_usb3_power_on() argument
985 mvebu_a3700_comphy_pcie_power_on(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_pcie_power_on() argument
1073 mvebu_a3700_comphy_sata_power_off(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_sata_power_off() argument
1085 mvebu_a3700_comphy_ethernet_power_off(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_ethernet_power_off() argument
1096 mvebu_a3700_comphy_pcie_power_off(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_pcie_power_off() argument
1103 mvebu_a3700_comphy_usb3_power_off(struct mvebu_a3700_comphy_lane *lane) mvebu_a3700_comphy_usb3_power_off() argument
1111 mvebu_a3700_comphy_check_mode(int lane, enum phy_mode mode, int submode) mvebu_a3700_comphy_check_mode() argument
1137 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); mvebu_a3700_comphy_set_mode() local
1158 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); mvebu_a3700_comphy_power_on() local
1187 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); mvebu_a3700_comphy_power_off() local
1218 struct mvebu_a3700_comphy_lane *lane; mvebu_a3700_comphy_xlate() local
1305 struct mvebu_a3700_comphy_lane *lane; mvebu_a3700_comphy_probe() 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() argument
61 struct a38x_comphy *priv = lane->priv; in a38x_set_conf()
67 conf |= BIT(lane->port); in a38x_set_conf()
69 conf &= ~BIT(lane->port); in a38x_set_conf()
74 static void a38x_comphy_set_reg(struct a38x_comphy_lane *lane, in a38x_comphy_set_reg() argument
79 val = readl_relaxed(lane->base + offset) & ~mask; in a38x_comphy_set_reg()
80 writel(val | value, lane->base + offset); in a38x_comphy_set_reg()
83 static void a38x_comphy_set_speed(struct a38x_comphy_lane *lane, in a38x_comphy_set_speed() argument
86 a38x_comphy_set_reg(lane, COMPHY_CFG in a38x_comphy_set_speed()
92 a38x_comphy_poll(struct a38x_comphy_lane *lane, unsigned int offset, u32 mask, u32 value) a38x_comphy_poll() argument
115 struct a38x_comphy_lane *lane = phy_get_drvdata(phy); a38x_comphy_set_mode() local
160 struct a38x_comphy_lane *lane; a38x_comphy_xlate() local
[all...]
/kernel/linux/linux-5.10/drivers/phy/marvell/
H A Dphy-mvebu-cp110-comphy.c128 * A lane is described by the following bitfields:
180 unsigned lane; member
188 .lane = _lane, \
198 .lane = _lane, \
207 /* lane 0 */
212 /* lane 1 */
219 /* lane 2 */
227 /* lane 3 */
234 /* lane 4 */
245 /* lane
271 mvebu_comphy_smc(unsigned long function, unsigned long phys, unsigned long lane, unsigned long mode) mvebu_comphy_smc() argument
290 mvebu_comphy_get_mode(bool fw_mode, int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_mode() argument
320 mvebu_comphy_get_mux(int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_mux() argument
326 mvebu_comphy_get_fw_mode(int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_fw_mode() argument
332 mvebu_comphy_ethernet_init_reset(struct mvebu_comphy_lane *lane) mvebu_comphy_ethernet_init_reset() argument
448 mvebu_comphy_init_plls(struct mvebu_comphy_lane *lane) mvebu_comphy_init_plls() argument
491 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_set_mode_sgmii() local
524 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_set_mode_rxaui() local
577 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_set_mode_10gbaser() local
719 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_power_on_legacy() local
763 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_power_on() local
846 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_set_mode() local
866 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_power_off_legacy() local
889 struct mvebu_comphy_lane *lane = phy_get_drvdata(phy); mvebu_comphy_power_off() local
912 struct mvebu_comphy_lane *lane; mvebu_comphy_xlate() local
1028 struct mvebu_comphy_lane *lane; mvebu_comphy_probe() local
[all...]
H A Dphy-mvebu-a3700-comphy.c58 unsigned int lane; member
67 .lane = _lane, \
81 /* lane 0 */
88 /* lane 1 */
95 /* lane 2 */
110 static int mvebu_a3700_comphy_smc(unsigned long function, unsigned long lane, in mvebu_a3700_comphy_smc() argument
116 arm_smccc_smc(function, lane, mode, 0, 0, 0, 0, 0, &res); in mvebu_a3700_comphy_smc()
129 static int mvebu_a3700_comphy_get_fw_mode(int lane, int port, in mvebu_a3700_comphy_get_fw_mode() argument
140 if (mvebu_a3700_comphy_modes[i].lane == lane in mvebu_a3700_comphy_get_fw_mode()
156 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); mvebu_a3700_comphy_set_mode() local
178 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); mvebu_a3700_comphy_power_on() local
240 struct mvebu_a3700_comphy_lane *lane = phy_get_drvdata(phy); mvebu_a3700_comphy_power_off() local
255 struct mvebu_a3700_comphy_lane *lane; mvebu_a3700_comphy_xlate() local
277 struct mvebu_a3700_comphy_lane *lane; mvebu_a3700_comphy_probe() local
[all...]
H A 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() argument
60 struct a38x_comphy *priv = lane->priv; in a38x_set_conf()
66 conf |= BIT(lane->port); in a38x_set_conf()
68 conf &= ~BIT(lane->port); in a38x_set_conf()
73 static void a38x_comphy_set_reg(struct a38x_comphy_lane *lane, in a38x_comphy_set_reg() argument
78 val = readl_relaxed(lane->base + offset) & ~mask; in a38x_comphy_set_reg()
79 writel(val | value, lane->base + offset); in a38x_comphy_set_reg()
82 static void a38x_comphy_set_speed(struct a38x_comphy_lane *lane, in a38x_comphy_set_speed() argument
85 a38x_comphy_set_reg(lane, COMPHY_CFG in a38x_comphy_set_speed()
91 a38x_comphy_poll(struct a38x_comphy_lane *lane, unsigned int offset, u32 mask, u32 value) a38x_comphy_poll() argument
114 struct a38x_comphy_lane *lane = phy_get_drvdata(phy); a38x_comphy_set_mode() local
159 struct a38x_comphy_lane *lane; a38x_comphy_xlate() local
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/b53/
H A Db53_serdes.c37 static void b53_serdes_set_lane(struct b53_device *dev, u8 lane) in b53_serdes_set_lane() argument
39 if (dev->serdes_lane == lane) in b53_serdes_set_lane()
42 WARN_ON(lane > 1); in b53_serdes_set_lane()
45 SERDES_XGXSBLK0_BLOCKADDRESS, lane); in b53_serdes_set_lane()
46 dev->serdes_lane = lane; in b53_serdes_set_lane()
49 static void b53_serdes_write(struct b53_device *dev, u8 lane, in b53_serdes_write() argument
52 b53_serdes_set_lane(dev, lane); in b53_serdes_write()
56 static u16 b53_serdes_read(struct b53_device *dev, u8 lane, in b53_serdes_read() argument
59 b53_serdes_set_lane(dev, lane); in b53_serdes_read()
66 u8 lane in b53_serdes_config() local
85 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_an_restart() local
102 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_link_state() local
144 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_link_set() local
165 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_phylink_validate() local
185 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_init() local
[all...]
/kernel/linux/linux-6.6/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() argument
44 if (dev->serdes_lane == lane) in b53_serdes_set_lane()
47 WARN_ON(lane > 1); in b53_serdes_set_lane()
50 SERDES_XGXSBLK0_BLOCKADDRESS, lane); in b53_serdes_set_lane()
51 dev->serdes_lane = lane; in b53_serdes_set_lane()
54 static void b53_serdes_write(struct b53_device *dev, u8 lane, in b53_serdes_write() argument
57 b53_serdes_set_lane(dev, lane); in b53_serdes_write()
61 static u16 b53_serdes_read(struct b53_device *dev, u8 lane, in b53_serdes_read() argument
64 b53_serdes_set_lane(dev, lane); in b53_serdes_read()
74 u8 lane in b53_serdes_config() local
92 u8 lane = pcs_to_b53_pcs(pcs)->lane; b53_serdes_an_restart() local
106 u8 lane = pcs_to_b53_pcs(pcs)->lane; b53_serdes_get_state() local
142 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_link_set() local
168 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_phylink_get_caps() local
198 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_phylink_mac_select_pcs() local
214 u8 lane = b53_serdes_map_lane(dev, port); b53_serdes_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c37 int lane, int device, int reg, u16 *val) in mv88e6390_serdes_read()
41 return mv88e6xxx_phy_read(chip, lane, reg_c45, val); in mv88e6390_serdes_read()
45 int lane, int device, int reg, u16 val) in mv88e6390_serdes_write()
49 return mv88e6xxx_phy_write(chip, lane, reg_c45, val); in mv88e6390_serdes_write()
98 int mv88e6352_serdes_power(struct mv88e6xxx_chip *chip, int port, u8 lane, in mv88e6352_serdes_power() argument
120 u8 lane, unsigned int mode, in mv88e6352_serdes_pcs_config()
169 u8 lane, struct phylink_link_state *state) in mv88e6352_serdes_pcs_get_state()
190 u8 lane) in mv88e6352_serdes_pcs_an_restart()
203 u8 lane, int speed, int duplex) in mv88e6352_serdes_pcs_link_up()
236 u8 lane in mv88e6352_serdes_get_lane() local
36 mv88e6390_serdes_read(struct mv88e6xxx_chip *chip, int lane, int device, int reg, u16 *val) mv88e6390_serdes_read() argument
44 mv88e6390_serdes_write(struct mv88e6xxx_chip *chip, int lane, int device, int reg, u16 val) mv88e6390_serdes_write() argument
119 mv88e6352_serdes_pcs_config(struct mv88e6xxx_chip *chip, int port, u8 lane, unsigned int mode, phy_interface_t interface, const unsigned long *advertise) mv88e6352_serdes_pcs_config() argument
168 mv88e6352_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, int port, u8 lane, struct phylink_link_state *state) mv88e6352_serdes_pcs_get_state() argument
189 mv88e6352_serdes_pcs_an_restart(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6352_serdes_pcs_an_restart() argument
202 mv88e6352_serdes_pcs_link_up(struct mv88e6xxx_chip *chip, int port, u8 lane, int speed, int duplex) mv88e6352_serdes_pcs_link_up() argument
356 mv88e6352_serdes_irq_status(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6352_serdes_irq_status() argument
375 mv88e6352_serdes_irq_enable(struct mv88e6xxx_chip *chip, int port, u8 lane, bool enable) mv88e6352_serdes_irq_enable() argument
417 u8 lane = 0; mv88e6341_serdes_get_lane() local
434 u8 lane = 0; mv88e6390_serdes_get_lane() local
459 u8 lane = 0; mv88e6390x_serdes_get_lane() local
530 mv88e6390_serdes_power_10g(struct mv88e6xxx_chip *chip, u8 lane, bool up) mv88e6390_serdes_power_10g() argument
557 mv88e6390_serdes_power_sgmii(struct mv88e6xxx_chip *chip, u8 lane, bool up) mv88e6390_serdes_power_sgmii() argument
616 mv88e6390_serdes_get_stat(struct mv88e6xxx_chip *chip, int lane, struct mv88e6390_serdes_hw_stat *stat) mv88e6390_serdes_get_stat() argument
638 int lane; mv88e6390_serdes_get_stats() local
653 mv88e6390_serdes_enable_checker(struct mv88e6xxx_chip *chip, u8 lane) mv88e6390_serdes_enable_checker() argument
668 mv88e6390_serdes_power(struct mv88e6xxx_chip *chip, int port, u8 lane, bool up) mv88e6390_serdes_power() argument
692 mv88e6390_serdes_pcs_config(struct mv88e6xxx_chip *chip, int port, u8 lane, unsigned int mode, phy_interface_t interface, const unsigned long *advertise) mv88e6390_serdes_pcs_config() argument
751 mv88e6390_serdes_pcs_get_state_sgmii(struct mv88e6xxx_chip *chip, int port, u8 lane, struct phylink_link_state *state) mv88e6390_serdes_pcs_get_state_sgmii() argument
774 mv88e6390_serdes_pcs_get_state_10g(struct mv88e6xxx_chip *chip, int port, u8 lane, struct phylink_link_state *state) mv88e6390_serdes_pcs_get_state_10g() argument
794 mv88e6390_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, int port, u8 lane, struct phylink_link_state *state) mv88e6390_serdes_pcs_get_state() argument
813 mv88e6390_serdes_pcs_an_restart(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6390_serdes_pcs_an_restart() argument
829 mv88e6390_serdes_pcs_link_up(struct mv88e6xxx_chip *chip, int port, u8 lane, int speed, int duplex) mv88e6390_serdes_pcs_link_up() argument
863 mv88e6390_serdes_irq_link_sgmii(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6390_serdes_irq_link_sgmii() argument
880 mv88e6390_serdes_irq_enable_sgmii(struct mv88e6xxx_chip *chip, u8 lane, bool enable) mv88e6390_serdes_irq_enable_sgmii() argument
893 mv88e6390_serdes_irq_enable(struct mv88e6xxx_chip *chip, int port, u8 lane, bool enable) mv88e6390_serdes_irq_enable() argument
908 mv88e6390_serdes_irq_status_sgmii(struct mv88e6xxx_chip *chip, u8 lane, u16 *status) mv88e6390_serdes_irq_status_sgmii() argument
919 mv88e6390_serdes_irq_status(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6390_serdes_irq_status() argument
988 int lane; mv88e6390_serdes_get_regs() local
[all...]
H A Dserdes.h81 u8 lane, unsigned int mode,
85 u8 lane, unsigned int mode,
89 u8 lane, struct phylink_link_state *state);
91 u8 lane, struct phylink_link_state *state);
93 u8 lane);
95 u8 lane);
97 u8 lane, int speed, int duplex);
99 u8 lane, int speed, int duplex);
104 int mv88e6352_serdes_power(struct mv88e6xxx_chip *chip, int port, u8 lane,
106 int mv88e6390_serdes_power(struct mv88e6xxx_chip *chip, int port, u8 lane,
142 mv88e6xxx_serdes_power_up(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_power_up() argument
151 mv88e6xxx_serdes_power_down(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_power_down() argument
169 mv88e6xxx_serdes_irq_enable(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_irq_enable() argument
178 mv88e6xxx_serdes_irq_disable(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_irq_disable() argument
188 mv88e6xxx_serdes_irq_status(struct mv88e6xxx_chip *chip, int port, u8 lane) mv88e6xxx_serdes_irq_status() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training.c305 uint32_t lane; in maximize_lane_settings() local
313 for (lane = 1; lane < lt_settings->link_settings.lane_count; lane++) { in maximize_lane_settings()
314 if (lane_settings[lane].VOLTAGE_SWING > max_requested.VOLTAGE_SWING) in maximize_lane_settings()
315 max_requested.VOLTAGE_SWING = lane_settings[lane].VOLTAGE_SWING; in maximize_lane_settings()
317 if (lane_settings[lane].PRE_EMPHASIS > max_requested.PRE_EMPHASIS) in maximize_lane_settings()
318 max_requested.PRE_EMPHASIS = lane_settings[lane].PRE_EMPHASIS; in maximize_lane_settings()
319 if (lane_settings[lane].FFE_PRESET.settings.level > in maximize_lane_settings()
322 lane_settings[lane] in maximize_lane_settings()
355 uint8_t lane = 0; dp_hw_to_dpcd_lane_settings() local
461 uint32_t lane; dp_is_max_vs_reached() local
477 uint32_t lane; dp_is_cr_done() local
491 uint32_t lane; dp_is_ch_eq_done() local
502 uint32_t lane; dp_is_symbol_locked() local
522 uint32_t lane; dp_check_link_loss_status() local
567 uint32_t lane; dp_get_lane_status_and_lane_adjust() local
644 uint32_t lane; override_lane_settings() local
685 uint32_t lane; override_training_settings() local
815 uint32_t lane; dp_decide_lane_settings() local
1354 uint32_t lane; perform_post_lt_adj_req_sequence() local
[all...]
H A Dlink_dp_training_fixed_vs_pe_retimer.c52 uint8_t lane; in dp_fixed_vs_pe_read_lane_adjust() local
54 /* W/A to read lane settings requested by DPRX */ in dp_fixed_vs_pe_read_lane_adjust()
65 for (lane = 0; lane < LANE_COUNT_DP_MAX; lane++) { in dp_fixed_vs_pe_read_lane_adjust()
66 dpcd_lane_adjust[lane].bits.VOLTAGE_SWING_SET = (dprx_vs >> (2 * lane)) & 0x3; in dp_fixed_vs_pe_read_lane_adjust()
67 dpcd_lane_adjust[lane].bits.PRE_EMPHASIS_SET = (dprx_pe >> (2 * lane)) & 0x3; in dp_fixed_vs_pe_read_lane_adjust()
80 uint8_t lane in dp_fixed_vs_pe_set_retimer_lane_settings() local
106 uint8_t lane = 0; perform_fixed_vs_pe_nontransparent_training_sequence() local
209 uint8_t lane = 0; dp_perform_fixed_vs_pe_training_sequence_legacy() local
556 uint8_t lane = 0; dp_perform_fixed_vs_pe_training_sequence() local
[all...]
/kernel/linux/linux-6.6/drivers/phy/tegra/
H A Dxusb.c115 int tegra_xusb_lane_parse_dt(struct tegra_xusb_lane *lane, in tegra_xusb_lane_parse_dt() argument
118 struct device *dev = &lane->pad->dev; in tegra_xusb_lane_parse_dt()
126 err = match_string(lane->soc->funcs, lane->soc->num_funcs, function); in tegra_xusb_lane_parse_dt()
128 dev_err(dev, "invalid function \"%s\" for lane \"%pOFn\"\n", in tegra_xusb_lane_parse_dt()
133 lane->function = err; in tegra_xusb_lane_parse_dt()
141 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra_xusb_lane_destroy() local
143 lane->pad->ops->remove(lane); in tegra_xusb_lane_destroy()
191 struct phy *lane; in tegra_xusb_pad_register() local
208 struct tegra_xusb_lane *lane; tegra_xusb_pad_register() local
320 tegra_xusb_lane_program(struct tegra_xusb_lane *lane) tegra_xusb_lane_program() argument
348 struct tegra_xusb_lane *lane; tegra_xusb_pad_program() local
391 tegra_xusb_lane_check(struct tegra_xusb_lane *lane, const char *function) tegra_xusb_lane_check() argument
403 struct tegra_xusb_lane *lane, *hit = ERR_PTR(-ENODEV); tegra_xusb_find_lane() local
426 struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV); tegra_xusb_port_find_lane() local
662 struct tegra_xusb_lane *lane; tegra_xusb_setup_usb_role_switch() local
1395 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra_xusb_padctl_enable_phy_sleepwalk() local
1406 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra_xusb_padctl_disable_phy_sleepwalk() local
1417 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra_xusb_padctl_enable_phy_wake() local
1428 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra_xusb_padctl_disable_phy_wake() local
1439 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra_xusb_padctl_remote_wake_detected() local
1471 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra_phy_xusb_utmi_port_reset() local
1483 struct tegra_xusb_lane *lane; tegra_phy_xusb_utmi_pad_power_on() local
1499 struct tegra_xusb_lane *lane; tegra_phy_xusb_utmi_pad_power_down() local
1536 struct tegra_xusb_lane *lane; tegra_xusb_padctl_get_port_number() local
[all...]
H A Dxusb-tegra210.c447 static int tegra210_usb3_lane_map(struct tegra_xusb_lane *lane) in tegra210_usb3_lane_map() argument
452 if (map->index == lane->index && in tegra210_usb3_lane_map()
453 strcmp(map->type, lane->pad->soc->name) == 0) { in tegra210_usb3_lane_map()
454 dev_dbg(lane->pad->padctl->dev, "lane = %s map to port = usb3-%d\n", in tegra210_usb3_lane_map()
455 lane->pad->soc->lanes[lane->index].name, map->port); in tegra210_usb3_lane_map()
706 struct tegra_xusb_lane *lane = tegra_xusb_find_lane(padctl, "sata", 0); in tegra210_sata_uphy_enable() local
716 if (IS_ERR(lane)) in tegra210_sata_uphy_enable()
722 usb = tegra_xusb_lane_check(lane, "usb in tegra210_sata_uphy_enable()
1058 tegra210_usb3_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, enum usb_device_speed speed) tegra210_usb3_enable_phy_sleepwalk() argument
1090 tegra210_usb3_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) tegra210_usb3_disable_phy_sleepwalk() argument
1119 tegra210_usb3_enable_phy_wake(struct tegra_xusb_lane *lane) tegra210_usb3_enable_phy_wake() argument
1150 tegra210_usb3_disable_phy_wake(struct tegra_xusb_lane *lane) tegra210_usb3_disable_phy_wake() argument
1181 tegra210_usb3_phy_remote_wake_detected(struct tegra_xusb_lane *lane) tegra210_usb3_phy_remote_wake_detected() argument
1197 tegra210_utmi_enable_phy_wake(struct tegra_xusb_lane *lane) tegra210_utmi_enable_phy_wake() argument
1222 tegra210_utmi_disable_phy_wake(struct tegra_xusb_lane *lane) tegra210_utmi_disable_phy_wake() argument
1247 tegra210_utmi_phy_remote_wake_detected(struct tegra_xusb_lane *lane) tegra210_utmi_phy_remote_wake_detected() argument
1261 tegra210_hsic_enable_phy_wake(struct tegra_xusb_lane *lane) tegra210_hsic_enable_phy_wake() argument
1286 tegra210_hsic_disable_phy_wake(struct tegra_xusb_lane *lane) tegra210_hsic_disable_phy_wake() argument
1311 tegra210_hsic_phy_remote_wake_detected(struct tegra_xusb_lane *lane) tegra210_hsic_phy_remote_wake_detected() argument
1335 tegra210_pmc_utmi_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, enum usb_device_speed speed) tegra210_pmc_utmi_enable_phy_sleepwalk() argument
1508 tegra210_pmc_utmi_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) tegra210_pmc_utmi_disable_phy_sleepwalk() argument
1556 tegra210_pmc_hsic_enable_phy_sleepwalk(struct tegra_xusb_lane *lane, enum usb_device_speed speed) tegra210_pmc_hsic_enable_phy_sleepwalk() argument
1658 tegra210_pmc_hsic_disable_phy_sleepwalk(struct tegra_xusb_lane *lane) tegra210_pmc_hsic_disable_phy_sleepwalk() argument
1699 struct tegra_xusb_lane *lane; tegra210_usb3_set_lfps_detect() local
1781 tegra210_usb2_lane_remove(struct tegra_xusb_lane *lane) tegra210_usb2_lane_remove() argument
1800 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb2_phy_init() local
1835 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb2_phy_exit() local
1916 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb2_phy_set_mode() local
1954 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb2_phy_power_on() local
2114 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb2_phy_power_off() local
2277 tegra210_hsic_lane_remove(struct tegra_xusb_lane *lane) tegra210_hsic_lane_remove() argument
2296 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_hsic_phy_init() local
2317 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_hsic_phy_power_on() local
2402 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_hsic_phy_power_off() local
2496 tegra210_uphy_lane_iddq_enable(struct tegra_xusb_lane *lane) tegra210_uphy_lane_iddq_enable() argument
2515 tegra210_uphy_lane_iddq_disable(struct tegra_xusb_lane *lane) tegra210_uphy_lane_iddq_disable() argument
2563 tegra210_lane_to_usb3_port(struct tegra_xusb_lane *lane) tegra210_lane_to_usb3_port() argument
2580 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb3_phy_power_on() local
2653 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb3_phy_power_off() local
2710 tegra210_pcie_lane_remove(struct tegra_xusb_lane *lane) tegra210_pcie_lane_remove() argument
2731 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_pcie_phy_init() local
2745 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_pcie_phy_power_on() local
2760 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_pcie_phy_power_off() local
2880 tegra210_sata_lane_remove(struct tegra_xusb_lane *lane) tegra210_sata_lane_remove() argument
2901 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_sata_phy_init() local
2914 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_sata_phy_power_on() local
2929 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_sata_phy_power_off() local
3089 struct tegra_xusb_lane *lane; tegra210_utmi_port_reset() local
3204 struct tegra_xusb_lane *lane; tegra210_xusb_padctl_restore() local
[all...]
H A Dxusb.h55 int tegra_xusb_lane_parse_dt(struct tegra_xusb_lane *lane,
63 to_usb3_lane(struct tegra_xusb_lane *lane) in to_usb3_lane() argument
65 return container_of(lane, struct tegra_xusb_usb3_lane, base); in to_usb3_lane()
76 to_usb2_lane(struct tegra_xusb_lane *lane) in to_usb2_lane() argument
78 return container_of(lane, struct tegra_xusb_usb2_lane, base); in to_usb2_lane()
86 to_ulpi_lane(struct tegra_xusb_lane *lane) in to_ulpi_lane() argument
88 return container_of(lane, struct tegra_xusb_ulpi_lane, base); in to_ulpi_lane()
105 to_hsic_lane(struct tegra_xusb_lane *lane) in to_hsic_lane() argument
107 return container_of(lane, struct tegra_xusb_hsic_lane, base); in to_hsic_lane()
115 to_pcie_lane(struct tegra_xusb_lane *lane) in to_pcie_lane() argument
125 to_sata_lane(struct tegra_xusb_lane *lane) to_sata_lane() argument
279 struct tegra_xusb_lane *lane; global() member
[all...]
H A Dxusb-tegra124.c292 struct tegra_xusb_lane *lane; in tegra124_usb3_save_context() local
300 lane = port->base.lane; in tegra124_usb3_save_context()
302 if (lane->pad == padctl->pcie) in tegra124_usb3_save_context()
303 offset = XUSB_PADCTL_IOPHY_MISC_PAD_PX_CTL6(lane->index); in tegra124_usb3_save_context()
452 static void tegra124_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra124_usb2_lane_remove() argument
454 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra124_usb2_lane_remove()
466 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_usb2_phy_init() local
468 return tegra124_xusb_padctl_enable(lane->pad->padctl); in tegra124_usb2_phy_init()
473 struct tegra_xusb_lane *lane in tegra124_usb2_phy_exit() local
480 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_usb2_phy_power_on() local
569 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_usb2_phy_power_off() local
701 tegra124_ulpi_lane_remove(struct tegra_xusb_lane *lane) tegra124_ulpi_lane_remove() argument
715 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_ulpi_phy_init() local
722 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_ulpi_phy_exit() local
837 tegra124_hsic_lane_remove(struct tegra_xusb_lane *lane) tegra124_hsic_lane_remove() argument
851 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_hsic_phy_init() local
858 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_hsic_phy_exit() local
865 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_hsic_phy_power_on() local
935 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_hsic_phy_power_off() local
1057 tegra124_pcie_lane_remove(struct tegra_xusb_lane *lane) tegra124_pcie_lane_remove() argument
1071 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_pcie_phy_init() local
1078 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_pcie_phy_exit() local
1085 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_pcie_phy_power_on() local
1126 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_pcie_phy_power_off() local
1235 tegra124_sata_lane_remove(struct tegra_xusb_lane *lane) tegra124_sata_lane_remove() argument
1249 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_sata_phy_init() local
1256 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_sata_phy_exit() local
1263 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_sata_phy_power_on() local
1308 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_sata_phy_power_off() local
1480 struct tegra_xusb_lane *lane = usb3->base.lane; tegra124_usb3_port_enable() local
[all...]
/kernel/linux/linux-5.10/drivers/phy/
H A Dphy-xgene.c267 /* PHY lane CSR accessing from SDS indirectly */
519 u32 speed[MAX_LANE]; /* Index for override parameter per lane */
657 static void serdes_wr(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 data) in serdes_wr() argument
663 reg += lane * SERDES_LANE_STRIDE; in serdes_wr()
672 static void serdes_rd(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 *data) in serdes_rd() argument
677 reg += lane * SERDES_LANE_STRIDE; in serdes_rd()
683 static void serdes_clrbits(struct xgene_phy_ctx *ctx, int lane, u32 reg, in serdes_clrbits() argument
688 serdes_rd(ctx, lane, reg, &val); in serdes_clrbits()
690 serdes_wr(ctx, lane, reg, val); in serdes_clrbits()
693 static void serdes_setbits(struct xgene_phy_ctx *ctx, int lane, u3 argument
943 int lane; xgene_phy_sata_cfg_lanes() local
1342 xgene_phy_force_lat_summer_cal(struct xgene_phy_ctx *ctx, int lane) xgene_phy_force_lat_summer_cal() argument
1408 xgene_phy_reset_rxd(struct xgene_phy_ctx *ctx, int lane) xgene_phy_reset_rxd() argument
1422 xgene_phy_gen_avg_val(struct xgene_phy_ctx *ctx, int lane) xgene_phy_gen_avg_val() argument
[all...]
/kernel/linux/linux-6.6/drivers/phy/
H A Dphy-xgene.c268 /* PHY lane CSR accessing from SDS indirectly */
520 u32 speed[MAX_LANE]; /* Index for override parameter per lane */
658 static void serdes_wr(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 data) in serdes_wr() argument
664 reg += lane * SERDES_LANE_STRIDE; in serdes_wr()
673 static void serdes_rd(struct xgene_phy_ctx *ctx, int lane, u32 reg, u32 *data) in serdes_rd() argument
678 reg += lane * SERDES_LANE_STRIDE; in serdes_rd()
684 static void serdes_clrbits(struct xgene_phy_ctx *ctx, int lane, u32 reg, in serdes_clrbits() argument
689 serdes_rd(ctx, lane, reg, &val); in serdes_clrbits()
691 serdes_wr(ctx, lane, reg, val); in serdes_clrbits()
694 static void serdes_setbits(struct xgene_phy_ctx *ctx, int lane, u3 argument
944 int lane; xgene_phy_sata_cfg_lanes() local
1344 xgene_phy_force_lat_summer_cal(struct xgene_phy_ctx *ctx, int lane) xgene_phy_force_lat_summer_cal() argument
1410 xgene_phy_reset_rxd(struct xgene_phy_ctx *ctx, int lane) xgene_phy_reset_rxd() argument
1424 xgene_phy_gen_avg_val(struct xgene_phy_ctx *ctx, int lane) xgene_phy_gen_avg_val() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c37 int lane, int device, int reg, u16 *val) in mv88e6390_serdes_read()
39 return mv88e6xxx_phy_read_c45(chip, lane, device, reg, val); in mv88e6390_serdes_read()
244 int lane = -ENODEV; in mv88e6341_serdes_get_lane() local
251 lane = MV88E6341_PORT5_LANE; in mv88e6341_serdes_get_lane()
255 return lane; in mv88e6341_serdes_get_lane()
261 int lane = -ENODEV; in mv88e6390_serdes_get_lane() local
268 lane = MV88E6390_PORT9_LANE0; in mv88e6390_serdes_get_lane()
274 lane = MV88E6390_PORT10_LANE0; in mv88e6390_serdes_get_lane()
278 return lane; in mv88e6390_serdes_get_lane()
286 int lane in mv88e6390x_serdes_get_lane() local
36 mv88e6390_serdes_read(struct mv88e6xxx_chip *chip, int lane, int device, int reg, u16 *val) mv88e6390_serdes_read() argument
362 int lane = -ENODEV; mv88e6393x_serdes_get_lane() local
414 mv88e6390_serdes_get_stat(struct mv88e6xxx_chip *chip, int lane, struct mv88e6390_serdes_hw_stat *stat) mv88e6390_serdes_get_stat() argument
436 int lane; mv88e6390_serdes_get_stats() local
495 int lane; mv88e6390_serdes_get_regs() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_cx0_phy_regs.h15 #define XELPDP_PORT_M2P_MSGBUS_CTL(port, lane) _MMIO(_PICK_EVEN_2RANGES(port, PORT_TC1, \
19 _XELPDP_PORT_M2P_MSGBUS_CTL_LN0_USBC2) + (lane) * 4)
30 #define XELPDP_PORT_P2M_MSGBUS_STATUS(port, lane) _MMIO(_PICK_EVEN_2RANGES(port, PORT_TC1, \
34 _XELPDP_PORT_M2P_MSGBUS_CTL_LN0_USBC2) + (lane) * 4 + 8)
84 #define XELPDP_LANE_PIPE_RESET(lane) _PICK(lane, REG_BIT(31), REG_BIT(30))
85 #define XELPDP_LANE_PHY_CURRENT_STATUS(lane) _PICK(lane, REG_BIT(29), REG_BIT(28))
86 #define XELPDP_LANE_POWERDOWN_UPDATE(lane) _PICK(lane, REG_BI
[all...]
/kernel/linux/linux-6.6/sound/soc/tegra/
H A Dtegra186_asrc.c110 if (asrc->lane[id].ratio_source != in tegra186_asrc_runtime_resume()
117 asrc->lane[id].int_part); in tegra186_asrc_runtime_resume()
122 asrc->lane[id].frac_part); in tegra186_asrc_runtime_resume()
174 asrc->lane[id].input_thresh); in tegra186_asrc_in_hw_params()
197 asrc->lane[id].output_thresh); in tegra186_asrc_out_hw_params()
207 if (asrc->lane[id].hwcomp_disable) { in tegra186_asrc_out_hw_params()
226 1, asrc->lane[id].ratio_source); in tegra186_asrc_out_hw_params()
228 if (asrc->lane[id].ratio_source == TEGRA186_ASRC_RATIO_SOURCE_SW) { in tegra186_asrc_out_hw_params()
231 asrc->lane[id].int_part); in tegra186_asrc_out_hw_params()
234 asrc->lane[i in tegra186_asrc_out_hw_params()
[all...]
/kernel/linux/linux-5.10/drivers/phy/tegra/
H A Dxusb.c109 int tegra_xusb_lane_parse_dt(struct tegra_xusb_lane *lane, in tegra_xusb_lane_parse_dt() argument
112 struct device *dev = &lane->pad->dev; in tegra_xusb_lane_parse_dt()
120 err = match_string(lane->soc->funcs, lane->soc->num_funcs, function); in tegra_xusb_lane_parse_dt()
122 dev_err(dev, "invalid function \"%s\" for lane \"%pOFn\"\n", in tegra_xusb_lane_parse_dt()
127 lane->function = err; in tegra_xusb_lane_parse_dt()
135 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra_xusb_lane_destroy() local
137 lane->pad->ops->remove(lane); in tegra_xusb_lane_destroy()
185 struct phy *lane; in tegra_xusb_pad_register() local
202 struct tegra_xusb_lane *lane; tegra_xusb_pad_register() local
314 tegra_xusb_lane_program(struct tegra_xusb_lane *lane) tegra_xusb_lane_program() argument
336 struct tegra_xusb_lane *lane; tegra_xusb_pad_program() local
379 tegra_xusb_lane_check(struct tegra_xusb_lane *lane, const char *function) tegra_xusb_lane_check() argument
391 struct tegra_xusb_lane *lane, *hit = ERR_PTR(-ENODEV); tegra_xusb_find_lane() local
414 struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV); tegra_xusb_port_find_lane() local
650 struct tegra_xusb_lane *lane; tegra_xusb_setup_usb_role_switch() local
1371 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra_phy_xusb_utmi_port_reset() local
[all...]
H A Dxusb-tegra210.c822 struct tegra_xusb_lane *lane; in tegra210_usb3_set_lfps_detect() local
829 lane = port->lane; in tegra210_usb3_set_lfps_detect()
831 if (lane->pad == padctl->pcie) in tegra210_usb3_set_lfps_detect()
832 offset = XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL1(lane->index); in tegra210_usb3_set_lfps_detect()
904 static void tegra210_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra210_usb2_lane_remove() argument
906 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra210_usb2_lane_remove()
918 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra210_usb2_phy_init() local
919 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb2_phy_init()
934 struct tegra_xusb_lane *lane in tegra210_usb2_phy_exit() local
1000 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb2_phy_set_mode() local
1038 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb2_phy_power_on() local
1205 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_usb2_phy_power_off() local
1369 tegra210_hsic_lane_remove(struct tegra_xusb_lane *lane) tegra210_hsic_lane_remove() argument
1383 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_hsic_phy_init() local
1399 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_hsic_phy_exit() local
1406 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_hsic_phy_power_on() local
1491 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_hsic_phy_power_off() local
1628 tegra210_pcie_lane_remove(struct tegra_xusb_lane *lane) tegra210_pcie_lane_remove() argument
1642 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_pcie_phy_init() local
1649 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_pcie_phy_exit() local
1656 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_pcie_phy_power_on() local
1678 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_pcie_phy_power_off() local
1799 tegra210_sata_lane_remove(struct tegra_xusb_lane *lane) tegra210_sata_lane_remove() argument
1813 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_sata_phy_init() local
1820 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_sata_phy_exit() local
1827 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_sata_phy_power_on() local
1849 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra210_sata_phy_power_off() local
1989 struct tegra_xusb_lane *lane = usb3->base.lane; tegra210_usb3_port_enable() local
2075 struct tegra_xusb_lane *lane = port->lane; tegra210_usb3_port_disable() local
2135 struct tegra_xusb_lane *lane; tegra210_utmi_port_reset() local
[all...]
H A Dxusb-tegra124.c292 struct tegra_xusb_lane *lane; in tegra124_usb3_save_context() local
300 lane = port->base.lane; in tegra124_usb3_save_context()
302 if (lane->pad == padctl->pcie) in tegra124_usb3_save_context()
303 offset = XUSB_PADCTL_IOPHY_MISC_PAD_PX_CTL6(lane->index); in tegra124_usb3_save_context()
452 static void tegra124_usb2_lane_remove(struct tegra_xusb_lane *lane) in tegra124_usb2_lane_remove() argument
454 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra124_usb2_lane_remove()
466 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); in tegra124_usb2_phy_init() local
468 return tegra124_xusb_padctl_enable(lane->pad->padctl); in tegra124_usb2_phy_init()
473 struct tegra_xusb_lane *lane in tegra124_usb2_phy_exit() local
480 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_usb2_phy_power_on() local
569 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_usb2_phy_power_off() local
701 tegra124_ulpi_lane_remove(struct tegra_xusb_lane *lane) tegra124_ulpi_lane_remove() argument
715 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_ulpi_phy_init() local
722 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_ulpi_phy_exit() local
837 tegra124_hsic_lane_remove(struct tegra_xusb_lane *lane) tegra124_hsic_lane_remove() argument
851 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_hsic_phy_init() local
858 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_hsic_phy_exit() local
865 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_hsic_phy_power_on() local
935 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_hsic_phy_power_off() local
1057 tegra124_pcie_lane_remove(struct tegra_xusb_lane *lane) tegra124_pcie_lane_remove() argument
1071 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_pcie_phy_init() local
1078 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_pcie_phy_exit() local
1085 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_pcie_phy_power_on() local
1126 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_pcie_phy_power_off() local
1235 tegra124_sata_lane_remove(struct tegra_xusb_lane *lane) tegra124_sata_lane_remove() argument
1249 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_sata_phy_init() local
1256 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_sata_phy_exit() local
1263 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_sata_phy_power_on() local
1308 struct tegra_xusb_lane *lane = phy_get_drvdata(phy); tegra124_sata_phy_power_off() local
1480 struct tegra_xusb_lane *lane = usb3->base.lane; tegra124_usb3_port_enable() local
[all...]

Completed in 30 milliseconds

12345678