Home
last modified time | relevance | path

Searched refs:clx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/thunderbolt/
Dswitch.c29 module_param_named(clx, clx_enabled, bool, 0444);
30 MODULE_PARM_DESC(clx, "allow low power states on the high-speed lanes (default: true)");
1242 static int __tb_port_clx_set(struct tb_port *port, enum tb_clx clx, bool enable) in __tb_port_clx_set() argument
1248 if (clx == TB_CL1) in __tb_port_clx_set()
1268 static int tb_port_clx_disable(struct tb_port *port, enum tb_clx clx) in tb_port_clx_disable() argument
1270 return __tb_port_clx_set(port, clx, false); in tb_port_clx_disable()
1273 static int tb_port_clx_enable(struct tb_port *port, enum tb_clx clx) in tb_port_clx_enable() argument
1275 return __tb_port_clx_set(port, clx, true); in tb_port_clx_enable()
3486 static int __tb_switch_enable_clx(struct tb_switch *sw, enum tb_clx clx) in __tb_switch_enable_clx() argument
3514 up_clx_support = tb_port_clx_supported(up, clx); in __tb_switch_enable_clx()
[all …]
Dtb.h223 enum tb_clx clx; member
966 static inline const char *tb_switch_clx_name(enum tb_clx clx) in tb_switch_clx_name() argument
968 switch (clx) { in tb_switch_clx_name()
977 int tb_switch_enable_clx(struct tb_switch *sw, enum tb_clx clx);
978 int tb_switch_disable_clx(struct tb_switch *sw, enum tb_clx clx);
989 enum tb_clx clx) in tb_switch_is_clx_enabled() argument
991 return sw->clx == clx; in tb_switch_is_clx_enabled()
1050 bool tb_port_is_clx_enabled(struct tb_port *port, enum tb_clx clx);