Home
last modified time | relevance | path

Searched refs:clx (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dclx.c15 module_param_named(clx, clx_enabled, bool, 0444);
16 MODULE_PARM_DESC(clx, "allow low power states on the high-speed lanes (default: true)");
18 static const char *clx_name(unsigned int clx) in clx_name() argument
20 switch (clx) { in clx_name()
68 static bool tb_port_clx_supported(struct tb_port *port, unsigned int clx) in tb_port_clx_supported() argument
88 if (clx & TB_CL0S) in tb_port_clx_supported()
90 if (clx & TB_CL1) in tb_port_clx_supported()
92 if (clx & TB_CL2) in tb_port_clx_supported()
103 static int tb_port_clx_set(struct tb_port *port, unsigned int clx, bool enable) in tb_port_clx_set() argument
108 if (clx in tb_port_clx_set()
132 tb_port_clx_disable(struct tb_port *port, unsigned int clx) tb_port_clx_disable() argument
137 tb_port_clx_enable(struct tb_port *port, unsigned int clx) tb_port_clx_enable() argument
172 tb_port_clx_is_enabled(struct tb_port *port, unsigned int clx) tb_port_clx_is_enabled() argument
189 unsigned int clx, tmp; tb_switch_clx_init() local
298 validate_mask(unsigned int clx) validate_mask() argument
318 tb_switch_clx_enable(struct tb_switch *sw, unsigned int clx) tb_switch_clx_enable() argument
398 unsigned int clx = sw->clx; tb_switch_clx_disable() local
[all...]
H A DMakefile5 thunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o clx.o
H A Dtb.h159 * @clx: CLx states on the upstream link of the router
215 unsigned int clx; member
1001 bool tb_port_clx_is_enabled(struct tb_port *port, unsigned int clx);
1005 int tb_switch_clx_enable(struct tb_switch *sw, unsigned int clx);
1011 * @clx: The CLx states to check for
1019 unsigned int clx) in tb_switch_clx_is_enabled()
1021 return sw->clx & clx; in tb_switch_clx_is_enabled()
1018 tb_switch_clx_is_enabled(const struct tb_switch *sw, unsigned int clx) tb_switch_clx_is_enabled() argument
H A Dtb.c247 unsigned int clx = TB_CL0S | TB_CL1; in tb_enable_clx() local
282 ret = tb_switch_clx_enable(sw, clx | TB_CL2); in tb_enable_clx()
284 ret = tb_switch_clx_enable(sw, clx); in tb_enable_clx()
H A Ddebugfs.c561 int ret, clx; in margining_run_write() local
590 clx = ret; in margining_run_write()
618 tb_switch_clx_enable(down_sw, clx); in margining_run_write()

Completed in 9 milliseconds