Home
last modified time | relevance | path

Searched refs:_color (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/kunit/
H A Dkunit_printer.py34 def _color(self, code: str, text: str) -> str: member in Printer
40 return self._color('\033[1;31m', text)
43 return self._color('\033[1;33m', text)
46 return self._color('\033[1;32m', text)
/linux/drivers/iio/light/
H A Dadjd_s311.c145 #define ADJD_S311_CHANNEL(_color, _scan_idx) { \ argument
148 .address = (IDX_##_color), \
152 .channel2 = (IIO_MOD_LIGHT_##_color), \
H A Dcm3323.c52 #define CM3323_COLOR_CHANNEL(_color, _addr) { \ argument
57 .channel2 = IIO_MOD_LIGHT_##_color, \
H A Disl29125.c61 #define ISL29125_CHANNEL(_color, _si) { \ argument
66 .channel2 = IIO_MOD_LIGHT_##_color, \
H A Dtcs3414.c63 #define TCS3414_CHANNEL(_color, _si, _addr) { \ argument
69 .channel2 = IIO_MOD_LIGHT_##_color, \
H A Das73211.c128 #define AS73211_COLOR_CHANNEL(_color, _si, _addr) { \ argument
140 .channel2 = IIO_MOD_##_color, \
/linux/arch/mips/bcm47xx/
H A Dleds.c11 #define BCM47XX_GPIO_LED(_gpio, _color, _function, _active_low, \ argument
14 .name = "bcm47xx:" _color ":" _function, \
20 #define BCM47XX_GPIO_LED_TRIGGER(_gpio, _color, _function, _active_low, \ argument
23 .name = "bcm47xx:" _color ":" _function, \
/linux/drivers/tty/vt/
H A Dvt.c641 static u8 build_attr(struct vc_data *vc, u8 _color, in build_attr() argument
646 return vc->vc_sw->con_build_attr(vc, _color, _intensity, in build_attr()
660 u8 a = _color; in build_attr()